T1491 Defacement
Impacton attack.mitre.org
ATT&CK Enterprise 20.0 · 20.1 released, update in review
How MITRE detects it
DET0238 Defacement via File and Web Content Modification Across Platforms
AN0662 Windows
Adversary modifies website or application-hosted content via unauthorized file changes or script injections, often by exploiting web servers or CMS access.
| MITRE log source | In Microsoft Sentinel |
|---|---|
WinEventLog:SecurityEventCode=4663, 4670, 4656 |
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:ApplicationUnexpected web application errors or CMS logs showing modification to index.html, default.aspx, or other public-facing files |
|
AN0663 Linux
Adversary gains shell access or uploads a malicious script to deface hosted web content in Nginx, Apache, or other services.
| MITRE log source | In Microsoft Sentinel |
|---|---|
auditd:SYSCALLwrite | Not mapped to Sentinel yet. |
apache:access_logUnusual HTTP POST or PUT requests to paths such as '/uploads/', '/admin/', or CMS plugin folders | Not mapped to Sentinel yet. |
linux:syslogUnauthorized sudo or shell access, especially leading to file changes in /var/www or /srv/http | Not mapped to Sentinel yet. |
AN0664 macOS
Adversary modifies internal or external site content through manipulated application bundles, hosted content, or web server configs.
| MITRE log source | In Microsoft Sentinel |
|---|---|
macos:unifiedlogExecution of unexpected terminal or web scripts modifying /Library/WebServer/Documents | Not mapped to Sentinel yet. |
macos:unifiedlogFile creation or overwrite in common web-hosting folders | Not mapped to Sentinel yet. |
AN0665 ESXi
Adversary defaces internal VM-hosted portals or web UIs by modifying static content on datastore-mounted paths.
| MITRE log source | In Microsoft Sentinel |
|---|---|
esxi:vmkernelUnauthorized file modifications within datastore volumes via shell access or vCLI | Not mapped to Sentinel yet. |
AN0666 IaaS
Adversary uses compromised instance credentials or web application access to deface content hosted in S3 buckets, Azure Blob Storage, or GCP Buckets.
| MITRE log source | In Microsoft Sentinel |
|---|---|
CloudTrail:PutObjectPutObject | Not mapped to Sentinel yet. |
AWS:CloudTrailGetObject, CopyObject | Not mapped to Sentinel yet. |
Content Hub rules tagged with it (8)
- Affected rows stateful anomaly on database
- BitSight - new alert found
- BitSight - new breach found
- CYFIRMA - Social and Public Exposure - Social Media Threats Activity Detected Rule
- CYFIRMA - Social and Public Exposure - Social Media Threats Activity Detected Rule
- F&O - Mass update or deletion of user records
- Power Automate - Departing employee flow activity
- Affected rows stateful anomaly on database - hunting query
How the Content Hub rules for T1491 are built: their tables, filters, joins, schedules and windows.
In Sigma rules
4 SigmaHQ community rules name it or one of its sub-techniques in their tags.
- Potential Ransomware Activity Using LegalNotice Message
- Potentially Suspicious Desktop Background Change Using Reg.EXE
- Potentially Suspicious Desktop Background Change Via Registry
- Replace Desktop Wallpaper by Powershell
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.