YARA Detection Rule: PUA_VULN_Driver_Sysinternalswwwsysinternalscom_Procexpsys_Processexplorer_88E2
Repository: Neo23x0/signature-base
Detects: Detects vulnerable driver mentioned in LOLDrivers project using VersionInfo values from the PE header - procexp.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]6f[PII_REDACTED][PII_REDACTED][PII_REDACTED]70006c006f[PII_REDACTED]72 } /* FileDescription ProcessExplorer */
		$ = { 0043006f006d[PII_REDACTED]6e0079004e0061006d0065[1-8][PII_REDACTED]730069006e[PII_REDACTED]72006e0061006c[PII_REDACTED]2d[PII_REDACTED]770077002e[PII_REDACTED]730069006e[PII_REDACTED]72006e0061006c0073002e0063006f006d } /* CompanyName Sysinternalswwwsysinternalscom */
		$ = {[PII_REDACTED]6c[PII_REDACTED][PII_REDACTED]0069006f006e[1-8][PII_REDACTED]2e00300030 } /* FileVersion  */
		$ = {[PII_REDACTED]6f[PII_REDACTED][PII_REDACTED][PII_REDACTED]730069006f006e[1-8][PII_REDACTED]2e00300030 } /* ProductVersion  */
		$ = { 0049006e[PII_REDACTED]72006e0061006c004e0061006d0065[1-8][PII_REDACTED]6f[PII_REDACTED]780070002e[PII_REDACTED]73 } /* InternalName procexpsys */
		$ = {[PII_REDACTED]6f[PII_REDACTED]630074004e0061006d0065[1-8][PII_REDACTED]6f[PII_REDACTED][PII_REDACTED][PII_REDACTED]70006c006f[PII_REDACTED]72 } /* ProductName ProcessExplorer */
		$ = { 004f[PII_REDACTED]670069006e0061006c[PII_REDACTED]6c0065006e006100

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

Full rule:
rule PUA_VULN_Driver_Sysinternalswwwsysinternalscom_Procexpsys_Processexplorer_88E2 {
	meta:
		description = "Detects vulnerable driver mentioned in LOLDrivers project using VersionInfo values from the PE header - procexp.Sys"
		author = "Florian Roth"
		reference = "https://github.com/magicsword-io/LOLDrivers"
		hash = "88e2e6a705d3fb71b966d9fb46dc5a4b015548daf585fb54dfcd81dc0bd3ebdc"
		hash = "f29073dc99cb52fa890aae80037b48a172138f112474a1aecddae21179c93478"
		hash = "89b9823ed974a5b71de8468324d45b7e9d6dc914f93615ba86c6209b25b3cbf7"
		hash = "3503ea284b6819f9cb43b3e94c0bb1bf5945ccb37be6a898387e215197a4792a"
		hash = "d6827cd3a8f273a66ecc33bb915df6c7dea5cc1b8134b0c348303ef50db33476"
		hash = "e07211224b02aaf68a5e4b73fc[PII_REDACTED]93509d9581cdaee9e601020af06"
		hash = "c089a31ac95d41ed02d1e4574962f53376b36a9e60ff87769d221dc7d1a3ecfa"
		hash = "6e944ae1bfe43a8a7cd2ea65e518a30172ce8f31223bdfd39701b2cb41d8a9e7"
		hash = "59b09bd69923c0b3de3239e73205b1846a5f69043546d471b259887bb141d879"
		hash = "e3f2ee22dec[PII_REDACTED]e4beb8abb3b29b283e2bcb46badf2bfde65f5ea8dd"
		hash = "9d5ebd0f4585ec20a5fe3c5276df13ece5a2645d3d6f70cedcda979bd1248fc2"
		date = "2024-08-07"
		score = 40
		id = "e6f3c13e-0cec-5430-beeb-fc980dd29887"
	strings:
		$ = {[PII_REDACTED]6c[PII_REDACTED][PII_REDACTED][PII_REDACTED][PII_REDACTED]006f006e[1-8][PII_REDACTED]6f[PII_REDACTED][PII_REDACTED][PII_REDACTED]70006c006f[PII_REDACTED]72 } /* FileDescription ProcessExplorer */
		$ = { 0043006f006d[PII_REDACTED]6e0079004e0061006d0065[1-8][PII_REDACTED]730069006e[PII_REDACTED]72006e0061006c[PII_REDACTED]2d[PII_REDACTED]770077002e[PII_REDACTED]730069006e[PII_REDACTED]72006e0061006c0073002e0063006f006d } /* CompanyName Sysinternalswwwsysinternalscom */
		$ = {[PII_REDACTED]6c[PII_REDACTED][PII_REDACTED]0069006f006e[1-8][PII_REDACTED]2e00300030 } /* FileVersion  */
		$ = {[PII_REDACTED]6f[PII_REDACTED][PII_REDACTED][PII_REDACTED]730069006f006e[1-8][PII_REDACTED]2e00300030 } /* ProductVersion  */
		$ = { 0049006e[PII_REDACTED]72006e0061006c004e0061006d0065[1-8][PII_REDACTED]6f[PII_REDACTED]780070002e[PII_REDACTED]73 } /* InternalN