Persistence Via Hhctrl.ocx
Detects when an attacker modifies the registry value of the "hhctrl" to point to a custom binary
Sigma rule (View on GitHub)
1title: Persistence Via Hhctrl.ocx
2id: f10ed525-97fe-4fed-be7c-2feecca941b1
3status: test
4description: Detects when an attacker modifies the registry value of the "hhctrl" to point to a custom binary
5references:
6 - https://persistence-info.github.io/Data/hhctrl.html
7 - https://www.hexacorn.com/blog/2018/04/23/beyond-good-ol-run-key-part-77/
8author: Nasreddine Bencherchali (Nextron Systems)
9date: 2022-07-21
10modified: 2026-11-12
11tags:
12 - attack.persistence
13logsource:
14 category: registry_set
15 product: windows
16detection:
17 selection:
18 TargetObject|contains: '\CLSID\{52A2AAAE-085D-4187-97EA-8C30DB990436}\InprocServer32\(Default)'
19 filter_main_default_value:
20 Details:
21 - '%%SystemRoot%%\System32\hhctrl.ocx'
22 - '%%SystemRoot%%\SysWOW64\hhctrl.ocx'
23 - '%%windir%%\System32\hhctrl.ocx'
24 - '%%windir%%\SysWOW64\hhctrl.ocx'
25 - '%SystemRoot%\System32\hhctrl.ocx'
26 - '%SystemRoot%\SysWOW64\hhctrl.ocx'
27 - '%windir%\System32\hhctrl.ocx'
28 - '%windir%\SysWOW64\hhctrl.ocx'
29 - 'C:\Windows\System32\hhctrl.ocx'
30 - 'C:\Windows\SysWOW64\hhctrl.ocx'
31 condition: selection and not 1 of filter_main_*
32falsepositives:
33 - Unlikely
34level: high
References
Related rules
- Default RDP Port Changed to Non Standard Port
- Potential PSFactoryBuffer COM Hijacking
- RDP Sensitive Settings Changed
- Scheduled TaskCache Change by Uncommon Program
- Pingback Backdoor Activity