YARA · SEKOIA.IO Community
SEKOIA_Ransomware_Win_Wing
Finds Wing ransomware samples based on specific strings
- 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:
= "Finds Wing ransomware samples based on specific strings"
= "Sekoia.io"
= "c2fe8321-8013-4aa4-91a6-c0face3e6b52"
= "2024-01-30"
= "2024-12-19"
= "https://github.com/SEKOIA-IO/Community"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/ransomware_win_wing.yar#L1-L52"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "c9f373c12f4fb5efc29d0f293a2e0b46cf03c1abe124e9dd4118bef6c6e3f731"
= 75
= 78
= "FILE"
= "1.0"
= "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)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $fun01 | text | "LockBIT" | ascii fullword |
| $fun02 | text | "BigEncrypt" | ascii |
| $fun03 | text | "RunEncrypt" | ascii |
| $fun04 | text | "AesEncrypt" | ascii |
| $fun05 | text | "KeyGenerator" | ascii |
| $fun06 | text | "GetUniqueKey" | ascii |
| $fun07 | text | "SearchFolder" | ascii |
| $fun08 | text | "ThreadFolders" | ascii |
| $fun09 | text | "ContainsKeyword" | ascii |
| $fun10 | text | "ReadMeMaker" | ascii |
| $fun11 | text | "StopAndConfigureSqlServices" | ascii |
| $fun12 | text | "WipeRecycleBin" | ascii |
| $fun13 | text | "TelSender" | ascii |
| $str01 | text | "AnyDesk" | wide |
| $str02 | text | "firebird" | wide |
| $str03 | text | "Acronis" | wide |
| $str04 | text | "config \"" | wide |
| $str05 | text | " start= demand" | wide |
| $str06 | text | "' stopped and configured to start automatically." | wide |
| $str07 | text | "Error processing service '" | wide |
| $str08 | text | "$RECYCLE.BIN" | wide |
| $str09 | text | "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run" | wide |
| $str10 | text | "UniqueID:" | wide |
| $str11 | text | "PersonalID:" | wide |
| $ran01 | text | "C:\\Readme.txt" | wide |
| $ran02 | text | "C:\\LockBIT\\systemID" | wide |
| $ran03 | text | "Your system has been encrypted by our team, and your files have been locked using our proprietary algorithm !" | wide |
| $ran04 | text | "* Please read this message carefully and patiently *" | wide |
| $ran05 | text | "* 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 | text | "* Note that your files have not been harmed in any way they have only been encrypted by our algorithm." | wide |
| $ran07 | text | "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 | text | "* 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 | text | "Please put your Unique ID as the title of the email or as the starting title of the conversation." | wide |
| $ran10 | text | "* 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.
References
Licence & attribution
Author: Sekoia.io
Source repository: SEKOIA.IO Community @ a438a5901a
Licence: Detection Rule License 1.1 (repository licence)
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
| version | 1.0 |
|---|---|
| classification | TLP:CLEAR |
Tags:FILE
Related rules
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-07-16
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-08-23
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-04-22
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-07-23
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-10-20
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-03-20
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-03-20
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-03-20