Hayabusa medium test sigma

Suspicious PowerShell Download - Powershell Script

Detects suspicious PowerShell download command

View Source

Detection Logic

{
  "ps_script": {
    "EventID": 4104,
    "Channel": [
      "Microsoft-Windows-PowerShell/Operational",
      "PowerShellCore/Operational"
    ]
  },
  "webclient": {
    "ScriptBlockText
| contains": "System.Net.WebClient"
  },
  "download": {
    "ScriptBlockText
| contains": [
      ".DownloadFile(",
      ".DownloadFileAsync(",
      ".DownloadString(",
      ".DownloadStringAsync("
    ]
  },
  "condition": "ps_script and (webclient and download)"
}

False Positives

  • PowerShell scripts that download content from the Internet

Field Validations

Loading…

Comments (0)

Loading comments...