Sigma rule: Suspicious WindowsTerminal Child Processes

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

Rule

Title
Suspicious WindowsTerminal Child Processes
Status
test
Level
medium
Author
Nasreddine Bencherchali (Nextron Systems)
Date
2022-07-25
Modified
2023-02-14
File
rules/windows/process_creation/proc_creation_win_windows_terminal_susp_children.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects suspicious children spawned via the Windows Terminal application which could be a sign of persistence via WindowsTerminal (see references section)

Log source

product
windows
category
process_creation

Detection

selection_parent:
    ParentImage|endswith:
        - '\WindowsTerminal.exe'
        - '\wt.exe'
selection_susp:
    - Image|endswith:
          # Add more LOLBINS
          - '\rundll32.exe'
          - '\regsvr32.exe'
          - '\certutil.exe'
          - '\cscript.exe'
          - '\wscript.exe'
          - '\csc.exe'
    - Image|contains:
          # Add more suspicious paths
          - 'C:\Users\Public\'
          - '\Downloads\'
          - '\Desktop\'
          - '\AppData\Local\Temp\'
          - '\Windows\TEMP\'
    - CommandLine|contains:
          # Add more suspicious commandline
          - ' iex '
          - ' icm'
          - 'Invoke-'
          - 'Import-Module '
          - 'ipmo '
          - 'DownloadString('
          - ' /c '
          - ' /k '
          - ' /r '
filter_builtin_visual_studio_shell:
    CommandLine|contains|all:
        - 'Import-Module'
        - 'Microsoft.VisualStudio.DevShell.dll'
        - 'Enter-VsDevShell'
filter_open_settings:
    CommandLine|contains|all:
        - '\AppData\Local\Packages\Microsoft.WindowsTerminal_'
        - '\LocalState\settings.json'
filter_vsdevcmd:
    CommandLine|contains|all:
        - 'C:\Program Files\Microsoft Visual Studio\'
        - '\Common7\Tools\VsDevCmd.bat'
condition: all of selection_* and not 1 of filter_*

False positives (as the rule lists them)

  • Other legitimate "Windows Terminal" profiles

Tags

  • attack.execution
  • attack.persistence

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

Sources and licences

  • SigmaHQ

    "Suspicious WindowsTerminal Child Processes" by Nasreddine Bencherchali (Nextron Systems) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_windows_terminal_susp_children.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: Suspicious WindowsTerminal Child Processes",
entity page, dataset version ref-05d7e0773ce8, updated 2023-02-14T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/8de89e52-f6e1-4b5b-afd1-41ecfa300d48 (accessed 2026-11-03).
Underlying source: SigmaHQ rule 8de89e52-f6e1-4b5b-afd1-41ecfa300d48, 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.