Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Top Posters

Who's Online (0)

Powered by Vanilla. Made with Bootstrap.
Metasploit-The basics
  • chroniccommand
    Posts: 1,389
    Metasploit can be an extremely valuable tool to any hacker, no matter what color hat you are. The Metasploit tool is, officially, a penetration testing tool which is based off of the Metasploit Framework. The Metasploit framework is a large collection of vulnerabilities and "payloads" or explicit code to be executed after the vulnerability has been exploited.

    The way that Metasploit works is that the client (or user) first selects an exploit. These exploits are generally unique to the operating system of the server and so, two exploits may seem the same but in fact they are very different from one another/each other. After the exploit has been chosen, the client then chooses a payload. Each payload option is different from the others. Even though many of them may have the same effect, such as spawning a shell for the server client-side, the means by which this is done is different and unique to each payload, as one server may be susceptible to one variant but not another. After the user has selected both his exploit and his payload, he needs to enter in critical data such as the server's IP address and port, as well as other options unique to both the exploit and payload. After the options are entered and everything is set, the user can execute the exploit, he (or she) then just sits back and waits to see if their desired effect actually occurs or not. Remember, just because the desired effect didnt work doesnt mean that its not possible. You may have chosen the wrong exploit, payload, and/or option. Just keep trying.
    The order of operations to use Metasploit properly are displayed below (quotes are direct commands typed into the console/terminal and non quotes are unique to you, the client/user and cannot be predicted by me, these must be entered in by you):
    1.) "show exploits"
    2.) choose exploit (for help on choosing a payload/getting info on the payload, type: "info exploit" exploit-name)
    3.) "use" exploit-name
    4.) "show payloads"
    5.) choose payload (for help on choosing a payload/getting info on the payload, type: "info payload" payload-name)
    6.) "set payload" payload-name
    7.) "show options"
    8.) "set" option-name-to-desired-value (ex..//set RHOST 192.161.1.1) or (ex..//set RPORT 80)
    9.) If necessary to choose a target, type "show targets" then "set targets" target-#
    10.) "show options"
    11.) double check everything needed by Metasploit to execute the exploit is entered
    12.) if applicable to the exploit, type "check" to see if the exploit will work
    13.) "exploit"
    14.) sit back and watch the fireworks
    To get more exploits/payloads or to update the framework, goto the Metasploit website to update/get information on how to update. This is crucial as servers are patching and "unpatching" potential vulnerabilities everyday
    (note: if error such as "Exploit Failed" occurs and you followed the instructions above, restart Metasploit and try again. If it continues, or if you have any other questions or comments, contact me either through this form post or my email, I would be happy to help you.)
    For more information:
    http://www.metasploit.com/
    http://en.wikipedia.org/wiki/Metasploit
  • Xin
    Posts: 3,251
    Great tutorial for newcomers to the field, hopefully we can stop them from drifting into RATs and other skiddie shit
    Xin
  • Bursihido
    Posts: 406
    very nice tut bro thanks alot :)............
  • khaos
    Posts: 41
    said:


    Great tutorial for newcomers to the field, hopefully we can stop them from drifting into RATs and other skiddie shit



    Yes but Metasploit doesn't make the same job as a RAT. RAT is for remote administration and acts like a trojan and Metasploit an exploit console for penetration/attack to local network and not to remote pcs. Am i right?
  • chroniccommand
    Posts: 1,389
    said:


    said:


    Great tutorial for newcomers to the field, hopefully we can stop them from drifting into RATs and other skiddie shit



    Yes but Metasploit doesn't make the same job as a RAT. RAT is for remote administration and acts like a trojan and Metasploit an exploit console for penetration/attack to local network and not to remote pcs. Am i right?

    It is less skiddy than a RAT though. Plus people mis-use MSF a lot. I like to use it for Shellcode and encoding etc..
  • Xin
    Posts: 3,251
    said:


    said:


    said:


    Great tutorial for newcomers to the field, hopefully we can stop them from drifting into RATs and other skiddie shit



    Yes but Metasploit doesn't make the same job as a RAT. RAT is for remote administration and acts like a trojan and Metasploit an exploit console for penetration/attack to local network and not to remote pcs. Am i right?

    It is less skiddy than a RAT though. Plus people mis-use MSF a lot. I like to use it for Shellcode and encoding etc..


    I guarentee 90% of RAT users cant use metasploit , so its deffo less skiddie, although the new metasploit GUI kinda ruins it a bit
    Xin
  • khaos
    Posts: 41
    hmm ok but msf is for lan use only!!!
    RATs can be used in the whole internet... we can't compare that.

    Script Kiddies use FastTrack :p not metasploit
  • chroniccommand
    Posts: 1,389
    said:


    hmm ok but msf is for lan use only!!!
    RATs can be used in the whole internet... we can't compare that.

    Script Kiddies use FastTrack :p not metasploit


    MSF can be used over the whole Internet too.
  • khaos
    Posts: 41
    said:


    said:


    hmm ok but msf is for lan use only!!!
    RATs can be used in the whole internet... we can't compare that.

    Script Kiddies use FastTrack :p not metasploit


    MSF can be used over the whole Internet too.


    And what about NAT/Firewalls? :)
  • Xin
    Posts: 3,251
    said:


    said:


    said:


    hmm ok but msf is for lan use only!!!
    RATs can be used in the whole internet... we can't compare that.

    Script Kiddies use FastTrack :p not metasploit


    MSF can be used over the whole Internet too.


    And what about NAT/Firewalls? :)


    Not everyone runs firewalls.
    Xin
  • khaos
    Posts: 41
    Yes. But the most users are behind nat/firewall by the default router settings.
  • Xin
    Posts: 3,251
    True most people are but if you use a mass ipscanner there are still loads of people with ports open,
    Xin
  • khaos
    Posts: 41
    said:


    True most people are but if you use a mass ipscanner there are still loads of people with ports open,



    hmm ok. What ipscanner do you use? or just using nmap?
  • Xin
    Posts: 3,251
    I use nmap, but if you wanna scan a lot of ips use angry ip scanner
    Xin
  • chroniccommand
    Posts: 1,389
    said:


    said:


    True most people are but if you use a mass ipscanner there are still loads of people with ports open,



    hmm ok. What ipscanner do you use? or just using nmap?


    Nmap is always my choice. Check out my nmap for beginners post for more help and info.
  • Xin
    Posts: 3,251
    Yeah nmap is proably the best option
    Xin
  • Xin
    Posts: 3,251
    Everyone has gotta start somewhere :P
    Xin