Sigma rule: LOL-Binary Copied From System Directory

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-7b423a542a46, updated 2025-11-27T00:00:00.000Z.

Rule

Title
LOL-Binary Copied From System Directory
Status
test
Level
high
Author
Nasreddine Bencherchali (Nextron Systems)
Date
2023-08-29
Modified
2025-11-27
File
rules/windows/process_creation/proc_creation_win_susp_copy_system_dir_lolbin.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects a suspicious copy operation that tries to copy a known LOLBIN from system (System32, SysWOW64, WinSxS) directories to another on disk in order to bypass detections based on locations.

Log source

product
windows
category
process_creation

Detection

selection_tools_cmd:
    Image|endswith: '\cmd.exe'
    CommandLine|contains: 'copy '
selection_tools_pwsh:
    Image|endswith:
        - '\powershell.exe'
        - '\pwsh.exe'
    CommandLine|contains:
        - 'copy-item'
        - ' copy '
        - 'cpi '
        - ' cp '
selection_tools_other:
    - Image|endswith:
          - '\robocopy.exe'
          - '\xcopy.exe'
    - OriginalFileName:
          - 'robocopy.exe'
          - 'XCOPY.EXE'
selection_target_path:
    CommandLine|contains:
        - '\System32'
        - '\SysWOW64'
        - '\WinSxS'
selection_target_lolbin:
    CommandLine|contains:
        # Note: add more binaries to increase coverage
        - '\bitsadmin.exe'
        - '\calc.exe'
        - '\certutil.exe'
        - '\cmdl32.exe'
        - '\cscript.exe'
        - '\mshta.exe'
        - '\rundll32.exe'
        - '\wscript.exe'
        - '\ie4uinit.exe'
condition: 1 of selection_tools_* and all of selection_target_*

False positives (as the rule lists them)

  • Unknown

Tags

  • attack.stealth
  • attack.t1036.003

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_copy_system_dir_lolbin.yml

Sources and licences

  • SigmaHQ

    "LOL-Binary Copied From System Directory" by Nasreddine Bencherchali (Nextron Systems) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_susp_copy_system_dir_lolbin.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: LOL-Binary Copied From System Directory",
entity page, dataset version ref-7b423a542a46, updated 2025-11-27T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/f5d19838-41b5-476c-98d8-ba8af4929ee2 (accessed 2026-11-03).
Underlying source: SigmaHQ rule f5d19838-41b5-476c-98d8-ba8af4929ee2, 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.