EVTX Created In Uncommon Location

Last updated on:

About the rule

Rule Type

Standard

Rule Description

Detects the creation of new files with the ".evtx" extension in non-common or non-standard location. This could indicate tampering with default EVTX locations in order to evade security controls or simply exfiltration of event log to search for sensitive information within. Note that backup software and legitimate administrator might perform similar actions during troubleshooting.

Severity

Trouble

Rule Requirement

Criteria

Action1: actionname = "File Created or Modified" AND (FILENAME endswith ".evtx" OR OBJECTNAME endswith ".evtx") AND ((FILENAME notstartswith "C:\Windows\System32\winevt\Logs" AND OBJECTNAME notstartswith "C:\Windows\System32\winevt\Logs") AND ((FILENAME notstartswith "C:\ProgramData\Microsoft\Windows\Containers\BaseImages" AND OBJECTNAME notstartswith "C:\ProgramData\Microsoft\Windows\Containers\BaseImages") OR (FILENAME notendswith "\Windows\System32\winevt\Logs" AND OBJECTNAME notendswith "\Windows\System32\winevt\Logs"))) select Action1.HOSTNAME,Action1.MESSAGE,Action1.USERNAME,Action1.DOMAIN,Action1.OBJECTNAME,Action1.FILENAME,Action1.PROCESSNAME

Detection

Execution Mode

realtime

Log Sources

Windows

Author

D3F7A5105