YARA · SEKOIA.IO Community
SEKOIA_Trojan_Win_Bbtok_Lnk_Sep23
Finds BBTok installation LNK file
- Author
- Sekoia.io
- Date
- 2023-09-26
- Modified
- 2024-12-19
- Score / Quality
- 75 / 80
What this rule detects
Finds BBTok installation LNK file
It defines 4 patterns (3 text, 1 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
trojan-win-bbtok-lnk-sep23.yarDetection Rule License 1.1
rule SEKOIA_Trojan_Win_Bbtok_Lnk_Sep23 : FILE
{
meta:
= "Finds BBTok installation LNK file"
= "Sekoia.io"
= "b1d5dae6-d92f-4a4a-ae90-528cdb3e9e4c"
= "2023-09-26"
= "2024-12-19"
= "https://research.checkpoint.com/2023/behind-the-scenes-of-bbtok-analyzing-a-bankers-server-side-components/"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/trojan_win_bbtok_lnk_sep23.yar#L1-L21"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "32bf07e3740399105359b62d8a612dfa731b024e06c9104b71b496919b5efe9e"
= "5783487585dde1314c485bdcf3942b7e8b572c0689522ea136240833d2a64f5b"
= 75
= 80
= "FILE"
= "1.0"
= "TLP:CLEAR"
strings:
$lnk = {4C 00 00 00}
$str01 = "%ProgramFiles(x86)%\\Microsoft\\Edge\\Application\\msedge.exe" ascii wide
$str02 = ".pdf /Y & start" wide
$str03 = "\\Microsoft.NET\\Framework\\v4.0.30319\\MSBuild.exe -nologo" wide
condition:
all of them and filesize < 10KB
}
Strings (4 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $lnk | hex | {4C 00 00 00} | |
| $str01 | text | "%ProgramFiles(x86)%\\Microsoft\\Edge\\Application\\msedge.exe" | ascii wide |
| $str02 | text | ".pdf /Y & start" | wide |
| $str03 | text | "\\Microsoft.NET\\Framework\\v4.0.30319\\MSBuild.exe -nologo" | wide |
Condition
all of them and filesize < 10KBIn plain words (Heuristic)
- The file must be smaller than 10KB (a cheap guard that skips large files).
- 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.
Sample hashes
Hashes of samples the author lists in the rule's meta (look them up in your threat-intelligence platform).
- 32bf07e3740399105359b62d8a612dfa731b024e06c9104b71b496919b5efe9e
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: b1d5dae6-d92f-4a4a-ae90-528cdb3e9e4c
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