Shy Guys: 一种轻量级的网站机器人检测方法
Shy Guys: A Light-Weight Approach to Detecting Robots on Websites
AI总结:
本文提出一种轻量级被动检测方法,结合用户代理分析与图标启发式,通过标准Web服务器日志检测机器人流量,准确率达67.7%,误报率3%,优于现有方法。
摘要:
自动化机器人现在约占所有网络请求的一半,越来越多的机器人故意伪装身份以逃避检测或不尊重robots.txt。现有防护措施要么资源消耗大(JavaScript挑战、CAPTCHA),要么成本过高(商业方案),或影响用户体验。本文提出一种轻量级、被动的机器人检测方法,结合用户代理字符串分析与图标启发式,完全基于标准Web服务器日志运行,无客户端交互。我们在来自全球网站的460万次请求中评估了该方法,包含54,945个唯一用户代理字符串。我们的方法检测了67.7%的机器人流量,保持3%的误报率,优于现有方法(低于20%)。此方法可作为第一道防线,仅将真正模糊的请求路由到主动挑战,保护合法用户的体验。
英文摘要:
Automated bots now account for roughly half of all web requests, and an increasing number deliberately spoof their identity to either evade detection or to not respect robots.txt. Existing countermeasures are either resource-intensive (JavaScript challenges, CAPTCHAs), cost-prohibitive (commercial solutions), or degrade the user experience. This paper proposes a lightweight, passive approach to bot detection that combines user-agent string analysis with favicon-based heuristics, operating entirely on standard web server logs with no client-side interaction. We evaluate the method on over 4.6 million requests containing 54,945 unique user-agent strings collected from website hosted all around the earth. Our approach detects 67.7% of bot traffic while maintaining a false-positive rate of 3%, outperforming state of the art (less than 20%). This method can serve as a first line of defence, routing only genuinely ambiguous requests to active challenges and preserving the experience of legitimate users.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。