Execution of a File Dropped from Kernel Mode
Description
Identifies attempt to load an untrusted executable dropped by a Kernel mode code. Adversaries may execute malicious code in user mode via existing malicious Kernel drivers.
Query · eql
sequence with maxspan=5m
[file where event.action == "creation" and
/* library dropped via System Virtual Process - Kernel mode code */
process.pid == 4 and user.id : "S-1-5-18" and
(file.extension : ("exe", "dll") or file.Ext.header_bytes : "4d5a*")] by file.path
[library where process.pid != 4 and not dll.code_signature.status : "trusted" and process.executable != null and
not dll.hash.sha256 : "6957be7503737453c3feab129d4924fca55e7b0c026ec878d0d040765002732c"] by dll.path