VeriKQL by Kaushik Saha

T1505 Server Software Component

Persistenceon attack.mitre.org

ATT&CK Enterprise 20.0 · 20.1 released, update in review

How MITRE detects it

DET0547 Detection Strategy for T1505 - Server Software Component

AN1507 Windows

Installation of malicious IIS/Apache/SQL server modules that later execute command-line interpreters or establish outbound connections.

MITRE log sourceIn Microsoft Sentinel
WinEventLog:SecurityEventCode=4698
  • Windows Security Events via AMA → SecurityEvent
    SecurityEvent | where EventID in (4698)
  • Security Events via Legacy Agent → SecurityEvent
    SecurityEvent | where EventID in (4698)
  • Windows Forwarded Events → WindowsEvent
    WindowsEvent | where Channel == "Security" | where EventID in (4698)

The same events land in SecurityEvent (Windows Security Events connectors) or WindowsEvent (Windows Event Forwarding); many built-in rules read SecurityEvent only.

WinEventLog:SysmonEventCode=1
  • Windows event logs (Azure Monitor Agent) → Event
    Event | where Source == "Microsoft-Windows-Sysmon" | where EventID in (1)
  • Windows Forwarded Events → WindowsEvent
    WindowsEvent | where Provider == "Microsoft-Windows-Sysmon" | where EventID in (1)

Sysmon has no dedicated Sentinel connector: it is collected as a Windows event log into Event or WindowsEvent.

WinEventLog:ApplicationUnusual DLL/plugin registration for IIS/SQL/Apache or unexpected error logs
  • Windows event logs (Azure Monitor Agent) → Event
    Event | where EventLog in ("Application")
  • Windows Forwarded Events → WindowsEvent
    WindowsEvent | where Channel in ("Application")

AN1508 Linux

Abuse of extensible server modules (e.g., Apache, Nginx, Tomcat) to load rogue plugins that initiate bash, connect to C2, or spawn reverse shells.

MITRE log sourceIn Microsoft Sentinel
auditd:SYSCALLexecveNot mapped to Sentinel yet.
linux:syslogModule registration or stacktrace logs indicating segmentation faults or unknown module errorsNot mapped to Sentinel yet.
NSM:FlowOutbound connections from web server binaries (apache2, nginx, php-fpm) to unknown external IPsNot mapped to Sentinel yet.

AN1509 macOS

Malicious use of webserver plugins (e.g., for nginx, PHP, Node.js) that execute AppleScript or open network sockets.

MITRE log sourceIn Microsoft Sentinel
macos:unifiedlogScript interpreter invoked by nginx/apache worker processNot mapped to Sentinel yet.
macos:unifiedlogWeb server process initiating outbound TCP connections not tied to normal server trafficNot mapped to Sentinel yet.

AN1510 ESXi

Use of ESXi web interface plugins or vSphere extensions to embed persistent malicious scripts or services.

MITRE log sourceIn Microsoft Sentinel
esxi:hostdNew extension/module install with unknown vendor IDNot mapped to Sentinel yet.
esxi:vmkernelUnexpected restarts of management agents or shell accessNot mapped to Sentinel yet.

Content Hub rules tagged with it (21)

Rules tagged with this technique (or a sub-technique) in their metadata. Whether one fits your connectors is the coverage view (M2).

How the Content Hub rules for T1505 are built: their tables, filters, joins, schedules and windows.

In Sigma rules

47 SigmaHQ community rules name it or one of its sub-techniques in their tags.

Showing 25 of 47: stable rules first, then by level.

Community rules, not Microsoft's, and not checked by VeriKQL (Sigma is not KQL). From SigmaHQ/sigma at f083329, under the Detection Rule License (DRL) 1.1; each rule is credited to its author.

Mitigations

Sub-techniques

MITRE ATT&CK® is a registered trademark of The MITRE Corporation. VeriKQL is not affiliated with or endorsed by MITRE. ATT&CK data © The MITRE Corporation, used under its terms of use.