Skip to content

YARA · SEKOIA.IO Community

SEKOIA_Guerrilla_Lemongroup

No description has been set in the source file - SEKOIA

GenericSEKOIA.IO CommunityDetection Rule License 1.1Compiles with YARA-X
Author
Sekoia.io
Date
2023-05-23
Modified
2024-12-19
Score / Quality
75 / 80

What this rule detects

No description has been set in the source file - SEKOIA

It defines 11 patterns (9 text, 2 hex, 0 regex).

Summary generated from the rule's metadata and condition.

Rule source

guerrilla-lemongroup.yarDetection Rule License 1.1
rule SEKOIA_Guerrilla_Lemongroup : FILE
{
	meta:
		description = "No description has been set in the source file - SEKOIA"
		author = "Sekoia.io"
		id = "df635b5a-a19a-48ab-9a3a-9723e265c71d"
		date = "2023-05-23"
		modified = "2024-12-19"
		reference = "https://github.com/SEKOIA-IO/Community"
		source_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/guerrilla_lemongroup.yar#L1-L28"
		license_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
		logic_hash = "b644cb537a42217f2549f37bfe07ae0b7ba39fc248ab3d5fd870384c7684683b"
		score = 75
		quality = 80
		tags = "FILE"
		version = "1.0"
		classification = "TLP:CLEAR"

	strings:
		$dex = { 64 65 78 0A 30 33 ?? 00 }
		$odex = { 64 65 79 0A 30 33 ?? 00 }
		$s2 = "data response code===" ascii
		$s3 = "httpCon:" ascii
		$s4 = "processName :" ascii
		$s5 = "startListTasks......" ascii
		$s6 = "url==" ascii
		$s7 = "java core run ZYGOTE_PROCESS" ascii
		$api1 = "/api.php" ascii
		$api2 = "/event.php" ascii
		$api3 = "/apiRS.php" ascii

	condition:
		($dex at 0 or $odex at 0 ) and filesize > 100KB and filesize < 5MB and 5 of ( $s* ) and 1 of ( $api* )
}

Strings (11 patterns)

IdentifierTypeValueModifiers
$dexhex{ 64 65 78 0A 30 33 ?? 00 }
$odexhex{ 64 65 79 0A 30 33 ?? 00 }
$s2text"data response code==="ascii
$s3text"httpCon:"ascii
$s4text"processName :"ascii
$s5text"startListTasks......"ascii
$s6text"url=="ascii
$s7text"java core run ZYGOTE_PROCESS"ascii
$api1text"/api.php"ascii
$api2text"/event.php"ascii
$api3text"/apiRS.php"ascii

Condition

($dex at 0 or $odex at 0 ) and filesize > 100KB and filesize < 5MB and 5 of ( $s* ) and 1 of ( $api* )

In plain words (Heuristic)

  • The file must be smaller than 5MB (a cheap guard that skips large files).
  • The file must be larger than 100KB.
  • At least 5 patterns in ( $s* ) must match.
  • At least 1 patterns in ( $api* ) must match.
  • Pattern $dex must be found at offset 0.
  • Pattern $odex must be found at offset 0.

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: Sekoia.io

Source repository: SEKOIA.IO Community @ a438a5901a

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: df635b5a-a19a-48ab-9a3a-9723e265c71d

Metadata

version1.0
classificationTLP:CLEAR

Tags:FILE