Sigma rule: System File Execution Location Anomaly

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-7979083fb016, updated 2026-07-28T00:00:00.000Z.

Rule

Title
System File Execution Location Anomaly
Status
test
Level
high
Author
Florian Roth (Nextron Systems), Patrick Bareiss, Anton Kutepov, oscd.community, Nasreddine Bencherchali (Nextron Systems)
Date
2017-11-27
Modified
2026-07-28
File
rules/windows/process_creation/proc_creation_win_susp_system_exe_anomaly.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects the execution of a Windows system binary that is usually located in the system folder from an uncommon location.

Log source

product
windows
category
process_creation

Detection

selection:
    Image|endswith:
        - '\atbroker.exe'
        - '\audiodg.exe'
        - '\bcdedit.exe'
        - '\bitsadmin.exe'
        - '\certreq.exe'
        - '\certutil.exe'
        - '\cmstp.exe'
        - '\conhost.exe'
        - '\consent.exe'
        - '\cscript.exe'
        - '\csrss.exe'
        - '\dashost.exe'
        - '\defrag.exe'
        - '\dfrgui.exe' # Was seen used by Lazarus Group - https://asec.ahnlab.com/en/39828/
        - '\dism.exe'
        - '\dllhost.exe'
        - '\dllhst3g.exe'
        - '\dwm.exe'
        - '\eventvwr.exe'
        - '\fsquirt.exe' # was seen used by sidewinder APT - https://securelist.com/sidewinder-apt/114089/
        - '\finger.exe'
        - '\logonui.exe'
        - '\LsaIso.exe'
        - '\lsass.exe'
        - '\lsm.exe'
        - '\msiexec.exe'
        - '\ntoskrnl.exe'
        - '\powershell_ise.exe'
        - '\powershell.exe'
        - '\pwsh.exe'
        - '\regsvr32.exe'
        - '\rundll32.exe'
        - '\runonce.exe'
        - '\RuntimeBroker.exe'
        - '\schtasks.exe'
        - '\services.exe'
        - '\sihost.exe'
        - '\smartscreen.exe'
        - '\smss.exe'
        - '\spoolsv.exe'
        - '\svchost.exe'
        - '\taskhost.exe'
        - '\taskhostw.exe'
        - '\Taskmgr.exe'
        - '\userinit.exe'
        - '\werfault.exe'
        - '\werfaultsecure.exe'
        - '\wininit.exe'
        - '\winlogon.exe'
        - '\winver.exe'
        - '\wlanext.exe'
        - '\wmic.exe'
        - '\wscript.exe'
        - '\wsl.exe'
        - '\wsmprovhost.exe' # Was seen used by Lazarus Group - https://asec.ahnlab.com/en/39828/
filter_main_generic:
    Image|startswith:
        - 'C:\$WINDOWS.~BT\'
        - 'C:\$WinREAgent\'
        - 'C:\Windows\SoftwareDistribution\'
        - 'C:\Windows\System32\'
        - 'C:\Windows\SystemTemp\'
        - 'C:\Windows\SysWOW64\'
        - 'C:\Windows\uus\'
        - 'C:\Windows\WinSxS\'
filter_optional_system32:
    Image|contains: '\SystemRoot\System32\'
filter_main_powershell:
    Image|contains:
        - 'C:\Program Files\PowerShell\7\'
        - 'C:\Program Files\PowerShell\7-preview\'
        - 'C:\Program Files\WindowsApps\Microsoft.PowerShellPreview'
        - '\AppData\Local\Microsoft\WindowsApps\Microsoft.PowerShellPreview' # pwsh installed from Microsoft Store
    Image|endswith: '\pwsh.exe'
filter_main_wsl_programfiles:
    Image|startswith:
        - 'C:\Program Files\WindowsApps\MicrosoftCorporationII.WindowsSubsystemForLinux'
        - 'C:\Program Files\WSL\'
    Image|endswith: '\wsl.exe'
filter_main_wsl_appdata:
    Image|startswith: 'C:\Users\'
    Image|contains: '\AppData\Local\Microsoft\WindowsApps\'
    Image|endswith: '\wsl.exe'
condition: selection and not 1 of filter_main_* and not 1 of filter_optional_*

False positives (as the rule lists them)

  • Unknown

Tags

  • attack.stealth
  • attack.t1036

MITRE ATT&CK ids this rule names

Related rules

References

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/process_creation/proc_creation_win_susp_system_exe_anomaly.yml

Sources and licences

  • SigmaHQ

    "System File Execution Location Anomaly" by Florian Roth (Nextron Systems), Patrick Bareiss, Anton Kutepov, oscd.community, Nasreddine Bencherchali (Nextron Systems) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_susp_system_exe_anomaly.yml.
    Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License

    Detection Rule License (DRL) 1.1

Cite this page

Dragons Eye Ransomware Tracker, "Sigma rule: System File Execution Location Anomaly",
entity page, dataset version ref-7979083fb016, updated 2026-07-28T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/e4a6b256-3e47-40fc-89d2-7a477edd6915 (accessed 2026-11-03).
Underlying source: SigmaHQ rule e4a6b256-3e47-40fc-89d2-7a477edd6915, 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.