File Download or Read to Pipe Execution
The following analytic detects the use of download or file reading utilities from Windows, Linux or MacOS to download or read the contents of a file from a remote or local source and pipe it directly to a shell for…
Description
The following analytic detects the use of download or file reading utilities from Windows, Linux or MacOS to download or read the contents of a file from a remote or local source and pipe it directly to a shell for execution. This detection leverages data from Endpoint Detection and Response (EDR) agents, focusing on command-line executions. This activity is significant as it is commonly associated with malicious actions like coinminers and exploits such as CVE-2021-44228 in Log4j. If confirmed malicious, this behavior could allow attackers to execute arbitrary code, potentially leading to system compromise and unauthorized access to sensitive data.
Detection logic
Detection requirements
- Platform
- ESXiLinuxmacOSNetwork DevicesWindows
The rule states no platform. This is derived from the ATT&CK technique it maps to.
Known benign triggers
- False positives should be limited, however filtering may be required.
MITRE ATT&CK mappings
0 exclusive techniques.This is coverage no other published rule has; it is not this rule's total technique count.
References
| Reference | Cited by |
|---|---|
| gist.github.com/nathanqthai/01808c569903f41a52e7e7b575caa890 | Only this detection cites it |
| github.com/MHaggis/notes/blob/master/utilities/warp_pipe_tester.py | Only this detection cites it |
| securelist.com/bad-magic-apt/109087/ | Only this detection cites it |
| www.huntress.com/blog/rapid-response-critical-rce-vulnerability-is-affecting-java | Only this detection cites it |
| www.lunasec.io/docs/blog/log4j-zero-day/ | 6from 2 sources |
From the source
- At source
- Open at source
- Upstream identifier
- 26f86252-1549-45e1-a212-eb26840e86bc
- Tagged by the source as
- Compromised Windows HostIngress Tool TransferLinux Living Off The LandLog4Shell CVE-2021-44228NPM Supply Chain CompromiseEndpointendpointSplunk CloudSplunk EnterpriseSplunk Enterprise Securityendpoint
Licence
- Published under
- Apache License 2.0Read the licence
- Attribution
- Required
- Obtained under
- Apache-2.0Read the origin licence
Authorship
- Published
- Sep 5, 2026
- Version
- 2