YARA Detection Rule: PUA_VULN_Renamed_Driver_Novellinc_Novellxtier_F27F
Repository: Neo23x0/signature-base
Detects: Detects renamed 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]0033002e0031002e[PII_REDACTED]2e0030 } /* FileVersion  */
		$ = {[PII_REDACTED]6f[PII_REDACTED][PII_REDACTED][PII_REDACTED]730069006f006e[1-8]0033002e0031002e00310031 } /* 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]72

Detection condition:
uint16(0) == 0x5a4d and filesize < 200KB and all of them and not filename matches /libnicm/i

Full rule:
rule PUA_VULN_Renamed_Driver_Novellinc_Novellxtier_F27F {
	meta:
		description = "Detects renamed 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 = "f27febff1be9e89e48a9128e2121c7754d15f8a5b2e88c50102cecee5fe60229"
		hash = "8138b219a2b1be2b0be61e5338be470c18ad6975f11119aee3a771d4584ed750"
		hash = "e16dc51c51b2df88c474feb52ce884d152b[PII_REDACTED]a289623de69dedfdf48"
		hash = "e[PII_REDACTED]d4d2314dabca1b9168f1eaaf17a14eb41f6f5741b6b82b3119790"
		hash = "ab0925398f3fa69a67eacee2bbb7b34ac395bb309df7fc7a9a9b8103ef41ed7a"
		hash = "da11e9598eef033722b97873d1c046270dd039d0e3ee6cd37911e2dc2eb2608d"
		date = "2024-08-07"
		score = 70
		id = "1a622734-cb50-5d17-aa0a-d5a04b26b386"
	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]0033002e0031002e[PII_REDACTED]2e0030 } /* FileVersion  */
		$ = {[PII_REDACTED]6f[PII_REDACTED][PII_REDACTED][PII_REDACTED]730069006f006e[1-8]0033002e0031002e00310031 } /* 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]310033002c0020004e006f[PII_REDACTED]6c006c002c[PII_REDACTED]6e0063002e[PII_REDACTED]6c006c[PII_REDACTED][PII_REDACTED][PII_REDACTED]