Skip to content

YARA · Signature Base (Florian Roth / Nextron)

SIGNATURE_BASE_ATM_Malware_Loup_1

Detects ATM Malware Loup

MalwareLoupSignature Base (Florian Roth / Nextron)Detection Rule License 1.1Compiles with YARA-X
Author
Frank Boldewin (@r3c0nst)
Date
2020-08-17
Modified
2023-12-05
Score / Quality
75 / 85

What this rule detects

Detects ATM Malware Loup

Associated malware family: Loup.

Targets: Windows PE.

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

Summary generated from the rule's metadata and condition.

Rule source

atm-malware-loup-1.yarDetection Rule License 1.1
rule SIGNATURE_BASE_ATM_Malware_Loup_1 : FILE
{
	meta:
		description = "Detects ATM Malware Loup"
		author = "Frank Boldewin (@r3c0nst)"
		id = "2215a93f-d854-5f9b-b5cd-53962c45db08"
		date = "2020-08-17"
		modified = "2023-12-05"
		reference = "https://twitter.com/r3c0nst/status/1295275546780327936"
		source_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/crime_atm_loup.yar#L3-L19"
		license_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
		hash = "6c9e9f78963ab3e7acb43826906af22571250dc025f9e7116e0201b805dc1196"
		logic_hash = "5068c3f27cf821f512fb9a473d2bd45066d550f30fbc26f0cbebbe103e6f4ccb"
		score = 75
		quality = 85
		tags = "FILE"

	strings:
		$String1 = "C:\\Users\\muham\\source\\repos\\loup\\Debug\\loup.pdb" ascii
		$String2 = "CurrencyDispenser1" ascii
		$Code = {50 68 C0 D4 01 00 8D 4D E8 51 68 2E 01 00 00 0F B7 55 08 52 E8}

	condition:
		uint16( 0 ) == 0x5A4D and filesize < 100KB and all of ( $String* ) and $Code
}

Strings (3 patterns)

IdentifierTypeValueModifiers
$String1text"C:\\Users\\muham\\source\\repos\\loup\\Debug\\loup.pdb"ascii
$String2text"CurrencyDispenser1"ascii
$Codehex{50 68 C0 D4 01 00 8D 4D E8 51 68 2E 01 00 00 0F B7 55 08 52 E8}

Condition

uint16( 0 ) == 0x5A4D and filesize < 100KB and all of ( $String* ) and $Code

In plain words (Heuristic)

  • The file must start with “MZ” — a Windows executable (PE).
  • The file must be smaller than 100KB (a cheap guard that skips large files).
  • All patterns in ( $String* ) must match.
  • Pattern $Code must be present.

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).

  • 6c9e9f78963ab3e7acb43826906af22571250dc025f9e7116e0201b805dc1196

Licence & attribution

Author: Frank Boldewin (@r3c0nst)

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: 2215a93f-d854-5f9b-b5cd-53962c45db08

Tags:FILE

More Loup rules