YARA Detection Rule: MAL_Driver_Microsoftcorporation_Srvnetsys_Microsoftwindowsoperatingsystem_F6C3
Repository: Neo23x0/signature-base
Detects: Detects malicious driver mentioned in LOLDrivers project using VersionInfo values from the PE header - WinTapix.sys, SRVNET2.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]4e[PII_REDACTED]77006f0072006b[PII_REDACTED][PII_REDACTED]00650072 } /* FileDescription ServerNetworkdriver */
		$ = { 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][PII_REDACTED]2e0030002e[PII_REDACTED][PII_REDACTED]002e[PII_REDACTED][PII_REDACTED][PII_REDACTED]6e[PII_REDACTED]69006c0064002e[PII_REDACTED][PII_REDACTED]0031002e[PII_REDACTED][PII_REDACTED] } /* FileVersion WinBuild */
		$ = {[PII_REDACTED]6f[PII_REDACTED][PII_REDACTED][PII_REDACTED]730069006f006e[1-8][PII_REDACTED]2e0030002e[PII_REDACTED][PII_REDACTED]002e[PII_REDACTED]33 } /* ProductVersion  */
		$ = { 0049006e[PII_REDACTED]72006e0061006c004e0061006d0065[1-8][PII_REDACTED]56004e[PII_REDACTED]32002e[PII_REDACTED]53 } /* InternalName SRVNETSYS */
		$ = {[PII_REDACTED]6f[PII_REDACTED]630074004e0061006d0065[1-8]004d[PII_REDACTED]72006f0073006f[PII_REDACTED]

Detection condition:
all of them

Full rule:
rule MAL_Driver_Microsoftcorporation_Srvnetsys_Microsoftwindowsoperatingsystem_F6C3 {
	meta:
		description = "Detects malicious driver mentioned in LOLDrivers project using VersionInfo values from the PE header - WinTapix.sys, SRVNET2.SYS"
		author = "Florian Roth"
		reference = "https://github.com/magicsword-io/LOLDrivers"
		hash = "f6c316e2385f2694d47e936b0ac4bc9b55e279d530dd5e805f0d963cb47c3c0d"
		date = "2024-08-07"
		score = 70
		id = "3559718f-59d7-5bff-860c-6a073f4c05d9"
	strings:
		$ = {[PII_REDACTED]6c[PII_REDACTED][PII_REDACTED][PII_REDACTED][PII_REDACTED]006f006e[1-8][PII_REDACTED][PII_REDACTED][PII_REDACTED]4e[PII_REDACTED]77006f0072006b[PII_REDACTED][PII_REDACTED]00650072 } /* FileDescription ServerNetworkdriver */
		$ = { 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][PII_REDACTED]2e0030002e[PII_REDACTED][PII_REDACTED]002e[PII_REDACTED][PII_REDACTED][PII_REDACTED]6e[PII_REDACTED]69006c0064002e[PII_REDACTED][PII_REDACTED]0031002e[PII_REDACTED][PII_REDACTED] } /* FileVersion WinBuild */
		$ = {[PII_REDACTED]6f[PII_REDACTED][PII_REDACTED][PII_REDACTED]730069006f006e[1-8][PII_REDACTED]2e0030002e[PII_REDACTED][PII_REDACTED]002e[PII_REDACTED]33 } /* ProductVersion  */
		$ = { 0049006e[PII_REDACTED]72006e0061006c004e0061006d0065[1-8][PII_REDACTED]56004e[PII_REDACTED]32002e[PII_REDACTED]53 } /* InternalName SRVNETSYS */
		$ = {[PII_REDACTED]6f[PII_REDACTED]630074004e0061006d0065[1-8]004d[PII_REDACTED]72006f0073006f[PII_REDACTED]ae[PII_REDACTED]69006e0064006f[PII_REDACTED]ae0020004f[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]56004e[PII_REDACTED]32002e[PII_REDACTED]53 } /* OriginalFilename SRVNETSYS */
		$ = { 004c[PII_REDACTED]61006c0043006f[PII_REDACTED][PII_REDACTED]00680074[1-8]00a90020004d[PII_REDACTED]72006f0073006f[PII_REDACTED]200043006f[PII_REDACTED]6f[PII_REDACTED]740069006f006e002e[PII_REDACTED]6c006c00200072