Articles

What is OS-level keystroke capture — and why it produces 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 sees, what each misses, and why the OS layer is the forensically strongest.

Published 2026-11-02 · Updated 2026-11-28 · 5 min read

The short answer

OS-level keystroke capture hooks into the computer's input system before any application processes the event. It sees physical key presses — with hardware-sourced timestamps, regardless of which application is in focus — and it cannot be bypassed or suppressed by the writing tool itself. A browser extension or document add-on, by contrast, observes only what the application's programming interface exposes: DOM events inside the browser, or document content changes inside the writing app. Each lower layer sees less, misses more, and is more susceptible to synthetic injection. For writing evidence that needs to hold up under scrutiny, the layer of observation matters.

The four observation layers

Writing can be captured at four distinct levels. Each has a different relationship to the physical keystroke event.

Layer 1 — OS kernel / driver level

When you press a physical key, the keyboard hardware generates 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 was pressed or released, and a timestamp drawn from the system clock — without any application having the opportunity to intercept, transform, or suppress it.

A tool recording at this layer captures writing regardless of which application is active. The record is application-agnostic: whether you write in Word, Google Docs in Chrome, Notepad, or any other app, the physical events arrive at the OS layer identically.

Layer 2 — Application layer (native app)

A native application — Microsoft Word desktop, Apple Pages, Scrivener — can register for keyboard input events within its own window. This gives it access to input that the OS has already delivered to it, at roughly the same fidelity as the OS layer for that application's window. The difference: it only sees keystrokes when its window is the active focus. Writing in another app during the same session is invisible. And the record is entirely under the application's control, which matters for tamper-evidence.

Layer 3 — Browser extension

A browser extension operates inside the browser sandbox. It sees what happens in the web pages the browser shows, which is not the same as the physical key press:

  • What arrives can differ from what was pressed. When a user types with an input method editor (for Chinese, Japanese, Korean and other languages), or when autocorrect or autocomplete fires, the page receives finished text, not the individual key presses that produced it.
  • Cross-application blindness. 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 a browser extension.

Layer 4 — Document add-on

A Google Docs add-on or a Microsoft Word add-in sits at the furthest remove from the physical event. These tools have access to the document content — the current state of the text — not to the keyboard events that produced it. An add-on can observe that a paragraph changed between one polling interval and the next; it cannot observe whether those characters were typed one at a time or pasted as a block. The "how it arrived" question — the forensically relevant one — is not answerable from document content changes alone.

The comparison at a glance

Observation layerWhat it seesCross-app visibility
OS kernel / driverPhysical key eventsYes — all apps
Native applicationApp-scoped key eventsNo — own window only
Browser extensionDOM keyboard eventsNo — browser only
Document add-onDocument content changesNo — one document

What the gaps introduce

Each step down the observation stack introduces specific blind spots that matter for authorship evidence.

Paste detection: 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 attribution: when a user accepts a browser-native or application autocomplete suggestion, the document may receive characters that the user did not type one by one. An add-on that sees only document content cannot tell accepted autocomplete from typed text. A record made closer to the keyboard can tell them apart.

Off-document composition: many writers draft passages in notes apps, email clients, or even other documents before pasting into the final file. A browser extension or document add-on is blind to this entirely. OS-level capture records the typing wherever it occurred.

Why OS-level is forensically stronger

The keystroke research literature provides 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) achieved 99% accuracy distinguishing composed from transcribed text using process features drawn from keystroke logs.

What this means for evidence quality

A process record's evidentiary value is bounded by the layer at which it was captured. Two records might both be called "keystroke logs," but 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, application-agnostic, and more resilient in the adversarial scenarios that arise in integrity disputes.

This is not to say that browser-extension and add-on records are without value — they provide useful evidence in the contexts where they operate. The layers are complementary: an OS-level record of cross-application activity, combined with a document add-on's content-change log for the specific document, provides more coverage than either alone. But when the question is "which layer is most forensically robust," the answer is consistent across the evidence and biometrics literature: the OS layer.

What this means for choosing a writing evidence tool

The practical implication of the layer analysis is about coverage and corroboration. Any single layer leaves a gap: an OS-level record is application-agnostic and timing-rich but does not carry document-structure context; a document add-on captures the document state precisely but cannot see how characters arrived or what was typed elsewhere; a browser extension sits between those two and inherits the weaknesses of both.

Combining layers closes the gaps that each 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. The desktop app is available for Windows and Linux. It adds an independent capture layer across the computer; the browser extension alone already gives a strong record.

Related reading: what is writing provenance · writing-process evidence vs AI detection · tamper-evident vs tamper-proof · keystroke logging and writing process research · what a writing record cannot prove

Change notes

  • 2026-11-02 — First published.
  • 2026-11-28 — The desktop app is available for Windows and Linux.

Spotted an error? Email sales@authmarks.com and we will correct the page and date the correction.