{"id":"961d0ba2-3eea-4303-a930-2cf78bbfcc5e","title":"HackTool - Credential Dumping Tools Named Pipe Created","description":"Detects well-known credential dumping tools execution via specific named pipe creation","author":"Teymur Kheirkhabarov, oscd.community","status":"test","level":"critical","date":"2019-11-01","modified":"2023-08-07","tags":["attack.credential-access","attack.t1003.001","attack.t1003.002","attack.t1003.004","attack.t1003.005"],"technique_ids":["T1003.001","T1003.002","T1003.004","T1003.005"],"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":["Legitimate Administrator using tool for password recovery"],"references":["https://www.slideshare.net/heirhabarov/hunting-for-credentials-dumping-in-windows-environment","https://image.slidesharecdn.com/zeronights2017kheirkhabarov-171118103000/75/hunting-for-credentials-dumping-in-windows-environment-57-2048.jpg?cb=1666035799"],"source_path":"rules/windows/pipe_created/pipe_created_hktl_generic_cred_dump_tools_pipes.yml","source_sha256":"bbc77c9aec5e669815440da6f0e7cf7372b965eca9dafce68e345daed1876e95","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/windows/pipe_created/pipe_created_hktl_generic_cred_dump_tools_pipes.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 - Credential Dumping Tools Named Pipe Created\nid: 961d0ba2-3eea-4303-a930-2cf78bbfcc5e\nstatus: test\ndescription: Detects well-known credential dumping tools execution via specific named pipe creation\nreferences:\n    - https://www.slideshare.net/heirhabarov/hunting-for-credentials-dumping-in-windows-environment\n    - https://image.slidesharecdn.com/zeronights2017kheirkhabarov-171118103000/75/hunting-for-credentials-dumping-in-windows-environment-57-2048.jpg?cb=1666035799\nauthor: Teymur Kheirkhabarov, oscd.community\ndate: 2019-11-01\nmodified: 2023-08-07\ntags:\n    - attack.credential-access\n    - attack.t1003.001\n    - attack.t1003.002\n    - attack.t1003.004\n    - attack.t1003.005\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            - '\\cachedump'\n            - '\\lsadump'\n            - '\\wceservicepipe'\n    condition: selection\nfalsepositives:\n    - Legitimate Administrator using tool for password recovery\nlevel: critical\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1003.001","id":"T1003.001","name":"LSASS Memory","page":"techniques/enterprise/T1003.001/"},{"key":"enterprise/T1003.002","id":"T1003.002","name":"Security Account Manager","page":"techniques/enterprise/T1003.002/"},{"key":"enterprise/T1003.004","id":"T1003.004","name":"LSA Secrets","page":"techniques/enterprise/T1003.004/"},{"key":"enterprise/T1003.005","id":"T1003.005","name":"Cached Domain Credentials","page":"techniques/enterprise/T1003.005/"}],"data_path":"data/detection-rules/961d0ba2-3eea-4303-a930-2cf78bbfcc5e.json","kind":"sigma"}
