Skip to content

YARA · Signature Base (Florian Roth / Nextron)

SIGNATURE_BASE_SUSP_THOR_Unsigned_Oct23_1

Detects unsigned version of THOR scanner, which could be a backdoored / modified version of the scanner

Suspicious / huntingSignature Base (Florian Roth / Nextron)Detection Rule License 1.1Compiles with YARA-X (with warnings)
Author
Florian Roth
Date
2023-10-28
Modified
2023-12-05
Score / Quality
75 / 85

What this rule detects

Detects unsigned version of THOR scanner, which could be a backdoored / modified version of the scanner

Targets: Windows PE.

It defines 3 patterns (2 text, 1 hex, 0 regex). YARA modules used: pe.

YARA-X says: warning[deprecated_field]: field `number_of_signatures` is deprecated

Summary generated from the rule's metadata and condition.

Rule source

Includes the imports needed to compile it on its own.

susp-thor-unsigned-oct23-1.yarDetection Rule License 1.1
import "pe"

rule SIGNATURE_BASE_SUSP_THOR_Unsigned_Oct23_1 : FILE
{
	meta:
		description = "Detects unsigned version of THOR scanner, which could be a backdoored / modified version of the scanner"
		author = "Florian Roth"
		id = "2ca6a192-675e-5f02-a7b1-40369eeb9904"
		date = "2023-10-28"
		modified = "2023-12-05"
		reference = "Internal Research"
		source_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/gen_unsigned_thor.yar#L4-L22"
		license_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
		logic_hash = "12303e3549071dd6c8896f7a1222eb5905f6b4d3f320134416a5b6d53857adeb"
		score = 75
		quality = 85
		tags = "FILE"

	strings:
		$s1 = "THOR APT Scanner" wide fullword
		$s2 = "Nextron Systems GmbH" wide fullword
		$sc1 = { 00 4F 00 72 00 69 00 67 00 69 00 6E 00 61 00 6C 00 46 00 69 00 6C 00 65 00 6E 00 61 00 6D 00 65 00 00 00 74 00 68 00 6F 00 72 }

	condition:
		uint16( 0 ) == 0x5a4d and all of them and pe.number_of_signatures == 0
}

Strings (3 patterns)

IdentifierTypeValueModifiers
$s1text"THOR APT Scanner"wide fullword
$s2text"Nextron Systems GmbH"wide fullword
$sc1hex{ 00 4F 00 72 00 69 00 67 00 69 00 6E 00 61 00 6C 00 46 00 69 00 6C 00 65 00 6E 00 61 00 6D 00 65 00 00 00 74 00 68 00 6F 00 72 }

Condition

uint16( 0 ) == 0x5a4d and all of them and pe.number_of_signatures == 0

In plain words (Heuristic)

  • The file must start with “MZ” — a Windows executable (PE).
  • All patterns in the rule must match.
  • Uses the pe module.
  • Checks the Authenticode signature.

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

Licence & attribution

Author: Florian Roth

Source repository: Signature Base (Florian Roth / Nextron) @ 94a1c48d7a

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: 2ca6a192-675e-5f02-a7b1-40369eeb9904

Tags:FILE