Panther high experimental python
Root Password Changed
Someone manually changed the Root console login password.
Detection Logic
from panther_aws_helpers import aws_rule_context
def rule(event):
# Only check password update changes
if event.get("eventName") != "PasswordUpdated":
return False
# Only check root activity
if event.deep_get("userIdentity", "type") != "Root":
return False
# Only alert if the login was a success
return event.deep_get("responseElements", "PasswordUpdated") == "Success"
def alert_context(event):
return aws_rule_context(event) Field Validations
Loading…
Comments (0)
Loading comments...