Potential Devil Bait Malware Reconnaissance
Detects specific process behavior observed with Devil Bait samples
Sigma rule (View on GitHub)
 1title: Potential Devil Bait Malware Reconnaissance
 2id: e8954be4-b2b8-4961-be18-da1a5bda709c
 3related:
 4    - id: 8e0bb260-d4b2-4fff-bb8d-3f82118e6892
 5      type: derived
 6status: test
 7description: Detects specific process behavior observed with Devil Bait samples
 8references:
 9    - https://www.ncsc.gov.uk/static-assets/documents/malware-analysis-reports/devil-bait/NCSC-MAR-Devil-Bait.pdf
10    - https://www.virustotal.com/gui/file/fa71eee906a7849ba3f4bab74edb577bd1f1f8397ca428591b4a9872ce1f1e9b/behavior
11author: Nasreddine Bencherchali (Nextron Systems), NCSC (Idea)
12date: 2023-05-15
13modified: 2025-10-19
14tags:
15    - attack.defense-evasion
16    - attack.t1218
17    - detection.emerging-threats
18logsource:
19    category: process_creation
20    product: windows
21detection:
22    selection_redirect:
23        ParentImage|endswith: '\wscript.exe'
24        Image|endswith: '\cmd.exe'
25        CommandLine|contains: '>>%APPDATA%\Microsoft\'
26        CommandLine|endswith:
27            - '.xml'
28            - '.txt'
29    selection_recon_cmd:
30        - CommandLine|re: 'ipconfig\s+/all'
31        - CommandLine|contains:
32              # Taken from a6f9043627f8be2452153b5dbf6278e9b91763c3b5c2aea537a859e0c8c6b504
33              # If you find samples using other commands please add them
34              - 'dir'
35              - 'systeminfo'
36              - 'tasklist'
37    condition: all of selection_*
38falsepositives:
39    - Unlikely
40level: high
References
Related rules
- Potential Exploitation of RCE Vulnerability CVE-2025-33053
- Potential Exploitation of RCE Vulnerability CVE-2025-33053 - Image Load
- Potential Exploitation of RCE Vulnerability CVE-2025-33053 - Process Access
- Potential Pikabot Infection - Suspicious Command Combinations Via Cmd.EXE
- Potential Suspicious Child Process Of 3CXDesktopApp