Digitally sanitizing used storage media

WilliamSB

Member
OP
Newcomer
Joined
Jun 20, 2020
Messages
18
Trophies
0
XP
82
Country
Sweden
Hi all!

Not really gaming related but I thought you fine folks still might know since I reckon some of you encounter second hand storage media from time to time.

I recently bought a few old used mp3 players out of nostalgia, and I'm wondering about the best way to make them safe for use with my computer. They're irivers and sandisks and they have hdd's and flash memorys but no ways to format the storage from their respective menus. I'm hesitant to plug them into my computer since I don't know what the previous owners might've accidentally put in there, malware-wise etc.

Any suggestions?
 

SylverReZ

Certified GBATemp Boomer
Member
Joined
Sep 13, 2022
Messages
7,369
Trophies
3
Location
The Wired
Website
m4x1mumrez87.neocities.org
XP
22,740
Country
United Kingdom
If you have any USB flash drives lying around, I highly suggest archiving them as a disk image (.img) file using something like Win32DiskImager. Then, you could use 'binwalk' to datamine the image to find any files that were lost after a quick format.
 

fringle

Well-Known Member
Member
Joined
Apr 16, 2009
Messages
704
Trophies
1
XP
1,108
Country
Canada
If you're scared to plug them into your current windows install, one option would be to disconnect your current hdd and install a new copy of windows on an old hdd and keep it offline while you format the devices. Once you're done, remove the drive, plug your original back in and your back to where you were.
 
  • Like
Reactions: SylverReZ

tech3475

Well-Known Member
Member
Joined
Jun 12, 2009
Messages
3,699
Trophies
2
XP
6,116
Country
If you're scared to plug them into your current windows install, one option would be to disconnect your current hdd and install a new copy of windows on an old hdd and keep it offline while you format the devices. Once you're done, remove the drive, plug your original back in and your back to where you were.

Don't even need to install windows, just use diskpart from the command prompt to wipe it from the Windows install media.

Alternative use a Linux live distro, something like Ubuntu, which would allow you to explore the drive and wipe it relatively safely using e.g. gparted.

I've also seen AVs come with the ability to create recovery media and there's the various 'WinPE' based environments, although you may just want to use Linux in the case of the latter.
 
  • Like
Reactions: BigOnYa and sno

WilliamSB

Member
OP
Newcomer
Joined
Jun 20, 2020
Messages
18
Trophies
0
XP
82
Country
Sweden
Don't even need to install windows, just use diskpart from the command prompt to wipe it from the Windows install media.

Alternative use a Linux live distro, something like Ubuntu, which would allow you to explore the drive and wipe it relatively safely using e.g. gparted.

I've also seen AVs come with the ability to create recovery media and there's the various 'WinPE' based environments, although you may just want to use Linux in the case of the latter.
Thank you all for your replies! Tech3475, your alternative sounds easiest. How is a live distro with gparted only relatively safe though?
 

sno

Active Member
Newcomer
Joined
Dec 9, 2023
Messages
31
Trophies
0
XP
127
Country
United States
Thank you all for your replies! Tech3475, your alternative sounds easiest. How is a live distro with gparted only relatively safe though?
Lemme take a crack at this. So.. Basically a live distro is nowadays booted from usb.. It is like a temporary and not permanent environment safe to do things like what you are asking about. Usually.. It lives in ram until you turn off or restart PC.. So even in the off chance that there is anything malicious, you can always turn it off. If you're extra paranoid, just keep it offline until you're done. Personally I would reformat the usb with gparted before plugging it into any "main" windows environment you use for everyday. Like, if anything was "bad" on it, usually you would have nothing to worry about because like I said, turning off or restarting purges anything at least on the RAM.. Unless you're using frugal, maybe.. but not really.... Sooooooooooooo...........

Just reformat with gparted on a live distro once you are done with your work. It has a GUI so it's really easy to follow just make sure you select the USB and not your main drive by accident.... I usually just delete whatever partition(s) are on there and then reformat to NTFS cus windows..... That's as basic as I can break it down. :grog: :grog: tech3475 is right about fat32. Forgot this at least if they're old... you would also save on space.
 
Last edited by sno,

tech3475

Well-Known Member
Member
Joined
Jun 12, 2009
Messages
3,699
Trophies
2
XP
6,116
Country
Thank you all for your replies! Tech3475, your alternative sounds easiest. How is a live distro with gparted only relatively safe though?
Just covering my arse in case something goes wrong e.g. you somehow nuke the wrong drive ;) .

However, I'd reformat as FAT32 instead of NTFS, since that's more likely to be comaptible with the devices firmware.
 
  • Like
Reactions: sno

WilliamSB

Member
OP
Newcomer
Joined
Jun 20, 2020
Messages
18
Trophies
0
XP
82
Country
Sweden
Thank you all for your thorough answers, I really appreciate it!

One last one: in general, did old mp3-players usually have their OS (or firmware, or whatever you'd call it) on a hidden partition of the main storage, or on a separate flash memory altogether? Asking since I don't want to risk bricking them when formatting.
 

sno

Active Member
Newcomer
Joined
Dec 9, 2023
Messages
31
Trophies
0
XP
127
Country
United States
Thank you all for your thorough answers, I really appreciate it!

One last one: in general, did old mp3-players usually have their OS (or firmware, or whatever you'd call it) on a hidden partition of the main storage, or on a separate flash memory altogether? Asking since I don't want to risk bricking them when formatting.
I never had one that stopped working because of reformatting. It's most likely separate for that very reason but I won't dismiss the possibility 100%. Gonna have to be willing to take some risk. Actually what can be really gimmicky and annoying are special drivers that might need to be installed to access it. I would say that's kind of rare to see though. If that ends up being the case, doing it on linux would be more difficult unless it just magically works for some reason.
 
Last edited by sno,

tech3475

Well-Known Member
Member
Joined
Jun 12, 2009
Messages
3,699
Trophies
2
XP
6,116
Country
Thank you all for your thorough answers, I really appreciate it!

One last one: in general, did old mp3-players usually have their OS (or firmware, or whatever you'd call it) on a hidden partition of the main storage, or on a separate flash memory altogether? Asking since I don't want to risk bricking them when formatting.

Depends on the player, IIRC formatting an ipod required restoring the firmware but I dont recall having such issues with most others except where using custom firmware like Rockbox is used.

If you want to be safe, trying getting hold of any firmware updates and/or image thw drive.
 

KleinesSinchen

GBAtemp's Backup Reminder + Fearless Testing Sina
Member
GBAtemp Patron
Joined
Mar 28, 2018
Messages
4,475
Trophies
2
XP
15,050
Country
Germany
[Paranoia]
Hope you all realize that plugging in unknown USB devices carries a lot of risks for the software, the personal data and the hardware
Same for "I found some USB stick, let's see what's inside"
If an adversary wants to harm you, a live system is not really doing anything to actively prevent damage. Some attacks are way easier on a live Linux than on a properly configured installed Windows or Linux
[/Paranoia]

Unlikely for an old MP3 player to have been modified for malicious purposes, but… if one wants to rule out an attack succeeding:
The easiest and safest method in my opinion is just using a worthless offline computer.
 
Last edited by KleinesSinchen,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Psionic Roshambo @ Psionic Roshambo:
    Maybe a ghost writer?
  • BigOnYa @ BigOnYa:
    "Oh my God the graphics are so realistic looking." Lol of course it was the shiznit back then tho.
  • BigOnYa @ BigOnYa:
    I've never stood in line overnight or for hours, to buy anything. I can just wait and buy it later.
  • RedColoredStars @ RedColoredStars:
    I have never done that either.
  • RedColoredStars @ RedColoredStars:
    closest ive done is getting to target a couple hours early in the moring to get some amiibos.
  • Xdqwerty @ Xdqwerty:
    Im back
  • RedColoredStars @ RedColoredStars:
    But that topic makes me sad. :(
  • RedColoredStars @ RedColoredStars:
    Abusive narcissistic ex shame guilted me into selling them becasue my gaming and interests were childish like a little kid collecting toys. :(
  • RedColoredStars @ RedColoredStars:
    I had soooooooooooo many of them. All still sealed.
    +1
  • RedColoredStars @ RedColoredStars:
    I eventually had to contact a domestic abuse advocate to help me get out of the apartment I was in a lease with her. And filed a restraining order on her cuz she kept harassing me after i left her.
  • Xdqwerty @ Xdqwerty:
    I didnt bring my Charger and nobody here has one compatible with my phone
  • RedColoredStars @ RedColoredStars:
    either you have usb C and no one else does, or everone else has usb c except you. haha
    +1
  • Xdqwerty @ Xdqwerty:
    @RedColoredStars, i don't have usb c
  • RedColoredStars @ RedColoredStars:
    That happened to me for like a year. lol. I was the only one of all my friends and family to still have an old phone.
  • Xdqwerty @ Xdqwerty:
    @RedColoredStars, my phone is from around 2019
  • RedColoredStars @ RedColoredStars:
    Mine was from 2017. lolol. I just got this new one like 6 months ago. Not even new, second hand cheapo $40 phone. But it has usb c. lol
  • RedColoredStars @ RedColoredStars:
    I cant justify $1k+ on a nice ass phone. I can spend that on a 75" tv screen. Why a 6" screen device cost me the same? lol
    +2
  • BigOnYa @ BigOnYa:
    I had a iPhone 5 for like 6 years, till last year, and had to get new phone, when phone companies stop using the cdna networks, which the iphone5 used.
  • K3Nv2 @ K3Nv2:
    A phone can do more than a TV
    +2
  • BigOnYa @ BigOnYa:
    These smart TVs are getting close tho. Gonna be like "back to future" TVs before long.
    +1
  • K3Nv2 @ K3Nv2:
    Nah a phones going to always be more powerful than a TV if the TVs $2grand maybe but why when I can put a smaller device in my pocket that does basically everything a TV already does
    +1
  • K3Nv2 @ K3Nv2:
    I can justify a decent $800 smartphone that'll last 3 years when I could get a 65" TV for $400 and buy a decent micro computer for $100 more
  • K3Nv2 @ K3Nv2:
    Tbf there are decent $400 smartphones in today's market that make top end spec phones unjust it's just what you want
    K3Nv2 @ K3Nv2: Tbf there are decent $400 smartphones in today's market that make top end spec phones unjust...