Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[New Rule][BBR] A user logged into Slack from a new country #4138

Open
brokensound77 opened this issue Oct 3, 2024 · 1 comment
Open

[New Rule][BBR] A user logged into Slack from a new country #4138

brokensound77 opened this issue Oct 3, 2024 · 1 comment

Comments

@brokensound77
Copy link
Contributor

Description

Detects when a user logs into a newly seen country over the last 30d, which could potentially indicate account compromise.

Ref internal: 540bc789-be24-4dbc-970c-a16489661290

Target Ruleset

other

Target Rule Type

New Terms

Tested ECS Version

No response

Query

  • index: logs-slack.audit
  • query:
event.action:user_login and source.ip:* and user.email:* and source.geo.country_iso_code:*
  • new terms: user.email, source.geo.country_iso_code
  • timing: 30m lookback, 15m interval, 30d history window

New fields required in ECS/data sources for this rule?

No response

Related issues or PRs

No response

References

https://api.slack.com/admins/audit-logs-call

Redacted Example Data

No response

@botelastic
Copy link

botelastic bot commented Dec 2, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@botelastic botelastic bot added the stale 60 days of inactivity label Dec 2, 2024
@brokensound77 brokensound77 removed the stale 60 days of inactivity label Dec 3, 2024
@w0rk3r w0rk3r added the backlog label Dec 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants