Skip to content

YARA · SEKOIA.IO Community

SEKOIA_Tool_Cheat_Engine

Detects Cheat Engine driver

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

What this rule detects

Detects Cheat Engine driver

Targets: Windows PE.

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

Summary generated from the rule's metadata and condition.

Rule source

tool-cheat-engine.yarDetection Rule License 1.1
rule SEKOIA_Tool_Cheat_Engine : FILE
{
	meta:
		description = "Detects Cheat Engine driver"
		author = "Sekoia.io"
		id = "51d4246c-f7a1-4589-8f97-bd85d1fe4a0e"
		date = "2024-07-22"
		modified = "2024-12-19"
		reference = "https://github.com/SEKOIA-IO/Community"
		source_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/tool_cheat_engine.yar#L1-L22"
		license_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
		logic_hash = "2a70016be13c4eff7f7381fd0e34c345c95f09d4cd8b754ea68d59adfe3fe4b6"
		score = 75
		quality = 80
		tags = "FILE"
		version = "1.0"
		classification = "TLP:CLEAR"

	strings:
		$s1 = "ObOpenObjectByName" wide
		$s2 = "PsGetProcessImageFileName" wide
		$s3 = "PsRemoveCreateThreadNotifyRoutine" wide
		$s4 = "PsSuspendProcess" wide
		$s5 = "PsResumeProcess" wide
		$s6 = "\\device\\physicalmemory" wide
		$log = "%sCPU%d.trace" wide
		$ioctl_code = {04 E1 22 00}

	condition:
		uint16be( 0 ) == 0x4d5a and filesize < 200KB and all of them
}

Strings (8 patterns)

IdentifierTypeValueModifiers
$s1text"ObOpenObjectByName"wide
$s2text"PsGetProcessImageFileName"wide
$s3text"PsRemoveCreateThreadNotifyRoutine"wide
$s4text"PsSuspendProcess"wide
$s5text"PsResumeProcess"wide
$s6text"\\device\\physicalmemory"wide
$logtext"%sCPU%d.trace"wide
$ioctl_codehex{04 E1 22 00}

Condition

uint16be( 0 ) == 0x4d5a and filesize < 200KB and all of them

In plain words (Heuristic)

  • The file must start with “MZ” — a Windows executable (PE).
  • The file must be smaller than 200KB (a cheap guard that skips large files).
  • 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: 51d4246c-f7a1-4589-8f97-bd85d1fe4a0e

Metadata

version1.0
classificationTLP:CLEAR

Tags:FILE