
Summary
This detection rule identifies attempts to create a file named "ErrorHandler.cmd" in the directory "C:\WINDOWS\Setup\Scripts\" on Windows systems. The presence of this file can indicate a potential method of persistence, as it is executed whenever certain OOBE (Out-Of-Box Experience) tools, such as Setup.exe, experience failures. Adversaries may leverage this script to maintain access to a system by executing malicious commands when legitimate processes fail. This detection is essential for identifying unusual behavior linked to persistence mechanisms that take advantage of error handling processes in Windows, which might typically not warrant scrutiny by system administrators. The detection is based on file creation events and specifies the exact filename being monitored.
Categories
- Endpoint
- Windows
Data Sources
- File
Created: 2022-08-09