What is OS-level keystroke capture, and why does it give stronger writing evidence than browser recording alone?
The four layers where writing can be observed (OS kernel, application, browser extension and document add-on), what each one sees and misses, and why the OS layer is the forensically strongest, explained for Canadian institutions.
Published 2026-11-02 · Updated 2026-11-28 · 6 min read
In brief
OS-level keystroke capture hooks into the computer's input system before any application handles the event. It sees physical key presses, with hardware-sourced timestamps, no matter which application has focus, and the writing tool itself cannot bypass or suppress it. A browser extension or a document add-on, by contrast, sees only what the application's programming interface exposes: DOM events inside the browser, or changes to document content inside the writing app. Each layer further from the hardware sees less, misses more and is more open to synthetic injection. When writing evidence has to stand up to scrutiny, the layer it was observed at matters.
Four layers of observation
Writing can be captured at four separate levels, and each stands in a different relationship to the physical key press.
Layer 1: OS kernel and driver level
When you press a physical key, the keyboard hardware sends a signal that the operating system's input driver receives before any application does. At this layer the system sees the raw key event (which key, whether it went down or came up, and a timestamp from the system clock) before any application has a chance to intercept, transform or suppress it.
A tool recording at this layer captures writing whichever application is active. The record does not depend on the application: whether you write in Word, Google Docs in Chrome, Notepad or anything else, the physical events reach the OS layer in exactly the same way.
Layer 2: the native application
A native application, such as Microsoft Word for desktop, Apple Pages or Scrivener, can register for keyboard input within its own window. That gives it access to input the OS has already passed to it, at roughly the same fidelity as the OS layer for that one window. The limitation is that it only sees keystrokes while its window has focus. Writing done in another app during the same session is invisible to it. And the record sits entirely under the application's control, which matters for tamper-evidence.
Layer 3: the browser extension
A browser extension runs inside the browser's sandbox. It sees what happens in the web pages the browser displays, which is not the same thing as the physical key press:
- What arrives may not match what was pressed. When someone types through an input method editor (for Chinese, Japanese, Korean and other languages), or when autocorrect or autocomplete steps in, the page receives finished text rather than the individual key presses behind it.
- No view of other applications. The extension sees nothing outside the browser. Drafting notes in a text editor, copying from a PDF or typing in any other application is invisible to it.
Layer 4: the document add-on
A Google Docs add-on or a Microsoft Word add-in sits furthest from the physical event. These tools can read the document content (the current state of the text), not the keyboard events that produced it. An add-on can notice that a paragraph changed between one polling interval and the next; it cannot tell whether those characters were typed one by one or pasted as a block. The question of how the text arrived, which is the one that matters forensically, cannot be answered from content changes alone.
The layers side by side
| Observation layer | What it sees | Sees other apps? |
|---|---|---|
| OS kernel / driver | Physical key events | Yes: all apps |
| Native application | Key events within the app | No: its own window only |
| Browser extension | DOM keyboard events | No: the browser only |
| Document add-on | Changes to document content | No: one document |
The blind spots each gap creates
Every step down the observation stack opens particular blind spots that matter for authorship evidence.
Pastes: a browser extension can see that text was pasted into a page. It cannot always tell whether that text came from another browser tab, a native app, a clipboard manager or a tool that inserted it. Capture across the whole computer sees more of what the writer was doing before the paste.
Autocomplete: when a writer accepts an autocomplete suggestion from the browser or the application, the document may receive characters the writer did not type one at a time. An add-on that sees only document content cannot tell accepted autocomplete apart from typed text. A record made closer to the keyboard can.
Writing done elsewhere: many writers draft passages in a notes app, an email client or another document before pasting them into the final file. A browser extension or document add-on is completely blind to this. OS-level capture records the typing wherever it happened.
That wider view is also why the choice of layer is a privacy question, not just a technical one. In Canada, privacy law such as PIPEDA at the federal level, and provincial statutes like FIPPA in Ontario and British Columbia or Quebec's Law 25, deals with how personal information is collected and used. A college or university considering any capture tool decides, with its own privacy advisers, how those laws apply.
Why the OS layer is forensically stronger
The keystroke research gives a useful frame. Teh, Teoh and Yue's survey (2013) of keystroke dynamics found that the timing between successive key events is the core biometric signal, and that it is measured most precisely close to the hardware. Acien, Morales, Vera-Rodriguez, Fierrez and Monaco (TypeNet, 2020) showed that keystroke data at scale supports highly accurate biometric authentication. Crossley et al. (EDM 2024) reached 99% accuracy distinguishing composed from transcribed text using process features taken from keystroke logs.
What this means for the quality of evidence
The value of a process record as evidence is limited by the layer it was captured at. Two records might both be called "keystroke logs," yet a record made at the OS layer and one made inside a browser are not equivalent evidence. The OS-level record is harder to fake, independent of the application, and more resilient in the adversarial situations that come up in academic integrity disputes.
That is not to say browser-extension and add-on records have no value; they provide useful evidence where they operate. The layers complement each other: an OS-level record of activity across applications, combined with a document add-on's log of content changes for that particular document, covers more ground than either one alone. But when the question is which layer is most forensically robust, the evidence and biometrics literature points the same way every time: the OS layer.
What this means when choosing a writing evidence tool
The practical takeaway from the layer analysis is about coverage and corroboration. Any one layer leaves a gap: an OS-level record works across applications and is rich in timing, but carries no document-structure context; a document add-on captures the document's state precisely, but cannot see how characters arrived or what was typed elsewhere; a browser extension sits between the two and inherits weaknesses from both.
Combining layers closes the gaps each one has alone. Capture across the computer sees writing outside the browser, the browser extension ties writing to specific web documents, and the document itself holds the final text. A record built from more than one independent layer is much harder to fake than any single layer.
The verify page shows how a sealed record is checked in practice. Authmarks records through its browser extension, in the writing document itself. The desktop app is available for Windows and Linux. It adds an independent capture layer across the computer; the browser extension on its own already gives a strong record.
Further reading: what is writing provenance · writing-process evidence versus AI detection · tamper-evident versus tamper-proof · keystroke logging in writing-process research · what a writing record cannot prove
Sources
- Teh, Teoh & Yue — A Survey of Keystroke Dynamics Biometrics (The Scientific World Journal, 2013) — as of 2026-11-02
- Acien, Morales, Vera-Rodriguez, Fierrez & Monaco — TypeNet: Scaling up Keystroke Biometrics (arXiv:2004.03627) — as of 2026-11-02
- Crossley et al. — Plagiarism Detection Using Keystroke Logs (EDM 2024) — as of 2026-11-02
- Leijten & Van Waes — Keystroke Logging in Writing Research (Written Communication, 2013; ERIC record) — as of 2026-11-02
Change notes
- 2026-11-02 — First published.
- 2026-11-28 — The desktop app is now available for Windows and Linux.
Spotted an error? Email sales@authmarks.com and we will correct the page and date the correction.