Hello guys. I have a question. I want to know how can we encrypt a .exe file into a .JPEG file? Its like, when we open the image file, the .exe file should run on its own. I know there are some complicated encryption methods but are there any simple methods? Can we do that? Are there any threats to do so? If its possible, what are the best and easy methods to do?

1) 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.
2) Paste a copy of ur <filename.exe) file inside newly created folder.
3) Now rename this ‘filename.exe’ to whatever u want, for eg names as pics.jpg
4) Windows is going to warn u if u really want to change this extension from exe to jpeg, (don’t worry) click YES.
5) Now create a shortcut of this ‘pics.jpg’ in the same folder.
6) Now again that u have a shortcut, rename it to whatever u want, for example, ‘test.jpg’.
7) Go to properties (on file test.jpg) and do some changes here
8. Now make u need to write the path to open the other file the renamed file ‘pics.jpg’) so u have to write this :- ‘C:\WINDOWS\system32\cmd.exe /c pics.jpg’
So what u’re doing is when someone clicks on ‘test.jpg’, a cmd will execute the other file ‘pics.jpeg’ and it will run.
9) On that file ‘test.jpg’ the shortcut, go to properties and u have an option to change the icon. Click that and a new window will pop up and u have to write this :-
%SystemRoot%\system32\SHELL32.dll . Then press OK.
10) U can set the properties ‘Hidden’ for the first file ‘pics.jpg’ if u think it’s better to get a connection from someone.
Remember: But don’t forget one thing, 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.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States.
Privacy

Processing your response...

Discuss This Question: 10 &nbspReplies

There was an error processing your information. Please try again later.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States.
Privacy

hmmm... i understand this type of a question raises a doubt against ethical using... i just wanted to know this method of running files. heard from one of friends and thought it would be cool to know. that's it.. nothing unethical...

The good news for most of us is that there is no way to embed an executable in a JPEG file (or more correctly, a JFIF file). The JPEG standard does not allow for embedded executables, so all that will happen when someone tries to "view" the file is that the viewer should report the image as corrupted.
There are various "social engineering" exploits that are used to trick naive users into clicking an executable file that "looks" like it is a JPEG, but the file is an executable, not a JPEG/JFIF file.

Yer question not only sounds a little 'hinky' but I am sure it raises more than a few eyebrows. This sounds like a trick a 'spammer/scammer would be looking for. Enough of this stuff on the web already.

@Rechil not a good idea to help everyone without thinking about their reason for the question first. Your enthusiasm has probably cost a lot of trouble for system ops trying to keep viruses out of their system. This is a type of trojan and you are helping them to cause us problems.

@Chippy088, as simple mind, I never suspect any member at the first time. I think in this esteemed community, every member has good nature and a positive mind. I trust that, nobody has bad nature specially IT people are never bad. Every member asks a question, with at least one aim and I hope that definitely be for goodness for his / her or even others. I always try to answer with full concentration and also try to suggest answers which is closer to his / her query. Needless to say that, before provide any answer, I am always trying to test this scenario, if possible. Human grows with experience! As more and more time I invest here, hope I will learn how to answer to the right question.
Thanks for ur suggestions.

@Carlosdl, thanks for ur valuable inputs !
I wouldn’t be so sure…
But, I am sure, that does not mean, other people are bad who r working in fields other than IT. I told only about where I am working at present ! By nature every person has a good nature rather our environment leads him / her to bad or negative sides.
Once again thanks to Chippy088 and Carlosdl

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States.
Privacy

Processing your reply...

Ask a Question

Free Guide: Managing storage for virtual environments

Complete a brief survey to get a complimentary 70-page whitepaper featuring the best methods and solutions for your virtual environment, as well as hypervisor-specific management advice from TechTarget experts. Don’t miss out on this exclusive content!

To follow this tag...

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States.
Privacy