kevmap

TechniquesT1505.003 › AN1109

AN1109 Analytic 1109

Linux · attack.mitre.org · ATT&CK Enterprise v19.2

<p>File creation of unauthorized script (e.g., .php, .sh) in /var/www/html followed by execution of unexpected system utilities (e.g., curl, bash, nc) by apache/nginx</p>
Detects
T1505.003 Web Shell
Part of
DET0394 Web Shell Detection via Server Behavior and File Execution Chains

Log sources and channels

Exactly as MITRE states them in x_mitre_log_source_references. Where a channel is vague, it is vague in the source; kevmap does not tidy it.

Log sourceChannelData component
auditd:SYSCALLnew file created in /var/www/html, /srv/http, or similar web rootDC0039 File Creation
auditd:SYSCALLapache2 or nginx spawning sh, bash, or python interpreterDC0032 Process Creation
NSM:FlowPOST requests to .php, .jsp, .aspx files with high entropy bodyDC0085 Network Traffic Content

Mutable elements

Parameters MITRE marks as environment-specific. These are the knobs you are expected to tune; they are why an analytic is not a rule.

FieldDescription
WebRootPathWeb server root varies by distro and hosting configuration
PayloadEntropyThresholdBase64 or XOR encoded shells may exceed this value
TimeWindowCorrelate file creation with process spawn within X seconds

KEV CVEs whose mapped technique this analytic detects

CVEVendor / productState
CVE-2019-0604Microsoft SharePointMapped
CVE-2019-18935Progress Telerik UI for ASP.NET AJAXMapped
CVE-2020-0688Microsoft Exchange ServerMapped
CVE-2021-26855Microsoft Exchange ServerMapped
CVE-2021-26857Microsoft Exchange ServerMapped
CVE-2021-26858Microsoft Exchange ServerMapped
CVE-2021-27065Microsoft Exchange ServerMapped
CVE-2021-27860FatPipe WARP, IPVPN, and MPVPN softwareMapped
CVE-2021-40539Zoho ManageEngineMapped
CVE-2021-44077Zoho ManageEngine ServiceDesk Plus (SDP) / SupportCenter PlusMapped
CVE-2021-44228Apache Log4j2Mapped
CVE-2022-22954VMware Workspace ONE Access and Identity ManagerMapped
CVE-2022-22963VMware Tanzu Spring CloudMapped
CVE-2022-41082Microsoft Exchange ServerMapped
CVE-2023-20118Cisco Small Business RV Series RoutersMapped
CVE-2023-22952SugarCRM Multiple ProductsStale
CVE-2023-26360Adobe ColdFusionMapped
CVE-2023-32315Ignite Realtime OpenfireMapped
CVE-2023-46805Ivanti Connect Secure and Policy SecureMapped
CVE-2024-21887Ivanti Connect Secure and Policy SecureMapped
CVE-2024-21893Ivanti Connect Secure, Policy Secure, and NeuronsMapped
CVE-2025-31324SAP NetWeaverMapped
CVE-2025-35939Craft CMS Craft CMSMapped
CVE-2025-3928Commvault Web ServerMapped
CVE-2025-42999SAP NetWeaverMapped
CVE-2025-4427Ivanti Endpoint Manager Mobile (EPMM)Mapped