ET HUNTING Inbound Powershell Creating .lnk File


Query · suricata

flow:established,to_client;
file.data;
content:".lnk|22|";
content:"|28|New-Object|20|-COM|20|WScript.Shell|29|.CreateShortcut|28|";
Raw source ET HUNTING Inbound Powershell Creating .lnk File · 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 Inbound Powershell Creating .lnk File";
    flow:established,to_client;
    file.data;
    content:".lnk|22|";
    content:"|28|New-Object|20|-COM|20|WScript.Shell|29|.CreateShortcut|28|";
    classtype:bad-unknown;
    sid:2033957; rev:1;
    metadata:created_at 2021_09_15, confidence Medium, signature_severity Informational, tag Description_Generated_By_Proofpoint_Nexus, updated_at 2021_09_15;
)

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.