Create kernelDriverLoader.yar

This commit is contained in:
S12cybersecurity
2025-06-03 21:18:36 +02:00
committed by GitHub
parent 2a387e4c9a
commit 14b1cfc06d
+19
View File
@@ -0,0 +1,19 @@
rule Temporary_Driver_Injection
{
meta:
description = "Detects kernel driver injection using NtLoadDriver with a temporary file"
author = "0x12 Dark Development"
technique = "Temporary Driver Injection"
reference = "https://maldev.example.com/temp-driver-injection"
strings:
$reg_key = "SYSTEM\\CurrentControlSet\\Services\\" wide ascii
$image_path = "\\??\\C:\\Users\\" wide ascii
$temp_hint = "\\AppData\\Local\\Temp\\" wide ascii
$ntloaddriver = "NtLoadDriver" ascii
$sys_ext = ".sys" ascii
$drv_prefix = "DRV" ascii
condition:
all of them
}