ASR Bypassing Writing Executable Content
The query checks for any file which has been created/written by an Office application and shortly after renamed to one of the deny-listed "executable extensions" which are text files. (e.g. ps1, .js, .vbs).
Detection logic
Detection requirements
- Platform
- IaaSLinuxmacOSSaaSWindows
The rule states no platform. This is derived from the ATT&CK technique it maps to.
- Log source product
- microsoftthreatprotection
- Log source service
- devicefileevents
MITRE ATT&CK mappings
0 exclusive techniques.This is coverage no other published rule has; it is not this rule's total technique count.
No references are available for this detection.
From the source
- At source
- Open at source
- Upstream identifier
- efe4efef-5ca7-4b51-a53e-0e96492ce97a
- Tagged by the source as
- DefenseEvasion
Licence
- Published under
- MIT LicenseRead the licence
- Attribution
- Required
- Obtained under
- MITRead the origin licence
Authorship
- Published
- Sep 1, 2026
- Version
- 1