Web bot detection via behavioral analysis and machine learning
Abstract
Techniques for web bot detection using behavioral analysis and machine learning are disclosed. In an example method, a processing device receives an indication of a network interaction by a client agent, from which behaviors of the client agent can be determined. A heuristics module may classify the client agent as in an unknown class based on the behaviors of the client agent. A trained adversarial neural network may also classify the client agent as in the unknown class. The processing device then generates a graph representation of the network interaction. A trained graph convolutional neural network may classify the client agent as in a bot class using the graph representation. Based on the classification of the client agent as a bot, the processing device executes a command to cause a bot countermeasure and generates a notification including information about the behaviors of the client agent.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 4 · Forward citations: 0.
Claims (8)
- Claim 1Independent Claim
A method comprising: receiving a first indication of a first network interaction by a client agent, wherein the client agent includes one or more characteristics; determining, based on the first network interaction, one or more behaviors of the client agent; making a first determination, by a heuristics module, based a first classification of the client agent, that the client agent is in an unknown class, wherein the first classification is based on the one or more characteristics of the client agent and the one or more behaviors of the client agent; making a second determination, by a trained adversarial neural network, based on a second classification of the client agent, that the client agent in the unknown class; generating a graph representation of the first network interaction; based on the first classification and the second classification of the client agent as in the unknown class, determining, by a trained graph convolutional neural network, based on a third classification of
- Claim 2Depends on #1
The method of claim 1, wherein the trained adversarial neural network is a trained semi-supervised generative adversarial network (SGAN), comprising at least a generator, a discriminator, and a classifier.
- Claim 3Depends on #2
The method of claim 2, wherein training the classifier of the SGAN comprises: accessing a dataset comprising a plurality of network interactions by a plurality of client agents; processing the dataset, by, for each of the network interactions in the plurality of network interactions: applying a heuristics-based filter to the network interaction; and based on the heuristics-based filtering, applying a label to the network interaction; generating, by the classifier, a fourth classification for each network interaction in a training portion of the dataset, wherein the fourth classification classifies each of the network interactions into at least one of a set of classes including human, bot, or unknown; and based on a first accuracy of the fourth classification, updating a configuration of one or more components of the classifier.
- Claim 4Depends on #3
The method of claim 3, wherein training the discriminator of the SGAN comprises: generating, by the discriminator, a first likelihood associated with each of the network interactions in the training portion of the dataset; based on a second accuracy of the first likelihood, updating the configuration of one or more components of the discriminator; generating, by the generator, first generated training data, the first generated training data including one or more network interactions; generating, by the discriminator, a second likelihood associated with each of the network interactions in the first generated training data; and based on a third accuracy of the second likelihood, updating the configuration of the one or more components of the discriminator.
- Claim 5Depends on #4
The method of claim 4, wherein training the generator of the SGAN comprises: generating, by the generator, second generated training data, the second generated training data including one or more of the network interactions; generating, by the discriminator, a third likelihood associated with each of the network interactions in the second generated training data; and based on a fourth accuracy of the third likelihood, updating the configuration of the one or more components of the discriminator or a configuration of one or more components of the generator.
- Claim 6Depends on #1
The method of claim 1, wherein the trained graph convolutional neural network is a trained deep graph convolutional network (DGCNN).
- Claim 7Depends on #6
The method of claim 6, wherein the trained DGCNN includes at least a graph convolution layer, a sort pooling layer, and one-dimensional convolutional neural network.
- Claim 8Depends on #7
The method of claim 7, wherein training the trained DGCNN comprises: accessing a dataset comprising a plurality of network interactions by a plurality of client agents; processing the dataset, by, for each of the network interactions in the plurality of network interactions: applying a heuristics-based filter to the network interaction; and based on the heuristics-based filtering, applying a label to the network interaction; generating one or more graph representations of the plurality of network interactions in the dataset; generating, by the one-dimensional convolutional neural network, a fourth classification for each network interaction in a training portion of the dataset, wherein the fourth classification classifies each of the network interactions into at least one of a set of classes including human, bot, or unknown; and based on an accuracy of the fourth classification, updating a configuration of one or more components of the DGCNN.
Technical Overview & Description
TECHNICAL FIELD This disclosure generally relates to web administration and, more specifically, to web bot detection using behavioral analysis and machine learning. BACKGROUND The modern web has broadened our horizons and made many extraordinary things possible: universal access to information, powerful search capabilities, instant communications, and more. With the growth of the web, however, has come inefficiencies that actors with dubious motives attempt to exploit using increasingly ingenious methods. The juxtaposition of the explosive growth of the web against those who would exploit those inefficiencies has wrought such now-common phenomenon as ad fraud, fake reviews, distributed denial-of-service (DDoS) attacks, content scraping, search engine manipulation, and so on. The result is a technological arms race pitting the engineers of legitimate actors against a murky world of the dark web, scripts, clicks or friends for sale and the like. One such inefficiency relates to web bots. Web bots are software applications that perform automated tasks over the internet, often at a much higher rate than would be possible for a human. While some bots perform useful functions, such as indexing web pages for search engines, others can engage in malicious activities, like content scraping, DDOS, or spamming, thus posing significant challenges to cybersecurity and web infrastructure management. For some applications, web bots may be undesirable in most or all cases, whether benign or not. For administrators of web-based applications, the accurate identification of web bots is an important capability for effectively managing web resources and responding to security incidents. SUMMARY Some embodiments described herein relate to techniques for web bot detection via behavioral analysis and machine learning. In an example method, a processing device receives a first indication of a first network interaction by a client agent, in which the client agent includes one or more charact
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (4)
| Patent | Title | Year | Citations |
|---|
Non-Patent Literature (10)
- Best Captcha Solver, Available online at: https://bestcaptchasolver.com/, Accessed from internet on Oct. 6, 2022, 5 pages.
- Developers in the World, Available online at: https://www.statista.com/statistics/627312/worldwide-developer-population/, Jun. 7, 2022, pp. 1-4.
- How to install Java on Android, Available online at; https://www.whatismybrowser.com/guides/how-to-install-java/android, Accessed from internet on May 29, 2022, 1 page.
- I'm (Really) Not a Robot: CAPTCHA Farms and Challenges of CAPTCHA Bot Detection, Available Online at https://datadome.co/learning-center/how-to-detect-captcha-farms-and-block-captcha-bots/, Feb. 27, 2022, 20 pages.
- Java in Safari 12, Available online at: https://developer.apple.com/forums/thread/108643, May 29, 2022, 2 pages.
- JavaScript Versions, Available online at: https://www.w3schools.com/js/js_versions.asp, Accessed from internet on May 17, 2022, 9 pages.
- Launch a Windows Virtual Machine in Amazon Lightsail, Available online at: https://aws.amazon.com/de/getting-started/hands-on/launch-windows-vm/, Jun. 2, 2022, 14 pages.
- Lecorpio, Available at: https://adobe.lecorpio.com/Runtime/EntityObject.aspx?TypeId=b7cc2b81-bd2c-4bdb-9901-9367df74dbbb
- &
- ObjectId=e45b1ea3-75b6-4c8a-9e96f266d845b348