NitroPad with Ubuntu Linux

With the NitroPad, malicious changes to the BIOS, operating system, and software can be easily detected. For example, if you left your NitroPad in a hotel room, you can use your Nitrokey to check if it has been tampered with while you were away. If an attacker modifies the NitroPad’s firmware or operating system, the Nitrokey will detect this (instructions below).

Verification of Sealed Hardware

If you have ordered the unit with the option “sealed screws and sealed bag”, please verify the sealing before unpacking. If you do not know what this means, skip this section.

Secure Starting Procedure

With the NitroPad, malicious changes to the BIOS, operating system, and software can be easily detected. For example, if you left your NitroPad in a hotel room, you can use your Nitrokey to check if it has been tampered with while you were away. If an attacker modifies the NitroPad’s firmware or operating system, the Nitrokey will detect this (instructions below).

Each time you start the NitroPad, you should - if possible - connect your Nitrokey. If the Nitrokey is plugged in and the system has not been modified, the following screen will appear when the NitroPad is turned on.

img1

The box marked in red contains the information that the BIOS has not been changed and that the shared secret of the NitroPad and the Nitrokey match. But this information is not sufficient, because an attacker could have faked it. If at the same time the Nitrokey also flashes green, everything is fine. An attacker would have to have had access to the NitroPad and Nitrokey to achieve this result. It is therefore important that you do not leave both devices unattended.

If the information on the NitroPad does not match the information on the Nitrokey, the background would turn red and the message “Invalid Code” would appear. This could indicate that manipulation has taken place.

img2

How the boot process may look like if the system has been changed (for example after an update) and what error messages may otherwise occur is described further below.

Tip

The NitroPad can also be started without the Nitrokey. If you don’t have the Nitrokey with you, but are sure that the hardware has not been manipulated, you can boot your system without checking.

Workaround Ubuntu 24.04.

There is an (issue)that prevents Ubuntu to show the luks decryption screen if started with heads. Its there and you can type in your password blindly, after that Ubuntu starts normal. Follow these Steps:

  1. Heads starts. If nothing needs to be done, Ubuntu will start automatically

  2. After a while, you will see a black screen with white writing on the last lines:

Locking TPM2 platform hierarchy...
Starting the new kernel

These lines indicate that Ubuntu is starting.

  1. Wait 5 seconds and then enter your password (“12345678” if you are starting it for the first time) followed by Enter.

  2. Now you will see the normal Ubuntu screen. When you start for the first time, you must complete the initial configuration.

Getting Started

After purchase, the passwords are set to a default value and must be changed by you:

  1. Press Enter (“Default Boot”) after booting the system, provided the NitroPad has not shown any errors and the Nitrokey is lit green (see above).

  2. Next, the system will prompt you to enter the passphrase to decrypt the hard disk. The passphrase is initially “12345678”. This was changed on the 10.04.2024 so if “12345678” is not working try the old default: “PleaseChangeMe”

    img3
  3. The system will then guide you through the process of creating a user account. After that you should have successfully booted the system and could already use it normally.

  4. Open the pre-installed Nitrokey App and change the PINs of your Nitrokey. To learn more about how to change the PINs, please refer to chapter Change User and Admin PIN.

  5. Change the passphrase for disk encryption. To learn more about how to change the passphrase for disk encryption, please refer to chapter Change Disk Encryption Passphrase. This passphrase is different from your user acount’s passphrase.

Behavior After a System Update

The NitroPad firmware checks certain system files for changes. If your operating system has updated important components, you will be warned the next time you boot the NitroPad. This could look like this, for example:

img4

That’s why it’s important to restart your NitroPad under controlled conditions after a system update. Only when the new status has been confirmed can you leave the device unattended again. Otherwise, you will not be able to distinguish a possible attack from a system update. Detailed instructions for a system update can be found here.