ET HUNTING Generic Powershell DownloadString Command


Query · suricata

flow:established,to_client;
flowbits:isset,ET.PS.Download;
http.stat_code;
content:"200";
file.data;
content:".DownloadString("; nocase; fast_pattern;

Rule dependencies

Higher-order rule. It fires on other rules' alerts, not on raw events, so it cannot fire on its own. Deploy the rules it depends on too.

Depends on

Raw source ET HUNTING Generic Powershell DownloadString Command · Suricata
Esc
Published by Emerging Threats Open ↗, licensed under BSD 3-Clause ↗. Line breaks added for readability; the rule is otherwise unchanged.
alert http $EXTERNAL_NET any -> $HOME_NET any (
    msg:"ET HUNTING Generic Powershell DownloadString Command";
    flow:established,to_client;
    flowbits:isset,ET.PS.Download;
    http.stat_code;
    content:"200";
    file.data;
    content:".DownloadString("; nocase; fast_pattern;
    classtype:bad-unknown;
    sid:2032169; rev:1;
    metadata:affected_product Windows_XP_Vista_7_8_10_Server_32_64_Bit, attack_target Client_Endpoint, created_at 2021_03_18, deployment Perimeter, confidence Medium, signature_severity Informational, tag Description_Generated_By_Proofpoint_Nexus, updated_at 2021_03_18;
)

Detection rules belong to the projects that publish them and remain under their own licenses. This site indexes and links to them; it claims no rights in them.