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 source | In Microsoft Sentinel |
|---|---|
WinEventLog:SecurityEventCode=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 |
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 |
|
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 source | In Microsoft Sentinel |
|---|---|
auditd:SYSCALLexecve | Not mapped to Sentinel yet. |
linux:syslogModule registration or stacktrace logs indicating segmentation faults or unknown module errors | Not mapped to Sentinel yet. |
NSM:FlowOutbound connections from web server binaries (apache2, nginx, php-fpm) to unknown external IPs | Not 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 source | In Microsoft Sentinel |
|---|---|
macos:unifiedlogScript interpreter invoked by nginx/apache worker process | Not mapped to Sentinel yet. |
macos:unifiedlogWeb server process initiating outbound TCP connections not tied to normal server traffic | Not mapped to Sentinel yet. |
AN1510 ESXi
Use of ESXi web interface plugins or vSphere extensions to embed persistent malicious scripts or services.
| MITRE log source | In Microsoft Sentinel |
|---|---|
esxi:hostdNew extension/module install with unknown vendor ID | Not mapped to Sentinel yet. |
esxi:vmkernelUnexpected restarts of management agents or shell access | Not mapped to Sentinel yet. |
Content Hub rules tagged with it (21)
- Cloudflare - Unexpected POST requests
- Cloudflare - Unexpected POST requests
- CYFIRMA - Attack Surface - Configuration High Rule
- CYFIRMA - Attack Surface - Configuration Medium Rule
- CYFIRMA - Attack Surface - Domain/IP Vulnerability Exposure High Rule
- CYFIRMA - Attack Surface - Domain/IP Vulnerability Exposure Medium Rule
- CYFIRMA - Attack Surface - Open Ports High Rule
- CYFIRMA - Attack Surface - Open Ports Medium Rule
- CYFIRMA - High severity TOR Node Network Indicators - Block Recommended Rule
- CYFIRMA - High severity TOR Node Network Indicators - Monitor Recommended Rule
- CYFIRMA - Medium severity TOR Node Network Indicators - Block Recommended Rule
- CYFIRMA - Medium severity TOR Node Network Indicators - Monitor Recommended Rule
- Malicious web application requests linked with Microsoft Defender for Endpoint (formerly Microsoft Defender ATP) alerts
- Pathlock TDnR - ABAP Source Code Changes
- Pathlock TDnR - ICF Web Service Changes
- SUPERNOVA webshell
- Apache - Unexpected Post Requests
- GitHub OAuth App Restrictions Disabled
- Suspicious SQL Stored Procedures
- Web Shell Activity
- Webshell Detection
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.
- CVE-2021-40539 Zoho ManageEngine ADSelfService Plus Exploit
- Certificate Request Export to Exchange Webserver
- Mailbox Export to Exchange Webserver
- Oracle WebLogic Exploit
- Solarwinds SUPERNOVA Webshell Access
- Webshell Remote Command Execution
- Antivirus - Web Shell Detection Signature
- Chopper Webshell Process Pattern
- DEWMODE Webshell Access
- Exchange Set OabVirtualDirectory ExternalUrl Property
- Failed MSExchange Transport Agent Installation
- HTTP Logging Disabled On IIS Server
- Linux Webshell Indicators
- MOVEit CVE-2023-34362 Exploitation Attempt - Potential Web Shell Request
- Potential CVE-2023-27363 Exploitation - HTA File Creation By FoxitPDFReader
- Rejetto HTTP File Server RCE
- Shellshock Expression
- Suspicious ASPX File Drop by Exchange
- Suspicious Child Process Of SQL Server
- Suspicious IIS Module Registration
- Suspicious MSExchangeMailboxReplication ASPX Write
- Suspicious Process By Web Server Process
- Suspicious Windows Strings In URI
- Webshell Detection With Command Line Keywords
- Webshell Hacking Activity Patterns
Mitigations
M1018User Account ManagementM1024Restrict Registry PermissionsM1026Privileged Account ManagementM1042Disable or Remove Feature or ProgramM1045Code SigningM1046Boot IntegrityM1047Audit
Sub-techniques
T1505.001SQL Stored ProceduresT1505.002Transport AgentT1505.003Web ShellT1505.004IIS ComponentsT1505.005Terminal Services DLLT1505.006vSphere Installation Bundles
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.