← Back to SOC feed Coverage →

Detects RayInitiator GRUB bootkit stage 3 install phase code that searches for the 'client-cert-fail' string.

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 detection identifies the Stage 3 installation behavior of a RayInitiator GRUB bootkit specifically searching for the “client-cert-fail” string to establish persistence and potentially bypass certificate validation checks. SOC teams should proactively hunt for this signature in Azure Sentinel because early identification of this bootkit phase allows for immediate containment before the adversary fully embeds itself into the system’s boot process, thereby preventing deep-rooted compromise that is difficult to remediate post-infection.

YARA Rule

rule MAL_Cisco_RayInitiator_Stage_3 {
   meta:
      author = "NCSC"
      description = "Detects RayInitiator GRUB bootkit stage 3 install phase code that searches for the 'client-cert-fail' string."
      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 = "ea42c20b-7362-5d2d-9ce2-ad010f3f880d"
   strings:
      $xc1 = {
         48 81 EE 00 00 00 08 48 B8 63 6C 69 65 6E 74 2D 63 49
         B8 65 72 74 2D 66 61 69 6C 48 FF C6 48 39 D6 0F 87 D2
         00 00 00 48 8B 3E 48 39 C7
      }
   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 install phase detection rule, including targeted filters and exclusions:

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