Skip to content

YARA · Signature Base (Florian Roth / Nextron)

SIGNATURE_BASE_MAL_PHP_Efile_Apr23_1

Detects malware

MalwareSignature Base (Florian Roth / Nextron)Detection Rule License 1.1Compiles with YARA-X
Author
Florian Roth
Date
2023-04-06
Modified
2023-12-05
Score / Quality
75 / 85

What this rule detects

Detects malware

It defines 3 patterns (3 text, 0 hex, 0 regex).

Summary generated from the rule's metadata and condition.

Rule source

mal-php-efile-apr23-1.yarDetection Rule License 1.1
rule SIGNATURE_BASE_MAL_PHP_Efile_Apr23_1
{
	meta:
		description = "Detects malware "
		author = "Florian Roth"
		id = "d663b38e-b082-5cf7-9853-f4685bf3a87b"
		date = "2023-04-06"
		modified = "2023-12-05"
		reference = "https://twitter.com/malwrhunterteam/status/1642988428080865281?s=12&t=C0_T_re0wRP_NfKa27Xw9w"
		source_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/mal_efile_apr23.yar#L18-L32"
		license_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
		logic_hash = "ec4ac3f5c19f506a70eacb5fe3173cc06bf20567bbc9a96f3b269910382e5fa2"
		score = 75
		quality = 85
		tags = ""

	strings:
		$s1 = "mt_rand( 0, 0xffff ), mt_rand( 0, 0xffff )" ascii
		$s2 = "C:\\\\ProgramData\\\\Browsers" ascii fullword
		$s3 = "curl_https($api_url." ascii

	condition:
		all of them
}

Strings (3 patterns)

IdentifierTypeValueModifiers
$s1text"mt_rand( 0, 0xffff ), mt_rand( 0, 0xffff )"ascii
$s2text"C:\\\\ProgramData\\\\Browsers"ascii fullword
$s3text"curl_https($api_url."ascii

Condition

all of them

In plain words (Heuristic)

  • All patterns in the rule must match.

Test this rule in your browser

Drop a file to scan it with this rule using YARA-X compiled to WebAssembly. Nothing is uploaded.

Drop a file here or click to chooseScanned locally with YARA-X. Files up to 200 MB.

Open in editor

References

Licence & attribution

Author: Florian Roth

Source repository: Signature Base (Florian Roth / Nextron) @ 94a1c48d7a

Licence: Detection Rule License 1.1 (repository licence)

Original rule

Mirrored via YARA Forge 20260927, which prefixes rule names with the source and adds normalised meta fields.

Rule id: d663b38e-b082-5cf7-9853-f4685bf3a87b