ET EXPLOIT Zerologon Phase 2/3 - NetrServerAuthenticate2 Request with 0x00 Client Challenge and Sign and Seal Disabled (CVE-2020-1472) M1


Query · suricata

flow:established,to_server;
flowbits:isset,dcerpc.rpcnetlogon;
flowbits:isset,dcerpc.rpcnetlogon.netrsrvreqchal.nullcc;
flowbits:set,dcerpc.rpcnetlogon.netrsrvrauth.nosignnoseal;
content:"|05 00 00|"; startswith; fast_pattern;
content:"|0f 00|"; offset:22; depth:2;
content:"|00 00 00 00 00 00 00 00|"; distance:0;
content:!"|00 00|"; within:2;
isdataat:!5,relative;
byte_test:1,!&,0x40,3,relative;
threshold:type both, count 5, seconds 30, track by_src;

Rule dependencies

Higher-order rule. It fires on other rules' alerts, not on raw events, so it cannot fire on its own. Deploy the rules it depends on too.

Depends on

Feeds into

  • 1 rule read dcerpc.rpcnetlogon.netrsrvrauth.nosignnoseal · view all
Raw source ET EXPLOIT Zerologon Phase 2/3 - NetrServerAuthenticate2 Request with 0x00 Client Challenge and Sign and Seal Disabled (CVE-2020-1472) M1 · 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 any any -> [$HTTP_SERVERS,$HOME_NET] 1024: (
    msg:"ET EXPLOIT Zerologon Phase 2/3 - NetrServerAuthenticate2 Request with 0x00 Client Challenge and Sign and Seal Disabled (CVE-2020-1472) M1";
    flow:established,to_server;
    flowbits:isset,dcerpc.rpcnetlogon;
    flowbits:isset,dcerpc.rpcnetlogon.netrsrvreqchal.nullcc;
    flowbits:set,dcerpc.rpcnetlogon.netrsrvrauth.nosignnoseal;
    content:"|05 00 00|"; startswith; fast_pattern;
    content:"|0f 00|"; offset:22; depth:2;
    content:"|00 00 00 00 00 00 00 00|"; distance:0;
    content:!"|00 00|"; within:2;
    isdataat:!5,relative;
    byte_test:1,!&,0x40,3,relative;
    threshold:type both, count 5, seconds 30, track by_src;
    reference:url,www.secura.com/blog/zero-logon;
    reference:url,dirkjanm.io/a-different-way-of-abusing-zerologon/;
    reference:cve,2020-1472;
    reference:url,thedfirreport.com/2022/02/21/qbot-and-zerologon-lead-to-full-domain-compromise/;
    classtype:attempted-admin;
    sid:2035258; rev:2;
    metadata:attack_target Server, created_at 2022_02_22, cve CVE_2020_1472, deployment Internal, performance_impact Significant, confidence Medium, signature_severity Major, tag CISA_KEV, tag Description_Generated_By_Proofpoint_Nexus, updated_at 2022_02_22;
)

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.