ET HUNTING Suspected Malicious Powershell Script (Inbound)


Query · suricata

flow:established,to_client;
file.data;
content:"set-strictmode -"; nocase; fast_pattern;
content:"GetAssemblies"; distance:0; nocase;
content:"|5b 5d 5d 24|"; distance:0;
content:"GetDelegateForFunctionPointer"; distance:0; nocase;
target:dest_ip;
Raw source ET HUNTING Suspected Malicious Powershell Script (Inbound) · 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 Suspected Malicious Powershell Script (Inbound)";
    flow:established,to_client;
    file.data;
    content:"set-strictmode -"; nocase; fast_pattern;
    content:"GetAssemblies"; distance:0; nocase;
    content:"|5b 5d 5d 24|"; distance:0;
    content:"GetDelegateForFunctionPointer"; distance:0; nocase;
    classtype:bad-unknown;
    sid:2049234; rev:1;
    metadata:attack_target Client_Endpoint, created_at 2023_11_16, deployment Perimeter, performance_impact Low, confidence Medium, signature_severity Informational, tag Description_Generated_By_Proofpoint_Nexus, updated_at 2023_11_16;
    target:dest_ip;
)

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.