Skip to content

YARA · SEKOIA.IO Community

SEKOIA_Tool_Win_Forkplayground

Detect the ForkPlayground malware

Hack toolSEKOIA.IO CommunityDetection Rule License 1.1Compiles with YARA-X
Author
Sekoia.io
Date
2023-02-28
Modified
2024-12-19
Score / Quality
75 / 80

What this rule detects

Detect the ForkPlayground malware

Targets: Windows PE.

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

Summary generated from the rule's metadata and condition.

Rule source

tool-win-forkplayground.yarDetection Rule License 1.1
rule SEKOIA_Tool_Win_Forkplayground : FILE
{
	meta:
		description = "Detect the ForkPlayground malware"
		author = "Sekoia.io"
		id = "ec9af403-7647-447d-af17-c6931363a166"
		date = "2023-02-28"
		modified = "2024-12-19"
		reference = "https://github.com/SEKOIA-IO/Community"
		source_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/tool_win_forkplayground.yar#L1-L20"
		license_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
		logic_hash = "23d93b7eef978f76c9aa6c0bc28a661d160b0a871fd320442b6c27bc92bc279e"
		score = 75
		quality = 80
		tags = "FILE"
		version = "1.0"
		classification = "TLP:CLEAR"

	strings:
		$ = "Failed to open dump file %s with the last error %i."
		$ = "Successfully dumped process %i to %s"
		$ = "ForkPlayground"
		$ = "Second attempt at taking a snapshot of the target failed. It is likely that there is a difference in process privilege or the handle was stripped."
		$ = "Failed to take a snapshot of the target process. Attempting to escalate debug privilege..."
		$ = "Failed to escalate debug privileges, are you running ForkDump as Administrator"

	condition:
		uint16( 0 ) == 0x5A4D and 1 of them
}

Strings (6 patterns)

IdentifierTypeValueModifiers
$text"Failed to open dump file %s with the last error %i."
$text"Successfully dumped process %i to %s"
$text"ForkPlayground"
$text"Second attempt at taking a snapshot of the target failed. It is likely that there is a difference in process privilege or the handle was stripped."
$text"Failed to take a snapshot of the target process. Attempting to escalate debug privilege..."
$text"Failed to escalate debug privileges, are you running ForkDump as Administrator"

Condition

uint16( 0 ) == 0x5A4D and 1 of them

In plain words (Heuristic)

  • The file must start with “MZ” — a Windows executable (PE).
  • 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: ec9af403-7647-447d-af17-c6931363a166

Metadata

version1.0
classificationTLP:CLEAR

Tags:FILE