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 · 1 comment
Assignees
Labels

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
@botelastic
Copy link

botelastic bot commented Dec 1, 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 1, 2024
@brokensound77 brokensound77 removed the stale 60 days of inactivity label Dec 2, 2024
@w0rk3r w0rk3r added the backlog label Jan 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants