Trao đổi với tôi

http://www.buidao.com

8/21/09

[Virus] JPG to EXE

JPG to EXE - By E-man @ Astalavista.NET
---------------------------------------


This tutorial was written for WinXP, but I think it can be used the same way on other Windows OSes.

You can not blame me for anything that happens if you are using this tutorial for god knows what. This was written for education porposes only and you can only use it under your own risk.

This tutorial will show you how to create JPG files that will act like EXE files.

It will require abit of luck, but i'm sure you can mamage it


So here it how it goes.

The way Windows executes EXE files is stored inside the registry.
The way it executes JPG files is stored there too.

This means that we need to make windows think a JPG file is an EXE file. But we cant do that without hurting the OS's configuration or risk that any future changes made by programs will set JPG back to its default registry value.

What we need to do is create a file that will look like its a JPG (not be the icon, but by the type) and will act like an EXE.

This will be our file:

"file.jpg "

notice the space after the ".jpg". This is no ordianry space, but a special char that for writing it, you need to do as follows:

Get the EXE you want to convert to "jpg".

rename it from "file.exe" to "file.jpg". Now press the rename again, and in the end of the .jpg, press the ALT key (dont let go of it) and on the keypad, type "0160".

this will look like this: "file.jpg ". you can now rename it to something like "my pic.jpg "

Go to:

Start -> Run -> RegEdit

Right click on the HKEY_CLASSES_ROOT key and New -> Key

Call it ".jpg " (the space represants the ALT+0160)

Inside it, you will find the (Default) string.
Double click on it and write "exefile".

Then right click anywhere but on the Default string and New -> String Value

Call it "Content Type". and edit it so it will say "application/x-msdownload".

Right click on the ".jpg " key and New -> Key

Call it "PersistentHandler".

Inside it, edit the Default string to "{098f2470-bae0-11cd-b579-08002b30bfeb}"

Now every EXE file that will have the ".jpg " type, will be executed like a regular EXE! But only on your computer.

Right click on the ".jpg " key and Export.

Call it something like "fix.reg" and tell the guy/gal you're sending the "picture" to that its a fix so that windows will be able to open your pic.

I recommand using an EXE joiner to join a real pic to an EXE file so the user wont suspect anything.


Have fun. E-man. 8:36 PM 4/15/2002