Sigma rule: Potential Devil Bait Malware Reconnaissance

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-5b8a542ce3a9, updated 2025-10-19T00:00:00.000Z.

Rule

Title
Potential Devil Bait Malware Reconnaissance
Status
test
Level
high
Author
Nasreddine Bencherchali (Nextron Systems), NCSC (Idea)
Date
2023-05-15
Modified
2025-10-19
File
rules-emerging-threats/2021/Malware/Devil-Bait/proc_creation_win_malware_devil_bait_output_redirect.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects specific process behavior observed with Devil Bait samples

Log source

product
windows
category
process_creation

Detection

selection_redirect:
    ParentImage|endswith: '\wscript.exe'
    Image|endswith: '\cmd.exe'
    CommandLine|contains: '>>%APPDATA%\Microsoft\'
    CommandLine|endswith:
        - '.xml'
        - '.txt'
selection_recon_cmd:
    - CommandLine|re: 'ipconfig\s+/all'
    - CommandLine|contains:
          # Taken from a6f9043627f8be2452153b5dbf6278e9b91763c3b5c2aea537a859e0c8c6b504
          # If you find samples using other commands please add them
          - 'dir'
          - 'systeminfo'
          - 'tasklist'
condition: all of selection_*

False positives (as the rule lists them)

  • Unlikely

Tags

  • attack.stealth
  • attack.t1218
  • detection.emerging-threats

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-emerging-threats/2021/Malware/Devil-Bait/proc_creation_win_malware_devil_bait_output_redirect.yml

Sources and licences

  • SigmaHQ

    "Potential Devil Bait Malware Reconnaissance" by Nasreddine Bencherchali (Nextron Systems), NCSC (Idea) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules-emerging-threats/2021/Malware/Devil-Bait/proc_creation_win_malware_devil_bait_output_redirect.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: Potential Devil Bait Malware Reconnaissance",
entity page, dataset version ref-5b8a542ce3a9, updated 2025-10-19T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/e8954be4-b2b8-4961-be18-da1a5bda709c (accessed 2026-11-03).
Underlying source: SigmaHQ rule e8954be4-b2b8-4961-be18-da1a5bda709c, 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.