← Back to SOC feed Coverage →

Detects RayInitiator GRUB bootkit stage 2 code that identifies the Linux kernel syscall table.

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 hunt detects the presence of a sophisticated GRUB bootkit in its second stage, specifically targeting adversaries that manipulate the Linux kernel’s system call table to establish persistent root-level access and evade traditional detection mechanisms. A SOC team should proactively hunt for this behavior within Azure Sentinel because identifying these early-stage modifications allows for immediate remediation before the adversary can fully embed itself into the operating system’s core execution flow.

YARA Rule

rule MAL_Cisco_RayInitiator_Stage_2 {
   meta:
      author = "NCSC"
      description = "Detects RayInitiator GRUB bootkit stage 2 code that identifies the Linux kernel syscall table."
      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 = "c49bdbe7-eba6-562c-8388-5e638887b405"
   strings:
      $xc1 = {
         49 89 E0 48 83 F8 30 0F 84 70 00 00 00 49 01 C0 49 8B
         10 48 83 C0 08 66 85 D2 75 E4 BF ?? ?? 60 00 48 8B 3C 17 48 BE 6E
         6D 69 5F 6D 61 78 5F
      }
   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 specific false positive scenarios for the “RayInitiator GRUB bootkit stage 2” detection rule, including suggested filters and exclusions:

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