QUACK! 让(橡胶)鸭子说话:一种针对HID注入检测的系统性研究
QUACK! Making the (Rubber) Ducky Talk: A Systematic Study of Keystroke Dynamics for HID Injection Detection
AI总结:
本文系统研究了通过键盘动态特征区分人类与机器的方法,提出轻量模型在仅使用时间特征的情况下可实现隐私保护的检测,揭示了攻击者复杂性与 evasion 之间非线性关系,量化了检测及时性与可靠性之间的权衡。
摘要:
现代计算系统本质上信任人类输入设备,这为对抗性自动化攻击提供了可利用的攻击面。USB人机接口设备(HID)模拟攻击,如通过USB橡胶鸭子实现的攻击,利用这一假设注入任意键盘序列并绕过传统防御。现有防御措施依赖于基于打字速度或时间规律的简单启发式方法,这些方法可以通过基本随机化轻易规避。键盘动态分析提供了一种更稳健的替代方法,通过建模时间打字行为。然而,先前工作将此问题框架为行为认证,验证输入是否来自特定用户,而非检测自动化注入。另一种方法是通过键记录进行连续监控并整合入侵检测系统,但这种方法需要访问输入内容,从而引发重大隐私问题。本文提供了首次系统性地对键盘动态特征进行人类-机器区分的分析,不依赖于用户身份。通过五个研究问题引导,我们证明使用轻量模型仅基于时间特征即可实现稳健、隐私保护的检测,无需访问内容或用户画像。我们的分析揭示攻击者复杂性并不单调地提高规避能力。相反,稳健性取决于对结构上多样的生成策略的暴露,而非增加模型复杂性。最后,我们量化了在不同键盘序列长度下检测及时性与可靠性之间的权衡,确定了实际操作点以实现早期有效的攻击拦截。
英文摘要:
Modern computing systems implicitly trust human input devices, allowing USB Human Interface Device (HID) emulators, such as the USB Rubber Ducky, to inject arbitrary keystrokes while bypassing conventional defenses. Speed- and regularity-based heuristics are easily evaded through slower or randomized timing. Keystroke dynamics offers a behavioral alternative, but prior work primarily addresses user authentication rather than user-agnostic detection of automated input. Moreover, detectors that process or retain key identities may expose sensitive content. In this paper, we investigate whether timing alone can distinguish human from machine-generated keystrokes without per-user enrollment or semantic input features. We systematically evaluate lightweight classifiers using only hold and flight times in a controlled offline setting. Across progressively structured synthetic attacker families, we examine cross-generator transfer, mixed-generator training, attacker sophistication, and the effect of observation-window length on discrimination performance and decision delay. Our results show that lightweight models can effectively discriminate human from machine-generated input across the evaluated generators without content access or user profiling. Our analysis also suggests that greater synthesis sophistication does not monotonically improve evasion. Moreover, detection performance primarily depends on exposure to structurally distinct generation strategies rather than model complexity. This finding can reduce the number of attacker models required for training and supports the feasibility of content-independent, user-agnostic HID-injection detection, while physical HID validation remains necessary.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。