Skip to content

YARA · SEKOIA.IO Community

SEKOIA_Apt_Emissarypanda_Web_Auto_Attack_Tool

Detect LuckyMouse's Web auto attack tool

APT / threat actorSEKOIA.IO CommunityDetection Rule License 1.1Compiles with YARA-X
Author
Sekoia.io
Date
2022-08-03
Modified
2024-12-19
Score / Quality
75 / 80

What this rule detects

Detect LuckyMouse's Web auto attack tool

Targets: Windows PE.

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

Summary generated from the rule's metadata and condition.

Rule source

apt-emissarypanda-web-auto-attack-tool.yarDetection Rule License 1.1
rule SEKOIA_Apt_Emissarypanda_Web_Auto_Attack_Tool : FILE
{
	meta:
		description = "Detect LuckyMouse's Web auto attack tool"
		author = "Sekoia.io"
		id = "c93eb792-a443-4c9a-8fcb-6015cc69f9b3"
		date = "2022-08-03"
		modified = "2024-12-19"
		reference = "https://github.com/SEKOIA-IO/Community"
		source_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/apt_emissarypanda_web_auto_attack_tool.yar#L1-L21"
		license_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
		logic_hash = "bc55758367ba0a6b5cf963bcb51b7770b2c7b1cf43b0b79e663b4110f6a7bba8"
		score = 75
		quality = 80
		tags = "FILE"
		version = "1.0"
		classification = "TLP:CLEAR"

	strings:
		$ = "[192.168.1.1/24|192.168.1.1|192.168.1|@host.txt]" ascii
		$ = "80,s443,8080,s8443,8000-8010" ascii
		$ = "exploit When find module vul" ascii
		$ = "<title>\\s*(.*?)\\s*</title>" ascii
		$ = "<meta.+?charset=[^\\w]?([-\\w]+)" ascii
		$ = "%s is not existed" ascii
		$ = "%-15s %4d Open" wide

	condition:
		uint16be( 0 ) == 0x4d5a and 4 of them and filesize < 500KB
}

Strings (7 patterns)

IdentifierTypeValueModifiers
$text"[192.168.1.1/24|192.168.1.1|192.168.1|@host.txt]"ascii
$text"80,s443,8080,s8443,8000-8010"ascii
$text"exploit When find module vul"ascii
$text"<title>\\s*(.*?)\\s*</title>"ascii
$text"<meta.+?charset=[^\\w]?([-\\w]+)"ascii
$text"%s is not existed"ascii
$text"%-15s %4d Open"wide

Condition

uint16be( 0 ) == 0x4d5a and 4 of them and filesize < 500KB

In plain words (Heuristic)

  • The file must start with “MZ” — a Windows executable (PE).
  • The file must be smaller than 500KB (a cheap guard that skips large files).
  • At least 4 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: 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: c93eb792-a443-4c9a-8fcb-6015cc69f9b3

Metadata

version1.0
classificationTLP:CLEAR

Tags:FILE