Skip to content

YARA · SEKOIA.IO Community

SEKOIA_Rat_Win_Reverserat

Detect SideCopy's ReverseRAT v3 observed in January 2023

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

What this rule detects

Detect SideCopy's ReverseRAT v3 observed in January 2023

Associated malware family: Reverserat.

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

Summary generated from the rule's metadata and condition.

Rule source

rat-win-reverserat.yarDetection Rule License 1.1
rule SEKOIA_Rat_Win_Reverserat
{
	meta:
		description = "Detect SideCopy's ReverseRAT v3 observed in January 2023"
		author = "Sekoia.io"
		id = "8fbd395f-f44e-46d5-a942-7c7e88f37127"
		date = "2023-02-22"
		modified = "2024-12-19"
		reference = "https://github.com/SEKOIA-IO/Community"
		source_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/rat_win_reverserat.yar#L1-L19"
		license_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
		hash = "b277a824b2671f40298ce03586a2ccc0fca2a081a66230c57a3060c2028f13ee"
		hash = "8b87459483248d7b95424cd52b7d4f3031e89c6644adc2e167556e071d9ec3aa"
		logic_hash = "13a5a916e084996ce4d7840581250f7630652acdcad0f66e21763cb3a9cbccc3"
		score = 75
		quality = 80
		tags = ""
		version = "1.0"
		classification = "TLP:CLEAR"

	strings:
		$ = "SELECT maxclockspeed,  datawidth, name, manufacturer FROM Win32_Processor" wide
		$ = "select * from Win32_PhysicalMemory" wide
		$ = "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall" wide

	condition:
		all of them
}

Strings (3 patterns)

IdentifierTypeValueModifiers
$text"SELECT maxclockspeed, datawidth, name, manufacturer FROM Win32_Processor"wide
$text"select * from Win32_PhysicalMemory"wide
$text"SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall"wide

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

Sample hashes

Hashes of samples the author lists in the rule's meta (look them up in your threat-intelligence platform).

  • b277a824b2671f40298ce03586a2ccc0fca2a081a66230c57a3060c2028f13ee
  • 8b87459483248d7b95424cd52b7d4f3031e89c6644adc2e167556e071d9ec3aa

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: 8fbd395f-f44e-46d5-a942-7c7e88f37127

Metadata

version1.0
classificationTLP:CLEAR

More Reverserat rules