arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2602.09606cs.CR
收藏

当握手透露真相:通过TLS指纹检测网络恶意机器人

When Handshakes Tell the Truth: Detecting Web Bad Bots via TLS Fingerprints

Istanbul Technical University(伊斯坦布尔工业大学)

Ghalia Jarad, Kemal Bicakci

AI总结:

通过TLS指纹分析区分恶意机器人与真实用户,利用CatBoost模型实现高准确率的检测,未来将扩展至新协议并增强防御能力。

摘要:

自动化流量持续在互联网上超过人为生成的流量,其中越来越多的自动化行为是显性恶意的。逃避的机器人可以假装成真实用户,甚至能够解决验证码并模仿人类交互模式。本文探讨了一种更不具侵入性的协议级方法:使用JA4技术进行TLS指纹分析,以区分机器人和真实用户。两个梯度提升机器学习分类器(XGBoost和CatBoost)在经过特征提取后的真实TLS指纹数据集(JA4DB)上进行训练和评估,该数据集从JA4指纹中提取了描述TLS握手参数的信息性信号。CatBoost模型表现更好,达到了AUC为0.998和F1得分为0.9734的性能。在测试集上,其准确率为0.9863。XGBoost模型也显示了几乎相似的结果。特征重要性分析确定JA4组件,尤其是ja4_b、cipher_count和ext_count,是影响模型效果最显著的因素。未来研究将扩展此方法到新的协议,如HTTP/3,并增加额外的设备指纹特征,以测试系统对高级机器人逃避战术的抵抗力。

英文摘要:

Automated traffic continued to surpass human-generated traffic on the web, and a rising proportion of this automation was explicitly malicious. Evasive bots could pretend to be real users, even solve Captchas and mimic human interaction patterns. This work explores a less intrusive, protocol-level method: using TLS fingerprinting with the JA4 technique to tell apart bots from real users. Two gradient-boosted machine learning classifiers (XGBoost and CatBoost) were trained and evaluated on a dataset of real TLS fingerprints (JA4DB) after feature extraction, which derived informative signals from JA4 fingerprints that describe TLS handshake parameters. The CatBoost model performed better, achieving an AUC of 0.998 and an F1 score of 0.9734. It was accurate 0.9863 of the time on the test set. The XGBoost model showed almost similar results. Feature significance analyses identified JA4 components, especially ja4\_b, cipher\_count, and ext\_count, as the most influential on model effectiveness. Future research will extend this method to new protocols, such as HTTP/3, and add additional device-fingerprinting features to test how well the system resists advanced bot evasion tactics.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑