e08ff6c55d
Co-authored-by: Ross Wolf <31489089+rw-access@users.noreply.github.com>
64 lines
1.8 KiB
TOML
64 lines
1.8 KiB
TOML
[metadata]
|
|
creation_date = "2020/06/11"
|
|
ecs_version = ["1.5.0"]
|
|
maturity = "production"
|
|
updated_date = "2020/07/07"
|
|
|
|
[rule]
|
|
author = ["Elastic"]
|
|
description = "Identifies a successful login to the AWS Management Console by the Root user."
|
|
false_positives = [
|
|
"""
|
|
It's strongly recommended that the root user is not used for everyday tasks, including the administrative ones.
|
|
Verify whether the IP address, location, and/or hostname should be logging in as root in your environment.
|
|
Unfamiliar root logins should be investigated immediately. If known behavior is causing false positives, it can be
|
|
exempted from the rule.
|
|
""",
|
|
]
|
|
from = "now-60m"
|
|
index = ["filebeat-*"]
|
|
interval = "10m"
|
|
language = "kuery"
|
|
license = "Elastic License"
|
|
name = "AWS Management Console Root Login"
|
|
note = "The AWS Filebeat module must be enabled to use this rule."
|
|
references = ["https://docs.aws.amazon.com/IAM/latest/UserGuide/id_root-user.html"]
|
|
risk_score = 73
|
|
rule_id = "e2a67480-3b79-403d-96e3-fdd2992c50ef"
|
|
severity = "high"
|
|
tags = ["AWS", "Elastic"]
|
|
type = "query"
|
|
|
|
query = '''
|
|
event.action:ConsoleLogin and event.module:aws and event.dataset:aws.cloudtrail and event.provider:signin.amazonaws.com and aws.cloudtrail.user_identity.type:Root and event.outcome:success
|
|
'''
|
|
|
|
|
|
[[rule.threat]]
|
|
framework = "MITRE ATT&CK"
|
|
[[rule.threat.technique]]
|
|
id = "T1078"
|
|
name = "Valid Accounts"
|
|
reference = "https://attack.mitre.org/techniques/T1078/"
|
|
|
|
|
|
[rule.threat.tactic]
|
|
id = "TA0001"
|
|
name = "Initial Access"
|
|
reference = "https://attack.mitre.org/tactics/TA0001/"
|
|
|
|
|
|
[[rule.threat]]
|
|
framework = "MITRE ATT&CK"
|
|
[[rule.threat.technique]]
|
|
id = "T1078"
|
|
name = "Valid Accounts"
|
|
reference = "https://attack.mitre.org/techniques/T1078/"
|
|
|
|
|
|
[rule.threat.tactic]
|
|
id = "TA0003"
|
|
name = "Persistence"
|
|
reference = "https://attack.mitre.org/tactics/TA0003/"
|
|
|