m_server,established; content:”|00 00 00 31 ff|SMB|2b 00 00 00 00 98 07 c0|”; depth:16; fast_pattern; content:”|4a 6c 4a 6d 49 68 43 6c 42 73 72 00|”; distance:0; flowbits:isset,ETPRO.ETERNALBLUE; classtype:trojan-activity; sid:2024218; rev:1;)
</code></pre>
</div>

<h4 id="sans的snort规则">Sans的snort规则：</h4>
<hr />
<div class="highlighter-rouge"><pre class="highlight"><code>alert tcp $HOME_NET 445 -&gt; any any (msg:”ET EXPLOIT Possible ETERNALBLUE MS17-010 Echo Response”; flow:from_