Ransombile is a tool that can be used in different scenarios to compromise someone’s digital life when having physical access to a locked mobile device
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app Adding missing files Sep 18, 2018
bin Adding missing files Sep 18, 2018
config Adding missing files Sep 18, 2018
db Adding missing files Sep 18, 2018
lib Adding missing files Sep 18, 2018
log Remove useless files Sep 18, 2018
public Adding missing files Sep 18, 2018
test Adding missing files Sep 18, 2018
tmp Remove useless files Sep 18, 2018
vendor/assets Adding missing files Sep 18, 2018
Gemfile Adding missing files Sep 18, 2018
Gemfile.lock Adding missing files Sep 18, 2018
README.md Fix typos in README Sep 18, 2018
Rakefile Adding missing files Sep 18, 2018
config.ru Adding missing files Sep 18, 2018

README.md

Ransombile

Ransombile is a tool that automates the password reset process and allows you to perform the entire flow automatically for multiple sites at the same time. The aim is to automate the three steps that take the longest in our proposed attack vector.

This tool only serves as a PoC to show that password reset can be automated effectively. Consider it an Alpha version. Things will fail and some sites I added don't work for various reasons (UI in a language different than English, A/B testing, timing issues, etc.).

For details and demos please check: https://www.martinvigo.com/ransombile

Installation

Ransombile is a rails app. It should work on any version but I wrote and tested it on Ruby 2.4 and Rails 5.0

Setup

You need an email inbox to which you will be sending emails from the Victim's device to retrieve the victim;s email address. Add the credentials information to the ransombile_controller file.

You can change the selenium plugin to use any browser but it comes configured to use Firefox by default to make development and testing easier. In fact, if you would "deploy" Ransombile, you probably want to use a headless browsers like PhantomJS.

Usage

Launch the server and run the webapp on any browser. It is optimized for mobile device screen sizes.

rails server

Adding websites

I left a template under /controllers/website_templates_controller. It gives you a skeleton with the basic functions and implementation. Just add the missing code where indicated.

You can create a new controller using the new website name

rails generate controller Websitename

Next, you need to update the UI, file index.html.erb. Just copy paste what's already there for any other site. Don't forget to update the function initiatePasswordReset()!

Last, update the routes file

Authors

Martin Vigo - @martin_vigo - martinvigo.com