Panther medium experimental python

AWS Cloudtrail Region Enabled

Threat actors who successfully compromise a victim's AWS account, whether through stolen credentials, exposed access keys, exploited IAM misconfigurations, vulnerabilities in third-party applications, or the absence of Multi-Factor Authentication (MFA), can exploit unused regions as safe zones for malicious activities. These regions are often overlooked in monitoring and security setups, making them an attractive target for attackers to operate undetected.

View Source

Detection Logic

from panther_aws_helpers import aws_rule_context


def rule(event):
    return event.get("eventName") == "EnableRegion"


def title(event):
    return (
        f"AWS CloudTrail region [{event.deep_get('requestParameters', 'RegionName')}] "
        f"enabled by user [{event.udm('actor_user')}]"
    )


def alert_context(event):
    return aws_rule_context(event)

Field Validations

Loading…

Comments (0)

Loading comments...