Detectionmediumtest

Local File Read Using Curl.EXE

Detects execution of "curl.exe" with the "file://" protocol handler in order to read local files.

Open in Detection LabConvert ruleBuild Package
Nasreddine BencherchaliCreated 2023-07-27aa6f6ea6-0676-40dd-b510-6e46f02d8867windows
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_img:
        - Image|endswith: '\curl.exe'
        - OriginalFileName: 'curl.exe'
    selection_cli:
        CommandLine|contains: 'file:///'
    condition: all of selection_*
False Positives
Unknown

False positive likelihood has not been assessed. Additional context may be needed during triage.

Testing & Validation

Regression Tests

by Swachchhanda Shrawan Poudel (Nextron Systems)
Positive Detection Test1 matchevtx

Microsoft-Windows-Sysmon

MITRE ATT&CK
Rule Metadata
Rule ID
aa6f6ea6-0676-40dd-b510-6e46f02d8867
Status
test
Level
medium
Type
Detection
Created
2023-07-27
Path
rules/windows/process_creation/proc_creation_win_curl_local_file_read.yml
Raw Tags
attack.execution
View on GitHub