Panther informational experimental python
AWS Software Discovery
A user is obtaining a list of security software, configurations, defensive tools, and sensors that are in AWS.
Detection Logic
from panther_aws_helpers import aws_rule_context
DISCOVERY_EVENTS = [
"ListDocuments",
"ListMembers",
"DescribeProducts",
"DescribeStandards",
"DescribeStandardsControls",
"DescribeInstanceInformation",
"DescribeSecurityGroups",
"DescribeSecurityGroupRules",
"DescribeSecurityGroupReferences",
"DescribeSubnets",
"DescribeHub",
"ListFirewalls",
"ListRuleGroups",
"ListFirewallPolicies",
"DescribeFirewall",
"DescribeFirewallPolicy",
"DescribeLoggingConfiguration",
"DescribeResourcePolicy",
"DescribeRuleGroup",
]
def rule(event):
return event.get("eventName") in DISCOVERY_EVENTS
def title(event):
return (
f"User [{event.udm('actor_user')}] "
f"performed a [{event.get('eventName')}] "
f"action in AWS account [{event.get('recipientAccountId')}]."
)
def dedup(event):
return event.udm("actor_user")
def alert_context(event):
return aws_rule_context(event) Field Validations
Loading…
Comments (0)
Loading comments...