More The Secure Disclosure episodes

Your Microphone Became a Keylogger w/ David vonThenen thumbnail

Your Microphone Became a Keylogger w/ David vonThenen

Published 16 Jun 2026

Duration: 00:26:24

Machine learning analyzes keystroke acoustic signatures to infer typed characters over remote platforms, highlighting high accuracy with known keyboards, privacy risks from surveillance, and challenges in noise and variability, while proposing defenses and noting AI's dual-use implications.

Episode Description

In this episode of The Secure Disclosure, we sit down in Copenhagen with David vonThenen, a keynote speaker and machine learning expert conducting gro...

Overview

The podcast explores the use of machine learning to classify keystrokes based on acoustic signatures captured by microphones, enabling the inference of typed characters from keyboard sounds. Research highlights the ability to achieve up to 100% accuracy in identifying keystrokes on a known keyboard, demonstrated through tests on platforms like Zoom. Two primary training methods are discussed: models trained on a single, known keyboard to recognize specific acoustic patterns, and models trained across multiple keyboards to generalize unique mechanical and wear-related signatures. Factors like key wear, pressure variation, and mechanical differences between keyboards influence the accuracy of these models, though performance declines with unseen keyboards. The analysis also details technical processes, such as converting audio data into spectrogram images and using PyTorch with transformer-based neural networks to detect subtle keystroke patterns.

The implications of this technology focus on privacy risks, including covert surveillance in environments like video calls, corporate spaces, or public terminals. Potential misuse spans corporate espionage, targeted attacks on standardized keyboards (e.g., ATMs), and remote monitoring without physical access to devices. Challenges include environmental noise and variability in typing behavior, though the research emphasizes keyboard-specific signatures as a core factor. Defensive strategies are proposed, such as two-factor authentication, introducing ambient noise, and public research to foster collective solutions. Additionally, the discussion extends to broader AI applications, contrasting large language models with task-specific models, and addressing ethical concerns about AI's dual role in enabling and countering surveillance. Historical parallels, such as mid-20th-century vibration-based eavesdropping, are drawn to contextualize modern risks.

What If

  • What if you trained a machine learning model to detect unauthorized keystroke activity on your own devices using acoustic signatures?

    • Move: Collect audio data from your own keyboards during normal use, create a baseline model to identify patterns, and deploy it as a lightweight background service to flag anomalies.
    • Why Now? Remote work and cloud-based collaboration increase the risk of covert surveillance; detecting unauthorized access early can protect sensitive projects.
    • Expected Upside: Proactive security layer that alerts you to potential breaches (e.g., unauthorized users or malware) using minimal resources.
  • What if you designed a keyboard-specific acoustic classifier to identify and block access to unknown devices in shared workspaces?

    • Move: Build a model that recognizes the acoustic profiles of authorized keyboards and triggers alerts or lockouts when detecting unfamiliar devices in your workspace.
    • Why Now? Corporate environments and co-working spaces pose risks of data leakage via shared devices; this could prevent corporate espionage or theft.
    • Expected Upside: Customizable security tool that enforces device access policies, reducing reliance on traditional hardware-based authentication.
  • What if you implemented real-time environmental interference to disrupt acoustic keystroke inference models targeting your systems?

    • Move: Create a script that generates random noise (e.g., white noise or mechanical sounds) during sensitive tasks to obscure keystroke acoustic signatures from external microphones.
    • Why Now? As remote work grows, the risk of surveillance via ambient audio increases; this is a low-cost, deployable defense tactic.
    • Expected Upside: Mitigates covert monitoring risks without requiring major changes to existing workflows or hardware.

Takeaway

  • Implement two-factor authentication (2FA) for critical systems to add an extra layer of security against potential keystroke inference attacks, as suggested in the defense mechanisms section.
  • Secure workspaces with noise-cancelling solutions or physical barriers to prevent remote microphone-based surveillance, especially in shared environments like offices or co-working spaces.
  • Audit and secure password/secrets storage practices (e.g., avoid storing API keys in .env files or unencrypted notes) to mitigate risks from both physical and remote data exposure.
  • Develop custom machine learning models for security-critical tasks rather than relying on pre-trained or foundational models, ensuring control over data and reducing vulnerabilities from external dependencies.
  • Prioritize handwritten code over AI-generated code for sensitive components to maintain full understanding and control of security logic, as emphasized in the discussion on AI vs. handwritten code security trade-offs.

Recent Episodes of The Secure Disclosure

9 Jun 2026 Understand the Software Supply Chain Chaos w/ Roeland Delrue

Rapidly evolving supply chain security threats, including malicious open-source components and AI-driven malware, demand advanced AI-powered solutions like Akito Securitys self-securing software and tailored tools to address vulnerabilities in developer environments and package repositories.

28 May 2026 Prompt Injection Might Never Be Solved w/ Paul Vann

The text details AI security threats like prompt injection, jailbreak attacks, and distillation attacks, along with vulnerabilities such as AI bias and autonomous agent risks, highlighting detection challenges, emerging malware, supply chain exploits, and the industry's struggle to keep pace with rapidly evolving AI technologies.

22 May 2026 AI Broke the Security Ecosystem w/ Chris Hughes

Evolving cybersecurity challenges include supply chain threats, AI vulnerabilities, and outdated tools, highlighting the need for systemic reforms like developer incentives, regulatory clarity, and industry-government collaboration to address gaps in vulnerability management and the dual risks of AI's role in both threat detection and exploitation.

15 May 2026 PostHog is placing a wild bet on AI Coding w/ James Hawkins

Recommended: Should you go open source?

PostHog's open-source analytics platform prioritizes transparency, developer autonomy, and AI integration while critiquing corporate norms, emphasizing price clarity, building in public, and balancing automation with security governance in product development.

6 May 2026 AI Panic is Driving Shadow IT w/ Noora Ahmed-Moshe

AI's impact on employment and cybersecurity risks, driven by shadow AI, phishing, and emerging threats like prompt injection, require balancing workforce skills, security measures, and organizational trust.

More The Secure Disclosure episodes