Skip to content

YARA · SEKOIA.IO Community

SEKOIA_Tool_Advancedrun_Strings

Detects AdvancedRun strings

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

What this rule detects

Detects AdvancedRun strings

Targets: Windows PE.

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

Summary generated from the rule's metadata and condition.

Rule source

tool-advancedrun-strings.yarDetection Rule License 1.1
rule SEKOIA_Tool_Advancedrun_Strings : FILE
{
	meta:
		description = "Detects AdvancedRun strings"
		author = "Sekoia.io"
		id = "842a996e-0cf2-485f-9d3c-ccbd40c9ab6c"
		date = "2024-09-06"
		modified = "2024-12-19"
		reference = "https://github.com/SEKOIA-IO/Community"
		source_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/tool_advancedrun_strings.yar#L1-L20"
		license_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
		hash = "a1d50ebe6124584f32de0625475cdb74"
		logic_hash = "58e5e0c903057ff382a78a37ba289cbaa5949d99a4b5ff77a223e86aab591f5d"
		score = 75
		quality = 80
		tags = "FILE"
		version = "1.0"
		classification = "TLP:CLEAR"

	strings:
		$ = "nirsoft.net" wide
		$ = "Another logged-in user" wide
		$ = "Choose config file to save" wide
		$ = "AdvancedRun" ascii wide

	condition:
		uint16be( 0 ) == 0x4d5a and all of them and filesize < 1MB
}

Strings (4 patterns)

IdentifierTypeValueModifiers
$text"nirsoft.net"wide
$text"Another logged-in user"wide
$text"Choose config file to save"wide
$text"AdvancedRun"ascii wide

Condition

uint16be( 0 ) == 0x4d5a and all of them and filesize < 1MB

In plain words (Heuristic)

  • The file must start with “MZ” — a Windows executable (PE).
  • The file must be smaller than 1MB (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

Sample hashes

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

  • a1d50ebe6124584f32de0625475cdb74

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: 842a996e-0cf2-485f-9d3c-ccbd40c9ab6c

Metadata

version1.0
classificationTLP:CLEAR

Tags:FILE