Skip to content

Maldev-Academy/GitHubDeviceCodePhishing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub Device Code Phishing Tool

A tool that provides a web interface to easily perform GitHub Device Code phishing

Quick Links

Maldev Academy Home

Offensive Phishing Operations Course Syllabus

Malware Development Course Syllabus

Requirements

  • Python 3.8 or higher
  • Pip

Local Installation

# Clone the repository
git clone https://github.com/yourusername/github-device-phishing.git
cd github-device-phishing

# Install dependencies
pip install -r requirements.txt

# Run the application
python main.py

Docker Installation

# Build and run with Docker
docker build -t github-phishing .
docker run -p 3000:3000 -p 8080:8080 github-phishing

# Or use docker-compose
docker-compose up -d

Web Interfaces

The application hosts two interfaces:

  • Admin interface - This is available on localhost:3000 and allows you to create new operations, view captured tokens, user information and more.

  • Phishing Interface - This is available on localhost:8080 and is a GitHub-styled device code authorization page with dynamic code generation for each visitor. Note that the port can be changed from the admin interface.

Demo

Creating a new operation.

1-522616801-30197e71-3dc8-40fa-9290-6b8b93ffa575

Device code authorization page.

2-522616861-61c87176-cfd3-4e53-9c50-dc41388b8ea7

Live view of access history and captured tokens.

3-522617199-ede73e38-41d3-4a1c-b48a-8c9e762f682e

Credits

Huge thanks to @0xh3l1x for developing this tool as part of the Offensive Phishing Operations training update.

Notice

Warning

This tool is intended for use in authorized security engagements only. Use responsibly and in accordance with all applicable laws.

About

A tool to easily perform GitHub Device Code Phishing on red team engagements

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published