Sigma rule: AWS Console Login Monitoring

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-f4ea9fc43dfd, updated 2025-10-19T00:00:00.000Z.

Rule

Title
AWS Console Login Monitoring
Status
experimental
Level
medium
Author
Ivan Saakov
Date
2025-10-19
File
rules-placeholder/cloud/aws/cloudtrail/aws_cloudtrail_console_login_success_from_susp_locations.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects AWS console logins from countries and IP addresses that are not recognized as legitimate for the organization.
This alert can help identify potential unauthorized access attempts from unusual locations, which may indicate compromised credentials or malicious activity.

Log source

product
aws
service
cloudtrail

Detection

selection:
    eventName: 'ConsoleLogin'
    responseElements.ConsoleLogin: 'Success'
filter_main_country:
    src_country|expand: '%Legitimate_Countries%' # Add legitimate countries here
filter_main_ip:
    src_ip|expand: '%Legitimate_IP_Ranges%' # Add legitimate src_ip ranges here
condition: selection and not 1 of filter_main_*

False positives (as the rule lists them)

  • Legitimate logins from trusted countries and IP addresses.
  • Login through services hosted through cloud providers in other regions.

Tags

  • attack.privilege-escalation
  • attack.initial-access
  • attack.persistence
  • attack.stealth
  • attack.t1078.004

MITRE ATT&CK ids this rule names

References

Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules-placeholder/cloud/aws/cloudtrail/aws_cloudtrail_console_login_success_from_susp_locations.yml

Sources and licences

  • SigmaHQ

    "AWS Console Login Monitoring" by Ivan Saakov (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules-placeholder/cloud/aws/cloudtrail/aws_cloudtrail_console_login_success_from_susp_locations.yml.
    Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License

    Detection Rule License (DRL) 1.1

Cite this page

Dragons Eye Ransomware Tracker, "Sigma rule: AWS Console Login Monitoring",
entity page, dataset version ref-f4ea9fc43dfd, updated 2025-10-19T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/313e72de-0c0d-4d65-8c95-87f4d546eceb (accessed 2026-11-03).
Underlying source: SigmaHQ rule 313e72de-0c0d-4d65-8c95-87f4d546eceb, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.

Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.