title: ADCS Web Enrollment POST for Relay Review (/certsrv/certfnsh.asp) id: 4d91a8c3-7b12-4e58-9c31-202611203201 status: experimental description: Detects HTTP POST enrollment requests to Active Directory Certificate Services (/certsrv/certfnsh.asp) originating from non-approved hosts as a hunt signal to review for potential ESC8 NTLM relay activity (such as Certipy or ntlmrelayx). author: Odin by Brandefense date: 2026/11/20 tags: - attack.credential-access - attack.t1649 logsource: category: webserver product: windows detection: selection_certsrv: cs-method: 'POST' cs-uri-stem|contains: '/certsrv/certfnsh.asp' sc-status: 200 filter_pki_proxies: c-ip: - '10.20.10.15' - '10.20.10.16' filter_enroll_service_accounts: cs-username: - 'CORP\svc-pki-autoenroll' condition: selection_certsrv and not 1 of filter_* falsepositives: - Legacy manual browser certificate enrollment on ADCS servers where HTTPS and Extended Protection for Authentication (KB5005413) have not yet been enforced level: critical --- title: Modular Token-Gated PHP Webshell Worker Spawning Shell or Database Export Utility id: 8b24e5d9-1a63-4f74-b082-202611203202 status: experimental description: Identifies PHP-FPM or Linux web server workers spawning OS shells, reconnaissance commands, or database client utilities consistent with webshell activity or database misuse. author: Odin by Brandefense date: 2026/11/20 tags: - attack.persistence - attack.t1505.003 logsource: category: process_creation product: linux detection: selection_web_parent: ParentImage|endswith: - '/php-fpm' - '/php-fpm8.2' - '/php-fpm8.3' - '/php-cgi' - '/apache2' - '/httpd' selection_shell_or_db_child: Image|endswith: - '/sh' - '/bash' - '/dash' - '/id' - '/whoami' - '/uname' - '/mysql' - '/mysqldump' - '/psql' filter_validation_hosts: ComputerName: - 'SEC-VALIDATION-WEB-01' filter_backup_cron_users: User: - 'svc-db-backup' condition: selection_web_parent and selection_shell_or_db_child and not 1 of filter_* falsepositives: - Legacy PHP backup plugins invoking mysqldump directly from web worker pools instead of isolated cron jobs level: critical --- title: Microsoft Word Macro-Enabled Document (.docm) Spawning Script or LOLBin Child Process id: 2f67c9a1-5d40-4c89-a416-202611203203 status: experimental description: Detects WINWORD.EXE opened with a macro-enabled OpenXML document (.docm) spawning PowerShell, command shells, or Windows script hosts consistent with templated GoPhish macro attachment lures. author: Odin by Brandefense date: 2026/11/20 tags: - attack.initial-access - attack.t1566.001 logsource: category: process_creation product: windows detection: selection_word_docm: ParentImage|endswith: '\WINWORD.EXE' ParentCommandLine|contains: '.docm' selection_child_interpreter: Image|endswith: - '\powershell.exe' - '\pwsh.exe' - '\cmd.exe' - '\wscript.exe' - '\cscript.exe' - '\mshta.exe' - '\rundll32.exe' filter_finance_macro_hosts: ComputerName: - 'FIN-LEGACY-MACRO-01' condition: selection_word_docm and selection_child_interpreter and not 1 of filter_* falsepositives: - Approved internal finance workstations running legacy signed VBA templates that invoke local batch helpers level: high