YARA Detection Rule: MAL_Driver_Microsoftcorporation_Ntbiosys_Microsoftrwindowsrntoperatingsystem_C0D8
Repository: Neo23x0/signature-base
Detects: Detects malicious driver mentioned in LOLDrivers project using VersionInfo values from the PE header - ntbios_2.sys
Author: Florian Roth
Reference: https://github.com/magicsword-io/LOLDrivers

Pattern signatures:
$ = {[PII_REDACTED]6c[PII_REDACTED][PII_REDACTED][PII_REDACTED][PII_REDACTED]006f006e[1-8]006e[PII_REDACTED]69006f[PII_REDACTED][PII_REDACTED][PII_REDACTED]72 } /* FileDescription ntbiosdriver */
		$ = { 0043006f006d[PII_REDACTED]6e0079004e0061006d0065[1-8]004d[PII_REDACTED]72006f0073006f[PII_REDACTED]200043006f[PII_REDACTED]6f[PII_REDACTED]740069006f006e } /* CompanyName MicrosoftCorporation */
		$ = {[PII_REDACTED]6c[PII_REDACTED][PII_REDACTED]0069006f006e[1-8]0035002c[PII_REDACTED]2c[PII_REDACTED]2c00200031 } /* FileVersion  */
		$ = {[PII_REDACTED]6f[PII_REDACTED][PII_REDACTED][PII_REDACTED]730069006f006e[1-8]0035002c[PII_REDACTED]2c[PII_REDACTED]2c00200031 } /* ProductVersion  */
		$ = { 0049006e[PII_REDACTED]72006e0061006c004e0061006d0065[1-8]006e[PII_REDACTED]69006f002e[PII_REDACTED]73 } /* InternalName ntbiosys */
		$ = {[PII_REDACTED]6f[PII_REDACTED]630074004e0061006d0065[1-8]0020004d[PII_REDACTED]72006f0073006f[PII_REDACTED][PII_REDACTED][PII_REDACTED]69006e0064006f[PII_REDACTED][PII_REDACTED][PII_REDACTED]4e[PII_REDACTED]4f[PII_REDACTED][PII_REDACTED]0069006e[PII_REDACTED][PII_REDACTED][PII_REDACTED]6d } /* ProductName MicrosoftRWindowsRNT

Detection condition:
all of them

Full rule:
rule MAL_Driver_Microsoftcorporation_Ntbiosys_Microsoftrwindowsrntoperatingsystem_C0D8 {
	meta:
		description = "Detects malicious driver mentioned in LOLDrivers project using VersionInfo values from the PE header - ntbios_2.sys"
		author = "Florian Roth"
		reference = "https://github.com/magicsword-io/LOLDrivers"
		hash = "c0d88db11d0f529754d290ed5f4c34b4dba8c4f2e5c4148866daabeab0d25f9c"
		hash = "96bf3ee7c6673b69c6aa173bb44e21fa636b1c2c73f4356a7599c121284a51cc"
		date = "2024-08-07"
		score = 70
		id = "f16b4b22-985a-5d39-ae51-709aa9a69d8d"
	strings:
		$ = {[PII_REDACTED]6c[PII_REDACTED][PII_REDACTED][PII_REDACTED][PII_REDACTED]006f006e[1-8]006e[PII_REDACTED]69006f[PII_REDACTED][PII_REDACTED][PII_REDACTED]72 } /* FileDescription ntbiosdriver */
		$ = { 0043006f006d[PII_REDACTED]6e0079004e0061006d0065[1-8]004d[PII_REDACTED]72006f0073006f[PII_REDACTED]200043006f[PII_REDACTED]6f[PII_REDACTED]740069006f006e } /* CompanyName MicrosoftCorporation */
		$ = {[PII_REDACTED]6c[PII_REDACTED][PII_REDACTED]0069006f006e[1-8]0035002c[PII_REDACTED]2c[PII_REDACTED]2c00200031 } /* FileVersion  */
		$ = {[PII_REDACTED]6f[PII_REDACTED][PII_REDACTED][PII_REDACTED]730069006f006e[1-8]0035002c[PII_REDACTED]2c[PII_REDACTED]2c00200031 } /* ProductVersion  */
		$ = { 0049006e[PII_REDACTED]72006e0061006c004e0061006d0065[1-8]006e[PII_REDACTED]69006f002e[PII_REDACTED]73 } /* InternalName ntbiosys */
		$ = {[PII_REDACTED]6f[PII_REDACTED]630074004e0061006d0065[1-8]0020004d[PII_REDACTED]72006f0073006f[PII_REDACTED][PII_REDACTED][PII_REDACTED]69006e0064006f[PII_REDACTED][PII_REDACTED][PII_REDACTED]4e[PII_REDACTED]4f[PII_REDACTED][PII_REDACTED]0069006e[PII_REDACTED][PII_REDACTED][PII_REDACTED]6d } /* ProductName MicrosoftRWindowsRNTOperatingSystem */
		$ = { 004f[PII_REDACTED]670069006e0061006c[PII_REDACTED]6c0065006e0061006d0065[1-8]006e[PII_REDACTED]69006f0073002e[PII_REDACTED]73 } /* OriginalFilename ntbiossys */
		$ = { 004c[PII_REDACTED]61006c0043006f[PII_REDACTED][PII_REDACTED]00680074[1-8][PII_REDACTED][PII_REDACTED][PII_REDACTED][PII_REDACTED][PII_REDACTED]33 } /* LegalCopyright C */
	condition:
		all of them
}