← Back to SOC feed Coverage →

Detects LINE VIPER Cisco ASA malware code as part of RSA encrypted random AES key generation.

yara CRITICAL signature-base
backdoorcisco_lineflorian-roth
This rule was pulled from an open-source repository and enriched with AI. Validate in a test environment before deploying to production.
View original rule at signature-base →
Retrieved: 2026-08-02T11:00:00Z · Confidence: medium

Hunt Hypothesis

This hunt hypothesis targets adversaries executing stealthy cryptographic operations by embedding LINE VIPER Cisco ASA malware signatures within RSA-encrypted AES key generation processes to evade standard detection. A SOC team should proactively investigate this activity in Azure Sentinel because the critical severity indicates a sophisticated attack vector that could compromise secure communication channels and data integrity if left unaddressed.

YARA Rule

rule MAL_Cisco_LINE_VIPER_RSA_Enc_Random_AES_Key_Gen {
   meta:
      author = "NCSC"
      description = "Detects LINE VIPER Cisco ASA malware code as part of RSA encrypted random AES key generation."
      date = "2025-09-25"
      reference = "https://www.ncsc.gov.uk/static-assets/documents/malware-analysis-reports/RayInitiator-LINE-VIPER/ncsc-mar-rayinitiator-line-viper.pdf"
      score = 85
      license = "https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/"
      id = "ef37a3cf-aab8-513b-b859-7f7704fce622"
   strings:
      $xc1 = {
         48 31 C0 49 89 06 49 89 46 08 49 83 C6 10 49 83 ED 10
         4D 85 ED 75 D8 BF 30 00 00 00
      }
      $xc2 = {
         0F 85 57 01 00 00 49 8B 44 24 08 48 83 F8 2F 7C 33 41
         BD F0 02 00 00 4D 8D 74 24 10 49 8B 3E
      }
      $xc3 = {
         85 C0 0F 8E EE 00 00 00 41 BD F0 02 00 00 4D 8D 7C 24
         10 49 8B 3F 48 85 FF 74 0D 49 83 C7 10 49 83 ED 10 4D 85 ED 75 EB
         4D 89 37 BF 70 00 00 00
      }
      $xc4 = {
         48 85 C0 0F 84 3F 00 00 00 48 89 45 B0 BF 80 00 00 00
         4C 89 EE 48 89 C2 48 8B 4D A8 41 B8 01 00 00 00
      }
   condition:
      1 of them
}

Deployment Notes

This YARA rule can be deployed in the following contexts:

This rule contains 4 string patterns in its detection logic.

References

False Positive Guidance

Here are 4 specific false positive scenarios for the detection rule “Detects LINE VIPER Cisco ASA malware code as part of RSA encrypted random AES key generation,” along with suggested filters and exclusions:

Original source: https://github.com/Neo23x0/signature-base/blob/main/yara/apt_cisco_asa_lineviper_rayinitiator_sep25.yar