Sigma rule: Potential Devil Bait Related Indicator

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-b9ab74f36f1b, updated 2023-05-15T00:00:00.000Z.

Rule

Title
Potential Devil Bait Related Indicator
Status
test
Level
high
Author
Nasreddine Bencherchali (Nextron Systems)
Date
2023-05-15
File
rules-emerging-threats/2021/Malware/Devil-Bait/file_event_win_malware_devil_bait_script_drop.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects the creation of ".xml" and ".txt" files in folders of the "\AppData\Roaming\Microsoft" directory by uncommon processes. This behavior was seen common across different Devil Bait samples and stages as described by the NCSC

Log source

product
windows
category
file_event

Detection

selection:
    Image|endswith:
        - '\schtasks.exe'
        - '\wscript.exe'
        - '\mshta.exe'
    # Example folders used by the samples include:
    #   - %AppData%\Microsoft\Network\
    #   - %AppData%\Microsoft\Office\
    TargetFilename|contains: '\AppData\Roaming\Microsoft\'
    TargetFilename|endswith:
        - '.txt'
        - '.xml'
condition: selection

False positives (as the rule lists them)

  • Unlikely

Tags

  • detection.emerging-threats
  • attack.stealth

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/file_event_win_malware_devil_bait_script_drop.yml

Sources and licences

  • SigmaHQ

    "Potential Devil Bait Related Indicator" by Nasreddine Bencherchali (Nextron Systems) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules-emerging-threats/2021/Malware/Devil-Bait/file_event_win_malware_devil_bait_script_drop.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 Related Indicator",
entity page, dataset version ref-b9ab74f36f1b, updated 2023-05-15T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/93d5f1b4-36df-45ed-8680-f66f242b8415 (accessed 2026-11-03).
Underlying source: SigmaHQ rule 93d5f1b4-36df-45ed-8680-f66f242b8415, 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.