Skip to content

YARA · SEKOIA.IO Community

SEKOIA_Loader_Win_Piccassoloader

Detect the variant of Picasso used by GhostWriter as CVE-2023-38831 exploitation payload

MalwareSEKOIA.IO CommunityDetection Rule License 1.1Compiles with YARA-X (with warnings)
Author
Sekoia.io
Date
2023-09-07
Modified
2024-12-19
Score / Quality
75 / 76

What this rule detects

Detect the variant of Picasso used by GhostWriter as CVE-2023-38831 exploitation payload

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

YARA-X says: warning[text_as_hex]: hex pattern could be written as text literal

Summary generated from the rule's metadata and condition.

Rule source

loader-win-piccassoloader.yarDetection Rule License 1.1
rule SEKOIA_Loader_Win_Piccassoloader : CVE_2023_38831
{
	meta:
		description = "Detect the variant of Picasso used by GhostWriter as CVE-2023-38831 exploitation payload"
		author = "Sekoia.io"
		id = "91d9c2de-451e-467e-8f5c-38bbcce92b72"
		date = "2023-09-07"
		modified = "2024-12-19"
		reference = "https://github.com/SEKOIA-IO/Community"
		source_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/loader_win_piccassoloader.yar#L1-L16"
		license_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
		logic_hash = "93e598f6c70dcb1ddf20ea926af72241e135bdf910f3721a7a0c3036f6a3d1b9"
		score = 75
		quality = 76
		tags = "CVE-2023-38831"
		version = "1.0"
		classification = "TLP:CLEAR"

	strings:
		$ = {2c 27 44 65 63 72 79 70 74 6f 72 27 2c 27 6e 6f 64 65 27 2c 27 55 73 65 72 2d}
		$ = {5c 78 32 30 43 68 72 6f 6d 65 2f 31 30 27 2c 27 67 67 65 72 27 2c 27 73 65 64 43 69 70 68 65 72 27 2c 27 5f 61 70 70 65 6e 64 27 2c 27 5f 45 4e 43 5f 58 46 4f 52 4d 27 2c 27 57 53 63 72 69 70 74 2e 53 68 27}

	condition:
		1 of them
}

Strings (2 patterns)

IdentifierTypeValueModifiers
$hex{2c 27 44 65 63 72 79 70 74 6f 72 27 2c 27 6e 6f 64 65 27 2c 27 55 73 65 72 2d}
$hex{5c 78 32 30 43 68 72 6f 6d 65 2f 31 30 27 2c 27 67 67 65 72 27 2c 27 73 65 64 43 69 70 68 65 72 27 2c 27 5f 61 70 70 65 6e 64 27 2c 27 5f 45 4e 43 5f 58 46 4f …

Condition

1 of them

In plain words (Heuristic)

  • At least 1 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: 91d9c2de-451e-467e-8f5c-38bbcce92b72

Metadata

version1.0
classificationTLP:CLEAR

Tags:CVE_2023_38831