Hack Forums
.exe which run itself on a USB key ? - 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)
+---- Thread: .exe which run itself on a USB key ? (/showthread.php?tid=5329555)

Pages: Pages 1 2


.exe which run itself on a USB key ? - SIM-2326771 - Jul 6, 2016

Is there a way to setup a rat so when you put the .exe on a key, and when you plug this key on a computer, the rat run himself without having to go on the computer to run it ?


* - joepvand - Jul 6, 2016

No, this was fixed in windows 7. i think it can be done on a cd tho.


* - Krulvis - Jul 6, 2016

This has been disabled on Windows for around 6-7 years so you would either have to run it yourself, or store on the drive something the user would want to run in-order for them to be RAT'd.


* - Z3r0C0d3 - Jul 6, 2016

I believe it cant be started automaticly If he is your friend , you can bind to a some file(movie , setup file etc.) when you open the file , the rat will start too


* - joepvand - Jul 6, 2016

(Jul 6, 2016 11:27 AM)Z3r0C0d3 Wrote:  I believe it cant be started automaticly If he is your friend , you can bind to a some file(movie , setup file etc.) when you open the file , the rat will start too

movie? how are you going to bind it to a movie which is in video format?


* - PacketBuster - Jul 6, 2016

(Jul 6, 2016 11:29 AM)joepvand Wrote:  movie? how are you going to bind it to a movie which is in video format?

Idk tbh but i saw chinese adware executing when a .wmv is run.


* - Z3r0C0d3 - Jul 6, 2016

(Jul 6, 2016 11:29 AM)joepvand Wrote:  movie? how are you going to bind it to a movie which is in video format?
Well ... i am still learner , so i dont know much , i know some of the basic things so dont blame me , ye its my mistake


* - Zork - Jul 6, 2016

Well this is my first post here on this forum hooray. Anyway you should check out something called usb ducky. It is a special programmed usb with a modified firmware that you can program to execute silent scripts. It costs around 45$ and it is easily programmable. What you can do is force the computer to download your rat from a remote server silently on the background. If you are creative sky is the limit. It is pretty awesome in my opinion.


* - Vuln - Jul 6, 2016

Not possible anymore with regular usb drives. Modifying the autorun file of U3 drives was once popular too, but that's no longer a viable option either.
There are however working alternatives like https://hakshop.myshopify.com/products/usb-rubber-ducky-deluxe?variant=353378649


* - joepvand - Jul 6, 2016

(Jul 6, 2016 11:34 AM)Z3r0C0d3 Wrote:  Well ... i am still learner , so i dont know much , i know some of the basic things so dont blame me , ye its my mistake

not blaiming you, i get sick of people flaming people for just asking something. let me explain:

You can bind a MP4 to a EXE because the EXE gets executed.
You cant bind a EXE to a MP4 because a mp4 never gets executed. A mp4 doesnt open, the player opens which reads from the mp4.

Reply with questions :)


* - Z3r0C0d3 - Jul 6, 2016

(Jul 6, 2016 11:43 AM)joepvand Wrote:  not blaiming you, i get sick of people flaming people for just asking something. let me explain:

You can bind a MP4 to a EXE because the EXE gets executed.
You cant bind a EXE to a MP4 because a mp4 never gets executed. A mp4 doesnt open, the player opens which reads from the mp4.

Reply with questions :)

I have nothing to ask , i understood it completly , Thanks its good to know , i am still learning how the things working , by reading books etc. its not so easy to be on self education


* - Faith Connors - Jul 6, 2016

(Jul 6, 2016 11:55 AM)Z3r0C0d3 Wrote:  I have nothing to ask , i understood it completly , Thanks its good to know , i am still learning how the things working , by reading books etc. its not so easy to be on self education

One thing to note though, you're right, some more experienced hackers do "bind" their code to all kinds of files, jpgs, wmvs, etc. but they aren't running the code as an executable. The code opens in whatever program, say if it's a jpg file it'll open in Windows Photo Viewer. The code that is being read from Windows Photo Viewer is being executed which in turn exploits the application it's opening in. It can also force the file to open as an executable or script, which is a process called Steganography. Probably worth looking into once you get a better idea of things.


* - joepvand - Jul 6, 2016

(Jul 6, 2016 11:55 AM)Z3r0C0d3 Wrote:  I have nothing to ask , i understood it completly , Thanks its good to know , i am still learning how the things working , by reading books etc. its not so easy to be on self education

HMU with any questions, i dont know much but i want to help. when i just entered HF, whenever i asked something. i was told to kill my self xd


* - Z3r0C0d3 - Jul 6, 2016

(Jul 6, 2016 11:58 AM)aahgfdjhgrhgh Wrote:  One thing to note though, you're right, some more experienced hackers do "bind" their code to all kinds of files, jpgs, wmvs, etc. but they aren't running the code as an executable. The code opens in whatever program, say if it's a jpg file it'll open in Windows Photo Viewer. The code that is being read from Windows Photo Viewer is being executed which in turn exploits the application it's opening in. It can also force the file to open as an executable or script, which is a process called Steganography. Probably worth looking into once you get a better idea of things.
for now i dont mind spreding RATs etc . I am concetrated on Programming and Networking to understand how the things works , for know i know Basics of Python , PHP , Javascripting , SQL ,HTML (its not programming language , i know the basics , but i can read it vey good) and planning to start with C++(i know basic stuffs of it , loopings , conditions etc.) i dont want to follow tutorials blindly , i want to know how the stuffs working


(Jul 6, 2016 12:04 PM)joepvand Wrote:  HMU with any questions, i dont know much but i want to help. when i just entered HF, whenever i asked something. i was told to kill my self xd

I noticed almost all new commers asking dumb questions like "Can you give me a hack for this" i personally i doing things that i know how works ,i am not hacking because i am concetrated on Programming and Networking for now because you need to know whats happening in the background


* - Armada - Jul 6, 2016

www.usbrubberducky.com

Thats what you are looking for OP