Detectionmediumtest

Cloudflared Portable Execution

Detects the execution of the "cloudflared" binary from a non standard location.

Convert In Phoenix Studio

Open this Sigma rule in the converter with the YAML preloaded and ready for backend selection.

Launch
Nasreddine Bencherchali (Nextron Systems)Created Wed Dec 20fadb84f0-4e84-4f6d-a1ce-9ef2bffb6ccdwindows
Log Source
WindowsProcess Creation
ProductWindows← raw: windows
CategoryProcess Creation← raw: process_creation

Events generated when a new process is spawned on the system. Covers command-line arguments, parent/child relationships, and process metadata.

Detection Logic
Detection Logic2 selectors
detection:
    selection:
        Image|endswith: '\cloudflared.exe'
    filter_main_admin_location:
        Image|contains:
            - ':\Program Files (x86)\cloudflared\'
            - ':\Program Files\cloudflared\'
    condition: selection and not 1 of filter_main_*
False Positives

Legitimate usage of Cloudflared portable versions

Rule Metadata
Rule ID
fadb84f0-4e84-4f6d-a1ce-9ef2bffb6ccd
Status
test
Level
medium
Type
Detection
Created
Wed Dec 20
Path
rules/windows/process_creation/proc_creation_win_cloudflared_portable_execution.yml
Raw Tags
attack.command-and-controlattack.t1090.001
View on GitHub