01b1e8be26
* [Rule Tuning] Update Tags for Cloud Rules * commenting out specifying alphabetical tag order in rule formatter * Update rule_formatter.py * py lint * Lint fix comments * update modified dates * Update credential_access_secretsmanager_getsecretvalue.toml * adding Continuous Monitoring tag * update tags * fixed and in tags Co-authored-by: Ross Wolf <31489089+rw-access@users.noreply.github.com>
67 lines
1.9 KiB
TOML
67 lines
1.9 KiB
TOML
[metadata]
|
|
creation_date = "2020/07/06"
|
|
ecs_version = ["1.5.0"]
|
|
maturity = "production"
|
|
updated_date = "2020/07/28"
|
|
|
|
[rule]
|
|
author = ["Elastic"]
|
|
description = """
|
|
Identifies the execution of commands and scripts via System Manager. Execution methods such as RunShellScript,
|
|
RunPowerShellScript, and alike can be abused by an authenticated attacker to install a backdoor or to interact with a
|
|
compromised instance via reverse-shell using system only commands.
|
|
"""
|
|
false_positives = [
|
|
"""
|
|
Verify whether the user identity, user agent, and/or hostname should be making changes in your environment.
|
|
Suspicious commands from unfamiliar users or hosts should be investigated. 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 Execution via System Manager"
|
|
note = "The AWS Filebeat module must be enabled to use this rule."
|
|
references = ["https://docs.aws.amazon.com/systems-manager/latest/userguide/ssm-plugins.html"]
|
|
risk_score = 21
|
|
rule_id = "37b211e8-4e2f-440f-86d8-06cc8f158cfa"
|
|
severity = "low"
|
|
tags = ["AWS", "Elastic", "SecOps", "Logging", "Continuous Monitoring"]
|
|
type = "query"
|
|
|
|
query = '''
|
|
event.module:aws and event.dataset:aws.cloudtrail and event.provider:ssm.amazonaws.com and event.action:SendCommand and event.outcome:success
|
|
'''
|
|
|
|
|
|
[[rule.threat]]
|
|
framework = "MITRE ATT&CK"
|
|
[[rule.threat.technique]]
|
|
id = "T1064"
|
|
name = "Scripting"
|
|
reference = "https://attack.mitre.org/techniques/T1064/"
|
|
|
|
|
|
[rule.threat.tactic]
|
|
id = "TA0002"
|
|
name = "Execution"
|
|
reference = "https://attack.mitre.org/tactics/TA0002/"
|
|
|
|
|
|
[[rule.threat]]
|
|
framework = "MITRE ATT&CK"
|
|
[[rule.threat.technique]]
|
|
id = "T1086"
|
|
name = "PowerShell"
|
|
reference = "https://attack.mitre.org/techniques/T1086/"
|
|
|
|
|
|
[rule.threat.tactic]
|
|
id = "TA0002"
|
|
name = "Execution"
|
|
reference = "https://attack.mitre.org/tactics/TA0002/"
|
|
|