Detection of Data Exfiltration via Plain HTTP POST Requests
Adversaries and malware, including Trickbot and APT actors, leverage plain HTTP POST requests to exfiltrate sensitive system information, such as process lists and network configurations, to remote C2 infrastructure.
This threat brief focuses on the use of unencrypted HTTP POST requests as a channel for data exfiltration and command-and-control (C2) communication. Malicious actors, ranging from commodity malware like Trickbot to sophisticated APT adversaries, frequently embed sensitive data within HTTP form fields to bypass security controls that may be primarily focused on more complex protocols. By sending plain text requests containing artifacts such as process lists ("proclist"), network configuration ("ipconfig", "net view"), or system information ("sysinfo"), attackers can silently extract environment details. Defenders should monitor network traffic for HTTP POST methods where the request body contains strings associated with enumeration tools or suspicious process names like "wermgr.exe" or "svchost.exe". This detection logic is critical for identifying unauthorized data staging and C2 heartbeats occurring in cleartext.
Attack Chain
- The malware or adversary identifies sensitive system or network information to exfiltrate.
- The attacker executes local commands, such as "ipconfig" or "net view", to collect environment context.
- The collected output is captured or formatted into a string for transmission.
- The malicious binary initiates an outbound network connection to a remote C2 server using an HTTP POST request.
- The captured system data is placed within the HTTP form data field of the POST request.
- The request is transmitted in plain text, bypassing transport-layer encryption.
- The C2 server receives and logs the exfiltrated data, completing the exfiltration objective.
Impact
Successful exploitation allows for the covert exfiltration of sensitive organizational information, potentially facilitating further network infiltration, credential theft, or the delivery of secondary payloads. This activity is a hallmark of persistent threats and large-scale information-stealing campaigns that compromise host-level security.
Recommendation
Detection engineering teams should focus on network-layer monitoring of HTTP traffic bodies.
- Deploy the Sigma rule below to monitor for suspicious keywords in HTTP POST bodies.
- Ensure that network logging solutions (e.g., Splunk Stream or similar PCAP-to-metadata tools) are configured to capture the
http-request-bodyor equivalent payload fields. - Investigate any detected
src_ipgenerating such traffic to identify the source process and determine if it is a sanctioned application or unauthorized malware.
Immediate actions
Deploy Sigma rule for HTTP POST body monitoring
Threat Hunt
Search for high-volume POST requests to unknown external IPs
Data: Network traffic logs including bytes_out
Detection coverage 1
Detect Suspicious Plaintext HTTP POST Exfiltration
mediumDetects potential data exfiltration via HTTP POST where the form body contains known malicious enumeration strings or suspicious process identifiers.
Detection queries are available on the platform. Get full rules →