I found a random USB drive on the ground a little bit ago. I know the huge security risk associated with plugging it in...

I found a random USB drive on the ground a little bit ago. I know the huge security risk associated with plugging it in, so I did so at my library. It just had someones homework on it.
If I wanted to make sure that there was definitely nothing malicious on it, would cleaning it with diskpart suffice? or something else?

just fill it with zeroes

Put tremendous amount of furry porn on it and return it somewhere telling them you found it at that corner.

If it's just a plain USB drive then a reformat is enough.

How cheap can you be? Those things only cost a few bucks.

>Get a live CD of Linux
>Unplug internet cable from computer
>Boot live CD
dd bs=4M if=/dev/zero of=/dev/sdX #Replace X with your USB stick letter
Now usb stick is safe to use again

What does that have to do with anything, shit for brains?

Do a full secure format on a spare computer until ever using on your main computer.

>I know the huge security risk
Boot a live system and check it out. unplug your hard drive if you are paranoid.
is this the neo Sup Forums I am hearing about?

Give it back Jamal

It's best to also pull out the SATA data cables from all of the HDDs and SSDs, and remove any M.2 cards.

I personally would just use a Raspberry Pi, and then wipe the SD card when done.

at least put the contents on an online repo for the person to collect

but really, what can a flash drive even do with autoplay completely disabled?

Ever heard of a rubber ducky?

no. how does it bypass autorun/autoplay?

Are you mentally retarded or just new here?

hand it in you nigger

>plugs in usb

you just activated my trap card OP!

hope your system was airgapped :3

Post there homework here.

I plugged it in at the library
i could give a fuck bout their system

Return it to him

Diskpart should work. If you're really paranoid, write some data to it, like some movies or other large files, and then reformat it again.

But that's all assuming it's a normal USB flash drive and not something like

They can be compromised on the controller chip, the accessible memory can look completely clear but the drive still won't be safe.

The look on my face when I found a four gig flash drive that belonged to a Jamal. I emailed everything on it to him via an anonymous emailer and set up a bootable toolkit on it.