alert tcp-pkt $HOME_NET any -> $EXTERNAL_NET any (
msg:"ET POLICY Cryptocurrency Miner Checkin M2";
flow:established,to_server;
content:"|7b 22|id|22 3a|"; nocase; depth:6;
content:"|22|jsonrpc|22 3a|"; nocase; distance:0;
content:"|22 2c 22|method|22 3a 22|login|22 2c 22|params|22 3a|"; fast_pattern; nocase;
content:"|22|agent|22 3a 22|"; nocase;
content:!"<title"; nocase;
content:!"<script"; nocase;
content:!"<html"; nocase;
content:!"|22|pass|22 3a 22|"; nocase;
classtype:policy-violation;
sid:2027316; rev:2;
metadata:affected_product Windows_XP_Vista_7_8_10_Server_32_64_Bit, attack_target Client_Endpoint, created_at 2019_05_06, deployment Perimeter, performance_impact Low, confidence High, signature_severity Major, updated_at 2019_07_26;
)