YARA Detection Rule: PUA_VULN_Driver_Featureintegrationtechnologyinc_Fintekpciecom_81FB
Repository: Neo23x0/signature-base
Detects: Detects vulnerable driver mentioned in LOLDrivers project using VersionInfo values from the PE header - FPCIE2COM.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][PII_REDACTED]4e[PII_REDACTED]4b[PII_REDACTED][PII_REDACTED]0043004f004d[PII_REDACTED][PII_REDACTED][PII_REDACTED]72 } /* FileDescription FINTEKPCIECOMAdapter */
		$ = { 0043006f006d[PII_REDACTED]6e0079004e0061006d0065[1-8][PII_REDACTED][PII_REDACTED][PII_REDACTED]200049006e[PII_REDACTED][PII_REDACTED][PII_REDACTED]6f006e[PII_REDACTED][PII_REDACTED]006e006f006c006f[PII_REDACTED]200049006e0063002e } /* CompanyName FeatureIntegrationTechnologyInc */
		$ = {[PII_REDACTED]6c[PII_REDACTED][PII_REDACTED]0069006f006e[1-8][PII_REDACTED]2c[PII_REDACTED]2c0035002c0030 } /* FileVersion  */
		$ = {[PII_REDACTED]6f[PII_REDACTED][PII_REDACTED][PII_REDACTED]730069006f006e[1-8][PII_REDACTED]2c[PII_REDACTED]2c0035002c0030 } /* ProductVersion  */
		$ = {[PII_REDACTED]6f[PII_REDACTED]630074004e0061006d0065[1-8][PII_REDACTED]4e[PII_REDACTED]4b[PII_REDACTED][PII_REDACTED]0043004f004d0020 } /* ProductName FINTEKPCIECOM */
		$ = { 004f[PII_REDACTED]670069006e0061006c[PII_REDACTED]6c0065006e0061006d0065[1-8][PII_REDACTED][PII_REDACTED][PII_REDACTED]4f004d002e[PII_REDACTED]73 } /* OriginalFilen

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

Full rule:
rule PUA_VULN_Driver_Featureintegrationtechnologyinc_Fintekpciecom_81FB {
	meta:
		description = "Detects vulnerable driver mentioned in LOLDrivers project using VersionInfo values from the PE header - FPCIE2COM.sys"
		author = "Florian Roth"
		reference = "https://github.com/magicsword-io/LOLDrivers"
		hash = "81fbc9d02ef9e05602ea9c0804d423043d0ea5a06393c7ece3be03459f76a41d"
		hash = "ebf0e56a1941e3a6583aab4a735f1b04d4750228c[PII_REDACTED]ed9d7c9007e1"
		date = "2024-08-07"
		score = 40
		id = "d741c03b-0ad5-5cf7-8fcd-3267c3f40d64"
	strings:
		$ = {[PII_REDACTED]6c[PII_REDACTED][PII_REDACTED][PII_REDACTED][PII_REDACTED]006f006e[1-8][PII_REDACTED]4e[PII_REDACTED]4b[PII_REDACTED][PII_REDACTED]0043004f004d[PII_REDACTED][PII_REDACTED][PII_REDACTED]72 } /* FileDescription FINTEKPCIECOMAdapter */
		$ = { 0043006f006d[PII_REDACTED]6e0079004e0061006d0065[1-8][PII_REDACTED][PII_REDACTED][PII_REDACTED]200049006e[PII_REDACTED][PII_REDACTED][PII_REDACTED]6f006e[PII_REDACTED][PII_REDACTED]006e006f006c006f[PII_REDACTED]200049006e0063002e } /* CompanyName FeatureIntegrationTechnologyInc */
		$ = {[PII_REDACTED]6c[PII_REDACTED][PII_REDACTED]0069006f006e[1-8][PII_REDACTED]2c[PII_REDACTED]2c0035002c0030 } /* FileVersion  */
		$ = {[PII_REDACTED]6f[PII_REDACTED][PII_REDACTED][PII_REDACTED]730069006f006e[1-8][PII_REDACTED]2c[PII_REDACTED]2c0035002c0030 } /* ProductVersion  */
		$ = {[PII_REDACTED]6f[PII_REDACTED]630074004e0061006d0065[1-8][PII_REDACTED]4e[PII_REDACTED]4b[PII_REDACTED][PII_REDACTED]0043004f004d0020 } /* ProductName FINTEKPCIECOM */
		$ = { 004f[PII_REDACTED]670069006e0061006c[PII_REDACTED]6c0065006e0061006d0065[1-8][PII_REDACTED][PII_REDACTED][PII_REDACTED]4f004d002e[PII_REDACTED]73 } /* OriginalFilename FPCIECOMsys */
		$ = { 004c[PII_REDACTED]61006c0043006f[PII_REDACTED][PII_REDACTED]00680074[1-8]0043006f[PII_REDACTED][PII_REDACTED][PII_REDACTED][PII_REDACTED][PII_REDACTED][PII_REDACTED][PII_REDACTED][PII_REDACTED][PII_REDACTED][PII_REDACTED]0049006e[PII_REDACTED][PII_REDACTED][PII_REDACTED]6f006e[PII_REDACTED][PII_REDACTED]006e006f006c006f[PII_REDACTED]200049006e0063002e } /* LegalCopyright CopyrightCFeatureIntegrationTechnologyInc */
	condition:
		uint16(0) == 0x5a4d and filesize < 100KB and all of them
}