ET POLICY Powershell Command With Encoded Argument Over SMB - Likely Lateral Movement


Query · suricata

flow:established,to_server;
content:"SMB"; depth:8;
content:"powershell"; fast_pattern; nocase; distance:0;
content:"-e"; nocase; distance:0;
pcre:"/^[NnCcOoDdEeMmAa^]{0,27}/R";
Raw source ET POLICY Powershell Command With Encoded Argument Over SMB - Likely Lateral Movement · Suricata
Esc
Published by Emerging Threats Open ↗, licensed under BSD 3-Clause ↗. Line breaks added for readability; the rule is otherwise unchanged.
alert smb any any -> [$HOME_NET,$HTTP_SERVERS] 445 (
    msg:"ET POLICY Powershell Command With Encoded Argument Over SMB - Likely Lateral Movement";
    flow:established,to_server;
    content:"SMB"; depth:8;
    content:"powershell"; fast_pattern; nocase; distance:0;
    content:"-e"; nocase; distance:0;
    pcre:"/^[NnCcOoDdEeMmAa^]{0,27}/R";
    classtype:bad-unknown;
    sid:2027172; rev:2;
    metadata:affected_product Windows_XP_Vista_7_8_10_Server_32_64_Bit, attack_target Client_Endpoint, created_at 2019_04_10, deployment Internal, confidence High, signature_severity Minor, tag Description_Generated_By_Proofpoint_Nexus, updated_at 2026_04_27, mitre_tactic_id TA0008, mitre_tactic_name Lateral_Movement, mitre_technique_id T1570, mitre_technique_name Lateral_Tool_Transfer;
)

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.