-
Notifications
You must be signed in to change notification settings - Fork 180
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
THREAT-445 Stratus-GCP-Exfiltration #1527
base: develop
Are you sure you want to change the base?
Conversation
@@ -1,5 +1,7 @@ | |||
from panther_base_helpers import deep_get | |||
|
|||
EXPECTED_DOMAIN = "@your-domain.tld" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it possible to infer the email domain from the source user, and alert when the email domain of the target user is different? Otherwise this rule will need a Configuration Required tag.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
@@ -0,0 +1,29 @@ | |||
from panther_gcp_helpers import gcp_alert_context | |||
|
|||
EXPECTED_DOMAIN = "@your-domain.tld" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it possible to infer the email domain from the source user, and alert when the email domain of the target user is different? Otherwise this rule will need a Configuration Required tag.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
@@ -0,0 +1,30 @@ | |||
from panther_gcp_helpers import gcp_alert_context | |||
|
|||
EXPECTED_DOMAIN = "@your-domain.tld" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it possible to infer the email domain from the source user, and alert when the email domain of the target user is different? Otherwise this rule will need a Configuration Required tag.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not here, because here we check the authentication info itself. I added the tag
5a350cd
to
7dd5b42
Compare
Changes
GCP.Compute.IAM.Policy.Update
,GCP.Compute.Snapshot.UnexpectedDomain
,GCP.Project.ExternalUserOwnershipInvite
GCP.IAM.CorporateEmail
ruleTesting
pat test