YARA · Signature Base (Florian Roth / Nextron)
SIGNATURE_BASE_Line_Dancer
Targets code sections of Line Dancer, a shellcode loader targeting Cisco ASA devices.
- Author
- NCSC
- Date
- 2024-04-24
- Modified
- 2024-04-29
- Score / Quality
- 75 / 85
What this rule detects
Targets code sections of Line Dancer, a shellcode loader targeting Cisco ASA devices.
It defines 3 patterns (0 text, 3 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
line-dancer.yarDetection Rule License 1.1
rule SIGNATURE_BASE_Line_Dancer
{
meta:
= "Targets code sections of Line Dancer, a shellcode loader targeting Cisco ASA devices."
= "NCSC"
= "3b49a861-8107-577a-bae1-ae28d424cc13"
= "2024-04-24"
= "2024-04-29"
= "https://www.ncsc.gov.uk/static-assets/documents/malware-analysis-reports/line/ncsc-tip-line-dancer.pdf"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/apt_cisco_asa_line_dancer_apr24.yar#L2-L16"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
= "179e58274a792bc4a16787d251f5ad25de1271084323e62e153fa6d461e3c07e"
= 75
= 85
= ""
strings:
$ = { 48 8D 5E 20 48 8D 3D BB FF FF FF BA 20 00 00 00 }
$ = { 4C 89 EE 44 89 F2 48 8D 3D 9A 27 00 00 }
$ = { 41 FF D7 41 5F 41 5E 41 5D 41 5C 5B 5D 48 C7 C0 01 00 00 00 5F }
condition:
all of them
}
Strings (3 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $ | hex | { 48 8D 5E 20 48 8D 3D BB FF FF FF BA 20 00 00 00 } | |
| $ | hex | { 4C 89 EE 44 89 F2 48 8D 3D 9A 27 00 00 } | |
| $ | hex | { 41 FF D7 41 5F 41 5E 41 5D 41 5C 5B 5D 48 C7 C0 01 00 00 00 5F } |
Condition
all of themIn plain words (Heuristic)
- 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.
Licence & attribution
Author: NCSC
Source repository: Signature Base (Florian Roth / Nextron) @ 94a1c48d7a
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: 3b49a861-8107-577a-bae1-ae28d424cc13
Related rules
- MalwareSignature Base (Florian Roth / Nextron)· NCSC· 2024-10-22
- MalwareSignature Base (Florian Roth / Nextron)· NCSC· 2025-09-25
- MalwareSignature Base (Florian Roth / Nextron)· NCSC· 2025-09-25
- MalwareSignature Base (Florian Roth / Nextron)· NCSC· 2025-09-25
- MalwareSignature Base (Florian Roth / Nextron)· NCSC· 2025-09-25
- MalwareSignature Base (Florian Roth / Nextron)· NCSC· 2025-09-25
- MalwareSignature Base (Florian Roth / Nextron)· NCSC· 2025-09-25
- MalwareSignature Base (Florian Roth / Nextron)· NCSC· 2025-09-25