Skip to content

YARA · Signature Base (Florian Roth / Nextron)

SIGNATURE_BASE_MAL_Cisco_LINE_VIPER_AES_Enc_Tasking_Exfil

Detects LINE VIPER Cisco ASA malware code as part of AES encrypted tasking and exfiltration.

MalwareSignature Base (Florian Roth / Nextron)Detection Rule License 1.1Compiles with YARA-X
Author
NCSC
Date
2025-09-25
Modified
2026-05-15
Score / Quality
85 / 85

What this rule detects

Detects LINE VIPER Cisco ASA malware code as part of AES encrypted tasking and exfiltration.

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

Summary generated from the rule's metadata and condition.

Rule source

mal-cisco-line-viper-aes-enc-tasking-exfil.yarDetection Rule License 1.1
rule SIGNATURE_BASE_MAL_Cisco_LINE_VIPER_AES_Enc_Tasking_Exfil
{
	meta:
		description = "Detects LINE VIPER Cisco ASA malware code as part of AES encrypted tasking and exfiltration."
		author = "NCSC"
		id = "9f3d77a6-3e31-588c-a65d-f1f9d9bc84df"
		date = "2025-09-25"
		modified = "2026-05-15"
		reference = "https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/"
		source_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/apt_cisco_asa_lineviper_rayinitiator_sep25.yar#L156-L185"
		license_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
		logic_hash = "b6181701b512709c812f303a33e13115bb52f28be7095c086ef2a3b17f6ef4fd"
		score = 85
		quality = 85
		tags = ""

	strings:
		$ = {
         48 31 C0 48 89 45 D8 49 89 FC 49 89 F5 49 89 D6 48 8B
         47 08 48 89 45 B8 48 8D 40 40 48 89 45 E0 48 8D 70 E0 48 89 75 B0
         48 8D 78 F0 48 89 7D E8 BA 10 00 00 00
      }
		$ = {
         48 85 C0 0F 84 EA 00 00 00 48 89 45 A8 4C 89 EF 48 89
         C6 4C 89 F2 48 8B 4D A0 4C 8B 45 B0 4D 31 C9
      }
		$ = {
         48 85 C0 0F 84 82 00 00 00 49 89 C7 48 8B 7D E0 BE 00
         01 00 00 48 8B 55 A0
      }
		$ = {
         48 8B 7D D0 49 83 C7 10 49 C1 EF 04 49 C1 E7 04 4C 89
         FE 48 8D 55 D8
      }

	condition:
		3 of them
}

Strings (4 patterns)

IdentifierTypeValueModifiers
$hex{ 48 31 C0 48 89 45 D8 49 89 FC 49 89 F5 49 89 D6 48 8B 47 08 48 89 45 B8 48 8D 40 40 48 89 45 E0 48 8D 70 E0 48 89 75 B0 48 8D 78 F0 …
$hex{ 48 85 C0 0F 84 EA 00 00 00 48 89 45 A8 4C 89 EF 48 89 C6 4C 89 F2 48 8B 4D A0 4C 8B 45 B0 4D 31 C9 }
$hex{ 48 85 C0 0F 84 82 00 00 00 49 89 C7 48 8B 7D E0 BE 00 01 00 00 48 8B 55 A0 }
$hex{ 48 8B 7D D0 49 83 C7 10 49 C1 EF 04 49 C1 E7 04 4C 89 FE 48 8D 55 D8 }

Condition

3 of them

In plain words (Heuristic)

  • At least 3 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

Licence & attribution

Author: NCSC

Source repository: Signature Base (Florian Roth / Nextron) @ 94a1c48d7a

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: 9f3d77a6-3e31-588c-a65d-f1f9d9bc84df