Git Product home page Git Product logo

modlishka's Introduction

..Modlishka..

Modlishka is a flexible and powerful reverse proxy, that will take your phishing campaigns to the next level (with minimal effort required from your side).

Enjoy :-)

Features

Some of the most important 'Modlishka' features :

  • Support for majority of 2FA authentication schemes (by design).
  • No website templates (just point Modlishka to the target domain - in most cases, it will be handled automatically).
  • Full control of "cross" origin TLS traffic flow from your victims browsers.
  • Flexible and easily configurable phishing scenarios through configuration options.
  • Pattern based JavaScript payload injection.
  • Striping website from all encryption and security headers (back to 90's MITM style).
  • User credential harvesting (with context based on URL parameter passed identifiers).
  • Can be extended with your ideas through plugins.
  • Stateless design. Can be scaled up easily for an arbitrary number of users - ex. through a DNS load balancer.
  • Web panel with a summary of collected credentials and user session impersonation (beta).
  • Written in Go.

Action

"A picture is worth a thousand words":

Modlishka in action against an example 2FA (SMS) enabled authentication scheme:

Watch the video

https://vimeo.com/308709275

Note: google.com was chosen here just as a POC.

Installation

Latest source code version can be fetched from here (zip) or here (tar).

Fetch the code with 'go get' :

$ go get -u github.com/drk1wi/Modlishka

Compile the binary and you are ready to go:

$ cd $GOPATH/src/github.com/drk1wi/Modlishka/
$ make

alt text

# ./dist/proxy -h


Usage of ./dist/proxy:
      
  -cert string
    	base64 encoded TLS certificate
  
  -certKey string
    	base64 encoded TLS certificate key
  
  -certPool string
    	base64 encoded Certification Authority certificate
  
  -config string
    	JSON configuration file. Convenient instead of using command line switches.
  
  -credParams string
      	Credential regexp collector with matching groups. Example: baase64(username_regex),baase64(password_regex)

  -debug
    	Print debug information
  
  -disableSecurity
    	Disable security features like anti-SSRF. Disable at your own risk.
  
  -jsRules string
    	Comma separated list of URL patterns and JS base64 encoded payloads that will be injected. 
  
  -listeningAddress string
    	Listening address (default "127.0.0.1")
  
  -listeningPort string
    	Listening port (default "443")
  
  -log string
    	Local file to which fetched requests will be written (appended)
  
  -phishing string
    	Phishing domain to create - Ex.: target.co
  
  -plugins string
    	Comma seperated list of enabled plugin names (default "all")
  
  -postOnly
    	Log only HTTP POST requests
  
  -rules string
    	Comma separated list of 'string' patterns and their replacements. 
  
  -target string
    	Main target to proxy - Ex.: https://target.com
  
  -targetRes string
    	Comma separated list of target subdomains that need to pass through the  proxy 
  
  -terminateTriggers string
    	Comma separated list of URLs from target's origin which will trigger session termination
  
  -terminateUrl string
    	URL to redirect the client after session termination triggers
  
  -tls
    	Enable TLS (default false)
  
  -trackingCookie string
    	Name of the HTTP cookie used to track the victim (default "id")
  
  -trackingParam string
    	Name of the HTTP parameter used to track the victim (default "id")

Usage

  • Check out the wiki page for a more detailed overview of the tool usage.
  • FAQ (Frequently Asked Questions)

Credits

Thanks go to Giuseppe Trotta (@Giutro)

Disclaimer

This tool is made only for educational purposes and can be only used in legitimate penetration tests. Author does not take any responsibility for any actions taken by its users.


Twitter

modlishka's People

Contributors

drk1wi avatar impostorkeanu avatar

Watchers

 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.