How to encrypt an .exe file into a .Jpeg file?

45 pts.
Tags:
.exe
Encryption
File encryption
JPEG
Microsoft Windows 7
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?
Thank you,
Regards.


Software/Hardware used:
windows 7, core duo processor, 3gb ram.

Answer Wiki

Thanks. We'll let you know when a new response is added.

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.

Discuss This Question: 10  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
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
  • carlosdl
    Without providing your intentions, I don't think you are going to get an answer from the community.
    70,220 pointsBadges:
    report
  • Kalyan200887
    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...
    45 pointsBadges:
    report
  • Kccrosser
    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.
    3,830 pointsBadges:
    report
  • valmsmith
    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.
    870 pointsBadges:
    report
  • Chippy088
    @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.
      Points are not all that count.
    4,625 pointsBadges:
    report
  • Subhendu Sen
    @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.
    29,780 pointsBadges:
    report
  • carlosdl
    "IT people are never bad" I wouldn't be so sure... And, I can't think of a legitimate reason to try to hide or camouflage an executable file to run it without the user's consent.
    70,220 pointsBadges:
    report
  • Kalyan200887
    [...] question was recently posted in the IT Forums regarding embedding executable files into a JPEG, a common tactic for spreading malware to [...]
    0 pointsBadges:
    report
  • Subhendu Sen
    @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
    29,780 pointsBadges:
    report
  • 122333
    Or just download a file binder
    10 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

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

REGISTER or login:

Forgot Password?
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

Thanks! We'll email you when relevant content is added and updated.

Following