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 · 0 comments
Open

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

brokensound77 opened this issue Oct 3, 2024 · 0 comments
Assignees

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

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

1 participant