U-Boot: protect sensitive environment variables

This is a follow-up from our Accessing the U-Boot environment from a C program blog post. 🌳Need to protect the environment When you’re trying to harden an embedded Linux device to make it more resistant to attacks, one key part to secure is the bootloader, because that’s the part that boots the operating system. Even you implement a secure boot chain, if an attacker manages to interrupt the boot process and get access to the bootloader shell, this attacker would be able to load and run her/his own payload on the device. ...

April 15, 2026 Â· Michael Opdenacker

Accessing the U-Boot environment from a C program

Need to modify the U-Boot environment from Linux A/B update and recovery workflow implemented for a Root Commit customerThere are multiple reasons for wanting to modify U-Boot variables from Linux, one of them being to implement A/B update mechanisms. Typically, after you’ve flashed a device with a new version, you’ll set the upgrade_available U-Boot variable to 1, reboot, and let U-Boot try to boot the new version. ...

April 8, 2026 Â· Michael Opdenacker

Yocto security: Kernel Hardening

This is another blog post about securing your Yocto built systems: Securing Yocto Built Systems overview presentation slides Yocto Security: Production and Development Images Yocto security: Kernel Hardening Introduction The Linux kernel is the cornerstone and stronghold of a Linux based system. Unlike user-space applications which run with limited privileges, if it’s compromised, there is almost no limit to what an attacker can do. While nothing is unbreakable, there are two types of settings you can change to make your kernel harder to compromise: ...

October 7, 2025 Â· Michael Opdenacker

Digital hygiene: use USB tethering to connect your laptop

When you are on the go, have you thought about connecting your GNU/Linux PC to the Internet through a USB connection to your phone? Using open networks is definitely not recommended. Your connection is not encrypted and others could intercept it. If you have no other choice, connecting to the Internet through a Virtual Private Network (VPN) is strongly recommended. Even using an untrusted WiFi network protected by a password (like in a hotel or in a commercial building) is not fully secure. If the password is shared, other guests could intercept your connection and try to attack your PC. Here, a VPN is recommended too. Using your phone as a WiFi hotspot is a little better if you use a strong password and use “WPA3-Personal” security. However, if attackers know your password (typically through infected phones from friends or family members who used your WiFi hotspot), your connection and PC will be vulnerable too. A better and safer solution is USB tethering. Your PC uses the Internet connection of your phone through a USB data cable. This is much better in terms of security (nothing leaked through radio waves) and even keeps your phone charged! ...

September 14, 2025 Â· Michael Opdenacker

Yocto Security: Production and Development Images

This blog post is part of a series about securing your Yocto built systems: Securing Yocto Built Systems overview presentation slides Yocto Security: Production and Development Images ⬅️ Yocto security: Kernel Hardening What to avoid So, you use Yocto to build an image for your embedded device. You tweak the image and distribution settings to get the features you need, and other developers use the SDK built by Yocto to create and build the User Interface and other applications. ...

September 4, 2025 Â· Michael Opdenacker

“Securing Yocto Built Systems” presentation slides

Last week, I gave a “Making Yocto Built Images More Secure” presentation at the Embedded Linux Conference in Amsterdam. The main goal was to share the research I’ve done so far for a customer project, and gather feedback from the audience. ...

September 3, 2025 Â· Michael Opdenacker

Google-stored passwords insufficiently protected

Have you checked the passwords.google.com page? If you have a Google account, it’s the passwords that you’ve supposedly allowed Google to remember for you. In my case, I have a very limited list, and it’s so old that I don’t even remember letting Google remember them. I most probably accepted this on an Android phone, hoping that the system would store them in a secure way. However, these are still valid passwords that are poorly protected: ...

March 11, 2025 Â· Michael Opdenacker

Digital Hygiene presentation

Here’s a presentation I prepared for high school students in my area, but which actually targets any computer and smartphone user. Here are the main topics: Get familiar with the biggest threats. Also learn about less frequent but also more advanced threats. Protect your personal information and that of your contacts. Protect your computer, your smartphone and the data they contain. Improve your daily practice and the durability of your data. The presentation is available in English and in French. ...

September 10, 2024 Â· Michael Opdenacker