Encrypted Endpoints: Defending Online Services from Illegitimate Bot Automation
Open Access
- 30 September 2024
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 166-180
Abstract
Automated usage of web services by programs, known as bots, poses risks such as data scraping, spam, and cyber attacks. For instance, X suffers from millions of bot accounts typically controlled by relatively fewer adversarial organizations to create fake likes and comments. The most widely used solution to distinguish humans from bots (CAPTCHA) is perishing due to advances in machine learning. Obfuscation techniques in binaries, applications, or websites are designed to impede the creation of bots but fail to prevent their scalability. Bypassing these measures often requires only a one-time effort. We propose encrypted endpoints as a novel strategy to combat the scalability of web bots, particularly in scenarios where bots leverage multiple accounts. For that we assign unique endpoints (URLs) to each user account, thereby restricting bot applicability across different accounts and necessitating the extraction of account-specific endpoints per bot instance. Our approach is applicable to a wide range of services utilizing endpoints, including desktop and mobile applications, web applications, and even static or HTML-only websites. We implemented our approach directly within a backend framework and observed that the latency overhead is less than 0.1ms per request, which constitutes less than 1% of the total request time. Our solution, developed as simple middleware, can be easily integrated in existing projects with low effort. Additionally, we have extended our approach to the Jinja2 template engine, thereby supporting encrypted endpoints for websites out of the box. Our analysis indicates that our approach not only effectively protects against simple bots but also, when coupled with obfuscation techniques, further impedes bot creation.Keywords
This publication has 16 references indexed in Scilit:
- Efficient on-the-fly Web bot detectionKnowledge-Based Systems, 2021
- A Systematic Survey on CAPTCHA Recognition: Types, Creation and Breaking TechniquesArchives of Computational Methods in Engineering, 2021
- Statically Detecting JavaScript Obfuscation and Minification Techniques in the Wild2021
- Is image-based CAPTCHA secure against attacks based on machine learning? An experimental studyComputers & Security, 2020
- A Deep Learning Approach to Web Bot Detection Using Mouse Behavioral Biometrics2019
- Analysis of Obfuscated Code with Program Slicing2019
- Man-At-The-End attacks: Analysis, taxonomy, human aspects, motivation and future directionsJournal of Network and Computer Applications, 2015
- Reducing Web Test Cases Aging by Means of Robust XPath Locators2014
- The power of obfuscation techniques in malicious JavaScript code: A measurement study2012
- A Link Obfuscation Service to Detect Webbots2010