Skip to content

YARA · SEKOIA.IO Community

SEKOIA_Backdoor_Win_Rollsling

Detect Lazarus' RollSling malware (aka LazarLoader)

MalwareRoll SlingSEKOIA.IO CommunityDetection Rule License 1.1Compiles with YARA-X
Author
Sekoia.io
Date
2023-10-24
Modified
2024-12-19
Score / Quality
75 / 80

What this rule detects

Detect Lazarus' RollSling malware (aka LazarLoader)

Associated malware family: Roll Sling.

Targets: Windows PE.

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

Summary generated from the rule's metadata and condition.

Rule source

backdoor-win-rollsling.yarDetection Rule License 1.1
rule SEKOIA_Backdoor_Win_Rollsling : FILE
{
	meta:
		description = "Detect Lazarus' RollSling malware (aka LazarLoader)"
		author = "Sekoia.io"
		id = "5ef23b9c-5bc5-4f02-b1b4-1af18a03241a"
		date = "2023-10-24"
		modified = "2024-12-19"
		reference = "https://www.microsoft.com/en-us/security/blog/2023/10/18/multiple-north-korean-threat-actors-exploiting-the-teamcity-cve-2023-42793-vulnerability/"
		source_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/backdoor_win_rollsling.yar#L1-L21"
		license_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
		hash = "d9add2bfdfebfa235575687de356f0cefb3e4c55964c4cb8bfdcdc58294eeaca"
		hash = "48538a935ddf2cbeb4918d0ccf9372ec8e0a57c5fd145a584a9b1bb4ebbcd5ce"
		hash = "18825be6b269087d7699f3d0aa2e6db2ae72ded36c56aa8e7b8a606dde3741fa"
		hash = "645205e38dfdd560f6242ba717af1bfdd8e85baf5e710d724b853fe9808c4551"
		hash = "455bab490a300d9d63b8777c223287c0a6a647ca7b98b96fd3236f83b8adc77b"
		logic_hash = "5cee25638bdc86b3ffb1c616943d647ca170c5c0140ae3e3118f56b504fa862f"
		score = 75
		quality = 80
		tags = "FILE"
		version = "1.0"
		classification = "TLP:CLEAR"

	strings:
		$s1 = "LookupPrivilegeVCreateRemoteThreAdjustTokenPriviOpenProcessToken"

	condition:
		uint16be( 0 ) == 0x4d5a and all of them
}

Strings (1 patterns)

IdentifierTypeValueModifiers
$s1text"LookupPrivilegeVCreateRemoteThreAdjustTokenPriviOpenProcessToken"

Condition

uint16be( 0 ) == 0x4d5a and all of them

In plain words (Heuristic)

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

  • d9add2bfdfebfa235575687de356f0cefb3e4c55964c4cb8bfdcdc58294eeaca
  • 48538a935ddf2cbeb4918d0ccf9372ec8e0a57c5fd145a584a9b1bb4ebbcd5ce
  • 18825be6b269087d7699f3d0aa2e6db2ae72ded36c56aa8e7b8a606dde3741fa
  • 645205e38dfdd560f6242ba717af1bfdd8e85baf5e710d724b853fe9808c4551
  • 455bab490a300d9d63b8777c223287c0a6a647ca7b98b96fd3236f83b8adc77b

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: 5ef23b9c-5bc5-4f02-b1b4-1af18a03241a

Metadata

version1.0
classificationTLP:CLEAR

Tags:FILE