Skip to content

Aldmeir/Bitb-Proje

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🎭 BitB (Browser-in-the-Browser) Attack Simulation with Evilginx2

This project demonstrates how the BitB (Browser-in-the-Browser) phishing technique works in combination with Evilginx2, for the purpose of research, simulation, and training on phishing detection.

All data entered by the user is collected locally on a Node.js backend server for analysis and demonstration purposes.


🧩 How It Works

Upon visiting the page, the user is presented with two login options:

  • Sign in with Microsoft
  • Sign in with Gmail

Login Options


When the user clicks one of these buttons, a fake browser window is displayed inside an iframe. Despite showing legitimate domain names in the address bar (e.g. https://login.microsoftonline.com, https://accounts.google.com), the content is actually rendered from a custom HTML template under our control.


🪟 Microsoft Login Example

Microsoft BitB


🪟 Google Login Example

Google BitB


In this simulation, we continue by selecting Sign in with Microsoft.


Step-by-Step Interaction

The fake browser window prompts the user to interact with a cloned Microsoft login page:

Form Step 1


Form Step 2


Final Prompt


When the user clicks "Yes", the iframe closes and the entered credentials are sent to the backend, where they are stored in a .txt file on the attacker's local machine.


🧾 Result Logging

Saved Data


🔗 Evilginx2 Integration

This BitB phishing simulation can be extended with Evilginx2 to:

  • Perform real-time MITM attacks using predefined phishlets
  • Capture session cookies (JWT, bearer tokens, etc.)
  • Evade 2FA and gain persistent session access

Evilginx2 acts as a reverse proxy to handle real authentication endpoints, while the BitB frontend handles the visual deception and interaction layer.


⚠️ Legal Notice

This project is intended only for educational, awareness, and authorized testing purposes. Unauthorized use of this tool against third parties without explicit permission is strictly prohibited and may violate local or international laws.


About

BitB Attack Simulation

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •