YARA Detection Rule: MAL_Driver_Microsoftcorporation_Wantdsys_Microsoftwindowsoperatingsystem_81C7
Repository: Neo23x0/signature-base
Detects: Detects malicious driver mentioned in LOLDrivers project using VersionInfo values from the PE header - wantd_3.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]720061006e[PII_REDACTED]6f[PII_REDACTED][PII_REDACTED][PII_REDACTED]650072 } /* FileDescription WANTransportDriver */
		$ = { 0043006f006d[PII_REDACTED]6e0079004e0061006d0065[1-8]004d[PII_REDACTED]72006f0073006f[PII_REDACTED]200043006f[PII_REDACTED]6f[PII_REDACTED]740069006f006e } /* CompanyName MicrosoftCorporation */
		$ = {[PII_REDACTED]6c[PII_REDACTED][PII_REDACTED]0069006f006e[1-8]0035002e0032002e[PII_REDACTED]390030002e[PII_REDACTED]38 } /* FileVersion  */
		$ = {[PII_REDACTED]6f[PII_REDACTED][PII_REDACTED][PII_REDACTED]730069006f006e[1-8]0035002e0032002e[PII_REDACTED]390030002e[PII_REDACTED]38 } /* ProductVersion  */
		$ = { 0049006e[PII_REDACTED]72006e0061006c004e0061006d0065[1-8][PII_REDACTED]6e[PII_REDACTED]2e[PII_REDACTED]73 } /* InternalName wantdsys */
		$ = {[PII_REDACTED]6f[PII_REDACTED]630074004e0061006d0065[1-8]004d[PII_REDACTED]72006f0073006f[PII_REDACTED][PII_REDACTED]006e0064006f[PII_REDACTED]20004f[PII_REDACTED][PII_REDACTED]0069006e[PII_REDACTED][PII_REDACTED][PII_REDACTED]6d } /* ProductName MicrosoftWindo

Detection condition:
all of them

Full rule:
rule MAL_Driver_Microsoftcorporation_Wantdsys_Microsoftwindowsoperatingsystem_81C7 {
	meta:
		description = "Detects malicious driver mentioned in LOLDrivers project using VersionInfo values from the PE header - wantd_3.sys"
		author = "Florian Roth"
		reference = "https://github.com/magicsword-io/LOLDrivers"
		hash = "81c7bb39100d358f8286da5e9aa838606c98dfcc263e9a82ed91cd438cb130d1"
		date = "2024-08-07"
		score = 70
		id = "43ae822a-c4c4-5525-bfd3-a05d1ec50bd0"
	strings:
		$ = {[PII_REDACTED]6c[PII_REDACTED][PII_REDACTED][PII_REDACTED][PII_REDACTED]006f006e[1-8][PII_REDACTED]4e[PII_REDACTED]720061006e[PII_REDACTED]6f[PII_REDACTED][PII_REDACTED][PII_REDACTED]650072 } /* FileDescription WANTransportDriver */
		$ = { 0043006f006d[PII_REDACTED]6e0079004e0061006d0065[1-8]004d[PII_REDACTED]72006f0073006f[PII_REDACTED]200043006f[PII_REDACTED]6f[PII_REDACTED]740069006f006e } /* CompanyName MicrosoftCorporation */
		$ = {[PII_REDACTED]6c[PII_REDACTED][PII_REDACTED]0069006f006e[1-8]0035002e0032002e[PII_REDACTED]390030002e[PII_REDACTED]38 } /* FileVersion  */
		$ = {[PII_REDACTED]6f[PII_REDACTED][PII_REDACTED][PII_REDACTED]730069006f006e[1-8]0035002e0032002e[PII_REDACTED]390030002e[PII_REDACTED]38 } /* ProductVersion  */
		$ = { 0049006e[PII_REDACTED]72006e0061006c004e0061006d0065[1-8][PII_REDACTED]6e[PII_REDACTED]2e[PII_REDACTED]73 } /* InternalName wantdsys */
		$ = {[PII_REDACTED]6f[PII_REDACTED]630074004e0061006d0065[1-8]004d[PII_REDACTED]72006f0073006f[PII_REDACTED][PII_REDACTED]006e0064006f[PII_REDACTED]20004f[PII_REDACTED][PII_REDACTED]0069006e[PII_REDACTED][PII_REDACTED][PII_REDACTED]6d } /* ProductName MicrosoftWindowsOperatingSystem */
		$ = { 004f[PII_REDACTED]670069006e0061006c[PII_REDACTED]6c0065006e0061006d0065[1-8][PII_REDACTED]6e[PII_REDACTED]2e[PII_REDACTED]73 } /* OriginalFilename wantdsys */
		$ = { 004c[PII_REDACTED]61006c0043006f[PII_REDACTED][PII_REDACTED]00680074[1-8]004d[PII_REDACTED]72006f0073006f[PII_REDACTED]200043006f[PII_REDACTED]6f[PII_REDACTED]740069006f006e002e[PII_REDACTED]6c006c[PII_REDACTED][PII_REDACTED][PII_REDACTED][PII_REDACTED][PII_REDACTED][PII_REDACTED]0064002e } /* LegalCopyright MicrosoftCorporationAllrightsreserved */
	condition:
		all of them
}