Hack Forums
[Shell] Hey, guys, is it possible to secretly copy a USB flash drive? - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151)
+---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118)
+---- Thread: [Shell] Hey, guys, is it possible to secretly copy a USB flash drive? (/showthread.php?tid=6006342)

Pages: Pages 1 2


Hey, guys, is it possible to secretly copy a USB flash drive? - bladetest21 - Sep 9, 2019

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?


RE: Hey, guys, is it possible to secretly copy a USB flash drive? - PwnedLevel1000 - Sep 12, 2019

(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


RE: Hey, guys, is it possible to secretly copy a USB flash drive? - pastort - Sep 16, 2019

A Llinux machine primed with a DD command


RE: Hey, guys, is it possible to secretly copy a USB flash drive? - Xogg - Sep 17, 2019

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.


RE: Hey, guys, is it possible to secretly copy a USB flash drive? - loomski - Sep 27, 2019

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.


RE: Hey, guys, is it possible to secretly copy a USB flash drive? - Abruptum - Sep 28, 2019

(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...


RE: Hey, guys, is it possible to secretly copy a USB flash drive? - Bunnyslippers69 - Sep 29, 2019

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.


RE: Hey, guys, is it possible to secretly copy a USB flash drive? - is_nimda - Oct 6, 2019

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


RE: Hey, guys, is it possible to secretly copy a USB flash drive? - Bitcoinearner - Oct 29, 2019

nice share ! thank you i will try


RE: Hey, guys, is it possible to secretly copy a USB flash drive? - is_nimda - Dec 7, 2019

(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


RE: Hey, guys, is it possible to secretly copy a USB flash drive? - Zel_ttlxp128 - Dec 11, 2019

(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.


RE: Hey, guys, is it possible to secretly copy a USB flash drive? - Jigme Lodey - Dec 15, 2019

(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


RE: Hey, guys, is it possible to secretly copy a USB flash drive? - Dart - Dec 19, 2019

Just steal the usb stick from them


RE: Hey, guys, is it possible to secretly copy a USB flash drive? - Emp3hack - Dec 20, 2019

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.


RE: Hey, guys, is it possible to secretly copy a USB flash drive? - Clock - Dec 26, 2019

(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.