{"id":"5589ab4f-a767-433c-961d-c91f3f704db1","title":"Potential SMB Relay Attack Tool Execution","description":"Detects different hacktools used for relay attacks on Windows for privilege escalation","author":"Florian Roth (Nextron Systems)","status":"test","level":"critical","date":"2021-07-24","modified":"2023-02-14","tags":["attack.collection","attack.execution","attack.credential-access","attack.t1557.001"],"technique_ids":["T1557.001"],"logsource":{"category":"process_creation","product":"windows"},"falsepositives":["Legitimate files with these rare hacktool names"],"references":["https://foxglovesecurity.com/2016/09/26/rotten-potato-privilege-escalation-from-service-accounts-to-system/","https://pentestlab.blog/2017/04/13/hot-potato/","https://github.com/ohpe/juicy-potato","https://hunter2.gitbook.io/darthsidious/other/war-stories/domain-admin-in-30-minutes","https://hunter2.gitbook.io/darthsidious/execution/responder-with-ntlm-relay-and-empire","https://www.localpotato.com/"],"source_path":"rules/windows/process_creation/proc_creation_win_hktl_relay_attacks_tools.yml","source_sha256":"dbf10f3b3b6846b04c9d3d17479122b37996879eafbd036e95760e7e388dadbd","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/windows/process_creation/proc_creation_win_hktl_relay_attacks_tools.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 SMB Relay Attack Tool Execution\nid: 5589ab4f-a767-433c-961d-c91f3f704db1\nstatus: test\ndescription: Detects different hacktools used for relay attacks on Windows for privilege escalation\nreferences:\n    - https://foxglovesecurity.com/2016/09/26/rotten-potato-privilege-escalation-from-service-accounts-to-system/\n    - https://pentestlab.blog/2017/04/13/hot-potato/\n    - https://github.com/ohpe/juicy-potato\n    - https://hunter2.gitbook.io/darthsidious/other/war-stories/domain-admin-in-30-minutes\n    - https://hunter2.gitbook.io/darthsidious/execution/responder-with-ntlm-relay-and-empire\n    - https://www.localpotato.com/\nauthor: Florian Roth (Nextron Systems)\ndate: 2021-07-24\nmodified: 2023-02-14\ntags:\n    - attack.collection\n    - attack.execution\n    - attack.credential-access\n    - attack.t1557.001\nlogsource:\n    category: process_creation\n    product: windows\ndetection:\n    selection_pe:\n        Image|contains:\n            - 'PetitPotam'\n            - 'RottenPotato'\n            - 'HotPotato'\n            - 'JuicyPotato'\n            - '\\just_dce_'\n            - 'Juicy Potato'\n            - '\\temp\\rot.exe'\n            - '\\Potato.exe'\n            - '\\SpoolSample.exe'\n            - '\\Responder.exe'\n            - '\\smbrelayx'\n            - '\\ntlmrelayx'\n            - '\\LocalPotato'\n    selection_script:\n        CommandLine|contains:\n            - 'Invoke-Tater'\n            - ' smbrelay'\n            - ' ntlmrelay'\n            - 'cme smb '\n            - ' /ntlm:NTLMhash '\n            - 'Invoke-PetitPotam'\n            - '.exe -t * -p '  # JuicyPotatoNG pattern https://github.com/antonioCoco/JuicyPotatoNG\n    selection_juicypotato_enum:  # appears when JuicyPotatoNG is used with -b\n        CommandLine|contains: '.exe -c \"{'\n        CommandLine|endswith: '}\" -z'\n    filter_hotpotatoes:  # known goodware https://hotpot.uvic.ca/\n        Image|contains:\n            - 'HotPotatoes6'\n            - 'HotPotatoes7'\n            - 'HotPotatoes ' # Covers the following: 'HotPotatoes 6', 'HotPotatoes 7', 'HotPotatoes Help', 'HotPotatoes Tutorial'\n    condition: 1 of selection_* and not 1 of filter_*\nfalsepositives:\n    - Legitimate files with these rare hacktool names\nlevel: critical\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1557.001","id":"T1557.001","name":"Name Resolution Poisoning and SMB Relay","page":"techniques/enterprise/T1557.001/"}],"data_path":"data/detection-rules/5589ab4f-a767-433c-961d-c91f3f704db1.json","kind":"sigma"}
