Sigma rule: New Netsh Helper DLL Registered From A Suspicious Location
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-9c827afc9755, updated 2023-11-28T00:00:00.000Z.
Rule
- Title
- New Netsh Helper DLL Registered From A Suspicious Location
- Status
- test
- Level
- high
- Author
- Nasreddine Bencherchali (Nextron Systems)
- Date
- 2023-11-28
- File
- rules/windows/registry/registry_set/registry_set_netsh_help_dll_persistence_susp_location.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
Detects changes to the Netsh registry key to add a new DLL value that is located on a suspicious location. This change might be an indication of a potential persistence attempt by adding a malicious Netsh helper
Log source
- product
- windows
- category
- registry_set
Detection
selection_target:
TargetObject|contains: '\SOFTWARE\Microsoft\NetSh'
selection_folders_1:
Details|contains:
- ':\Perflogs\'
- ':\Users\Public\'
- ':\Windows\Temp\'
- '\AppData\Local\Temp\'
- '\Temporary Internet'
selection_folders_2:
- Details|contains|all:
- ':\Users\'
- '\Favorites\'
- Details|contains|all:
- ':\Users\'
- '\Favourites\'
- Details|contains|all:
- ':\Users\'
- '\Contacts\'
- Details|contains|all:
- ':\Users\'
- '\Pictures\'
condition: selection_target and 1 of selection_folders_*False positives (as the rule lists them)
- Unknown
Tags
- attack.privilege-escalation
- attack.persistence
- attack.t1546.007
MITRE ATT&CK ids this rule names
Related rules
References
- https://www.ired.team/offensive-security/persistence/t1128-netsh-helper-dll
- https://pentestlab.blog/2019/10/29/persistence-netsh-helper-dll/
Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/registry/registry_set/registry_set_netsh_help_dll_persistence_susp_location.yml
Sources and licences
SigmaHQ
"New Netsh Helper DLL Registered From A Suspicious Location" by Nasreddine Bencherchali (Nextron Systems) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/registry/registry_set/registry_set_netsh_help_dll_persistence_susp_location.yml.
Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License
Cite this page
Dragons Eye Ransomware Tracker, "Sigma rule: New Netsh Helper DLL Registered From A Suspicious Location",
entity page, dataset version ref-9c827afc9755, updated 2023-11-28T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/e7b18879-676e-4a0e-ae18-27039185a8e7 (accessed 2026-11-03).
Underlying source: SigmaHQ rule e7b18879-676e-4a0e-ae18-27039185a8e7, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.
Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.