EYE on NPI: STSAFE chip collection from ST episode artwork

EPISODE · Apr 16, 2020 · 6 MIN

EYE on NPI: STSAFE chip collection from ST

from Adafruit Industries · host Adafruit Industries

This week's EYE ON NPI takes a closer look at security! The STSAFE chip collection from ST (https://www.digikey.com/product-detail/en/stmicroelectronics/X-NUCLEO-SAFEA1A/497-X-NUCLEO-SAFEA1A-ND/11568322) is a super easy and inexpensive way to add hardened security to your project - giving you a lot of flexibility when deciding on core chipsets. Why is a separate chip important? Microcontrollers often store their code in flash memory, so even if you hard-code authentication keys in flash or EEPROM, it can be read out by dumping the firmware. Yes, even if you have a chip that has firmware-readback turned off, it’s possible to trick chips into revealing their secrets! As hackers ourselves, we've seen novel and effective techniques for unlocking microcontroller firmware that would normally be in State-actor's toolkits available at hobbyist costs. Techniques like epoxy-removal and pinpoint UV erasing, power glitching, bootloader buffer overflows, key brute-force guessing, decompilation, power-usage instruction tracking can be used to disable or circumvent firmware protection fuses. In addition, many products are now embedded Linux computers running a plain filesystem with executables that cannot be secured. So, given that your microcontroller memory should not be considered a secure storage, you may want to consider using a secure element chip. These chips are designed to withstand many attacks and can be programmed with the private key at your factory. Then, the secrets never leave the secure chip. Instead of having a private key sit in microcontroller memory where it could be read out, data that needs to be authenticated or encrypted is sent back and forth through I2C. It’s a little extra BoM cost but is a nice way to keep the secrets in a lock-box. We've seen these chips used for a variety of purposes - TLS handshake speed-up, firmware verification, device authentication, message signing and authentication, and of course secure-channel establishment. We teamed up with Digi-Key to make a video series to cover IoT security - best practices and techniques - which also covers secure chips so if you want a deep dive into IoT security check out this guide and video! (https://learn.adafruit.com/all-the-internet-of-things-episode-five-the-s-in-iot-is-for-security) When sourcing a security chip, you want a trustworthy supplier who takes security seriously - the chips are not expensive, but you want to make sure the supply chain is accounted for. ST is a well known semiconductor company that we'd recommend and trust for any of our uses! The STSAFE-A100 is a highly secure solution that acts as a secure element providing authentication and data management services to a local or remote host. It consists of a full turnkey solution with a secure operating system running on the latest generation of secure microcontrollers. The STSAFE-A100 can be integrated in IoT (Internet of things) devices, smart-home, smart-city and industrial applications, consumer electronics devices, consumables and accessories. If you want to get started with the STSAFE, you can pick up this handy board, it is Arduino-header compatible. You can plug it into an ST Nucleo dev board. In particular, the STM32L476RG is used for the X-CUBE example firmware so we recommend picking up a NUCLEO-L476RG as well (https://www.digikey.com/products/en/development-boards-kits-programmers/evaluation-boards-embedded-mcu-dsp/786?k=STM32L476RG). The ST dev boards are really affordable and come with a built-in debug/programming chipset for quick setup. Development is done in ST's IDE setup, if you've never used it before, please check out Shawn Hymel's excellent video series that takes you step by step through setting up to use STM32Cube IDE (https://www.digikey.com/en/maker/videos/shawn-hymel/getting-started-with-stm32-and-nucleo-part-1-introduction-to-stm32cubeide-and-blinky) video - https://www.youtube.com/watch?v=18hou01YIiw video 2 - https://www.youtube.com/watch?v=wIdtqPB3rE4 Visit the Adafruit shop online - http://www.adafruit.com ----------------------------------------- LIVE CHAT IS HERE! http://adafru.it/discord Adafruit on Instagram: https://www.instagram.com/adafruit Subscribe to Adafruit on YouTube: http://adafru.it/subscribe New tutorials on the Adafruit Learning System: http://learn.adafruit.com/ -----------------------------------------

This week's EYE ON NPI takes a closer look at security! The STSAFE chip collection from ST (https://www.digikey.com/product-detail/en/stmicroelectronics/X-NUCLEO-SAFEA1A/497-X-NUCLEO-SAFEA1A-ND/11568322) is a super easy and inexpensive way to add hardened security to your project - giving you a lot of flexibility when deciding on core chipsets. Why is a separate chip important? Microcontrollers often store their code in flash memory, so even if you hard-code authentication keys in flash or EEPROM, it can be read out by dumping the firmware. Yes, even if you have a chip that has firmware-readback turned off, it’s possible to trick chips into revealing their secrets! As hackers ourselves, we've seen novel and effective techniques for unlocking microcontroller firmware that would normally be in State-actor's toolkits available at hobbyist costs. Techniques like epoxy-removal and pinpoint UV erasing, power glitching, bootloader buffer overflows, key brute-force guessing, decompilation, power-usage instruction tracking can be used to disable or circumvent firmware protection fuses. In addition, many products are now embedded Linux computers running a plain filesystem with executables that cannot be secured. So, given that your microcontroller memory should not be considered a secure storage, you may want to consider using a secure element chip. These chips are designed to withstand many attacks and can be programmed with the private key at your factory. Then, the secrets never leave the secure chip. Instead of having a private key sit in microcontroller memory where it could be read out, data that needs to be authenticated or encrypted is sent back and forth through I2C. It’s a little extra BoM cost but is a nice way to keep the secrets in a lock-box. We've seen these chips used for a variety of purposes - TLS handshake speed-up, firmware verification, device authentication, message signing and authentication, and of course secure-channel establishment. We teamed up with Digi-Key to make a video series to cover IoT security - best practices and techniques - which also covers secure chips so if you want a deep dive into IoT security check out this guide and video! (https://learn.adafruit.com/all-the-internet-of-things-episode-five-the-s-in-iot-is-for-security) When sourcing a security chip, you want a trustworthy supplier who takes security seriously - the chips are not expensive, but you want to make sure the supply chain is accounted for. ST is a well known semiconductor company that we'd recommend and trust for any of our uses! The STSAFE-A100 is a highly secure solution that acts as a secure element providing authentication and data management services to a local or remote host. It consists of a full turnkey solution with a secure operating system running on the latest generation of secure microcontrollers. The STSAFE-A100 can be integrated in IoT (Internet of things) devices, smart-home, smart-city and industrial applications, consumer electronics devices, consumables and accessories. If you want to get started with the STSAFE, you can pick up this handy board, it is Arduino-header compatible. You can plug it into an ST Nucleo dev board. In particular, the STM32L476RG is used for the X-CUBE example firmware so we recommend picking up a NUCLEO-L476RG as well (https://www.digikey.com/products/en/development-boards-kits-programmers/evaluation-boards-embedded-mcu-dsp/786?k=STM32L476RG). The ST dev boards are really affordable and come with a built-in debug/programming chipset for quick setup. Development is done in ST's IDE setup, if you've never used it before, please check out Shawn Hymel's excellent video series that takes you step by step through setting up to use STM32Cube IDE (https://www.digikey.com/en/maker/videos/shawn-hymel/getting-started-with-stm32-and-nucleo-part-1-introduction-to-stm32cubeide-and-blinky) video - https://www.youtube.com/watch?v=18hou01YIiw video 2 - https://www.youtube.com/watch?v=wIdtqPB3rE4 Visit the Adafruit shop online - http://www.adafruit.com ----------------------------------------- LIVE CHAT IS HERE! http://adafru.it/discord Adafruit on Instagram: https://www.instagram.com/adafruit Subscribe to Adafruit on YouTube: http://adafru.it/subscribe New tutorials on the Adafruit Learning System: http://learn.adafruit.com/ -----------------------------------------

NOW PLAYING

EYE on NPI: STSAFE chip collection from ST

0:00 6:11

No transcript for this episode yet

We transcribe on demand. Request one and we'll notify you when it's ready — usually under 10 minutes.

API Intersection Stoplight Building a successful API requires more than just coding. It starts with collaborative design, focuses on creating a great developer experience, and ends with getting your company on board, maintaining consistency, and maximizing your API’s profitability.In the API Intersection, you’ll learn from experienced API practitioners who transformed their organizations, and get tangible advice to build quality APIs with collaborative API-first design.Jason Harmon brings over a decade of industry-recognized REST API experience to discuss topics around API design, governance, identity/auth versioning, and more.They’ll answer listener questions, and discuss best practices on API design (definition, modeling, grammar), Governance (multi-team design, reviewing new API’s), Platform Transformation (culture, internal education, versioning) and more.They’ll also chat with experienced API practitioners from a wide array of industries to draw out practical takeaways and insights you can use.H TV Podcast Industries Chris Jones, Derek O'Neill and John Harrison. TV Podcast Industries TV Podcast Industries is a podcast that provides discussions and reviews of various TV shows, including recent popular series like Alien Earth, The Sandman, The Last of Us, The Boys, and Daredevil Born Again. They also cover shows such as Ironheart, Star Trek: Picard, The Rings of Power, and many more, spanning both Marvel and DC universes, as well as other genres. Heart to Heart Podcast One on One / Next Level Studios In the Heart to Heart Podcast, we talk to some of our favorite & most interesting people in the entertainment industry so you can feel empowered and learn that even in the most challenging of industries, where there’s a will there’s a way.Whether you’re an actor, a writer, a casting director, a talent rep, or just someone interested in the behind the scene happenings of the entertainment industry, this podcast will have something for you. NOW, this isn’t just another How To podcast for actors. Plenty of those shows already exist. In Heart to Heart, every guest will share stories inspired by their sometimes winding path to success on their own terms. Revisionist History Pushkin Industries Revisionist History is Malcolm Gladwell's journey through the overlooked and the misunderstood. Every episode re-examines something from the past—an event, a person, an idea, even a song—and asks whether we got it right the first time. From Pushkin Industries. Because sometimes the past deserves a second chance.To get early access to ad-free episodes and extra content, subscribe to Pushkin+ in Apple Podcasts or at pushkin.fm/plus.iHeartMedia is the exclusive podcast partner of Pushkin Industries.

Frequently Asked Questions

How long is this episode of Adafruit Industries?

This episode is 6 minutes long.

When was this Adafruit Industries episode published?

This episode was published on April 16, 2020.

What is this episode about?

This week's EYE ON NPI takes a closer look at security! The STSAFE chip collection from ST (https://www.digikey.com/product-detail/en/stmicroelectronics/X-NUCLEO-SAFEA1A/497-X-NUCLEO-SAFEA1A-ND/11568322) is a super easy and inexpensive way to add...

Can I download this Adafruit Industries episode?

Yes, you can download this episode by clicking the download button on the episode player, or subscribe to the podcast in your preferred podcast app for automatic downloads.
URL copied to clipboard!