{"id":"d20ee2f4-822c-4827-9e15-41500b1fff10","title":"Potential Amazon SSM Agent Hijacking","description":"Detects potential Amazon SSM agent hijack attempts as outlined in the Mitiga research report.","author":"Muhammad Faisal","status":"test","level":"medium","date":"2023-08-02","modified":"","tags":["attack.command-and-control","attack.persistence","attack.t1219.002"],"technique_ids":["T1219.002"],"logsource":{"category":"process_creation","product":"windows"},"falsepositives":["Legitimate activity of system administrators"],"references":["https://www.mitiga.io/blog/mitiga-security-advisory-abusing-the-ssm-agent-as-a-remote-access-trojan","https://www.bleepingcomputer.com/news/security/amazons-aws-ssm-agent-can-be-used-as-post-exploitation-rat-malware/","https://www.helpnetsecurity.com/2023/08/02/aws-instances-attackers-access/"],"source_path":"rules/windows/process_creation/proc_creation_win_ssm_agent_abuse.yml","source_sha256":"058a8b121ba9ad758944643cb750262d7ac0eb157cfbf6aebb23c2f383940bc2","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/windows/process_creation/proc_creation_win_ssm_agent_abuse.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: Potential Amazon SSM Agent Hijacking\nid: d20ee2f4-822c-4827-9e15-41500b1fff10\nstatus: test\ndescription: Detects potential Amazon SSM agent hijack attempts as outlined in the Mitiga research report.\nreferences:\n    - https://www.mitiga.io/blog/mitiga-security-advisory-abusing-the-ssm-agent-as-a-remote-access-trojan\n    - https://www.bleepingcomputer.com/news/security/amazons-aws-ssm-agent-can-be-used-as-post-exploitation-rat-malware/\n    - https://www.helpnetsecurity.com/2023/08/02/aws-instances-attackers-access/\nauthor: Muhammad Faisal\ndate: 2023-08-02\ntags:\n    - attack.command-and-control\n    - attack.persistence\n    - attack.t1219.002\nlogsource:\n    category: process_creation\n    product: windows\ndetection:\n    selection:\n        Image|endswith: '\\amazon-ssm-agent.exe'\n        CommandLine|contains|all:\n            - '-register '\n            - '-code '\n            - '-id '\n            - '-region '\n    condition: selection\nfalsepositives:\n    - Legitimate activity of system administrators\nlevel: medium\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1219.002","id":"T1219.002","name":"Remote Desktop Software","page":"techniques/enterprise/T1219.002/"}],"data_path":"data/detection-rules/d20ee2f4-822c-4827-9e15-41500b1fff10.json","kind":"sigma"}
