Suspicious Security Group Ingress Rule Opened to the Internet via CloudTrail

PremiumReviewedSigma · Medium · v1
Product
aws
Service
cloudtrail
Author
HuntRule
Published
2026-09-14
Updated
2026-09-14

ATT&CK techniques

Initial Access → Persistence
  1. Recon

  2. Resource Dev

  3. Execution

  4. Priv Esc

  5. Defense Evasion

  6. Cred Access

  7. Discovery

  8. Lateral Movement

  9. Collection

  10. C2

  11. Exfiltration

  12. Impact

What it detects

This rule detects AuthorizeSecurityGroupIngress events that add an ingress rule allowing the 0.0.0.0/0 or ::/0 CIDR range. Adversaries widen security groups to the entire internet to expose management and database service ports such as SSH, RDP, MySQL, and Redis for remote access or lateral movement. Opening a security group to any source weakens network boundaries and is a common precursor to exploitation.

Related detections9 linkedT1133 — drag to rearrange
Suspicious Reverse SSH Tunnel Creation with Host Key Verification Disabled (via process_creation)
Suspicious Shell Script Execution From Temp Directory on SonicWall SMA1000 Appliance (via process_creation)
AWS CloudTrail: S3 Block Public Access disabled via PutBucketPublicAccessBlock
Possible PAN-OS CVE-2026-0257 Exploitation via GlobalProtect PoC Artifacts (via network)
Possible RD Web Access Brute Force via Repeated Login POST Requests
Suspicious Azure Network Security Group Rule Opening Inbound Access to the Internet
SplashTop Network
Suspicious SoftEther VPN Hamcore Config Written to ProgramData (via file_event)
SplashTop Process
Suspicious Security Group Ingress Rule Opened to the Internet via CloudTrail
Pivot detection · T1133 · 9 related

Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.