Skip to main content
Mallory
← Back to News
detection-content-updatecredential-access-methodendpoint-security-bypass

Elastic Defend Adds ETW-Based Detection for Windows Keyloggers

Patch & Detection Intelligence · 4 sources · Updated 3mo ago · First seen Aug 26, 2026

Elastic Defend Adds ETW-Based Detection for Windows Keyloggers

Elastic added behavioral Windows keylogger detection to Elastic Defend 8.12, using Event Tracing for Windows (ETW) to observe API activity associated with keystroke collection through polling, keyboard hooks, Raw Input, and DirectInput. Prebuilt endpoint rules identify suspicious use of APIs including GetAsyncKeyState, SetWindowsHookEx, and RegisterRawInputDevices.

In testing on Windows 10, Elastic Defend detected a proof-of-concept Raw Input keylogger soon after it executed, flagging an untrusted process that registered for keyboard input. The telemetry captures API arguments, call-stack context, process-signature status, and related process metadata, enabling defenders to investigate credential- and information-theft activity while reducing false positives from legitimate accessibility and input software.

Patch this, or something else?See real exploitation activity before you spend the cycle.
Triage this advisory
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

2 events
  1. Reported May 30, 20242y ago

    Elastic validates Raw Input keylogger detection with a proof of concept

    In a Windows 10 22H2 test, Elastic Defend detected a proof-of-concept program named Keylogger.exe shortly after it registered for keyboard input through RegisterRawInputDevices. The "Keystroke Input Capture via RegisterRawInputDevices" rule identified the untrusted process's keyboard-capture registration.

    Protecting your devices from information theft | Elastic Security Labs
  2. Reported May 30, 20242y ago

    Elastic Defend adds behavioral Windows keylogger detection

    Elastic Defend version 8.12 introduced ETW-based behavioral detections for user-space Windows keylogging activity, including suspicious use of GetAsyncKeyState, SetWindowsHookEx, and RegisterRawInputDevices. Elastic also added prebuilt endpoint rules intended to detect polling, keyboard-hook, Raw Input, and DirectInput capture methods without relying on malware signatures.

    Protecting your devices from information theft | Elastic Security Labs
Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.

Open in app →

Affected products

1 linked
Elastic Defend

Organizations

1 linked
Elastic
Do you run this?See real exploitation activity behind this advisory so you can triage it against everything else in the queue.
Prioritize This Patch
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.