YARA Detection Rule: MAL_Driver_Microsoftcorporation_Ndislansys_Microsoftwindowsoperatingsystem_B0EB
Repository: Neo23x0/signature-base
Detects: Detects malicious driver mentioned in LOLDrivers project using VersionInfo values from the PE header - ndislan.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]004d[PII_REDACTED]4c0041004e[PII_REDACTED][PII_REDACTED]00650072 } /* FileDescription MSLANDriver */
		$ = { 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]0036002e0031002e[PII_REDACTED]300030002e[PII_REDACTED]320031 } /* FileVersion  */
		$ = {[PII_REDACTED]6f[PII_REDACTED][PII_REDACTED][PII_REDACTED]730069006f006e[1-8]0036002e0031002e[PII_REDACTED]300030002e[PII_REDACTED]320031 } /* ProductVersion  */
		$ = { 0049006e[PII_REDACTED]72006e0061006c004e0061006d0065[1-8]006e[PII_REDACTED]73006c0061006e002e[PII_REDACTED]73 } /* InternalName ndislansys */
		$ = {[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 MicrosoftWindowsOperati

Detection condition:
all of them

Full rule:
rule MAL_Driver_Microsoftcorporation_Ndislansys_Microsoftwindowsoperatingsystem_B0EB {
	meta:
		description = "Detects malicious driver mentioned in LOLDrivers project using VersionInfo values from the PE header - ndislan.sys"
		author = "Florian Roth"
		reference = "https://github.com/magicsword-io/LOLDrivers"
		hash = "b0eb4d999e4e0e7c2e33ff081e847c87b49940eb24a9e0794c6aa9516832c427"
		date = "2024-08-07"
		score = 70
		id = "c94adcf3-2ea6-5856-9327-2e5ed1c49b22"
	strings:
		$ = {[PII_REDACTED]6c[PII_REDACTED][PII_REDACTED][PII_REDACTED][PII_REDACTED]006f006e[1-8]004d[PII_REDACTED]4c0041004e[PII_REDACTED][PII_REDACTED]00650072 } /* FileDescription MSLANDriver */
		$ = { 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]0036002e0031002e[PII_REDACTED]300030002e[PII_REDACTED]320031 } /* FileVersion  */
		$ = {[PII_REDACTED]6f[PII_REDACTED][PII_REDACTED][PII_REDACTED]730069006f006e[1-8]0036002e0031002e[PII_REDACTED]300030002e[PII_REDACTED]320031 } /* ProductVersion  */
		$ = { 0049006e[PII_REDACTED]72006e0061006c004e0061006d0065[1-8]006e[PII_REDACTED]73006c0061006e002e[PII_REDACTED]73 } /* InternalName ndislansys */
		$ = {[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]006e[PII_REDACTED]73006c0061006e002e[PII_REDACTED]73 } /* OriginalFilename ndislansys */
		$ = { 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]6c006c[PII_REDACTED][PII_REDACTED][PII_REDACTED][PII_REDACTED][PII_REDACTED][PII_REDACTED]0064002e } /* LegalCopyright MicrosoftCorporationAllrightsreserved */
	condition:
		all of them
}