Hack Forums
How to make exe to pdf, jpg, png, rar... - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Hacks, Exploits, and Various Discussions (https://hackforums.net/forumdisplay.php?fid=45)
+--- Forum: Grayhat • Purple Team • Hybrid Security (https://hackforums.net/forumdisplay.php?fid=449)
+---- Forum: Beginner Hacking (https://hackforums.net/forumdisplay.php?fid=4)
+----- Forum: Hacking Tutorials (https://hackforums.net/forumdisplay.php?fid=47)
+----- Thread: How to make exe to pdf, jpg, png, rar... (/showthread.php?tid=5796868)

Pages: Pages 1 2 3 4


How to make exe to pdf, jpg, png, rar... - nyx322 - Feb 8, 2018

Hello everyone, today we will cram unbreakable, namely we will shove your viruses in the formats JPG, txt, PSD, etc., while it will look like a real Jpg and next will write that it is a jpg picture (similarly with other files!)

And so, that we need
-Winrar Archiver
-JPG
-HxD Download (didn't find official site, so i uploaded it on Dropbox, if u scare to run file just try it in vm, official page of program -mh-nexus.de/en/hxd/) VT

So
1. Install HxD and throw its icon in the folder with the virus
[Image: 3U6RoFo.png]
2. Archive the virus, with the usual settings, just zip this shit into the Zip format.
[Image: nDT7WwO.png]
3.And so we have at the moment, the archive with the virus of the format .exe
Now take this very Archive and drag it to the HxD icon
[Image: tSNjbL8.png]
4.Open this window where we see all the code, then go to the tab Search> Find or press Ctrl + F
[Image: Ec9tjI4.png]
5.Write into the search box "Full name of your virus.exe"
We are looking for it, it will find 2 entries, one at the very bottom and the other on top of the code, we need the bottom value, so do not confuse it, then change exe to the extension that is needed, I changed it to Jpg
[Image: VDC2Nt5.png]
Now we save all this, and open our archive, and see this picture
[Image: BWPvBzN.png]
TOTAL - As you see it is displayed .jpg, next to the Type tab it says that this is a JPEG image  👍

Not mine article, just translated from one of russian forum.


Fixed download link of HxD


RE: How to make exe to pdf, jpg, png, rar... - rogueblade - Feb 8, 2018

very nice work!! thank you will it still execute?


RE: How to make exe to pdf, jpg, png, rar... - nyx322 - Feb 8, 2018

(Feb 8, 2018 04:00 PM)rogueblade Wrote:  very nice work!! thank you will it still execute?

of course, but can have some problems with rare extensions like .bin .iso
I checked only .psd .jpg and .txt


RE: How to make exe to pdf, jpg, png, rar... - rogueblade - Feb 8, 2018

(Feb 8, 2018 04:15 PM)nyx322 Wrote:  of course, but can have some problems with rare extensions like .bin .iso
I checked only .psd .jpg and .txt

i will try some other extensions if they work i'll post them, thank you for the research on the thread.


RE: How to make exe to pdf, jpg, png, rar... - CyberStrike - Feb 9, 2018

msfvenom you can use the format and raw then > bin . You can actually use polyglot to have an actual image generally png/bmp which can run shellcode or a powershell script as well. Over all interesting.


RE: How to make exe to pdf, jpg, png, rar... - Hacking Team - Feb 9, 2018

Looks interesting. Have you tried it? It works? Maybe this flaw has been patched in the newer versions

EDIT: This bug has been patched, it does not work anymore


RE: How to make exe to pdf, jpg, png, rar... - vladd - Feb 9, 2018

it's looking good, i need to try it out and see and give feedback


RE: How to make exe to pdf, jpg, png, rar... - nyx322 - Feb 9, 2018

(Feb 9, 2018 03:44 AM)Hacking Team Wrote:  Looks interesting. Have you tried it? It works? Maybe this flaw has been patched in the newer versions

EDIT: This bug has been patched, it does not work anymore

Still working, just created new png file few min ago


RE: How to make exe to pdf, jpg, png, rar... - MrDickFeynman - Feb 9, 2018

(Feb 9, 2018 06:21 AM)nyx322 Wrote:  Still working, just created new png file few min ago

what payload format did you use? i just tried with exe to jpg but it didnt work..
the original payload works but after changing hex it doesnt


RE: How to make exe to pdf, jpg, png, rar... - nyx322 - Feb 9, 2018

(Feb 9, 2018 10:39 AM)MrDickFeynman Wrote:  what payload format did you use? i just tried with exe to jpg but it didnt work..
the original payload works but after changing hex it doesnt

I think you changed the first found file name you should edit the last one at the end of code


RE: How to make exe to pdf, jpg, png, rar... - Hacking Team - Feb 9, 2018

(Feb 9, 2018 10:43 AM)nyx322 Wrote:  I think you changed the first found file name you should edit the last one at the end of code

We have changed the last one at the end of the code. Why didn't it work?


RE: How to make exe to pdf, jpg, png, rar... - nyx322 - Feb 9, 2018

(Feb 9, 2018 11:54 AM)Hacking Team Wrote:  We have changed the last one at the end of the code. Why didn't it work?

dunno, try to reinstall HxD


RE: How to make exe to pdf, jpg, png, rar... - Hacking Team - Feb 9, 2018

(Feb 9, 2018 11:57 AM)nyx322 Wrote:  dunno, try to reinstall HxD

We will try to reinstall HxD but we are pretty sure that this bug has been patched in the new versions of WINRAR. We will come back to you shortly.


RE: How to make exe to pdf, jpg, png, rar... - MrDickFeynman - Feb 9, 2018

(Feb 9, 2018 11:54 AM)Hacking Team Wrote:  We have changed the last one at the end of the code. Why didn't it work?
i'm sure i took the last one


RE: How to make exe to pdf, jpg, png, rar... - nyx322 - Feb 10, 2018

(Feb 9, 2018 03:21 PM)MrDickFeynman Wrote:  i'm sure i took the last one

Then may be guy above right, an you should try it with earlier versions of winrar, let me check mine version

EDIT: You need to have fourth version of winrar