Detection rules › Sigma

Suspicious FileFix Execution Pattern

Status
experimental
Severity
high
Log source
product windows, category process_creation
Author
0xFustang, Swachchhanda Shrawan Poudel (Nextron Systems)
Source
github.com/SigmaHQ/sigma

Detects suspicious FileFix execution patterns where users are tricked into running malicious commands through browser file upload dialog manipulation. This attack typically begins when users visit malicious websites impersonating legitimate services or news platforms, which may display fake CAPTCHA challenges or direct instructions to open file explorer and paste clipboard content. The clipboard content usually contains commands that download and execute malware, such as information stealing tools.

MITRE ATT&CK coverage

Event coverage

Rule body yaml

title: Suspicious FileFix Execution Pattern
id: b5b29e4e-31fa-4fdf-b058-296e7a1aa0c2
related:
    - id: 4fee3d51-8069-4a4c-a0f7-924fcaff2c70
      type: similar
    - id: 4be03877-d5b6-4520-85c9-a5911c0a656c
      type: obsolete
status: experimental
description: |
    Detects suspicious FileFix execution patterns where users are tricked into running malicious commands through browser file upload dialog manipulation.
    This attack typically begins when users visit malicious websites impersonating legitimate services or news platforms,
    which may display fake CAPTCHA challenges or direct instructions to open file explorer and paste clipboard content.
    The clipboard content usually contains commands that download and execute malware, such as information stealing tools.
references:
    - https://mrd0x.com/filefix-clickfix-alternative/
    - https://expel.com/blog/cache-smuggling-when-a-picture-isnt-a-thousand-words/ # phishing lure directly asking users to open file explorer and paste command
    - https://blog.checkpoint.com/research/filefix-the-new-social-engineering-attack-building-on-clickfix-tested-in-the-wild/
author: 0xFustang, Swachchhanda Shrawan Poudel (Nextron Systems)
date: 2025-11-24
tags:
    - attack.execution
    - attack.t1204.004
logsource:
    category: process_creation
    product: windows
detection:
    selection_exec_parent:
        # This is case where phishing pages trick users to paste commands in browser file upload dialog
        ParentImage|endswith:
            - '\brave.exe'
            - '\chrome.exe'
            - '\firefox.exe'
            - '\msedge.exe'
        CommandLine|contains: '#'
    selection_cli_lolbin:
        CommandLine|contains:
            - '%comspec%'
            - 'bitsadmin'
            - 'certutil'
            - 'cmd'
            - 'cscript'
            - 'curl'
            - 'finger'
            - 'mshta'
            - 'powershell'
            - 'pwsh'
            - 'regsvr32'
            - 'rundll32'
            - 'schtasks'
            - 'wget'
            - 'wscript'
    selection_cli_captcha:
        CommandLine|contains:
            - 'account'
            - 'anti-bot'
            - 'botcheck'
            - 'captcha'
            - 'challenge'
            - 'confirmation'
            - 'fraud'
            - 'human'
            - 'identification'
            - 'identificator'
            - 'identity'
            - 'robot'
            - 'validation'
            - 'verification'
            - 'verify'
    condition: selection_exec_parent and 1 of selection_cli_*
falsepositives:
    - Legitimate use of PowerShell or other utilities launched from browser extensions or automation tools
level: high

Stages and Predicates

Stage 0: condition

selection_exec_parent and 1 of selection_cli_*

Stage 1: selection_exec_parent

selection_exec_parent:
    ParentImage|endswith:
        - '\brave.exe'
        - '\chrome.exe'
        - '\firefox.exe'
        - '\msedge.exe'
    CommandLine|contains: '#'

Stage 2: selection_cli_lolbin

selection_cli_lolbin:
    CommandLine|contains:
        - '%comspec%'
        - 'bitsadmin'
        - 'certutil'
        - 'cmd'
        - 'cscript'
        - 'curl'
        - 'finger'
        - 'mshta'
        - 'powershell'
        - 'pwsh'
        - 'regsvr32'
        - 'rundll32'
        - 'schtasks'
        - 'wget'
        - 'wscript'

Stage 3: selection_cli_captcha

selection_cli_captcha:
    CommandLine|contains:
        - 'account'
        - 'anti-bot'
        - 'botcheck'
        - 'captcha'
        - 'challenge'
        - 'confirmation'
        - 'fraud'
        - 'human'
        - 'identification'
        - 'identificator'
        - 'identity'
        - 'robot'
        - 'validation'
        - 'verification'
        - 'verify'

Indicators

Each row is a field, operator, and value that the rule matches. The corpus column counts how many other rules in the catalog look for the same combination: high numbers point to widely-used, community-vetted indicators. Blank or 1 shows that the indicator is specific to this rule.

FieldKindValues
CommandLinematch
  • # corpus 3 (sigma 3)
  • %comspec% corpus 6 (sigma 5, splunk 1)
  • account corpus 2 (sigma 2)
  • anti-bot corpus 2 (sigma 2)
  • bitsadmin corpus 10 (sigma 10)
  • botcheck corpus 2 (sigma 2)
  • captcha corpus 2 (sigma 2)
  • certutil corpus 12 (sigma 10, kusto 2)
  • challenge corpus 2 (sigma 2)
  • cmd corpus 8 (sigma 8)
  • confirmation corpus 2 (sigma 2)
  • cscript corpus 15 (sigma 15)
  • curl corpus 17 (sigma 14, elastic 2, splunk 1)
  • finger corpus 2 (sigma 2)
  • fraud corpus 2 (sigma 2)
  • human corpus 2 (sigma 2)
  • identification corpus 2 (sigma 2)
  • identificator corpus 2 (sigma 2)
  • identity corpus 2 (sigma 2)
  • mshta corpus 14 (sigma 14)
  • powershell corpus 25 (sigma 24, chronicle 1)
  • pwsh corpus 7 (sigma 7)
  • regsvr32 corpus 15 (sigma 15)
  • robot corpus 2 (sigma 2)
  • rundll32 corpus 26 (sigma 23, chronicle 2, kusto 1)
  • schtasks corpus 6 (sigma 5, kusto 1)
  • validation corpus 2 (sigma 2)
  • verification corpus 2 (sigma 2)
  • verify corpus 2 (sigma 2)
  • wget corpus 11 (sigma 8, elastic 1, splunk 1, kusto 1)
  • wscript corpus 16 (sigma 16)
ParentImageends_with
  • \brave.exe corpus 2 (sigma 2)
  • \chrome.exe corpus 5 (sigma 5)
  • \firefox.exe corpus 4 (sigma 4)
  • \msedge.exe corpus 4 (sigma 4)