← Back to SOC feed Coverage →

Detects RayInitiator GRUB bootkit stage 3 deploy phase code that copies LINE VIPER shellcode stub and marks executable.

yara CRITICAL signature-base
cisco_rayinitiatorflorian-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 rule detects a sophisticated GRUB bootkit attack where an adversary deploys the RayInitiator component to copy and mark the LINE VIPER shellcode stub as executable during the system’s stage 3 initialization phase. SOC teams should proactively hunt for this behavior in Azure Sentinel because early-stage bootkits operate below traditional OS-level security controls, making them critical to identify before they can establish persistent root access and evade standard endpoint detection mechanisms.

YARA Rule

rule MAL_Cisco_RayInitiator_Stage_3_LINE_VIPER_ShellCode {
   meta:
      author = "NCSC"
      description = "Detects RayInitiator GRUB bootkit stage 3 deploy phase code that copies LINE VIPER shellcode stub and marks executable."
      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
      id = "91545ed8-b798-5c0c-a229-e7d37ed7d271"
   strings:
      $xc1 = {
         48 89 FA 48 83 C7 40 4C 89 CE B9 D0 01 00 00 F3 A4 48
         89 D7 48 83 C7 40 48 89 3A 48 C1 EF 0C 48 C1 E7 0C BA
         07 00 00 00 48 C7 C6 00 20 00 00
      }
   condition:
      $xc1
}

Deployment Notes

This YARA rule can be deployed in the following contexts:

This rule contains 1 string patterns in its detection logic.

References

False Positive Guidance

Here are 4 specific false positive scenarios for the RayInitiator GRUB bootkit stage 3 deploy phase detection rule, including suggested filters or exclusions:

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