YARA Detection Rule: PUA_VULN_Driver_Novellinc_Novellxtier_B50F
Repository: Neo23x0/signature-base
Detects: Detects vulnerable driver mentioned in LOLDrivers project using VersionInfo values from the PE header - libnicm.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]004e006f[PII_REDACTED]6c006c[PII_REDACTED]540043004f004d[PII_REDACTED][PII_REDACTED][PII_REDACTED][PII_REDACTED][PII_REDACTED][PII_REDACTED]0072 } /* FileDescription NovellXTCOMServicesDriver */
		$ = { 0043006f006d[PII_REDACTED]6e0079004e0061006d0065[1-8]004e006f[PII_REDACTED]6c006c002c[PII_REDACTED]6e0063002e } /* CompanyName NovellInc */
		$ = {[PII_REDACTED]6c[PII_REDACTED][PII_REDACTED]0069006f006e[1-8]0033002e0031002e0036002e0030 } /* FileVersion  */
		$ = {[PII_REDACTED]6f[PII_REDACTED][PII_REDACTED][PII_REDACTED]730069006f006e[1-8]0033002e0031002e0036 } /* ProductVersion  */
		$ = {[PII_REDACTED]6f[PII_REDACTED]630074004e0061006d0065[1-8]004e006f[PII_REDACTED]6c006c[PII_REDACTED][PII_REDACTED]0072 } /* ProductName NovellXTier */
		$ = { 004f[PII_REDACTED]670069006e0061006c[PII_REDACTED]6c0065006e0061006d0065[1-8]006c[PII_REDACTED]6e[PII_REDACTED]6d002e[PII_REDACTED]73 } /* OriginalFilename libnicmsys */
		$ = { 004c[PII_REDACTED]61006c0043006f[PII_REDACTED][PII_REDACTED]00680074[1-8][PII_REDACTED][PII_REDACTED]006f[PII_REDACTED][PII_REDACTED]

Detection condition:
uint16(0) == 0x5a4d and filesize < 100KB and all of them

Full rule:
rule PUA_VULN_Driver_Novellinc_Novellxtier_B50F {
	meta:
		description = "Detects vulnerable driver mentioned in LOLDrivers project using VersionInfo values from the PE header - libnicm.sys"
		author = "Florian Roth"
		reference = "https://github.com/magicsword-io/LOLDrivers"
		hash = "b50ffc60eaa4fb7429fdbb67c0aba0c7085f5129564d0a113fec231c5f8ff62e"
		hash = "dd2f1f7012fb1f4b2fb49be57af515cb462aa9c438e5756285d914d65da3745b"
		hash = "b37b3c6877b70289c0f43aeb71349f7344b06063996e6347c3c18d8c5de77f3b"
		hash = "0cfb7ea2cc515a7fe913ab3619cbfcf1ca96d8cf72dc350905634a5782907a49"
		hash = "d1c78c8ba70368e96515fb[PII_REDACTED]a8f9efa8f9f5d9e068ee008f03020fee"
		date = "2024-08-07"
		score = 40
		id = "fc6032d2-ef08-5fdb-be73-39dd42185b13"
	strings:
		$ = {[PII_REDACTED]6c[PII_REDACTED][PII_REDACTED][PII_REDACTED][PII_REDACTED]006f006e[1-8]004e006f[PII_REDACTED]6c006c[PII_REDACTED]540043004f004d[PII_REDACTED][PII_REDACTED][PII_REDACTED][PII_REDACTED][PII_REDACTED][PII_REDACTED]0072 } /* FileDescription NovellXTCOMServicesDriver */
		$ = { 0043006f006d[PII_REDACTED]6e0079004e0061006d0065[1-8]004e006f[PII_REDACTED]6c006c002c[PII_REDACTED]6e0063002e } /* CompanyName NovellInc */
		$ = {[PII_REDACTED]6c[PII_REDACTED][PII_REDACTED]0069006f006e[1-8]0033002e0031002e0036002e0030 } /* FileVersion  */
		$ = {[PII_REDACTED]6f[PII_REDACTED][PII_REDACTED][PII_REDACTED]730069006f006e[1-8]0033002e0031002e0036 } /* ProductVersion  */
		$ = {[PII_REDACTED]6f[PII_REDACTED]630074004e0061006d0065[1-8]004e006f[PII_REDACTED]6c006c[PII_REDACTED][PII_REDACTED]0072 } /* ProductName NovellXTier */
		$ = { 004f[PII_REDACTED]670069006e0061006c[PII_REDACTED]6c0065006e0061006d0065[1-8]006c[PII_REDACTED]6e[PII_REDACTED]6d002e[PII_REDACTED]73 } /* OriginalFilename libnicmsys */
		$ = { 004c[PII_REDACTED]61006c0043006f[PII_REDACTED][PII_REDACTED]00680074[1-8][PII_REDACTED][PII_REDACTED]006f[PII_REDACTED][PII_REDACTED][PII_REDACTED][PII_REDACTED][PII_REDACTED]2d[PII_REDACTED]300038002c0020004e006f[PII_REDACTED]6c006c002c[PII_REDACTED]6e0063002e[PII_REDACTED]6c006c[PII_REDACTED][PII_REDACTED][PII_REDACTED][PII_REDACTED][PII_REDACTED][PII_REDACTED]0064002e } /* LegalCopyright CCopyrightNovellIncAllRightsReserved */