Sigma rule: Files With System DLL Name In Unsuspected Locations
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-7f608c08e97a, updated 2024-06-24T00:00:00.000Z.
Rule
- Title
- Files With System DLL Name In Unsuspected Locations
- Status
- test
- Level
- medium
- Author
- Nasreddine Bencherchali (Nextron Systems)
- Date
- 2024-06-24
- File
- rules/windows/file/file_event/file_event_win_creation_system_dll_files.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
Detects the creation of a file with the ".dll" extension that has the name of a System DLL in uncommon or unsuspected locations. (Outisde of "System32", "SysWOW64", etc.).
It is highly recommended to perform an initial baseline before using this rule in production.
Log source
- product
- windows
- category
- file_event
Detection
selection:
TargetFilename|endswith:
# Note: Add more System DLL that can be abused for DLL sideloading to increase coverage
- '\secur32.dll'
- '\tdh.dll'
filter_main_generic:
# Note: It is recommended to use a more robust filter instead of this generic one, to avoid false negatives.
TargetFilename|contains:
# - '\SystemRoot\System32\'
- 'C:\$WINDOWS.~BT\'
- 'C:\$WinREAgent\'
- 'C:\Windows\SoftwareDistribution\'
- 'C:\Windows\System32\'
- 'C:\Windows\SysWOW64\'
- 'C:\Windows\WinSxS\'
- 'C:\Windows\uus\'
condition: selection and not 1 of filter_main_*False positives (as the rule lists them)
- Third party software might bundle specific versions of system DLLs.
Tags
- attack.stealth
- attack.t1036.005
MITRE ATT&CK ids this rule names
References
- Internal Research
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/file/file_event/file_event_win_creation_system_dll_files.yml
Sources and licences
SigmaHQ
"Files With System DLL Name In Unsuspected Locations" by Nasreddine Bencherchali (Nextron Systems) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/file/file_event/file_event_win_creation_system_dll_files.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: Files With System DLL Name In Unsuspected Locations",
entity page, dataset version ref-7f608c08e97a, updated 2024-06-24T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/13c02350-4177-4e45-ac17-cf7ca628ff5e (accessed 2026-11-03).
Underlying source: SigmaHQ rule 13c02350-4177-4e45-ac17-cf7ca628ff5e, 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.