Sigma high stable sigma

OMIGOD HTTP No Authentication RCE - CVE-2021-38647

Detects the exploitation of OMIGOD (CVE-2021-38647) which allows remote execute (RCE) commands as root with just a single unauthenticated HTTP request. Verify, successful, exploitation by viewing the HTTP client (request) body to see what was passed to the server (using PCAP). Within the client body is where the code execution would occur. Additionally, check the endpoint logs to see if suspicious commands or activity occurred within the timeframe of this HTTP request.

View Source

Detection Logic

{
  "selection": {
    "status_code": 200,
    "uri": "/wsman",
    "method": "POST"
  },
  "auth_header": {
    "client_header_names
| contains": "AUTHORIZATION"
  },
  "too_small_http_client_body": {
    "request_body_len": 0
  },
  "condition": "selection and not auth_header and not too_small_http_client_body"
}

False Positives

  • Exploits that were attempted but unsuccessful.
  • Scanning attempts with the abnormal use of the HTTP POST method with no indication of code execution within the HTTP Client (Request) body. An example would be vulnerability scanners trying to identify unpatched versions while not actually exploiting the vulnerability. See description for investigation tips.

Field Validations

Loading…

Comments (0)

Loading comments...