IMPORTANT ANNOUNCEMENT: On May 6, 2024, Carbon Black User eXchange (UeX) and Case Management will move to a new platform!
The Community will be in read-only mode starting April 19th, 7:00 AM PDT. Check out the blog post!
You will still be able to use the case portal to create and interact with your support cases until the transition, view more information here!

Carbon Black Cloud: Linux Sensor Stuck in Bypass mode when Secure Boot enabled

Carbon Black Cloud: Linux Sensor Stuck in Bypass mode when Secure Boot enabled

Environment

  • Carbon Black Cloud Sensor: All Supported Versions
  • Linux OS: All Supported Versions for when the Kernel Version is below 4.8

Symptoms

  • Linux sensor stuck in Bypass mode
  • Linux sensor kernel module is not loading
  • SecureBoot is shown as enabled by running:
    # mokutil --sb-state
    SecureBoot enabled
  • Or by running:
    # bootctl status
    System:
       Machine ID: d26f378df4214075858c2bd2e0ffb141
          Boot ID: 1dc5840315bd4954b97ed888e6c52a1a
      Secure Boot: enabled
       Setup Mode: user
    
    Selected Firmware Entry:
            Title: CentOS
        Partition: /dev/disk/by-partuuid/0c4c5e6a-deaf-4e55-8ed1-d6e16cb5f8f5
             File: └─/EFI/centos/shimx64.efi
    
    No suitable data is provided by the boot manager. See:
      http://www.freedesktop.org/wiki/Software/systemd/BootLoaderInterface
      http://www.freedesktop.org/wiki/Specifications/BootLoaderSpec
    for details
  • This directory is empty
    
    # ls -l /sys/firmware/efi/
    total 0

Cause

Linux sensor kernel module is not loading because secure boot is enabled, which is not a supported system configuration currently.

Resolution

  1. Sign kernel module
  2. Disable secure boot

Additional Notes

Another way to check secure boot:
# dmesg | grep -i secure
[    0.000000] Secure boot enabled
[    1.219154] EFI: Loaded cert 'CentOS Secure Boot (key 1): f037c6eaec36d4057a526c0ec6d5a95b324ee129' linked to '.system_keyring'

 

Related Content


Was this article helpful? Yes No
100% helpful (1/1)
Article Information
Author:
Creation Date:
‎10-03-2021
Views:
2007
Contributors