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 one misses, and why the OS layer is the strongest from a forensic standpoint.

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

The short answer

OS-level keystroke capture connects to the computer's input system before any application handles the event. It sees physical key presses, with timestamps taken from the system, 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, on the other hand, observes only what the application's programming interface makes available: DOM events within the browser, or changes to document content within the writing app. Each layer further down sees less, misses more and is more exposed to synthetic injection. For writing evidence that must stand up to scrutiny, the layer at which it is observed matters.

The four observation layers

Writing can be captured at four separate levels. Each stands in a different relationship to the physical keystroke.

Layer 1 — OS kernel / driver level

When you press a physical key, the keyboard hardware produces 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 taken from the system clock, without any application having had the chance to intercept, alter or suppress it.

A tool that records 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 app, the physical events reach the OS layer in exactly the same way.

Layer 2 — Application layer (native app)

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

Layer 3 — Browser extension

A browser extension works inside the browser's sandbox. It sees what happens on the web pages the browser displays, which is not the same thing as the physical key press:

  • What arrives may differ from what was pressed. When a user types through an input method editor (for Chinese, Japanese, Korean and other languages, and commonly in India for Hindi, Tamil, Bengali and other Indian scripts typed phonetically), or when autocorrect or autocomplete steps 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 application is invisible to a browser extension.

Layer 4 — Document add-on

A Google Docs add-on or a Microsoft Word add-in is the furthest removed from the physical event. Such tools can access the document content, meaning the current state of the text, but not 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 by one or pasted in as a block. The question of "how it arrived", which is the one that matters forensically, cannot be answered from changes in document content alone.

The comparison at a glance

Observation layerWhat it seesVisibility across apps
OS kernel / driverPhysical key eventsYes, all apps
Native applicationKey events within the appNo, own window only
Browser extensionDOM keyboard eventsNo, 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 a user accepts an autocomplete suggestion from the browser or the application, the document may receive characters the user did not type one at a time. An add-on that sees only document content cannot distinguish accepted autocomplete from typed text. A record made closer to the keyboard can separate them.

Composition away from the document: many writers draft passages in notes apps, email clients or even other documents before pasting them into the final file. A browser extension or document add-on cannot see this at all. OS-level capture records the typing wherever it took place.

Why OS-level is forensically stronger

The research literature on keystrokes offers a useful frame of reference. The survey of keystroke dynamics by Teh, Teoh and Yue (2013) found that the timing between successive key events is the central 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) reported 99% accuracy distinguishing composed from transcribed text using process features taken 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 may both be described as "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 arise in integrity disputes.

That is not to say browser-extension and add-on records lack value; they supply useful evidence in the settings where they operate. The layers complement one another: an OS-level record of activity across applications, together with a document add-on's log of content changes for that particular document, gives more coverage than either on its own. But when the question is "which layer is the most robust forensically", the answer is consistent across the evidence and biometrics literature: the OS layer.

What this means for choosing a writing evidence tool

The practical consequence of this layer analysis concerns coverage and corroboration. Any one layer leaves a gap: an OS-level record works across applications and is rich in timing but carries no context about document structure; a document add-on captures the state of the document precisely but cannot see how characters arrived or what was typed elsewhere; a browser extension sits between the two and shares weaknesses with both.

Combining layers closes the gaps each leaves on its own. Capture across the computer sees writing done outside the browser, the browser extension links writing to particular web documents, and the document itself holds the final text. A record built from more than one independent layer is far harder to fake than any single layer. For an Indian university or college weighing tools for internal assessment and project reports, the useful question is therefore which layers a tool records and how its seal can be checked.

The verify page shows how a sealed record is checked in practice. Authmarks records through its browser extension, inside the writing document. The desktop app is available for Windows and Linux. It adds an independent layer of capture across the computer; the browser extension by itself already provides 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.