Dasharo Security: ME neuter/disable
Test cases common documentation
Test setup
- Proceed with the Generic test setup: firmware.
- Proceed with the Generic test setup: OS installer.
- Proceed with the Generic test setup: OS installation.
- Proceed with the Generic test setup: OS boot from disk.
MNE001.001 Check Intel ME version (Ubuntu)
Test description
This test aims to verify that the Intel ME version
might be read on the
Operating System level. The read version should be the same as in the release
notes.
Test configuration data
FIRMWARE
= DasharoOPERATING_SYSTEM
= Ubuntu
Test setup
- Proceed with the Test cases common documentation section.
Test steps
- Power on the DUT.
- Boot into the system.
- Log into the system by using the proper login and password.
-
Open a terminal window and run the following command:
cat /sys/class/mei/mei0/fw_ver
-
Note the results.
Expected result
The output of the command should contain information about the Management Engine Interface firmware version.
Example output:
0:16.0.15.1735
0:16.0.15.1735
0:16.0.15.1723
Value from the first line, considering the numbers after the colon, should correspond to the value from the release notes
MNE002.001 Intel ME mode option is available and has the correct default state
Test description
This test aims to verify that the Intel ME mode
state after flashing the
platform with the Dasharo firmware is correct.
Test configuration data
FIRMWARE
= Dasharo
Test setup
- Proceed with the Test cases common documentation section.
Test steps
- Power on the DUT.
- While the DUT is booting, hold the
BIOS_SETUP_KEY
to enter the UEFI Setup Menu. - Enter the
Dasharo System Features
menu using the arrow keys and Enter. - Enter the
Intel Management Engine Options
submenu. - Verify the
Intel ME mode
field.
Expected result
The Intel ME mode
field should inform that the current state is Enabled
.
MNE003.001 Intel ME mode option Enabled works correctly (Ubuntu)
Test description
This test aims to verify that Intel ME mode
option in state Enabled works
correctly.
Test configuration data
FIRMWARE
= DasharoOPERATING_SYSTEM
= Ubuntu
Test setup
- Proceed with the Test cases common documentation section.
Test steps
- Power on the DUT.
- While the DUT is booting, hold the
BIOS_SETUP_KEY
to enter the UEFI Setup Menu. - Enter the
Dasharo System Features
menu using the arrow keys and Enter. - Enter the
Intel Management Engine Options
submenu. - Verify that the
Intel ME mode
option is stateEnabled
- if not, using the arrow keys andEnter
, choose optionEnabled
. - Press
F10
to save the changes. - If necessary - press
Y
to confirm saving the changes. - Go back to the main menu using the
ESC
key. - Select the
Reset
option to apply the settings and reboot. - Boot into the system.
- Log into the system by using the proper login and password.
-
Open a terminal window and run the following command:
lspci | grep 00:16.0
-
Note the results.
Expected result
The output of the command should contain the information about Management Engine Interface.
Example output:
Intel Corporation Comet Lake Management Engine Interface
MNE004.001 Intel ME mode option Disable (Soft) works correctly (Ubuntu)
Test description
This test aims to verify that Intel ME mode
option in state Disable (Soft)
works correctly.
Test configuration data
FIRMWARE
= DasharoOPERATING_SYSTEM
= Ubuntu
Test setup
- Proceed with the Test cases common documentation section.
Test steps
- Power on the DUT.
- While the DUT is booting, hold the
BIOS_SETUP_KEY
to enter the UEFI Setup Menu. - Enter the
Dasharo System Features
menu using the arrow keys and Enter. - Enter the
Intel Management Engine Options
submenu. - Verify that the
Intel ME mode
option is stateDisable (Soft)
- if not, using the arrow keys andEnter
, choose optionDisable (Soft)
. - Press
F10
to save the changes. - If necessary - press
Y
to confirm saving the changes. - Go back to the main menu using the
ESC
key. - Select the
Reset
option to apply the settings and reboot. - Boot into the system.
- Log into the system by using the proper login and password.
-
Open a terminal window and run the following command:
lspci | grep 00:16.0
-
Note the results.
Expected result
The output of the command shouldn't contain the information about Management Engine Interface.
Example of unwanted output:
Intel Corporation Comet Lake Management Engine Interface
MNE005.001 Intel ME mode option Disable (HAP) works correctly (Ubuntu)
Test description
This test aims to verify that Intel ME mode
option in state Disable (HAP)
works correctly.
Test configuration data
FIRMWARE
= DasharoOPERATING_SYSTEM
= Ubuntu
Test setup
- Proceed with the Test cases common documentation section.
Test steps
- Power on the DUT.
- While the DUT is booting, hold the
BIOS_SETUP_KEY
to enter the UEFI Setup Menu. - Enter the
Dasharo System Features
menu using the arrow keys and Enter. - Enter the
Intel Management Engine Options
submenu. - Verify that the
Intel ME mode
option is stateDisable (HAP)
- if not, using the arrow keys andEnter
, choose optionDisable (HAP)
. - Press
F10
to save the changes. - If necessary - press
Y
to confirm saving the changes. - Go back to the main menu using the
ESC
key. - Select the
Reset
option to apply the settings and reboot. - Boot into the system.
- Log into the system by using the proper login and password.
-
Open a terminal window and run the following command:
lspci | grep 00:16.0
-
Note the results.
Expected result
The output of the command shouldn't contain the information about Management Engine Interface.
Example of unwanted output:
Intel Corporation Comet Lake Management Engine Interface
MNE006.001 PCI Express 5.0 port is functional when ME disabled (Ubuntu)
Test description
This test aims to verify that Intel ME mode
option in state Disable (HAP) or
Disable (Soft) does not break the PCIe 5.0 port functionality and the caching
of PCIe 5.0 firmware by Dasharo works.
Test configuration data
FIRMWARE
= DasharoOPERATING_SYSTEM
= Ubuntu- DUT (Alder Lake or newer) with PCIe 5.0 port and a PCIe device plugged to the port.
Test setup
- Proceed with the Test cases common documentation section.
- Download
cbmem
from the cloud to the DUT. - Disable Secure Boot.
Test steps
- Power on the DUT.
- While the DUT is booting, hold the
BIOS_SETUP_KEY
to enter the UEFI Setup Menu. - Enter the
Dasharo System Features
menu using the arrow keys and Enter. - Enter the
Intel Management Engine Options
submenu. - Verify that the
Intel ME mode
option is in stateDisable (HAP)
orDisable (Soft)
- if not, using the arrow keys andEnter
, choose optionDisable (HAP)
orDisable (Soft)
. - Press
F10
to save the changes. - If necessary - press
Y
to confirm saving the changes. - Go back to the main menu using the
ESC
key. - Select the
Reset
option to apply the settings and reboot. - Boot into the system.
- Log into the system by using the proper login and password.
-
Open a terminal window and run the following command:
sudo cbmem -1 > cbmem.log lspci lspci -t
-
Note the results. Repeat all steps to cover both disable methods.
Expected result
The output of the command should contain the information about PCI Express 5.0 interface located at PCI 00:01.0. Also the device plugged to the PCI port 00:01.0 should be visible and functional.
Example of desired output:
lspci -t
-[0000:00]-+-00.0
+-01.0-[01]--+-00.0
| \-00.1
+-02.0
+-06.0-[02]----00.0
+-14.0
+-14.2
+-17.0
+-1a.0-[03]----00.0
+-1c.0-[04]--
+-1c.2-[05]----00.0
+-1c.4-[06-08]----00.0-[07-08]----00.0-[08]--+-00.0
| \-00.1
+-1d.0-[09]----00.0
+-1f.0
+-1f.3
+-1f.4
\-1f.5
lspci
00:00.0 Host bridge: Intel Corporation Device 4648 (rev 02)
00:01.0 PCI bridge: Intel Corporation 12th Gen Core Processor PCI Express x16 Controller #1 (rev 02)
00:02.0 Display controller: Intel Corporation AlderLake-S GT1 (rev 0c)
00:06.0 PCI bridge: Intel Corporation 12th Gen Core Processor PCI Express x4 Controller #0 (rev 02)
00:14.0 USB controller: Intel Corporation Device 7ae0 (rev 11)
00:14.2 RAM memory: Intel Corporation Device 7aa7 (rev 11)
00:17.0 SATA controller: Intel Corporation Device 7ae2 (rev 11)
00:1a.0 PCI bridge: Intel Corporation Device 7ac8 (rev 11)
00:1c.0 PCI bridge: Intel Corporation Device 7ab8 (rev 11)
00:1c.2 PCI bridge: Intel Corporation Device 7aba (rev 11)
00:1c.4 PCI bridge: Intel Corporation Device 7abc (rev 11)
00:1d.0 PCI bridge: Intel Corporation Device 7ab0 (rev 11)
00:1f.0 ISA bridge: Intel Corporation Device 7a84 (rev 11)
00:1f.3 Audio device: Intel Corporation Device 7ad0 (rev 11)
00:1f.4 SMBus: Intel Corporation Device 7aa3 (rev 11)
00:1f.5 Serial bus controller: Intel Corporation Device 7aa4 (rev 11)
01:00.0 VGA compatible controller: NVIDIA Corporation GA106 [GeForce RTX 3060 Lite Hash Rate] (rev a1)
01:00.1 Audio device: NVIDIA Corporation Device 228e (rev a1)
02:00.0 Non-Volatile memory controller: Intel Corporation Device f1aa (rev 03)
03:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller PM9A1/PM9A3/980PRO
05:00.0 Ethernet controller: Intel Corporation Ethernet Controller I225-V (rev 03)
06:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 XL Upstream Port of PCI Express Switch (rev c1)
07:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 XL Downstream Port of PCI Express Switch
08:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Device 743f (rev c1)
08:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Navi 21 HDMI Audio [Radeon RX 6800/6800 XT / 6900 XT]
09:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller PM9A1/PM9A3/980PRO
The device that must be visible and working:
00:01.0 PCI bridge: Intel Corporation 12th Gen Core Processor PCI Express x16 Controller #1 (rev 02)
The device behind the port must also be visible, in this example it is:
01:00.0 VGA compatible controller: NVIDIA Corporation GA106 [GeForce RTX 3060 Lite Hash Rate] (rev a1)
01:00.1 Audio device: NVIDIA Corporation Device 228e (rev a1)
To verify the PCIe 5.0 firmware caching is working, check the cbmem.log
for
the following string:
[INFO ] Loading HSPHY firmware from cache
If there are no errors printed nearby concerning the HSPHY, test pass.