Elastic medium stable eql
Executable File Download via Wget
Detects executable file downloads via wget to suspicious locations such as /tmp or /Users/Shared. Threat actors commonly use wget to download malicious payloads and additional tools for post-exploitation.
Detection Logic
sequence by process.entity_id with maxspan=30s
[network where host.os.type == "macos" and event.type == "start" and process.name == "wget"]
[file where host.os.type == "macos" and event.action == "modification" and
process.name == "wget" and
file.path like ("/tmp/*", "/private/tmp/*", "/private/var/tmp/*", "/var/tmp/*", "/Users/Shared/*") and
file.Ext.header_bytes like~ ("cffaedfe*", "cafebabe*")] Field Validations
Loading…
Comments (0)
Loading comments...