Hack Forums
How can I implement this? - 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: How can I implement this? (/showthread.php?tid=5724069)



How can I implement this? - F.A.S.T - Sep 24, 2017

How can I create a program that launches automatically when I plug in USB Drive?

Thanks.


* - Beladonis - Sep 24, 2017

you want the program to be on the USB drive? You could use a badusb attack that download and execute a remote payload. Or execute a payload stored in the usb drive.


* - Faith Connors - Sep 24, 2017

program that is already installed or program that launches remotely from usb or from script on usb?

already installed: program 1 hoosk all available usb-compliant ports on the computer. once any of them receives any data, launches program 2. or just have it running as a service or something.

second option: badusb. atmega32u4s seem to be a good option.


* - F.A.S.T - Sep 24, 2017

(Sep 24, 2017 11:08 AM)Beladonis Wrote:  you want the program to be on the USB drive? You could use a badusb attack that download and execute a remote payload. Or execute a payload stored in the usb drive.

Yes, Execute a Payload stored in USB. But how do I get it to launch whence connected.


(Sep 24, 2017 11:09 AM)Faith Connors Wrote:  second option: badusb. atmega32u4s seem to be a good option.

Didn't got anything except this. Looking on.


(Sep 24, 2017 11:09 AM)Faith Connors Wrote:  second option: badusb. atmega32u4s seem to be a good option.

Didn't got anything except this. Looking on.


* - Baud - Sep 24, 2017

(Sep 24, 2017 11:10 AM)F.A.S.T Wrote:  Yes, Execute a Payload stored in USB. But how do I get it to launch whence connected.

You can get yourself a Bad USB with micro SD support if you are willing to spend a few bucks on one, I heard good things about Malduino, it will do everything you need if you write the proper script for it. If you don't know anything about programming don't worry, there are many websites that generate you the script based on what you want it to do.

If you want to use a regular USB the only way would be using the autorun file, which only works up until Windows XP systems


* - Mastery_LostAccount - Sep 24, 2017

There are tons of tutorials that teach this, did you google it?