Skip to content

YARA · SEKOIA.IO Community

SEKOIA_Ransomware_Win_Wing

Finds Wing ransomware samples based on specific strings

MalwareSEKOIA.IO CommunityDetection Rule License 1.1Compiles with YARA-X
Author
Sekoia.io
Date
2024-01-30
Modified
2024-12-19
Score / Quality
75 / 78

What this rule detects

Finds Wing ransomware samples based on specific strings

Targets: Windows PE.

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

Summary generated from the rule's metadata and condition.

Rule source

ransomware-win-wing.yarDetection Rule License 1.1
rule SEKOIA_Ransomware_Win_Wing : FILE
{
	meta:
		description = "Finds Wing ransomware samples based on specific strings"
		author = "Sekoia.io"
		id = "c2fe8321-8013-4aa4-91a6-c0face3e6b52"
		date = "2024-01-30"
		modified = "2024-12-19"
		reference = "https://github.com/SEKOIA-IO/Community"
		source_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/ransomware_win_wing.yar#L1-L52"
		license_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
		logic_hash = "c9f373c12f4fb5efc29d0f293a2e0b46cf03c1abe124e9dd4118bef6c6e3f731"
		score = 75
		quality = 78
		tags = "FILE"
		version = "1.0"
		classification = "TLP:CLEAR"

	strings:
		$fun01 = "LockBIT" ascii fullword
		$fun02 = "BigEncrypt" ascii
		$fun03 = "RunEncrypt" ascii
		$fun04 = "AesEncrypt" ascii
		$fun05 = "KeyGenerator" ascii
		$fun06 = "GetUniqueKey" ascii
		$fun07 = "SearchFolder" ascii
		$fun08 = "ThreadFolders" ascii
		$fun09 = "ContainsKeyword" ascii
		$fun10 = "ReadMeMaker" ascii
		$fun11 = "StopAndConfigureSqlServices" ascii
		$fun12 = "WipeRecycleBin" ascii
		$fun13 = "TelSender" ascii
		$str01 = "AnyDesk" wide
		$str02 = "firebird" wide
		$str03 = "Acronis" wide
		$str04 = "config \"" wide
		$str05 = " start= demand" wide
		$str06 = "' stopped and configured to start automatically." wide
		$str07 = "Error processing service '" wide
		$str08 = "$RECYCLE.BIN" wide
		$str09 = "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run" wide
		$str10 = "UniqueID:" wide
		$str11 = "PersonalID:" wide
		$ran01 = "C:\\Readme.txt" wide
		$ran02 = "C:\\LockBIT\\systemID" wide
		$ran03 = "Your system has been encrypted by our team, and your files have been locked using our proprietary algorithm !" wide
		$ran04 = "* Please read this message carefully and patiently *" wide
		$ran05 = "* If you use any tools, programs, or methods to recover your files and they get damaged, we will not be responsible for any harm to your files !" wide
		$ran06 = "* Note that your files have not been harmed in any way they have only been encrypted by our algorithm." wide
		$ran07 = "Your files and your entire system will return to normal mode through the program we provide to you. No one but us will be able to decrypt your files !" wide
		$ran08 = "* To gain trust in us, you can send us a maximum of 2 non-important files, and we will decrypt them for you free of charge." wide
		$ran09 = "Please put your Unique ID as the title of the email or as the starting title of the conversation." wide
		$ran10 = "* For faster decryption, first message us on Telegram. If there is no response within 24 hours, please email us *" wide

	condition:
		uint16( 0 ) == 0x5a4d and ( ( 5 of ( $fun* ) and 5 of ( $str* ) and 2 of ( $ran* ) ) or 12 of ( $fun* ) or 10 of ( $ran* ) or 8 of ( $ran* ) )
}

Strings (34 patterns)

IdentifierTypeValueModifiers
$fun01text"LockBIT"ascii fullword
$fun02text"BigEncrypt"ascii
$fun03text"RunEncrypt"ascii
$fun04text"AesEncrypt"ascii
$fun05text"KeyGenerator"ascii
$fun06text"GetUniqueKey"ascii
$fun07text"SearchFolder"ascii
$fun08text"ThreadFolders"ascii
$fun09text"ContainsKeyword"ascii
$fun10text"ReadMeMaker"ascii
$fun11text"StopAndConfigureSqlServices"ascii
$fun12text"WipeRecycleBin"ascii
$fun13text"TelSender"ascii
$str01text"AnyDesk"wide
$str02text"firebird"wide
$str03text"Acronis"wide
$str04text"config \""wide
$str05text" start= demand"wide
$str06text"' stopped and configured to start automatically."wide
$str07text"Error processing service '"wide
$str08text"$RECYCLE.BIN"wide
$str09text"SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run"wide
$str10text"UniqueID:"wide
$str11text"PersonalID:"wide
$ran01text"C:\\Readme.txt"wide
$ran02text"C:\\LockBIT\\systemID"wide
$ran03text"Your system has been encrypted by our team, and your files have been locked using our proprietary algorithm !"wide
$ran04text"* Please read this message carefully and patiently *"wide
$ran05text"* If you use any tools, programs, or methods to recover your files and they get damaged, we will not be responsible for any harm to your files !"wide
$ran06text"* Note that your files have not been harmed in any way they have only been encrypted by our algorithm."wide
$ran07text"Your files and your entire system will return to normal mode through the program we provide to you. No one but us will be able to decrypt your files !"wide
$ran08text"* To gain trust in us, you can send us a maximum of 2 non-important files, and we will decrypt them for you free of charge."wide
$ran09text"Please put your Unique ID as the title of the email or as the starting title of the conversation."wide
$ran10text"* For faster decryption, first message us on Telegram. If there is no response within 24 hours, please email us *"wide

Condition

uint16( 0 ) == 0x5a4d and ( ( 5 of ( $fun* ) and 5 of ( $str* ) and 2 of ( $ran* ) ) or 12 of ( $fun* ) or 10 of ( $ran* ) or 8 of ( $ran* ) )

In plain words (Heuristic)

  • The file must start with “MZ” — a Windows executable (PE).
  • At least 5 patterns in ( $fun* ) must match.
  • At least 5 patterns in ( $str* ) must match.
  • At least 2 patterns in ( $ran* ) must match.
  • At least 12 patterns in ( $fun* ) must match.
  • At least 10 patterns in ( $ran* ) must match.
  • At least 8 patterns in ( $ran* ) 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

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: c2fe8321-8013-4aa4-91a6-c0face3e6b52

Metadata

version1.0
classificationTLP:CLEAR

Tags:FILE