Sigma medium test sigma

Change User Agents with WebRequest

Adversaries may communicate using application layer protocols associated with web traffic to avoid detection/network filtering by blending in with existing traffic. Commands to the remote system, and often the results of those commands, will be embedded within the protocol traffic between the client and server.

View Source

Detection Logic

{
  "selection_webrequest": {
    "ScriptBlockText
| contains": [
      "Invoke-WebRequest",
      "Invoke-RestMethod",
      " irm ",
      "iwr "
    ]
  },
  "selection_useragent": {
    "ScriptBlockText
| contains": "-UserAgent "
  },
  "condition": "all of selection_*"
}

False Positives

  • ⚠ Unknown

Field Validations

Loading…

Comments (0)

Loading comments...