Sigma medium test sigma

Suspicious Execution of Powershell with Base64

Commandline to launch powershell with a base64 payload

View Source

Detection Logic

{
  "selection": {
    "Image
| endswith": [
      "\\powershell.exe",
      "\\pwsh.exe"
    ],
    "CommandLine
| contains": [
      " -e ",
      " -en ",
      " -enc ",
      " -enco",
      " -ec "
    ]
  },
  "filter_encoding": {
    "CommandLine
| contains": " -Encoding "
  },
  "filter_azure": {
    "ParentImage
| contains": [
      "C:\\Packages\\Plugins\\Microsoft.GuestConfiguration.ConfigurationforWindows\\",
      "\\gc_worker.exe"
    ]
  },
  "condition": "selection and not 1 of filter_*"
}

False Positives

  • ⚠ Unknown

Field Validations

Loading…

Comments (0)

Loading comments...