XSS Exploitation Using BeEF Framework

Published by

on

What is BeEF.?

BeEF is short for The Browser Exploitation Framework. It is a penetration testing tool that focuses on the web browser.

How to access BeEF using Web GUI.?

To access BeEF server open up any web browser and access localhost (127.0.0.1). BeEF runs a web server at port 3000. We can access BeEFS Web GUI from the following URL.

http://localhost:3000/ui/authentication

What is XSS.?

Cross-Site Scripting (XSS) attacks are a type of injection, in which malicious scripts are injected into otherwise benign and trusted websites. XSS attacks occur when an attacker uses a web application to send malicious code, generally in the form of a browser side script, to a different end-user. Flaws that allow these attacks to succeed are quite widespread and occur anywhere a web application uses input from a user within the output it generates without validating or encoding it.

An attacker can use XSS to send a malicious script to an unsuspecting user. The end user’s browser has no way to know that the script should not be trusted, and will execute the script. Because it thinks the script came from a trusted source, the malicious script can access any cookies, session tokens, or other sensitive information retained by the browser and used with that site. These scripts can even rewrite the content of the HTML page. For more details on the different types of XSS flaws.

For details: https://www.owasp.org/index.php/Cross-site_Scripting_(XSS).

How to exploit XSS.?. 

Please watch the video.

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.