Synacktiv high experimental sigma

atexec-pro - Suspicious PowerShell process creation

Suspicious PowerShell process creation where command line contents are related to execution of atexec-pro remote execution tool

View Source

Detection Logic

{
  "selection_base": {
    "CommandLine
| base64offset
| contains
| all": [
      "[System.Convert]::ToBase64String(",
      "[System.Convert]::FromBase64String(",
      "New-Object System.Security.Cryptography.AesManaged",
      "[System.Security.Cryptography.CipherMode]::CBC",
      ".CreateEncryptor()",
      ".CreateDecryptor()",
      "New-Object -ComObject Schedule.Service",
      ".GetTask(",
      ".RegistrationInfo.Description",
      ".RegisterTaskDefinition("
    ]
  },
  "selection_script_cmd": {
    "CommandLine
| base64offset
| contains": "iex"
  },
  "selection_script_upload": {
    "CommandLine
| base64offset
| contains": "Set-Content -Path "
  },
  "selection_script_download": {
    "CommandLine
| base64offset
| contains": "Get-Content -Path "
  },
  "selection_script_net": {
    "CommandLine
| base64offset
| contains
| all": [
      "[System.Reflection.Assembly]::Load(",
      "New-Object System.IO.StreamWriter",
      ".Invoke(",
      "New-Object System.IO.StreamReader("
    ]
  },
  "condition": "selection_base and 1 of selection_script*"
}

False Positives

  • Legitimate scripts using these cmdlets

Field Validations

Loading…

Comments (0)

Loading comments...