Giter VIP home page Giter VIP logo

malidp's Introduction

malIDP

A small (and very janky) SAML IDP which will sign SAML responses to authenticate as any user.

Information about this tool can be found in the blog post https://blog.xpnsec.com/identity-providers-redteamers.

Building

python3 -m venv env
source ./env/bin/activate
pip install --upgrade pip
pip install -r requirements.txt

Usage

OneLogin

Start with:

./main.py --provider onelogin --cert ./example.com.crt --key ./example.com.key --issuer 'www.example.com'

And use the following to kick off the flow:

https://tenant-name.onelogin.com/access/initiate?iss=ISSUER_HERE

Okta

Metadata should be downloaded from the added External Identity Provider.

Start with:

./main.py --provider okta --cert ./example.com.crt --key ./example.com.key --metadata saml_metadata.xml --issuer 'www.example.com'

And use the following to kick off the flow:

https://tenant-name.okta.com/app/template_saml_2_0/k1k2l3l4l5l6l7l8l9l0/sso/saml?SAMLRequest=REQUEST_HERE

Azure

Metadata should be taken from https://nexus.microsoftonline-p.com/federationmetadata/saml20/federationmetadata.xml

Start with:

./main.py --provider azure --cert ./example.com.crt --key ./example.com.key --metadata federationmetadata.xml --issuer 'www.example.com'

And use the following to kick off the flow:

http://localhost/init

Ping Identity

Metadata should be downloaded from the added External Identity Provider.

Start with:

./main.py --provider ping --cert ./example.com.crt --key ./example.com.key --metadata saml_metadata.xml --issuer 'www.example.com'

malidp's People

Contributors

xpn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

nullze

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.