Hide Executable Files In jpeg Or Image File

Posted by Suraj Kayastha in Articles, Windows Tips, Windows Hacks

You may know it’s best use. This tutorial will guide you through the steps to hide the executable files in jpeg format.
Firstly, create a new folder and make sure that the options ‘show hidden files and folders’ is checked and ‘hide extensions for known file types’ is unchecked.
Basically what you need is to see hidden files and see the extension of all your files on your pc.

Paste a copy of your server on the new created folder. let’s say it’s called test.exe’ (that’s why you need the extension of files showing, cause you need to see it to change it)

Now you’re going to rename this ‘test.exe’ to whatever you want, let’s say for example ‘test.jpg’

Windows is going to warn you if you really want to change this extension from exe to jpeg, click YES.

Now create a shortcut of this ‘test.jpg’ in the same folder.

Now that you have a shortcut, rename it to whatever you want, for example, ‘file.jpg’.

Go to properties (on file file.jpg) and now you need to do some changes there.

First of all delete all the text on field ‘Start In’ and leave it empty.

Then on field ‘Target’ you need to write the path to open the other file (the server renamed ‘test.jpg’) so you have to write this :-
‘C:\WINDOWS\system32\cmd.exe /c test.jpg’

The last field, ‘c test.jpg’ is always the name of the first file. If you called the first file ‘goal.avi’ you’ll have to write ‘C:\WINDOWS\system32\cmd.exe /c goal.avi’.

So what you’re doing is when someone clicks on ‘file.jpg’, a cmd will execute the other file ‘test.jpg’ and the test.exe will run.

On the file ‘file.jpg’ (shortcut), go to properties and you have an option to change the icon. Click that and a new window will pop up and you have to write this :-
%SystemRoot%\system32\SHELL32.dll . Choose an icon for the default jpg image, then press OK.

You can set the properties ‘Hidden’ for the first file ‘test.jpg’ if you think it’s better to get a connection from someone.

These 2 files must always be together in the same folder and to get connected to someone they must click on the shortcut created not on the first file.
For example, I would like to click on image1.jpg first rather than image2.jpg. Therefore I’ll rename the shortcut to image1.jpg and the executable file to image2.jpg. This will make me click the shortcut and load the exe file.
Since I’ll be in need of these two files to be together, the best way to send these files together to someone is compress them into Zip or Rar.

Hope this tutorial was helpful. Keep visiting hackspc for more fun.