Bolt is in beta phase of development which means there can be bugs. Any production use of this tool discouraged. Pull requests and issues are welcome.
Also Read : PRETty : “PRinter Exploitation Toolkit” LAN Automation Tool
Workflow
Crawling
Bolt crawls the target website to the specified depth and stores all the HTML forms found in a database for further processing.
Evaluating
In this phase, Bolt finds out the tokens which aren’t strong enough and the forms which aren’t protected.
Comparing
This phase focuses on detection on replay attack scenarios and hence checks if a token has been issued more than one time.
It also calculates the average levenshtein distance between all the tokens to see if they are similar. Tokens are also compared against a database of 250+ hash patterns.
Observing
In this phase, 100 simultaneous requests are made to a single webpage to see if same tokens are generated for the requests.
Testing
This phase is dedicated to active testing of the CSRF protection mechanism.
It includes but not limited to checking if protection exsists for mobile browsers, submitting requests with self-generated token and testing if token is being checked to a certain length.
Analysing
Various statistical checks are performed in this phase to see if the token is really random. Following tests are performed during this phase
Usage
Scanning a website for CSRF using Bolt is as easy as doing
python3 bolt.py -u https://github.com -l 2
Where -u is used to supply the URL and -l is used to specify the depth of crawling.
Other options and switches:
Credit : hashID & highfestiva
Pip is the official package manager for Python and the standard way to install libraries from…
R is an open-source programming language and environment built for statistical computing and data visualization. It…
Jenkins is an open-source automation server that makes it easy to build CI/CD pipelines. Continuous integration…
Android Studio is the official IDE for Android development, built on JetBrains' IntelliJ IDEA platform. It…
GitLab is a web-based, open-source Git repository manager written in Ruby. It includes built-in tools for…
Anaconda is the most widely used Python distribution for data science and machine learning. It bundles…