GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - akshatmiglani/Brute-force-for-login-bypass-on-a-local-website: This is a project to perform a BRUTE FORCE attack on a self hosted website to better the understanding of the importance of cybersecurity.

BranchesTags
Open more actions menu

Latest commit

 

History

4 Commits
4 Commits

Folders and files

NameName
Last commit message
Last commit date
static
static
 
 
templates
templates
 
 
README.md
README.md
 
 
app.py
app.py
 
 
passwd.txt
passwd.txt
 
 
username.txt
username.txt
 
 

Repository files navigation

Brute-force-for-login-bypass-on-a-local-website

Description - Sample Website Backstory

  • A-Z Education website offers courses related to React Development, Amazon Web Services and Cyber Security algorithms.
  • The website has a login page through which users create an account to purchase and view videos related to the course.
  • A-Z Education does not utilize multi factor authentication methods like One Time Passwords, Security Questions, or email verification which leaves it vulnerable to a variety of attacks.

Bruteforce Attack

In this case, I, the attacker, try to access the administrator panel of the website using a list of common usernames and passwords. To carry out the attack, Burp Intruder is used to find firstly the admin username and after finding the username finding the respective admin password to view the dashboard for the website.

Prerequisites

  1. Python
  2. Burp Suite

Steps to Carry Out the Attack

  1. Clone this repositroy and start the flaks app.
git clone https://github.com/akshatmiglani/Brute-force-for-login-bypass-on-a-local-website.git
cd Brute-force-for-login-bypass-on-a-local-website
pip install flask
python app.py
  1. Launch Burp Suite and access the login panel in Burp Browser. image

  2. Make sure the intercept is on in Burp Suite and use any credentials to post a request. image

image

  1. Send this request to Burp Repeater, Choose the attack type to Sniper and add a payload position to username. image

image

  1. Using the common usernames.txt of this repostiory, add this to the payload as a simple list and start the attack. image image

  2. Sample bruteforce attack on username. image

  3. Observe that one status code is different than the others. image

  4. After finding out that “admin” is the admin username, we change the payload to the password parameter and apply brute force using password list to find the password.

image

image

image

  1. Now we come to know the password and username for the admin (because of the status codes) and thus we login in to the admin panel using these credentials.

image

  1. Accessed the admin panel.

image

Prevention Techniques

  1. Use Strong Passwords.
  2. Limit Login Attempts.
  3. Monitor IP addresses.
  4. Use Two-Factor Authentication (2FA).
  5. Use CAPTCHAs.
  6. Use Unique Login URLs
  7. Disable Root SSH Logins
  8. Use Web Application Firewalls (WAFs)

About

This is a project to perform a BRUTE FORCE attack on a self hosted website to better the understanding of the importance of cybersecurity.

Topics

brute-force-attacksbruteforceburpsuitecollege-projectcybersecuritycybersecurity-awarenesscybersecurity-educationcybersecurity-projectsflaskpython

Resources

Readme
Activity

Stars

42 stars

Watchers

1 watching

Forks

11 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402877 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.