Skip to main content
Mallory
Malware

Hotkeyz

Tracked since Jun 14, 2026 · Updated 2 months ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
Vulns0Associated
Actors0Associated
ATT&CK4Techniques
IOCs0Tracked
Type
Spyware
Capabilities
KeyloggingDefense evasion
Platforms
Windows

Hotkeyz is a Windows proof-of-concept hotkey-based keylogger created by Jonathan Bar Or. It abuses the Windows RegisterHotKey API by registering individual alphanumeric keys and selected additional keys as global hotkeys. It collects resulting WM_HOTKEY messages, extracts virtual-key codes, and records them to a text file. To preserve normal user input behavior, it temporarily unregisters the intercepted hotkey, simulates the original keystroke, and registers the hotkey again. Hotkeyz demonstrates a keylogging approach that does not rely on conventional keyboard hooks, polling, Raw Input, or DirectInput mechanisms.

Is this in your environment?See whether this family's indicators match your telemetry and which of your assets are exposed to the CVEs associated with it.
Check your exposure
MITRE ATT&CK

Techniques & procedures

4 distinct techniques documented for this family, organized by ATT&CK tactic.

Execution

1 technique
T1106Native APIEvidence1

For instance, the following code snippet demonstrates how to use the RegisterHotKey API to register the A key (with a virtual-key code of 0x41) as a global hotkey... In Hotkeyz, it first registers each alphanumeric virtual-key code ... as individual hotkeys by using the RegisterHotKey API.

Credential Access

2 techniques
T1056Input CaptureEvidence1

ユーザにキーロガーの存在を気取られないため、メッセージからvirtual-key codeを取り出した時点で、いったんそのキーのホットキー登録をUnregisterHotKey APIを使って解除し、その上でkeybd_eventを使ってキーを送信することです。これにより、ユーザからは問題無くキーが入力出来ているように見え、キーが裏で窃取されていることに気が付かれにくくなります。

T1056.001KeyloggingEvidence4

Hotkeyz first registers each alphanumeric virtual-key code and additional keys as individual hotkeys using RegisterHotKey. When a WM_HOTKEY message is detected, the virtual-key code is extracted and eventually saved to a text file.

Collection

3 techniques
T1056Input CaptureEvidence1

ユーザにキーロガーの存在を気取られないため、メッセージからvirtual-key codeを取り出した時点で、いったんそのキーのホットキー登録をUnregisterHotKey APIを使って解除し、その上でkeybd_eventを使ってキーを送信することです。これにより、ユーザからは問題無くキーが入力出来ているように見え、キーが裏で窃取されていることに気が付かれにくくなります。

T1056.001KeyloggingEvidence4

Hotkeyz first registers each alphanumeric virtual-key code and additional keys as individual hotkeys using RegisterHotKey. When a WM_HOTKEY message is detected, the virtual-key code is extracted and eventually saved to a text file.

T1074.001Local Data StagingEvidence1

When a WM_HOTKEY message is detected, the virtual-key code it contains is extracted and eventually saved to a text file.

Activity feed

Recent activity

4 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
elastic security labsNews · Mar 4, 2025Detecting Hotkey-Based Keyloggers Using an Undocumented Kernel Data Structure - Elastic Security LabsA proof-of-concept hotkey-based keylogger for Windows that registers many keys as global hotkeys, captures WM_HOTKEY messages, extracts virtual-key codes, temporarily unregisters the hotkey, simulates the key press with keybd_event to avoid user suspicion, re-registers the hotkey, and writes captured keystrokes to a file.Read more ↗elastic security labsNews · Mar 4, 2025Detecting Hotkey-Based Keyloggers Using an Undocumented Kernel Data StructureProof-of-concept Windows hotkey-based keylogger. It abuses the RegisterHotKey API to register individual keys as global hotkeys, captures resulting WM_HOTKEY messages, records virtual-key codes to a file, and uses UnregisterHotKey plus keybd_event to replay keystrokes transparently to the user before re-registering each key.Read more ↗elastic security labsNews · Feb 4, 2025未公開のカーネルデータ構造を使ったホットキー型キーロガーの検知 - Elastic Security LabsWindowsのRegisterHotKey APIを悪用して多数のキーをグローバルホットキーとして登録し、WM_HOTKEYメッセージからvirtual-key codeを取得してキー入力を記録するホットキー型キーロガー。ユーザーに気付かれにくくするため、キー取得時に一時的にUnregisterHotKeyで登録解除し、keybd_eventでキーを再送してから再登録する。Read more ↗
Is this in your environment?See whether this family's indicators match your telemetry and which of your assets are exposed to the CVEs associated with it.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets match these IOCs, which detections are missing, which campaigns to expect next, and what to do in the next 30 minutes.
IOC matchingMatch every observed IP, domain, and hash against your live telemetry.
Associated threat actorsGroups linked to this family, with evidence pinned to each claim.
Associated vulnerabilitiesCVEs linked to this family, with the reporting behind each link.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
MITRE ATT&CK mapping4Every documented technique, ranked by evidence weight.
Researcher chatterReddit, Mastodon, and CTI community discussion around this family.