Ethical Hacking Project Work
Ethical Hacking Project Work
K Bhanu Prasad
Contents :-
1. Lab setup
2. Scanning of ports and Vulnerability Scanning
3. System Hacking
4. Cross Site Scripting
1. Lab Setup
Step 2-> now download Kali linux file and open the .vmx file in the
Vmware in the PC. I got the file from the below link
https://www.offensive-security.com/kali-linux-vm-vmware-virtualbox-image-download/
Step 1:- first check your system Ip by using command “ifconfig”. Mine
is 192.168.64.131.
7. Type “exploit”, payload gets started injected into the target and a
meterpreter>is displayed stating that payload injection is successful.
Active method:-
In passive system hacking, we exploited the operating system without even
touching the system. However, in active system hacking, we need physical
access for a certain amount of time to the operating system or we will have to
use social engineering to make the payload execute at target operating system.
4) enter your ip address and the port 443 then metasploit automatically starts,
and a file will be created in /root/.set/reports/powershell directory. Share and
open that file anyhow by using any method into the target system( my case its
windows xp)
5) After the above step we can get the access of the target, and by using
sessions we can track the actions of the target.
4) Cross Site Scripting
Cross-site scripting (XSS) is a type of computer security vulnerability typically
found in Web applications. XSS enables attackers to inject client-side script into
Web pages viewed by other users. A cross-site scripting vulnerability may be
used by attackers to bypass access controls such as the same origin policy.
For this we are using Damn Vulnerable Web App (DVWA), which is php/mysql web application
which aims to be an aid for security professionals to test their skills and tools in a legal environment,
help web developers better understand the processes of securing web applications and to aid both
students & teachers to learn about web application security in a controlled class room environment.