YARA Detection Rule: PUA_VULN_Renamed_Driver_Generalelectriccompany_Gedevicedriver_Proficymachineedition_Build_A369
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]6e[PII_REDACTED]61006c[PII_REDACTED]6c[PII_REDACTED][PII_REDACTED][PII_REDACTED]43006f006d[PII_REDACTED]6e0079 } /* CompanyName GeneralElectricCompany */
		$ = {[PII_REDACTED]6c[PII_REDACTED][PII_REDACTED]0069006f006e[1-8]0039002e[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]0039002e[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]6f00

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_Generalelectriccompany_Gedevicedriver_Proficymachineedition_Build_A369 {
	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 = "a369942ce8d4b70ebf664981e12c736ec980dbe5a74585dd826553c4723b1bce"
		hash = "ae73dd357e5950face9c956570088f334d18464cd49f00c56420e3d6ff47e8dc"
		date = "2024-08-07"
		score = 70
		id = "fc6594d8-3ad9-5323-9270-0e512d3f97de"
	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]6e[PII_REDACTED]61006c[PII_REDACTED]6c[PII_REDACTED][PII_REDACTED][PII_REDACTED]43006f006d[PII_REDACTED]6e0079 } /* CompanyName GeneralElectricCompany */
		$ = {[PII_REDACTED]6c[PII_REDACTED][PII_REDACTED]0069006f006e[1-8]0039002e[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]0039002e[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][PII_REDACTED]065006e[PII_REDACTED]61006c[PII_REDACTED]6c[PII_REDACTED][PII_REDACTED][PII_REDACTED]43006f006d[PII_REDACTED]6e0079 } /* LegalCopyr