{"id":"cd1f961e-0b96-436b-b7c6-38da4583ec00","title":"Suspicious Windows Trace ETW Session Tamper Via Logman.EXE","description":"Detects the execution of \"logman\" utility in order to disable or delete Windows trace sessions","author":"Florian Roth (Nextron Systems)","status":"test","level":"high","date":"2021-02-11","modified":"2023-02-21","tags":["attack.defense-impairment","attack.t1685","attack.t1685.005"],"technique_ids":["T1685","T1685.005"],"logsource":{"category":"process_creation","product":"windows"},"falsepositives":["Legitimate deactivation by administrative staff","Installer tools that disable services, e.g. before log collection agent installation"],"references":["https://twitter.com/0gtweet/status/1359039665232306183?s=21","https://ss64.com/nt/logman.html"],"source_path":"rules/windows/process_creation/proc_creation_win_logman_disable_eventlog.yml","source_sha256":"44fd5e2f773bd6ea70090b8ef5c017433e8b70a73078573f085922a7346d7d6a","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/windows/process_creation/proc_creation_win_logman_disable_eventlog.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: Suspicious Windows Trace ETW Session Tamper Via Logman.EXE\nid: cd1f961e-0b96-436b-b7c6-38da4583ec00\nstatus: test\ndescription: Detects the execution of \"logman\" utility in order to disable or delete Windows trace sessions\nreferences:\n    - https://twitter.com/0gtweet/status/1359039665232306183?s=21\n    - https://ss64.com/nt/logman.html\nauthor: Florian Roth (Nextron Systems)\ndate: 2021-02-11\nmodified: 2023-02-21\ntags:\n    - attack.defense-impairment\n    - attack.t1685\n    - attack.t1685.005\nlogsource:\n    category: process_creation\n    product: windows\ndetection:\n    selection_img:\n        - Image|endswith: '\\logman.exe'\n        - OriginalFileName: 'Logman.exe'\n    selection_action:\n        CommandLine|contains:\n            - 'stop '\n            - 'delete '\n    selection_service:\n        CommandLine|contains:\n            - 'Circular Kernel Context Logger'\n            - 'EventLog-' # Cover multiple traces starting with EventLog-*\n            - 'SYSMON TRACE'\n            - 'SysmonDnsEtwSession'\n    condition: all of selection*\nfalsepositives:\n    - Legitimate deactivation by administrative staff\n    - Installer tools that disable services, e.g. before log collection agent installation\nlevel: high\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1685","id":"T1685","name":"Disable or Modify Tools","page":"techniques/enterprise/T1685/"},{"key":"enterprise/T1685.005","id":"T1685.005","name":"Clear Windows Event Logs","page":"techniques/enterprise/T1685.005/"}],"data_path":"data/detection-rules/cd1f961e-0b96-436b-b7c6-38da4583ec00.json","kind":"sigma"}
