Git Product home page Git Product logo

amazon-fraud-detector-bot-detection-demo's Introduction

Detecting fake account registrations via bots using Amazon Fraud Detector

Examples, notebooks, and resources on how to use Amazon Fraud Detector (AFD) to detect fake account registrations via bots.

Demo website

The quickest way to demonstrate how AFD can be used to detect bots is by using the demo website that has been created for this purpose. This website shows a registration form that can be filled in and submitted. The website tracks how long it takes the user to fill in the website and submits that information, together with the IP address and the email address to an AFD model, see architecture below:

Architectural diagram

The (simplified) idea is that bots submit the registration form in an automated fashion and therefore much quicker and that bots choose random user names for the sign-up. The AFD model in this demo has been trained to pick up on those features that identify bots and return a risk score and an outcome (registration approved or denied).

When a regular user signs up on the demo website they will usually get their registration approved:

Registration approved

The box in the lower left corner summarizes the data that has been submitted and also the AFD results that have been returned (the registration time is measured in milliseconds).

To get the sign-up denied one needs to be quite quick in filling in the form and submitting it. One trick that helps is using a random email address and copying it into the clipboard and then filling in the form quick:

Registration denied

This repo also contains a bot program that can be used to demonstrate how AFD works for this setup. We have found that customers like seeing the bot in action as it gives them a more concrete idea of what a bot attack looks like. This demo runs on Firefox with Geckodriver 0.27.0 -- you can find the latest version of Geckodriver. You can also easily amend the script to run on Chrome, in this case you would need Chromedriver

POC in a box

If your customer is interested in not only a demo but also in how to set up, train, and serve an AFD model, we have developed a POC in a box that deploys all the required resources via a CloudFormation template.

amazon-fraud-detector-bot-detection-demo's People

Contributors

amazon-auto avatar marshmellow77 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.