detection rulesuricata
cPanel/WHM scripts/exec Command Execution Attempt
- First seen
- 2026-09-25
- Last seen
- 2026-09-25
- Used in
- 1 post
alert http $EXTERNAL_NET any -> $HTTP_SERVERS [2082,2083,2086,2087] (msg:"CYFAR EXPLOIT cPanel/WHM JSON-API scripts/exec Command Execution Attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/json-api/scripts/exec"; fast_pattern; content:"command="; classtype:attempted-admin; sid:1000638003; rev:1;)Posts using this rule
Perimeter firewalls · DMZ reverse proxies · IDS sensors
- **Deployment requirement:** Requires plaintext HTTP visibility after TLS termination or an approved decrypted traffic feed; standard perimeter monitoring cannot inspect HTTPS on ports 2083 and 2087 without decryption. Configure addresses and ports for the actual inspection point. - **Tuning note:** Legitimate administrative management typically originates from internal jump boxes or designated administrator CIDRs. Alerting should trigger when this API is invoked from `$EXTERNAL_NET`.