Skip to content

YARA · ditekSHen detection

DITEKSHEN_MALWARE_Win_Allakore

Detects AllaKore

MalwareAllakoreditekSHen detectionBSD 2-Clause LicenseCompiles with YARA-X
Author
ditekSHen
Date
2020-11-06
Modified
2024-11-01
Score / Quality
75 / 73

What this rule detects

Detects AllaKore

Associated malware family: Allakore.

Targets: Windows PE.

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

Summary generated from the rule's metadata and condition.

Rule source

malware-win-allakore.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Allakore : FILE
{
	meta:
		description = "Detects AllaKore"
		author = "ditekSHen"
		id = "371663c1-6faf-5ca3-a79e-e4340d44660b"
		date = "2020-11-06"
		modified = "2024-11-01"
		reference = "https://github.com/ditekshen/detection"
		source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L6462-L6493"
		license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
		logic_hash = "0e93682787e27246cdddbd67ca5360728c65049a2e97e71809b5902854aa4bef"
		score = 75
		quality = 73
		tags = "FILE"

	strings:
		$x1 = "AllaKore Remote - Chat" fullword wide
		$x2 = "AllaKore Remote - Share Files" fullword wide
		$x3 = "CYRUS - Chat" fullword wide
		$x4 = "CYRUS - Share Files" fullword wide
		$x5 = "<|REDIRECT|><|GETFOLDERS|>" fullword wide
		$x6 = "<|REDIRECT|><|DOWNLOADFILE|>" fullword wide
		$x7 = "<|REDIRECT|><|WHEELMOUSE|>" fullword wide
		$x8 = "<|REDIRECT|><|SETMOUSE" wide
		$x9 = "<|CHECKIDPASSWORD|>" fullword wide
		$x10 = "<|KEYBOARDSOCKET|>" fullword wide
		$x11 = "<|REDIRECT|><|CLIPBOARD|>" fullword wide
		$x12 = "<|IDEXISTS!REQUESTPASSWORD|>" fullword wide
		$x13 = "<|GETFULLSCREENSHOT|>" fullword wide
		$x14 = "<|MAINSOCKET|>" fullword ascii
		$s1 = "You can not connect with yourself!" wide
		$s2 = "Waiting for authentication..." wide
		$s3 = "Connected support!" wide
		$s4 = "ID does nor exists." wide
		$s5 = "Finding the ID..." wide
		$s6 = "PC is Busy!" wide
		$s7 = "Upload &  Execute" fullword ascii
		$s8 = "Download file selected" fullword ascii
		$s9 = "CaptureKeys_TimerTimer" fullword ascii
		$s10 = "Remote File Manager" fullword ascii

	condition:
		uint16( 0 ) == 0x5a4d and ( 4 of ( $x* ) or 4 of ( $s* ) or ( 3 of ( $s* ) and 2 of ( $x* ) ) )
}

Strings (24 patterns)

IdentifierTypeValueModifiers
$x1text"AllaKore Remote - Chat"fullword wide
$x2text"AllaKore Remote - Share Files"fullword wide
$x3text"CYRUS - Chat"fullword wide
$x4text"CYRUS - Share Files"fullword wide
$x5text"<|REDIRECT|><|GETFOLDERS|>"fullword wide
$x6text"<|REDIRECT|><|DOWNLOADFILE|>"fullword wide
$x7text"<|REDIRECT|><|WHEELMOUSE|>"fullword wide
$x8text"<|REDIRECT|><|SETMOUSE"wide
$x9text"<|CHECKIDPASSWORD|>"fullword wide
$x10text"<|KEYBOARDSOCKET|>"fullword wide
$x11text"<|REDIRECT|><|CLIPBOARD|>"fullword wide
$x12text"<|IDEXISTS!REQUESTPASSWORD|>"fullword wide
$x13text"<|GETFULLSCREENSHOT|>"fullword wide
$x14text"<|MAINSOCKET|>"fullword ascii
$s1text"You can not connect with yourself!"wide
$s2text"Waiting for authentication..."wide
$s3text"Connected support!"wide
$s4text"ID does nor exists."wide
$s5text"Finding the ID..."wide
$s6text"PC is Busy!"wide
$s7text"Upload & Execute"fullword ascii
$s8text"Download file selected"fullword ascii
$s9text"CaptureKeys_TimerTimer"fullword ascii
$s10text"Remote File Manager"fullword ascii

Condition

uint16( 0 ) == 0x5a4d and ( 4 of ( $x* ) or 4 of ( $s* ) or ( 3 of ( $s* ) and 2 of ( $x* ) ) )

In plain words (Heuristic)

  • The file must start with “MZ” — a Windows executable (PE).
  • At least 4 patterns in ( $x* ) must match.
  • At least 4 patterns in ( $s* ) must match.
  • At least 3 patterns in ( $s* ) must match.
  • At least 2 patterns in ( $x* ) 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: ditekSHen

Source repository: ditekSHen detection @ e76c93dcde

Licence: BSD 2-Clause License (repository licence)

Copyright notice: Copyright 2021 by ditekSHen (https://github.com/ditekshen/detection).

Original rule

Mirrored via YARA Forge 20260927, which prefixes rule names with the source and adds normalised meta fields.

Rule id: 371663c1-6faf-5ca3-a79e-e4340d44660b

Tags:FILE