Image File Execution Options (IFEO) Persistence
MITRE ATT&CK™ Event Triggered Execution: Image File Execution Options Injection - Technique T1546.012
Last updated
Was this helpful?
MITRE ATT&CK™ Event Triggered Execution: Image File Execution Options Injection - Technique T1546.012
Last updated
Was this helpful?
Image File Execution Options (IFEO) is a Windows registry key designed for developers to attach a debugger to an application and enable debugging features such as GlobalFlag
. However, this functionality can be abused for persistence by specifying an arbitrary executable as the debugger for a target process or by using the MonitorProcess
feature.
In both cases, code execution is achieved, with the trigger being either the creation of the specified process or the termination of an application. Notably, implementing this technique requires Administrator privileges, as modifications must be made under the HKLM
registry hive.
By editing Image File Execution Options, the original exe will not start
With the GlobalFlag persistence technique, payload is triggered when the target application is closed.