Skip to content

YARA · SEKOIA.IO Community

SEKOIA_Implant_Win_Quasarrat

Detect QuasarRAT (reted from samples 2023-03)

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

What this rule detects

Detect QuasarRAT (reted from samples 2023-03)

It defines 6 patterns (2 text, 4 hex, 0 regex).

Summary generated from the rule's metadata and condition.

Rule source

implant-win-quasarrat.yarDetection Rule License 1.1
rule SEKOIA_Implant_Win_Quasarrat
{
	meta:
		description = "Detect QuasarRAT (reted from samples 2023-03)"
		author = "Sekoia.io"
		id = "492fdffc-8e5f-4225-a2eb-cd6d80e6bcb8"
		date = "2023-03-17"
		modified = "2024-12-19"
		reference = "https://blog.alyac.co.kr/5103"
		source_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/implant_win_quasarrat.yar#L1-L25"
		license_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
		logic_hash = "d3c1d65a23aaea5423025cb2f755d0f2298cbf02b2a4e34430eae8c3e1263185"
		score = 75
		quality = 80
		tags = ""
		version = "1.0"
		classification = "TLP:CLEAR"

	strings:
		$ = {63 00 68 00 63 00 70 00 20 00 36 00 35 00 30 00 30 00 31 00}
		$ = {65 00 63 00 68 00 6f 00 20 00 44 00 4f 00 4e 00 54 00 20 00 43 00 4c 00 4f 00 53 00 45 00 20 00 54 00 48 00 49 00 53 00 20 00 57 00 49 00 4e 00 44 00 4f 00 57 00 21 00}
		$ = {70 00 69 00 6e 00 67 00 20 00 2d 00 6e 00 20 00 31 00 30 00 20 00 6c 00 6f 00 63 00 61 00 6c 00 68 00 6f 00 73 00 74 00 20 00 3e 00 20 00 6e 00 75 00 6c 00}
		$ = {64 00 65 00 6c 00 20 00 2f 00 61 00 20 00 2f 00 71 00 20 00 2f 00 66 00 20 00 22 00}
		$ = "DoShellExecute"
		$ = "DoDownloadFile"

	condition:
		all of them
}

Strings (6 patterns)

IdentifierTypeValueModifiers
$hex{63 00 68 00 63 00 70 00 20 00 36 00 35 00 30 00 30 00 31 00}
$hex{65 00 63 00 68 00 6f 00 20 00 44 00 4f 00 4e 00 54 00 20 00 43 00 4c 00 4f 00 53 00 45 00 20 00 54 00 48 00 49 00 53 00 20 00 57 00 49 00 4e 00 44 00 4f 00 57 …
$hex{70 00 69 00 6e 00 67 00 20 00 2d 00 6e 00 20 00 31 00 30 00 20 00 6c 00 6f 00 63 00 61 00 6c 00 68 00 6f 00 73 00 74 00 20 00 3e 00 20 00 6e 00 75 00 6c 00}
$hex{64 00 65 00 6c 00 20 00 2f 00 61 00 20 00 2f 00 71 00 20 00 2f 00 66 00 20 00 22 00}
$text"DoShellExecute"
$text"DoDownloadFile"

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: 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: 492fdffc-8e5f-4225-a2eb-cd6d80e6bcb8

Metadata

version1.0
classificationTLP:CLEAR