elastic / detection-rules

https://www.elastic.co/guide/en/security/current/detection-engine-overview.html
Other
1.92k stars 492 forks source link

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

Open brokensound77 opened 5 days ago

brokensound77 commented 5 days ago

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

event.action:user_login and source.ip:* and user.email:* and source.geo.country_iso_code:*

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