基于钩子的欺骗框架的安全开发:对抗键盘记录技术
Secure Development of a Hooking-Based Deception Framework Against Keylogging Techniques
AI总结:
针对键盘记录器,提出基于API钩子的欺骗框架,通过加固钩子层抵抗反钩子技术,注入诱饵按键,实验证明能有效欺骗攻击者且开销极低。
摘要:
键盘记录器在现代网络安全中仍然是一个严重的威胁,它们悄无声息地捕获用户的按键,以窃取凭证和敏感信息。传统的防御措施主要侧重于检测和清除,这可以阻止恶意活动,但很少能牵制或误导攻击者。在本文中,我们提出了一种欺骗框架,该框架利用API钩子在运行时拦截键盘记录器调用的与输入相关的API,并注入逼真的诱饵按键。然而,一个核心挑战在于高级键盘记录器越来越多地采用反钩子技术。反钩子策略使恶意软件能够绕过或检测到插桩。为了应对这一点,我们引入了一个加固的钩子层,该层能够检测篡改并迅速恢复被破坏的钩子,确保欺骗的连续性。我们针对一个集成了多种规避策略的自制“超级键盘记录器”以及跨越十个著名键盘记录器家族的50个真实世界恶意软件样本评估了我们的框架。实验结果表明,我们的系统成功抵抗了复杂的绕过尝试,保持了操作隐蔽性,并通过向攻击者提供诱饵可靠地欺骗了他们。该系统运行时的性能开销可忽略不计,对用户体验没有可观察到的影响。我们的研究结果表明,具有弹性的运行时欺骗可以在对抗高级威胁中发挥实用且稳健的作用。
英文摘要:
Keyloggers remain a serious threat in modern cybersecurity, silently capturing user keystrokes to steal credentials and sensitive information. Traditional defenses focus mainly on detection and removal, which can halt malicious activity but do little to engage or mislead adversaries. In this paper, we present a deception framework that leverages API hooking to intercept input-related API calls invoked by keyloggers at runtime and inject realistic decoy keystrokes. A core challenge, however, lies in the increasing adoption of anti-hooking techniques by advanced keyloggers. Anti-hooking strategies allow malware to bypass or detect instrumentation. To counter this, we introduce a hardened hooking layer that detects tampering and rapidly reinstates disrupted hooks, ensuring continuity of deception. We evaluate our framework against a custom-built "super keylogger" incorporating multiple evasion strategies, as well as 50 real-world malware samples spanning ten prominent keylogger families. Experimental results demonstrate that our system successfully resists sophisticated bypass attempts, maintains operational stealth, and reliably deceives attackers by feeding them decoys. The system operates with negligible performance overhead and no observable impact on user experience. Our findings show that resilient, runtime deception can play a practical and robust role in confronting advanced threats.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。