ET ATTACK_RESPONSE Nishang Invoke-PowerShellTcp Shell Prompt Outbound


Query · suricata

flow:established,to_server;
stream_size:server,<,5;
content:"Windows PowerShell running as user"; startswith; fast_pattern;
content:"|20|on|20|"; within:258;
Raw source ET ATTACK_RESPONSE Nishang Invoke-PowerShellTcp Shell Prompt Outbound · Suricata
Esc
Published by Emerging Threats Open ↗, licensed under BSD 3-Clause ↗. Line breaks added for readability; the rule is otherwise unchanged.
alert tcp-pkt $HOME_NET any -> any any (
    msg:"ET ATTACK_RESPONSE Nishang Invoke-PowerShellTcp Shell Prompt Outbound";
    flow:established,to_server;
    stream_size:server,<,5;
    content:"Windows PowerShell running as user"; startswith; fast_pattern;
    content:"|20|on|20|"; within:258;
    reference:url,github.com/samratashok/nishang/blob/master/Shells/Invoke-PowerShellTcp.ps1;
    classtype:bad-unknown;
    sid:2038605; rev:2;
    metadata:attack_target Client_Endpoint, created_at 2022_08_24, deployment Perimeter, performance_impact Low, confidence High, signature_severity Minor, tag Description_Generated_By_Proofpoint_Nexus, updated_at 2024_12_12;
)

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.