ET ATTACK_RESPONSE Possible Remote System32 DLL Hijack Command Inbound via HTTP (T1038, T1105)


Query · suricata

flow:established,from_server;
content:"200"; http_stat_code;
file_data;
content:"copy|20|";
content:".dll"; distance:0;
content:"|5c|Windows|5c|System32|5c|"; distance:0; fast_pattern;
content:".dll"; distance:0;
content:"copy|20|";
pcre:"/^(?P<dll_name>[a-z0-9\-_]{1,20})\.dll\s*\\\\(([0-9]{1,3}\.){3}[0-9]{1,3}|([a-z0-9\-]{1,30}\.){1,8}[a-z]{1,8})\\\w{1,10}\$\\Windows\\System32\\(?P=dll_name)\.dll/Ri";
Raw source ET ATTACK_RESPONSE Possible Remote System32 DLL Hijack Command Inbound via HTTP (T1038, T1105) · 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 ATTACK_RESPONSE Possible Remote System32 DLL Hijack Command Inbound via HTTP (T1038, T1105)";
#    flow:established,from_server;
#    content:"200"; http_stat_code;
#    file_data;
#    content:"copy|20|";
#    content:".dll"; distance:0;
#    content:"|5c|Windows|5c|System32|5c|"; distance:0; fast_pattern;
#    content:".dll"; distance:0;
#    content:"copy|20|";
#    pcre:"/^(?P<dll_name>[a-z0-9\-_]{1,20})\.dll\s*\\\\(([0-9]{1,3}\.){3}[0-9]{1,3}|([a-z0-9\-]{1,30}\.){1,8}[a-z]{1,8})\\\w{1,10}\$\\Windows\\System32\\(?P=dll_name)\.dll/Ri";
#    reference:url,posts.specterops.io/lateral-movement-scm-and-dll-hijacking-primer-d2f61e8ab992;
#    classtype:attempted-user;
#    sid:2027268; rev:2;
#    metadata:affected_product Windows_XP_Vista_7_8_10_Server_32_64_Bit, created_at 2019_04_23, deployment Internal, performance_impact Low, confidence Medium, signature_severity Major, tag T1038, tag T1105, updated_at 2019_07_26;
#)

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.