{"id":"637f689e-b4a5-4a86-be0e-0100a0a33ba2","title":"HackTool - EfsPotato Named Pipe Creation","description":"Detects the pattern of a pipe name as used by the hack tool EfsPotato","author":"Florian Roth (Nextron Systems)","status":"test","level":"high","date":"2021-08-23","modified":"2023-12-21","tags":["attack.privilege-escalation","attack.stealth","attack.t1055"],"technique_ids":["T1055"],"logsource":{"product":"windows","category":"pipe_created","definition":"Note that you have to configure logging for Named Pipe Events in Sysmon config (Event ID 17 and Event ID 18). The basic configuration is in popular sysmon configuration (https://github.com/SwiftOnSecurity/sysmon-config), but it is worth verifying. You can also use other repo, e.g. https://github.com/Neo23x0/sysmon-config, https://github.com/olafhartong/sysmon-modular. How to test detection? You can check powershell script from this site https://svch0st.medium.com/guide-to-named-pipes-and-hunting-for-cobalt-strike-pipes-dc46b2c5f575"},"falsepositives":["\\pipe\\LOCAL\\Monitorian"],"references":["https://twitter.com/SBousseaden/status/1429530155291193354?s=20","https://github.com/zcgonvh/EfsPotato"],"source_path":"rules/windows/pipe_created/pipe_created_hktl_efspotato.yml","source_sha256":"21a07cf749ce126281b3091174d0b14f5dfeabb9d9ce5c4c8bd1a67cf479a52c","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/windows/pipe_created/pipe_created_hktl_efspotato.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: HackTool - EfsPotato Named Pipe Creation\nid: 637f689e-b4a5-4a86-be0e-0100a0a33ba2\nstatus: test\ndescription: Detects the pattern of a pipe name as used by the hack tool EfsPotato\nreferences:\n    - https://twitter.com/SBousseaden/status/1429530155291193354?s=20\n    - https://github.com/zcgonvh/EfsPotato\nauthor: Florian Roth (Nextron Systems)\ndate: 2021-08-23\nmodified: 2023-12-21\ntags:\n    - attack.privilege-escalation\n    - attack.stealth\n    - attack.t1055\nlogsource:\n    product: windows\n    category: pipe_created\n    definition: 'Note that you have to configure logging for Named Pipe Events in Sysmon config (Event ID 17 and Event ID 18). The basic configuration is in popular sysmon configuration (https://github.com/SwiftOnSecurity/sysmon-config), but it is worth verifying. You can also use other repo, e.g. https://github.com/Neo23x0/sysmon-config, https://github.com/olafhartong/sysmon-modular. How to test detection? You can check powershell script from this site https://svch0st.medium.com/guide-to-named-pipes-and-hunting-for-cobalt-strike-pipes-dc46b2c5f575'\ndetection:\n    selection:\n        PipeName|contains:\n            - '\\pipe\\'\n            - '\\pipe\\srvsvc'  # more specific version (use only this one if the other causes too many false positives)\n    filter_optional_ctx:\n        PipeName|contains: '\\CtxShare'\n    filter_optional_default:\n        PipeName|startswith: '\\pipe\\' # excludes pipes that start with \\pipe\\*\n    condition: selection and not 1 of filter_optional_*\nfalsepositives:\n    - \\pipe\\LOCAL\\Monitorian # https://github.com/emoacht/Monitorian\nlevel: high\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1055","id":"T1055","name":"Process Injection","page":"techniques/enterprise/T1055/"}],"data_path":"data/detection-rules/637f689e-b4a5-4a86-be0e-0100a0a33ba2.json","kind":"sigma"}
