Sigma high test sigma

Microsoft IIS Connection Strings Decryption

Detects use of aspnet_regiis to decrypt Microsoft IIS connection strings. An attacker with Microsoft IIS web server access via a webshell or alike can decrypt and dump any hardcoded connection strings, such as the MSSQL service account password using aspnet_regiis command.

View Source

Detection Logic

{
  "selection_name": [
    {
      "Image
| endswith": "\\aspnet_regiis.exe"
    },
    {
      "OriginalFileName": "aspnet_regiis.exe"
    }
  ],
  "selection_args": {
    "CommandLine
| contains
| all": [
      "connectionStrings",
      " -pdf"
    ]
  },
  "condition": "all of selection*"
}

False Positives

  • ⚠ Unknown

Field Validations

Loading…

Comments (0)

Loading comments...