Detection rules › Sigma
HackTool - SysmonEnte Execution
Detects the use of SysmonEnte, a tool to attack the integrity of Sysmon
MITRE ATT&CK coverage
| Tactic | Techniques |
|---|---|
| Defense Impairment | T1685.001 Disable or Modify Tools: Disable or Modify Windows Event Log |
Event coverage
| Provider | Event | Title |
|---|---|---|
| Sysmon | Event ID 10 | ProcessAccess |
Rule body yaml
title: HackTool - SysmonEnte Execution
id: d29ada0f-af45-4f27-8f32-f7b77c3dbc4e
status: test
description: Detects the use of SysmonEnte, a tool to attack the integrity of Sysmon
references:
- https://codewhitesec.blogspot.com/2022/09/attacks-on-sysmon-revisited-sysmonente.html
- https://github.com/codewhitesec/SysmonEnte/
- https://github.com/codewhitesec/SysmonEnte/blob/fe267690fcc799fbda15398243615a30451d9099/screens/1.png
author: Florian Roth (Nextron Systems)
date: 2022-09-07
modified: 2023-11-28
tags:
- attack.defense-impairment
- attack.t1685.001
logsource:
category: process_access
product: windows
detection:
selection_sysmon:
TargetImage|contains:
- ':\Windows\Sysmon.exe'
- ':\Windows\Sysmon64.exe'
GrantedAccess: '0x1400'
selection_calltrace:
CallTrace: 'Ente'
filter_main_generic:
SourceImage|contains:
- ':\Program Files (x86)\'
- ':\Program Files\'
- ':\Windows\System32\'
- ':\Windows\SysWOW64\'
filter_main_msdefender:
SourceImage|contains: ':\ProgramData\Microsoft\Windows Defender\Platform\'
SourceImage|endswith: '\MsMpEng.exe'
condition: ( selection_sysmon and not 1 of filter_main_* ) or selection_calltrace
falsepositives:
- Unknown
level: high
Stages and Predicates
Stage 0: condition
( selection_sysmon and not 1 of filter_main_* ) or selection_calltraceStage 1: selection_sysmon
selection_sysmon:
TargetImage|contains:
- ':\Windows\Sysmon.exe'
- ':\Windows\Sysmon64.exe'
GrantedAccess: '0x1400'
Stage 2: not filter_main_*
filter_main_generic:
SourceImage|contains:
- ':\Program Files (x86)\'
- ':\Program Files\'
- ':\Windows\System32\'
- ':\Windows\SysWOW64\'
filter_main_msdefender:
SourceImage|contains: ':\ProgramData\Microsoft\Windows Defender\Platform\'
SourceImage|endswith: '\MsMpEng.exe'
Stage 3: selection_calltrace
selection_calltrace:
CallTrace: 'Ente'
Exclusions
Top-level NOT(...) conjuncts: predicates this rule actively suppresses.
| Field | Kind | Excluded values |
|---|---|---|
SourceImage | ends_with | \MsMpEng.exe |
SourceImage | match | :\ProgramData\Microsoft\Windows Defender\Platform\ |
SourceImage | match | :\Program Files (x86)\ |
SourceImage | match | :\Program Files\ |
SourceImage | match | :\Windows\SysWOW64\ |
SourceImage | match | :\Windows\System32\ |
Indicators
Each row is a field, operator, and value that the rule matches. The corpus column counts how many other rules in the catalog look for the same combination: high numbers point to widely-used, community-vetted indicators. Blank or 1 shows that the indicator is specific to this rule.
| Field | Kind | Values |
|---|---|---|
CallTrace | eq |
|
GrantedAccess | eq |
|
TargetImage | match |
|