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] Multiple self adds to Google Workspace user groups in short succession #4131

Open
brokensound77 opened this issue Oct 2, 2024 · 0 comments
Assignees
Labels
Rule: New Proposal for new rule Team: TRADE

Comments

@brokensound77
Copy link
Contributor

Description

Detects multiple self add to Google Workspace user group in short succession, which could be indicative of attempts to Discover, Colletct, Exfil or perform recon.

Also, side note - what's the real difference between a user joining a group vs self adding to a group??

Target Ruleset

google_workspace

Target Rule Type

ES|QL

Tested ECS Version

No response

Query

from logs-google_workspace*
| mv_expand event.type
| where event.type == "group" and to_lower(event.action) == "add_user" and user.email == user.target.email
| stats total_requests = count(*) by source.user.name
| where total_requests > 5
| sort total_requests desc

can also be threshold

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

No response

Related issues or PRs

#4129

References

No response

Redacted Example Data

No response

@brokensound77 brokensound77 added Rule: New Proposal for new rule Team: TRADE labels Oct 2, 2024
@brokensound77 brokensound77 self-assigned this Oct 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Rule: New Proposal for new rule Team: TRADE
Projects
None yet
Development

No branches or pull requests

1 participant