Hayabusa high test sigma

PowerShell Base64 Encoded Invoke Keyword

Detects UTF-8 and UTF-16 Base64 encoded powershell 'Invoke-' calls

View Source

Detection Logic

{
  "process_creation": {
    "EventID": 4688,
    "Channel": "Security"
  },
  "selection_img": [
    {
      "NewProcessName
| endswith": [
        "\\powershell.exe",
        "\\pwsh.exe"
      ]
    },
    {
      "OriginalFileName": [
        "PowerShell.EXE",
        "pwsh.dll"
      ]
    }
  ],
  "selection_cli_enc": {
    "CommandLine
| contains": " -e"
  },
  "selection_cli_invoke": {
    "CommandLine
| contains": [
      "SQBuAHYAbwBrAGUALQ",
      "kAbgB2AG8AawBlAC0A",
      "JAG4AdgBvAGsAZQAtA",
      "SW52b2tlL",
      "ludm9rZS",
      "JbnZva2Ut"
    ]
  },
  "condition": "process_creation and (all of selection_*)"
}

False Positives

  • ⚠ Unknown

Field Validations

Loading…

Comments (0)

Loading comments...