YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
Acoustic Keystroke Leakage Dataset (Multi-Microphone)
This dataset is designed for research in acoustic keystroke side-channel attacks, speech/typing synchronization, and keystroke dynamics. It features multi-channel audio recordings of typing tests captured under varying physical and digital configurations.
Version 2 (November 2026) β re-segmented and cross-microphone aligned. All
wavs/were re-cut from the original recordings so that the three channels of an utterance (Mic1,Mic2,Zoom_Audio) cover the same physical typing interval. In version 1, Mic2/Zoom segments were cut independently of Mic1 and were typically offset by more than one second (often containing a different sentence). The key annotations (keys/,timestamps/) are unchanged in format and content; file names are unchanged. Version 1 remains available withrevision="v1.0".
π Data Gathering Framework
Data Collection Phases
The typing tests are structured into three distinct phases representing different cognitive and text-semantic profiles:
- Phase 1: Non-semantic text (syntactically correct but semantically meaningless sentences generated automatically, minimizing linguistic predictability and emphasizing acoustic discrimination).
- Phase 2: Semantic text (coherent paragraphs in natural language).
- Phase 3: Spontaneous text (freely described images, capturing unconstrained typing behavior, including pauses and corrections).
ποΈ Hardware & Microphone Setup
The dataset captures synchronized acoustic data from three distinct sources to simulate realistic physical and digital attack surfaces:
| Audio Source | Physical Location | Recording Computer | Characteristics & Limitations |
|---|---|---|---|
| Microphone 1 | Back of the keyboard | Victim's Computer | Direct, close-range acoustic signature of keys. Tied tightly to local logging. |
| Microphone 2 | Left of the keyboard | Attacker's Computer | Continuous, uncut audio stream. Note: its clock is independent of the victim's computer; in version 2 the offset and drift are estimated from the audio itself, so Mic2 segments are aligned with Mic1. |
| Zoom_Audio | Digital Feed (Mic 1) | Attacker/Remote | The audio from Microphone 1 passed through a Zoom call. The platform's software noise-suppression filter was explicitly set to Minimal (Low). Zoom's adaptive jitter buffer makes its latency vary by up to Β±200 ms during a session; it is compensated per utterance in version 2. |
π Dataset Statistics
The table below breaks down the number of split utterances across dataset partitions (Train, Validation, Test), recording channels, and typing phases. Partitions are speaker-disjoint (each session belongs to exactly one partition) and identical to version 1.
| Subset | Train | Validation | Test | Total |
|---|---|---|---|---|
| All | 3875 | 579 | 1166 | 5620 |
| Mic1 | 1215 | 185 | 371 | 1771 |
| Mic2 | 1328 | 197 | 379 | 1904 |
| VOIP (Zoom) | 1332 | 197 | 416 | 1945 |
| Phase 1 (Non-Sem) | 1368 | 209 | 390 | 1967 |
| Phase 2 (Semantic) | 1645 | 283 | 457 | 2385 |
| Phase 3 (Spontan) | 862 | 87 | 319 | 1268 |
The channel counts differ because some utterances are missing on a channel in the original recordings (e.g. Mic1 audio not saved for a sentence, or the Mic2 recording ending early).
ποΈ Session Metadata
The dataset contains 40 recording sessions (one per [SessionID]), recorded between April 25 and May 28, 2025. For each session the following conditions are documented in metadata/sessions.csv:
- Keyboard angle: rotation of the keyboard relative to the microphones: 0Β° (16 sessions), +15Β° (12 sessions) or β15Β° (12 sessions).
- Language / layout: 38 sessions are in French on an AZERTY keyboard; 2 sessions (8654851, 9954808) are in English on a QWERTY keyboard.
- User: all sessions were typed by the same main user, except 7687823 and 9954808, which were typed by a different user.
- Date and time: recording date and start/end time of the session (local time, Europe/Paris), taken from the first and last keystroke in the keylogger. Each session lasts ~15β20 min and covers the three phases.
- Partition: the train/val/test partition the session belongs to.
metadata/sessions.csv columns: session_id,date,start_time,end_time,keyboard_angle_deg,language,keyboard_layout,user,split,issue (issue: recording problem noted during collection, empty if none).
π Dataset Structure
The processed dataset is organized into three parallel directories containing split typing segments, plus the partition files:
βββ wavs/ # Audio segments in their native sample rates (.wav format)
βββ keys/ # Key sequence of each segment (.txt format)
βββ timestamps/ # Per-key timing of each segment (.json format)
βββ splits/ # train/val/test partitions (.csv: wav_file_name,key_text)
βββ metadata/ # per-session recording conditions (sessions.csv)
1. wavs/
Contains the segmented audio files cropped around typing events. Files preserve their original capture sample rates (no downsampling applied) to retain high-frequency acoustic characteristics of specific switches: Mic1 and Mic2 are 192 kHz, Zoom_Audio is 48 kHz (mono, decoded from the Zoom AAC recording); all 16-bit PCM.
For a given [PhaseID]_[SessionID]_[SentenceID], the three files Mic1_β¦, Mic2_β¦ and Zoom_Audio_β¦ start and end at the same physical instant and therefore have the same duration. Each segment spans from 0.20 s before the first key press to 0.25 s after the last key release (clipped to the end of the original Mic1 recording, which stops ~200 ms after the final key).
2. keys/
Text files containing the string or explicit ID of each pressed key matching the audio timeline. For normal phases, this contains the text sequence. For split/punctuated phases, elements include normalized key identifiers (e.g., tracking explicit events like "period", "question", or "exclam").
3. timestamps/
JSON files containing an ordered list of floating-point values: the absolute Unix time (seconds, victim computer clock) of each key release of the segment, in the order of the key log. The same victim-clock times are given for all three channels. To place a key in a segment, use the segment's start time on the victim clock, which is the time of the first key press minus 0.20 s (the first press precedes the first listed release by the key's hold time, typically 50β150 ms).
4. splits/
CSV files {train,val,test}_{all,mic1,mic2,zoom_audio,ph1,ph2,ph3}.csv with columns wav_file_name,key_text (key_text = content of the corresponding keys/ file).
file name format
[audioSource]_[PhaseID]_[SessionID]_[SentenceID].[extension]
[audioSource]: The recording channel source. Maps to either Mic1, Mic2, or Zoom_Audio.
[PhaseID]: The typing test phase corresponding to the text type (1 for Non-Semantic, 2 for Semantic, 3 for Spontaneous).
[SessionID]: A unique numerical identifier representing a specific participant and recording session.
[SentenceID]: The sequential index of the split sentence or text block within that session.
- Downloads last month
- 888