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 (2)

Powered by Vanilla. Made with Bootstrap.
Metasploit autopwn with nessus
  • [-- Intro --]
    This is a followup guide to my Nessus scanning guide. In this guide I'll show you how to import a Nessus scanned database into metasploit and execute autopwn to automatically launch an exploit found within Nessus.

    [-- Database Work --]
    So first we must open up metasploit(msfconsole). Once metasploit is open and loaded we're gonna have to load the .nessus file into metasploit. To do this we're going to first have to connect to a database. To create a database, type:
    db_create

    Now you have a newly created database. Now to connect to it. Just type:
    db_connect

    NOTE: Metasploit usually automatically connects you to the newly created database, but type that in case it doesn't.
    Now that you're connected you're gonna have to import the .nessus file. To do this you're gonna have to type the following command:
    db_import_nessus_xml /home/chronic/nessus_scan.nessus

    This should import the .nessus file.
    NOTE: If you have a .nbe file, change _xml to _nbe
    Now type db_hosts to see the hosts you have in that file to make sure you're autopwn'ing the correct targets.

    [-- Aut0pwning --]
    Now to actually launch autopwn on the nessus targets. To do this, just type the following command:
    db_autopwn -t -e -x -p

    It should start running through the autopwn process :)


    If all goes well, and it's exploited, you should get a meterpreter :D
    If you need any help, feel free to ask

    --Chroniccommand
  • C10Wn
    Posts: 16
    said:


    [-- Intro --]
    This is a followup guide to my Nessus scanning guide. In this guide I'll show you how to import a Nessus scanned database into metasploit and execute autopwn to automatically launch an exploit found within Nessus.

    [-- Database Work --]
    So first we must open up metasploit(msfconsole). Once metasploit is open and loaded we're gonna have to load the .nessus file into metasploit. To do this we're going to first have to connect to a database. To create a database, type:

    db_create

    Now you have a newly created database. Now to connect to it. Just type:
    db_connect

    NOTE: Metasploit usually automatically connects you to the newly created database, but type that in case it doesn't.
    Now that you're connected you're gonna have to import the .nessus file. To do this you're gonna have to type the following command:
    db_import_nessus_xml /home/chronic/nessus_scan.nessus

    This should import the .nessus file.
    NOTE: If you have a .nbe file, change _xml to _nbe
    Now type db_hosts to see the hosts you have in that file to make sure you're autopwn'ing the correct targets.

    [-- Aut0pwning --]
    Now to actually launch autopwn on the nessus targets. To do this, just type the following command:
    db_autopwn -t -e -x -p

    It should start running through the autopwn process :)


    If all goes well, and it's exploited, you should get a meterpreter :D
    If you need any help, feel free to ask

    --Chroniccommand


    Can you help me with this, I am on windows and cant get it to run the document. I also have Ubuntu (I am dual booting) If I need to use that, which I have no problem with I am just trying to learn more about exploiting.


  • Can you help me with this, I am on windows and cant get it to run the document. I also have Ubuntu (I am dual booting) If I need to use that, which I have no problem with I am just trying to learn more about exploiting.



    What do you mean "run the document"?
  • Xin
    Posts: 3,251
    Maybe he means infecting a word or pdf file
    Xin
  • nice guide bro Thanks :)
  • Sh3llc0d3
    Posts: 1,910
    I'm sure you said autopwn was for skid's somewhere chronic :P only kidding :P

    Good tutorial mate :)
  • said:


    I'm sure you said autopwn was for skid's somewhere chronic :P only kidding :P

    Good tutorial mate :)



    Yea I did but autopwn is less skiddy than SQL's and such. It's good to know the basics.
  • volvo14
    Posts: 18
    i newer here i want to learn metasploit framework !!!
    can you give a full tutorial ????
    i mean from scratch
    i installed backtrack 4 on my machine
    and i am ready to learn
    -------
  • Sh3llc0d3
    Posts: 1,910
    said:


    i newer here i want to learn metasploit framework !!!
    can you give a full tutorial ????
    i mean from scratch
    i installed backtrack 4 on my machine
    and i am ready to learn
    -------




    http://www.offensive-security.com/metas ... y_Training
  • undead
    Posts: 822
    said:


    i newer here i want to learn metasploit framework !!!
    can you give a full tutorial ????
    i mean from scratch
    i installed backtrack 4 on my machine
    and i am ready to learn
    -------



    http://www.securitytube.net/groups?oper ... &groupId=8
  • volvo14
    Posts: 18
    Thx So helpful i started Metasploit Megaprimer !!!
    but i can't find the "Metasploitable" from "http://www.offensive-security.com/metasploit-unleashed/Metasploitable"
    i want to try to a vunrreable xp sp2
    but i didn't find the http://www.offensive-security.com/metas ... sploitable "Metasploitable"
  • Sh3llc0d3
    Posts: 1,910
    said:


    Thx So helpful i started Metasploit Megaprimer !!!
    but i can't find the "Metasploitable" from "http://www.offensive-security.com/metasploit-unleashed/Metasploitable"
    i want to try to a vunrreable xp sp2
    but i didn't find the http://www.offensive-security.com/metas ... sploitable "Metasploitable"



    Check out:
    http://blog.metasploit.com/2010/05/intr ... table.html

    Torrent:
    http://updates.metasploit.com/data/Meta ... ip.torrent

    If you're a member you can get a direct HTTP download:
    http://www.rapid7.com/customers/customer-login.jsp
  • volvo14
    Posts: 18


    i have rapid7 community account !!!
    but i find that i can't download from rapid7 customer links !!!!!!
    and in the blog no downloable i will try torrent http://updates.metasploit.com/data/Meta ... ip.torrent
    thx :)
  • Sh3llc0d3
    Posts: 1,910
    Think you need an express account for the http download... not entirely sure.
  • volvo14
    Posts: 18
    i didn't have an express account !!!
    i think they buy the account :s
    but i have downloaded the second link and it work !!!
    thank you very much now i can TeSt On It
    youuuuuuuuuuuuuuuuuuuuuupi :)
  • You can simply use the Web App for Nessus by connecting to 127.0.0.1:8834 and do whatever you wanna do and then import your scans to metasploit and unleash autopown.
    Twitter: 1_The_Unknown_1
    Skype: The.Unknown.123