Close Menu
    What's Hot

    Why GRC Services Are Vital for Business Growth and Compliance in 2025

    July 1, 2025

    Ultimate Guide to Attack Surface Scanning

    April 10, 2025

    Recent Trends in Zero Trust Architecture

    March 3, 2025
    Facebook X (Twitter) Instagram LinkedIn WhatsApp
    HITH Blog – HackerinthehouseHITH Blog – Hackerinthehouse
    • Bug Bounty

      A Beginner’s guide to Active Directory Penetration Testing

      June 21, 2023

      Building an XSS Scanner with Python

      February 27, 2023

      Journey to Website Security: Uncovering Hyperlink Injection Dangers

      February 24, 2023

      File Upload XSS | Find XSS in a different way while doing Bug bounty and Pentesting

      January 13, 2023

      How To Find DOM-based XSS Vulnerability

      December 27, 2022
    • Pen Testing

      Privileged Escalation: How Hackers Exploit Permissions to Compromise Your Systems

      March 5, 2024

      The Ultimate Guide to Vulnerability Scanning

      December 13, 2023

      Top 10 Tools for Real World Red Teaming

      November 18, 2023

      Locking Down OAuth 2.0: Critical Steps to Protect User Accounts and Data

      November 10, 2023

      Detailed guide on Password Transmutations

      April 29, 2023
    • Cyber Security

      Why GRC Services Are Vital for Business Growth and Compliance in 2025

      July 1, 2025

      Ultimate Guide to Attack Surface Scanning

      April 10, 2025

      Recent Trends in Zero Trust Architecture

      March 3, 2025

      Modern Defensive Cybersecurity Services

      December 29, 2024

      A Comprehensive Guide on Cyber Security Services VS Cyber Security Products

      June 14, 2024
    • Services
    • Product
      • Certifications
    • More
      1. Ethical Hacking
      2. Kali Linux
      3. Write Ups
      4. CTF
      5. Blockchain
      6. Machine Learning
      7. Computer Science
      8. View All

      Journey to Website Security: Uncovering Hyperlink Injection Dangers

      February 24, 2023

      Pentest/VAPT RoE and Best Practices

      February 3, 2023

      Emoji Deploy Attack Chain

      January 24, 2023

      Introduction to Information Security

      January 11, 2023

      Cyber Security Roadmap (Part-2)

      October 25, 2022

      How to install waybacksurls in kali linux (2022)

      September 23, 2022

      How To Find Hidden Parameters

      November 12, 2022

      Top 10 Subdomain Takeover Reports

      November 6, 2022

      Pause DeSync Attack :

      November 3, 2022

      Bypassing OTP Verification Methods

      October 31, 2022

      Tryhackme Vulnversity walkthrough

      September 26, 2022

      Why GRC Services Are Vital for Business Growth and Compliance in 2025

      July 1, 2025

      Ultimate Guide to Attack Surface Scanning

      April 10, 2025

      Recent Trends in Zero Trust Architecture

      March 3, 2025

      Modern Defensive Cybersecurity Services

      December 29, 2024

      A Peek into Facial Recognition Technology

      August 21, 2023

      How Data Scientists and Machine Learning Engineers Differs

      November 8, 2022

      Artificial Neural Networks with ML

      November 4, 2022

      INTRODUCTION TO MACHINE LEARNING

      October 20, 2022

      Robotic Process Automation: The Key to Effortless Efficiency

      September 18, 2024

      BCI: Merging Minds With Machines

      August 18, 2023

      Is Quantum Computing the future of Computing?

      August 16, 2023

      Why GRC Services Are Vital for Business Growth and Compliance in 2025

      July 1, 2025

      Ultimate Guide to Attack Surface Scanning

      April 10, 2025

      Recent Trends in Zero Trust Architecture

      March 3, 2025

      Modern Defensive Cybersecurity Services

      December 29, 2024
    HITH Blog – HackerinthehouseHITH Blog – Hackerinthehouse
    Home»Cyber Security»A guide to Browser in the Browser Attack
    Cyber Security

    A guide to Browser in the Browser Attack

    TheToySecBy TheToySecNovember 11, 2022Updated:November 12, 2022No Comments4 Mins Read
    Share Facebook Twitter Pinterest LinkedIn Tumblr Reddit Telegram Email
    Share
    Facebook Twitter LinkedIn Pinterest Email

    Hey guys this is TheToySec back again with another Post. In this post we will talk about the browser in the browser attack and some of the detection techniques to mitigate this type of attack.

     

    What is BITB attack?

    So BITB attack is known as Browser in the Browser Attack, which is actually an advance and highly developed phishing attack that can trick users into believing the fake website is the real website. It creates a fake single sign on login page which makes confuse to an user.

     

    So, Let’s talk about Single Sign On (SSO)

    What is SSO?

    Single sign on is an authentication mechanism that allows you to sign in once and then you can access all the services according to that application or websites without entering the username and password simultaneously. For an example it will be like login with google, fakebook etc. Once you login with Your Google account then you can access YouTube, Google Drive, Gmail, Photos and other Google Services.  So that is called as SSO login.

     

    Now let’s look at this picture.

     

    In the above image you can see the URL slug of SSO windows is showing ‘https://www.facebook.com/login’. So it’s confusing, right. Now let’s see the reproduction steps to reproduce this attack.

     

    Open terminal in Kali Linux and Download BITB-Framework from GitHub by Surya Dev Singh here: https://github.com/surya-dev-singh/BITB-framwork.git

    After installing the tool go to BITB-Framework folder by following command: cd BIB-Framework

    Now type ls to check the files. You’ll get to see there is a file which is bitb.py.

     

     

    Now to check the permission of the file you can type ls -l. Type chmod 777 in the terminal if the permission isn’t executable.

    All set for the test, now just type python3 bitb.py. 

     

     

    Now you’ll get to see a lots of template options to select. You can select accordingly. In my case I just selected the option number 1 for Facebook template.

     

     

    Now in enter value you can choose any accordingly. I selected option number 1 and run it.

    Now go to your browser in Kali Linux and enter the web URL address which has been shown in your Kali Linux terminal.

     

     

    Now you can see there’s web page and there’s an SSO Login option to login with Facebook. If you’ll click on this the fake window will be open.

     

     

    Now you can enter the credentials details and check the username and passwords in Kali Linux terminal. Boom! We got the credentials now!

     

     

    So now you might be thinking the URL is just 0.0.0.0 and port number is 8080, so it’s in only localhost. Because we tested it in the localhost. But if we think like the attackers perspectives then they will not do it in localhost, they might be do it in a real web server which may looks a legitimate website, actually designed to trap the victims.

     

    So now the question is how we can save ourself and how to detect BITB Attack?

    Well, It’s quite simple! Let’s look at below pictures.

    If you can see this picture, then we can see we can’t fully maximize and drag and drop this window. So it means it replicates that there is a BITB Phishing page.

     

    But in this picture you can see we can easily maximize and drag and drop this window. So it replicates that it’s the real website one and there’s no BITB Phishing page.

     

    Note: For testing purpose I used Surya Dev Singh’s GitHub tool, but you can use mrd0x’s GitHub tool also.

     

    For more details you can visit: https://github.com/mrd0x/BITB

     

    Disclaimer: Hackerinthehouse, it’s author and it’s affiliates won’t be responsible for any actions made by you. This article is published for security research and education purposes only. It is the end user’s responsibility to obey all applicable local, state and federal laws.

     

    Recommended article to Prevent Cyber Attacks: Ultimate Guide to Prevent Cyber Attacks

     

    If you really like this post then give your reaction and don’t forget to share with others. Till then we will meet again in another interesting topic.

     

    Thank you for reading this and have a nice stay there! 

    Author

    • TheToySec
      TheToySec

      View all posts

    advance-phishing BITB Attack browser-in-the-browser-attack cyber-attacks Cyber-Security Ethical-Hacking phishing
    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
    Previous ArticleWhat is Doxing?
    Next Article How To Find Hidden Parameters
    TheToySec

    Related Posts

    Cyber Security

    Why GRC Services Are Vital for Business Growth and Compliance in 2025

    July 1, 2025
    Cyber Security

    Ultimate Guide to Attack Surface Scanning

    April 10, 2025
    Cyber Security

    Recent Trends in Zero Trust Architecture

    March 3, 2025
    Add A Comment
    Leave A Reply Cancel Reply

    Advertisement
    Top Posts

    How to install waybacksurls in kali linux (2022)

    September 23, 20222,607 Views

    File Upload XSS | Find XSS in a different way while doing Bug bounty and Pentesting

    January 13, 2023913 Views

    OSCP Cheat Sheet

    October 16, 2022864 Views
    Stay In Touch
    • Facebook
    • YouTube
    • TikTok
    • WhatsApp
    • Twitter
    • Instagram
    Latest Reviews

    Subscribe to Updates

    Get the latest tech news from FooBar about tech, design and biz.

    Advertisement
    X (Twitter) Instagram LinkedIn WhatsApp Telegram
    • About us
    • Contact Us
    • Privacy Policy
    • Terms
    © 2025 HITH Blog. Powered by Hackerinthehouse.

    Type above and press Enter to search. Press Esc to cancel.

    Ad Blocker Enabled!
    Ad Blocker Enabled!
    Our website is made possible by displaying online advertisements to our visitors. Please support us by disabling your Ad Blocker.