Anvilogic critical experimental spl
Exfiltration via curl.exe - Windows [splunk-sysmon]
Threat actors may abuse curl.exe on Windows systems to exfiltrate data or upload files to remote servers using command-line options like -d, -T, --form, or --upload-file. These flags are commonly used for HTTP POST requests, enabling attackers to transmit files or sensitive information during post-compromise activity. This use case detects process creation events where curl.exe is used with data or file upload arguments, potentially indicating data exfiltration, C2 communication, or malicious use of legitimate tools.
Detection Logic
`get_endpoint_data` `get_endpoint_data_sysmon` (TERM(EventCode=1)
OR "<EventID>1<") TERM(curl) ("-d"
OR "-T"
OR "-F"
OR " --form"
OR "--upload-file "
OR "--data "
OR "--data-")
| where match(process_path, "(?i)\x5ccurl\.exe") and (match(process, "\s-[dTF]\s") or match(process, "(?i)\s--(form
| upload-file
| data)\s
| \s--data-"))
| table _time, host, user, process, process_path, process_name, parent_process_name, user
| bin span=1s
| stats values(*) as * by _time, host Field Validations
Loading…
Comments (0)
Loading comments...