mirror of
https://github.com/S12cybersecurity/YaraRules
synced 2026-06-08 12:22:33 +00:00
Create kernelDriverLoader.yar
This commit is contained in:
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user