Video - Using Metasploit to Launch a DOS Attack Against Windows XP

8 minutes
Share the link to this page
You need to have access to the item to view this lesson.
One-time Fee
List Price:  $139.99
You save:  $40
List Price:  €128.51
You save:  €36.71
List Price:  £110.53
You save:  £31.58
List Price:  CA$190.63
You save:  CA$54.47
List Price:  A$208.90
You save:  A$59.69
List Price:  S$188.42
You save:  S$53.84
List Price:  HK$1,092.29
You save:  HK$312.10
CHF 91.18
List Price:  CHF 127.65
You save:  CHF 36.47
NOK kr1,073.95
List Price:  NOK kr1,503.58
You save:  NOK kr429.62
DKK kr686.39
List Price:  DKK kr960.97
You save:  DKK kr274.58
List Price:  NZ$228.20
You save:  NZ$65.20
List Price:  د.إ514.18
You save:  د.إ146.92
List Price:  ৳16,307.21
You save:  ৳4,659.53
List Price:  ₹11,661.24
You save:  ₹3,332.02
List Price:  RM656.20
You save:  RM187.50
List Price:  ₦205,785.30
You save:  ₦58,800
List Price:  ₨38,789.74
You save:  ₨11,083.57
List Price:  ฿5,038.70
You save:  ฿1,439.73
List Price:  ₺4,513.75
You save:  ₺1,289.73
List Price:  B$714.59
You save:  B$204.18
List Price:  R2,565.91
You save:  R733.17
List Price:  Лв251.83
You save:  Лв71.95
List Price:  ₩189,601.05
You save:  ₩54,175.60
List Price:  ₪516.98
You save:  ₪147.71
List Price:  ₱8,098.42
You save:  ₱2,313.99
List Price:  ¥21,792.94
You save:  ¥6,227
List Price:  MX$2,325.03
You save:  MX$664.34
List Price:  QR507.87
You save:  QR145.11
List Price:  P1,886.91
You save:  P539.15
List Price:  KSh18,172.80
You save:  KSh5,192.60
List Price:  E£6,553.98
You save:  E£1,872.69
List Price:  ብር7,998.81
You save:  ብር2,285.53
List Price:  Kz118,851.51
You save:  Kz33,960
List Price:  CLP$125,220.73
You save:  CLP$35,779.90
List Price:  CN¥1,011.17
You save:  CN¥288.92
List Price:  RD$8,157.46
You save:  RD$2,330.87
List Price:  DA18,848.39
You save:  DA5,385.64
List Price:  FJ$311.92
You save:  FJ$89.12
List Price:  Q1,081.96
You save:  Q309.15
List Price:  GY$29,135.07
You save:  GY$8,324.90
ISK kr13,781.37
List Price:  ISK kr19,294.47
You save:  ISK kr5,513.10
List Price:  DH1,386.51
You save:  DH396.17
List Price:  L2,464.07
You save:  L704.07
List Price:  ден7,916.55
You save:  ден2,262.03
List Price:  MOP$1,119.16
You save:  MOP$319.78
List Price:  N$2,547.77
You save:  N$727.98
List Price:  C$5,126.52
You save:  C$1,464.82
List Price:  रु18,565.58
You save:  रु5,304.83
List Price:  S/520.05
You save:  S/148.59
List Price:  K540.79
You save:  K154.52
List Price:  SAR524.96
You save:  SAR150
List Price:  ZK3,554.51
You save:  ZK1,015.64
List Price:  L640.62
You save:  L183.04
List Price:  Kč3,180.29
You save:  Kč908.72
List Price:  Ft49,813.32
You save:  Ft14,233.39
SEK kr1,071.59
List Price:  SEK kr1,500.27
You save:  SEK kr428.67
List Price:  ARS$123,415.66
You save:  ARS$35,264.13
List Price:  Bs962.21
You save:  Bs274.93
List Price:  COP$532,965.46
You save:  COP$152,286.72
List Price:  ₡71,270.84
You save:  ₡20,364.55
List Price:  L3,448
You save:  L985.21
List Price:  ₲1,043,416.42
You save:  ₲298,140.27
List Price:  $U5,431.06
You save:  $U1,551.84
List Price:  zł548.49
You save:  zł156.72
Already have an account? Log In


Greetings and initiate video presentation we're going to see how we go about using Metasploit to launch a DoS attack against a Windows XP machine. Meta sploit is an all around hacking suite of tools that comes with Cali landings. It is used by pen testers and hackers alike. This point comes with various exploits and payloads similar to commercial applications costing thousands of dollars. And an example of that would be Korean Pac. So as with every lab before we get too far along, let's make sure that we have network connectivity between our Kali machine and our target which is our XP host.

So I verified that I do have an IP address assigned to my Ethernet zero adapter on my Kali machine, and that IP address is 192 dot 168 dot 145 dot one three. Now this is my IP address not yours. Your IP address will differ. Let's go on over to my Windows XP machine and let's check out the IP address assigned to it. The IP address assigned to my Windows XP machine is 192 dot 168 dot 145 dot 131. Alright, so now let's go back over to Kali.

And we're going to ping that IP address. If both of these machines are on the same network sharing the same network ID, they should be able to see each other and his ping should be successful. And I get back nothing but positive responses. So I can do a Ctrl C, break that sequence. And now we're ready to continue on with the lab. A couple of caveats that we have to take care of before we get too far along.

One of those is make sure that your Windows Firewall on the Windows XP machine is disabled. Secondly, make sure that RDP is enabled on the remote target. So mine says that no firewall is turned on. And if I click on my start button, I right Click on my computer, I go to properties, and I go to remote, you'll see that the box is checked to allow users to connect remotely to this computer. We're good to go. On my Kali machine, I have typing the command clear on my terminal.

And that's going to give me a clean terminal to start work with. And we are now ready to begin the lab. So for grins and giggles, we can treat this as if this was the first time I've ever seen this network. And I need to find out what machines are running on this network and what their operating systems are. I also like to find out what services or ports are currently open on those machines. So I can type in 192 dot 168 dot 145 dot zero, forward slash 24 to scan the entire network, or in this case, since I already know that my Windows XP has the host IP a 131.

We can preclude all that and we can just get to the lab itself. And do the N map space dash small letter S, capital V and the IP address of the host, I want to scan, which is 131. So I'm going to go ahead and hit Enter. And in just a moment, the results of the scan will come back to me. So if I had done the network, scan every machine on the network that was available and connected to the same network, I would have got results back telling me what the operating system was, what the ports were and what services were running along with your IP address. Now, in this case, we know that this is an XP machine.

And we can confirm that because when I use this S, capital V switch within map, it looks for the OS. It tries to identify the OS and it comes back and it tells you what it believes the operating system is it doesn't always work, but a lot of times it does. And map also provides me with the ports and the services. that are currently running on this remote target. This is going to allow me to determine what exploits I can run. So currently I have a couple of ports that I'm interested in.

The first one is this SMB service that is running on port 445. The other one is RDP, which is using Port 3389. Again, I've cleared my terminal screen so that I have a clean working area. And now I'm going to go ahead and launch meta sploit we're going to do that by typing in m s f posle. And in just a moment, meta sploit will start up to see all the exploits that are currently available up inside of meta sploit. I can type in show exploits, and it'll bring up an entire list of all the exploits that are available to me.

Notice that all of these exploits are also rated by how successful they are. You either get a normal an average or a great but in this case I have a particular exploit that I want to find out I can try to scroll through all of these hundreds of exploit looking for this particular one, but I can also use the search feature. So I can type in search. And the information that describes the exploit in this case is the Microsoft Security bulletin 12 dash zero to zero. And if I hit Enter in just a moment, it's going to do a search and come up with this particular exploit. This module exploits the Microsoft 12 dash zero to zero RDP vulnerability which allows for remote code execution when an attacker sends a sequence of specifically crafted RDP packets to an infected system.

By default, the remote desktop protocol RDP is not enabled on any Windows operating system. So systems that do not have RDP enabled are not at risk. So to see the effects of this denial of service attack on this Windows XP target We need to have the Windows XP open because it's going to happen very quickly. So what I've done here is I have stacked my two operating systems Kali and Windows XP side by side. And I did this by going down to my taskbar, and right clicking and then I chose, I said, Show windows stack that brings both of them into the one monitors side by side, we're now ready to begin this denial of service attack. Now to do this, what I'm going to do is I'm going to copy this particular exploit right here, I'm gonna say copy.

I'm gonna go down here, and I'm going to type in you. And now I'm just going to right click, and I'm going to paste. Once that's done, all I have to do is hit Enter, and you'll notice that my prompt changes to let me know that I'm now using that exploit. This is a very simple exploit. So to see the options that I must configure, I can just type in show options. And you'll see that it says, the remote host must be configured remote Port 3389 is already set for us.

So I'm going to go ahead and set the remote host IP address for this particular exploit. So this is a good time to confirm that this is the IP address of your target. There's nothing wrong with going over and finding the IP address for this particular machine. Because we only want to do this once. We don't want to be banging our head on the keyboard three or four times because we type in the wrong IP address. I'm ready now to hit Enter.

And lets me know that the remote host IP address has been set. We're now ready to bring down our Windows XP machine using this denial of service attack. To do this, I'm just going to go ahead and run the exploit by using the exploit command. I'm going to go ahead and hit enter. Now you have to keep your eyes on the Windows XP target because this happens very quickly. And the Windows XP machine rebooted.

In this short video presentation, you got to see how easy it was to create a denial of service attack onto a Windows XP target using the meta sploit framework. That concludes this short video presentation. If you have any questions or concerns about the contents of this video or the lab, please do not hesitate to reach out and contact your instructor and I'll see you in my next video.

Sign Up


Share with friends, get 20% off
Invite your friends to LearnDesk learning marketplace. For each purchase they make, you get 20% off (upto $10) on your next purchase.