Lune

CCS2026Top-tier venue

'We just went with what seemed the best supported': Lessons on Cryptographic Practices in Securing Microcontrollers from Embedded CTFs

Zheyuan Ma, Xi Tan, Gaoxiang Liu, Alex Eastman, Md Armanuzzaman, Ziming Zhao

Abstract

Microcontroller-based embedded systems support safety- and security-critical applications yet provide insufficient resources for modern cryptography. While numerous lightweight primitives and libraries have been proposed, little is known about how practitioners select and deploy them. We bridge this gap with a mixed-methods study of the 2023 and 2024 MITRE Embedded Capture-the-Flag (eCTF) competitions. We review 47 working firmware submissions and hold 22 semi-structured interviews with team members. Our analysis reveals two classes of findings. 1) General lessons echo broader usability and human-factors challenges observed in other domains: Developers favor speed and integration convenience over stronger security guarantees, and unclear documentation poses greater barriers to implementing cryptographic functionality than raw resource limits. 2) Embedded-specific lessons highlight unique challenges in resource-constrained environments: Side-channel hardening receives disproportionate attention compared to protecting data at rest, platform heterogeneity complicates portable privacy-preserving implementations, and limited debugging and verification support make it difficult to validate security properties at runtime. We group these findings into implementation practices, participant insights, and practical challenges while giving concrete advice for researchers, educators, device vendors, and the open-source community. Our results show how cryptography is applied in today's security-oriented embedded projects and outline near-term steps to make these systems safer and easier to build.

Ask Lune

Know where this paper stands in minutes, not an afternoon.

Lune can read the top-tier papers that cite it and the ones closest to it, and tells you what it claims, what came after and where it falls short, each point cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

its abstract · related work

Get the answer

Free to start. No credit card required.

Related papers

  1. 'We just did not have that on the embedded system': Insights and Challenges for Securing Microcontroller Systems from the Embedded CTF CompetitionsZheyuan Ma, Gaoxiang Liu, Alex Eastman, Kai Kaufman et al.CCS 2025
  2. "They're not that hard to mitigate": What Cryptographic Library Developers Think About Timing AttacksJan Jancar, Marcel Fourné, Daniel De Almeida Braga, Mohamed Sabt et al.S&P 2022 · 61 citations
  3. "These results must be false": A usability evaluation of constant-time analysis toolsMarcel Fourné, Daniel De Almeida Braga, Jan Jancar, Mohamed Sabt et al.USENIX Security 2024 · 15 citations
  4. "I'm Pretty Expert and I Still Screw It Up": Qualitative Insights into Experiences and Challenges of Designing and Implementing Cryptographic Library APIsJuliane Schmüser, Philip Klostermeyer, Kay Friedrich, Sascha FahlS&P 2025
  5. Low-Cost Privilege Separation with Compile Time Compartmentalization for Embedded SystemsArslan Khan, Dongyan Xu, Dave Jing TianS&P 2023
Dusk over the sea between two cliffs drawn in fine vertical lines