YARA Detection Rule: PUA_VULN_Renamed_Driver_Geintelligentplatformsinc_Gedevicedriver_Proficymachineedition_Build_CAC5
Repository: Neo23x0/signature-base
Detects: Detects renamed vulnerable driver mentioned in LOLDrivers project using VersionInfo values from the PE header - GEDevDrv.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][PII_REDACTED][PII_REDACTED][PII_REDACTED][PII_REDACTED][PII_REDACTED]0072 } /* FileDescription GEDeviceDriver */
		$ = { 0043006f006d[PII_REDACTED]6e0079004e0061006d0065[1-8][PII_REDACTED]200049006e[PII_REDACTED]6c006c[PII_REDACTED]65006e[PII_REDACTED]50006c[PII_REDACTED]66006f0072006d0073002c[PII_REDACTED]6e0063002e } /* CompanyName GEIntelligentPlatformsInc */
		$ = {[PII_REDACTED]6c[PII_REDACTED][PII_REDACTED]0069006f006e[1-8]0037002e[PII_REDACTED][PII_REDACTED][PII_REDACTED]6c[PII_REDACTED][PII_REDACTED]00370029 } /* FileVersion Build */
		$ = {[PII_REDACTED]6f[PII_REDACTED][PII_REDACTED][PII_REDACTED]730069006f006e[1-8]0037002e[PII_REDACTED][PII_REDACTED][PII_REDACTED]6c[PII_REDACTED][PII_REDACTED]00370029 } /* ProductVersion Build */
		$ = { 0049006e[PII_REDACTED]72006e0061006c004e0061006d0065[1-8][PII_REDACTED][PII_REDACTED][PII_REDACTED][PII_REDACTED][PII_REDACTED][PII_REDACTED]0072 } /* InternalName GEDeviceDriver */
		$ = {[PII_REDACTED]6f[PII_REDACTED]630074004e0061006d0065[1-8][PII_REDACTED]6f[PII_REDACTED][PII_REDACTED]004d[PII_REDACTED]680069006e0065002

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

Full rule:
rule PUA_VULN_Renamed_Driver_Geintelligentplatformsinc_Gedevicedriver_Proficymachineedition_Build_CAC5 {
	meta:
		description = "Detects renamed vulnerable driver mentioned in LOLDrivers project using VersionInfo values from the PE header - GEDevDrv.SYS"
		author = "Florian Roth"
		reference = "https://github.com/magicsword-io/LOLDrivers"
		hash = "cac5dc7c3da69b682097144f12a816530091d4708ca432a7ce39f6abe6616461"
		hash = "51145a3fa8258aac106f65f34159d23c54b48b6d54ec0421748b3939ab6778eb"
		date = "2024-08-07"
		score = 70
		id = "eb1e48ac-37d2-544a-890f-6731567c0d0e"
	strings:
		$ = {[PII_REDACTED]6c[PII_REDACTED][PII_REDACTED][PII_REDACTED][PII_REDACTED]006f006e[1-8][PII_REDACTED][PII_REDACTED][PII_REDACTED][PII_REDACTED][PII_REDACTED][PII_REDACTED]0072 } /* FileDescription GEDeviceDriver */
		$ = { 0043006f006d[PII_REDACTED]6e0079004e0061006d0065[1-8][PII_REDACTED]200049006e[PII_REDACTED]6c006c[PII_REDACTED]65006e[PII_REDACTED]50006c[PII_REDACTED]66006f0072006d0073002c[PII_REDACTED]6e0063002e } /* CompanyName GEIntelligentPlatformsInc */
		$ = {[PII_REDACTED]6c[PII_REDACTED][PII_REDACTED]0069006f006e[1-8]0037002e[PII_REDACTED][PII_REDACTED][PII_REDACTED]6c[PII_REDACTED][PII_REDACTED]00370029 } /* FileVersion Build */
		$ = {[PII_REDACTED]6f[PII_REDACTED][PII_REDACTED][PII_REDACTED]730069006f006e[1-8]0037002e[PII_REDACTED][PII_REDACTED][PII_REDACTED]6c[PII_REDACTED][PII_REDACTED]00370029 } /* ProductVersion Build */
		$ = { 0049006e[PII_REDACTED]72006e0061006c004e0061006d0065[1-8][PII_REDACTED][PII_REDACTED][PII_REDACTED][PII_REDACTED][PII_REDACTED][PII_REDACTED]0072 } /* InternalName GEDeviceDriver */
		$ = {[PII_REDACTED]6f[PII_REDACTED]630074004e0061006d0065[1-8][PII_REDACTED]6f[PII_REDACTED][PII_REDACTED]004d[PII_REDACTED]680069006e[PII_REDACTED][PII_REDACTED][PII_REDACTED]6f006e } /* ProductName ProficyMachineEdition */
		$ = { 004f[PII_REDACTED]670069006e0061006c[PII_REDACTED]6c0065006e0061006d0065[1-8][PII_REDACTED][PII_REDACTED][PII_REDACTED]76002e[PII_REDACTED]53 } /* OriginalFilename GEDevDrvSYS */
		$ = { 004c[PII_REDACTED]61006c0043006f[PII_REDACTED][PII_REDACTED]00680074[1-8]00a[PII_REDACTED][PII_REDACTED]1002c[PII_REDACTED][PII_REDACTED]006e[PII_REDACTED]6c006c[PII_REDACTED]65006e[PII_REDACTED]50006c[PII_REDACTED]