Articles

What is OS-level keystroke capture, and why does it give stronger writing evidence than browser recording alone?

The four layers at which writing can be observed (OS kernel, application, browser extension and document add-on): what each one sees, what each misses, and why the OS layer is the forensically strongest. Written for UK universities and colleges.

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

The short answer

OS-level keystroke capture hooks into the computer's input system before any application has handled the event. It sees physical key presses, with timestamps taken from the hardware, whichever application happens to be in focus, and the writing tool itself cannot bypass or suppress it. A browser extension or a document add-on, by contrast, observes only what the application's programming interface makes available: DOM events inside the browser, or changes to the document's content inside the writing app. Each layer further from the keyboard sees less, misses more and is more exposed to synthetic injection. Where writing evidence has to stand up to scrutiny, such as in an academic misconduct case, the layer it was observed at matters.

The four observation layers

Writing can be captured at four separate levels, and each has a different relationship to the physical key press.

Layer 1 — OS kernel / 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 was pressed or released, and a timestamp from the system clock) without any application having had the chance to intercept, alter 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, in Google Docs in Chrome, in Notepad or in any other program, the physical events reach the OS layer in the same way.

Layer 2 — Application layer (native app)

A native application (Microsoft Word on the desktop, Apple Pages, Scrivener) can register for keyboard input events 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 window. The drawback is that it sees keystrokes only while its own window has the focus. Writing done in another program 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 — 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 can differ from what was pressed. When someone types with an input method editor (for Chinese, Japanese, Korean and other languages), or when autocorrect or autocomplete kicks in, the page receives finished text rather than the individual key presses that produced it.
  • Blindness to other applications. The extension sees nothing outside the browser. Drafting notes in a text editor, copying from a PDF or typing in any other program is invisible to a browser extension.

Layer 4 — Document add-on

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

The comparison at a glance

Observation layerWhat it seesVisibility across applications
OS kernel / driverPhysical key eventsYes — all apps
Native applicationKey events within the appNo — its own window only
Browser extensionDOM keyboard eventsNo — the browser only
Document add-onChanges to document contentNo — one document

What the gaps introduce

Every step down the observation stack brings particular 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 someone accepts an autocomplete suggestion from the browser or the application, the document may receive characters that the person did not type one at a time. An add-on that sees only the document's content cannot tell accepted autocomplete from typed text. A record made closer to the keyboard can tell them apart.

Composition away from the document: many writers draft passages in a notes app, an email client or even another document before pasting them into the final file. A browser extension or document add-on misses this completely. OS-level capture records the typing wherever it took place.

Why OS-level is forensically stronger

The research literature on keystrokes offers a useful framework. 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

The evidential value of a process record is limited by the layer at which it was captured. Two records might both be described as "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, 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 in the settings where they operate. The layers complement one another: an OS-level record of activity across applications, combined with a document add-on's log of content changes for one particular document, gives wider coverage than either on its own. But when the question is which layer is the most forensically robust, the evidence and the biometrics literature point the same way: the OS layer.

What this means for choosing a writing evidence tool

In practice, the layer analysis comes down to coverage and corroboration. Any single layer leaves a gap. An OS-level record works across applications and is rich in timing, but it does not carry the structure of the document; 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 the weaknesses of both.

Combining layers closes the gaps each one leaves on its own. 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.

For UK institutions, capture across a whole computer also raises questions of proportionality and consent under UK GDPR and the Data Protection Act 2018, and each university, college or school decides how those apply to its own students. A record that the writer switches on for their own work is the natural starting point.

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 on its own 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 now available for Windows and Linux.

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