Potential Image Load via Transactional NTFS
Description
Identifies attempts to load a library from a potentially transacted file. This is a technique that exploits Transactional NTFS to execute arbitrary code in the address space of a separate running process, without committing the code to disk.
Query · eql
sequence with maxspan=1m
[library where event.action == "load" and process.pid != 4 and
dll.Ext.defense_evasions : "Process Tampering: Image is writable" and
dll.Ext.defense_evasions : "Process Tampering: Image has been accessed before mapping"] by process.entity_id as event0
[api where
process.Ext.api.name in ("SetThreadContext", "Wow64SetThreadContext") and
process.executable != null and process.Ext.api.behaviors == "cross-process" and
stringcontains~(process.Ext.api.summary, event0.dll.name) and
process.thread.Ext.call_stack_final_user_module.name != null and
process.thread.Ext.call_stack_final_user_module.name != "Kernel"] by Target.process.entity_id