T1659 Content Injection
Command and ControlInitial Accesson attack.mitre.org
ATT&CK Enterprise 20.0 · 20.1 released, update in review
How MITRE detects it
DET0349 Detection Strategy for Content Injection
AN0992 Windows
Detect suspicious file creations and process executions triggered by browser activity (e.g., injected payloads written to %AppData% or Temp directories, then executed). Correlate network anomalies with subsequent local process creation or script execution.
| MITRE log source | In Microsoft Sentinel |
|---|---|
WinEventLog:SecurityEventCode=4688 |
The same events land in SecurityEvent (Windows Security Events connectors) or WindowsEvent (Windows Event Forwarding); many built-in rules read SecurityEvent only. |
WinEventLog:SysmonEventCode=11 |
Sysmon has no dedicated Sentinel connector: it is collected as a Windows event log into Event or WindowsEvent. |
NSM:FlowUnexpected script or binary content returned in HTTP response body | Not mapped to Sentinel yet. |
AN0993 Linux
Detect curl/wget commands saving executable/script payloads to /tmp or /var/tmp followed by execution. Monitor packet captures or IDS/IPS alerts for injected responses or mismatched content types.
| MITRE log source | In Microsoft Sentinel |
|---|---|
auditd:SYSCALLexecve: Execution of curl or wget writing files to /tmp/* followed by chmod or execution | Not mapped to Sentinel yet. |
WinEventLog:SysmonFile creation of suspicious scripts/binaries in temporary directories |
Sysmon has no dedicated Sentinel connector: it is collected as a Windows event log into Event or WindowsEvent. |
NSM:FlowInjected content responses with unexpected script/malware signatures | Not mapped to Sentinel yet. |
AN0994 macOS
Monitor unified logs for processes spawned from Safari or other browsers that immediately load scripts or executables. Detect file drops in ~/Library/Caches or ~/Downloads that execute shortly after being written.
| MITRE log source | In Microsoft Sentinel |
|---|---|
macos:unifiedlogChild processes of Safari, Chrome, or Firefox executing scripting interpreters | Not mapped to Sentinel yet. |
macos:unifiedlogFile creation of unsigned binaries/scripts in user cache or download directories | Not mapped to Sentinel yet. |
NSM:FlowContent injection observed in HTTPS responses with mismatched certificates or altered payloads | Not mapped to Sentinel yet. |
Content Hub rules tagged with it (4)
- Dynatrace - Problem detection
- Dynatrace Application Security - Code-Level runtime vulnerability detection
- Dynatrace Application Security - Non-critical runtime vulnerability detection
- Dynatrace Application Security - Third-Party runtime vulnerability detection
How the Content Hub rules for T1659 are built: their tables, filters, joins, schedules and windows.
In Sigma rules
Mitigations
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.