(crazy) Self-Destructing USB Drive Releases the Magic Smoke - Page 1
Forum section: electronics / general

author: DiTBho
author_rank: Super Contributor
timestamp: March 06, 2023, 08:50:51 am
content: so this dude has finally built aself-destructing USB drive

author: MK14
author_rank: Super Contributor
timestamp: March 06, 2023, 03:44:31 pm
content: Quote from: DiTBho on March 06, 2023, 08:50:51 amThere is a much cheaper, quicker and easier way of doing it.Just buy a $1 Chinese USB drive, which will have an extremely reliable, and 100% fully automatic mechanism, for achieving the same results. You don't even have to remember to trigger it, it will do it all by itself.The only problem, is that no one, knows how to disable the mechanism.Jokes aside. I think the problem would be sooner or later, the user could easily forget to trigger the protection (keep safe) functionality, and end up toasting their data and USB drive. Just because of one, slightly forgetful moment, when using it.

author: tszaboo
author_rank: Super Contributor
timestamp: March 06, 2023, 04:22:24 pm
content: Probably blows the protection diodes on the power line inside the chip. You power it externally with a power supply, let it burn itself out and you can read out the data from the chip. Nice try though.

author: Nominal Animal
author_rank: Super Contributor
timestamp: March 06, 2023, 04:26:11 pm
content: Yep. Needs a pouch of thermite next to the Flash chip.

author: SiliconWizard
author_rank: Super Contributor
timestamp: March 06, 2023, 06:58:15 pm
content: Quote from: tszaboo on March 06, 2023, 04:22:24 pmThis would be relatively straightforward to do. Never thought of doing this *intentionally* myself, but not a bad idea if you're looking for self-destruction.This wouldn't look really good for the right to repair, though.

author: tszaboo
author_rank: Super Contributor
timestamp: March 06, 2023, 11:39:30 pm
content: Quote from: SiliconWizard on March 06, 2023, 06:58:15 pmI mean the schematic posted by OP does this. I don't think it destroys the data.

author: DiTBho
author_rank: Super Contributor
timestamp: March 07, 2023, 11:14:44 am
content: Quote from: MK14 on March 06, 2023, 03:44:31 pmI bought one of those cheap USB sticks, promoted as "8GByte" sticks, I noticed that my data was systematically lost if I accessed 1GByte of data, plus file system (ext3) corruption.I tried vfat. No progress.I tried ext2. No progress.I tried with a low level disk access (LBA) program I wrote myself and noticed some strange logic on the LBALBA_observed = LBA_issued % 1GByte_block_sizeSo I think there was actually only 1 GByte of flash installed, but the controller was programmed to report 8 Gbytes, resulting in data collisions and problems.then i noticed a small SPI flash chip, i tried to read and invert it, in the process i stumbled upon a very interesting oddity.With a random magic value sent to dev-name ( ioctl(/dev/sdc, ...) in my case) I accidentally destroyed *ALL* the data making the USB stick completely irresponsible and the SPI flash completely erased

author: MK14
author_rank: Super Contributor
timestamp: March 07, 2023, 11:47:15 am
content: Quote from: DiTBho on March 07, 2023, 11:14:44 amI've heard is is a common trick (con), done by some of the ultra cheap, crazy high capacity, USB memory sticks.E.g. (hypothetical example): £1.50 at a cheap market sellers, non-manufacturer's name USB pen memory stick, marked as 256 GB. As you say, it claims 256 GB capacity, but after a certain limit (if you are lucky), perhaps a few GB. Any further data, either gets tossed, or overwrites the previous data.That's why I recommend sticking to reputable brands, paying a reasonable / fair amount of money for them (if it is unbelievably cheap, be very, very suspicious), and try to only buy from very reputable sellers / sources.I.e. In general NOT ebay or third party sellers on Amazon, as it could easily be an inferior fake clone.Also, many don't get the message, that USB pen memory sticks (especially cheap ones), tend to be notoriously unreliable, as a data storage device (especially long term), and so shouldn't be used, for data storage / backups. Better to use other methods.A better solution to the OP, might be to either use decent encryption on the USB device, or get a USB pen memory stick with built in password protection (that is known to reliably, secure your data, from theft). E.g. By encrypting it, via that password. I.e. Either the user can formally encrypt the data and/or suitable USB flash pens can encrypt / secure the data for you (DON'T trust all of them to do it securely).

author: DiTBho
author_rank: Super Contributor
timestamp: March 07, 2023, 12:32:40 pm
content: but note the great feature!!! with a simple random ioctl (devname, ...) you can instantly lose the data on your pen-stick at low level (because the SPI flash goes erased).* * * *add a WDT, connect the trigger to enable a voltage pump (5+ DC to 500V AC). If the SPI flash is cleared and you send a reset signal on the USB line, as soon as the MPU on the sick USB tries to read the SPI flash, it finds it clean, so it won't reset the WDT, so the WDT will enable the recovery voltage pump and 500V will be output to the flash cells and this will physically destroy your dataCode:. _______| || SPI || flash ||_______|| ____________________ __________ _|___ | || | | | | | | array of || USB |===| isolator |====| MPU |====| flash cells ||_______| |__________| |_____| |_____________|| | || WDT | ||_____| || |____|/en__ | 500V| | | peak| voltage |-------+| pump ||__________|Boooom, data lost and magic smoke

author: MK14
author_rank: Super Contributor
timestamp: March 07, 2023, 12:42:27 pm
content: I put your post to ChatGPT, and it received a big outburst and reprimand.ChatGPT results:QuoteIt does seem to have been confused about the situation. It doesn't seem to properly understand, that important confidential data, which has been secured and/or protected. Is better off being destroyed / deleted, rather than falling into the wrong hands. Which could reveal thousands of peoples, private data, which was never suppose to be released and could be used by scammers / hackers, to steal stuff and things.

author: eutectique
author_rank: Frequent Contributor
timestamp: March 08, 2023, 01:01:25 am
content: Quote from: MK14 on March 07, 2023, 11:47:15 amI once got two of 8GB sticks similar tothis one. Philips, no shit. Bought from a well-known supermarket, not just ebay orbrocante.This is howdmesgsees it:Code:[46580.392980] usb 1-5: New USB device found, idVendor=abcd, idProduct=1234, bcdDevice= 1.00[46580.392986] usb 1-5: New USB device strings: Mfr=1, Product=2, SerialNumber=3[46580.392990] usb 1-5: Product: PHILIPS[46580.392994] usb 1-5: Manufacturer:[46580.392997] usb 1-5: SerialNumber: ЉThis is wrong in more than two places

author: Halcyon
author_rank: Unknown
timestamp: March 08, 2023, 05:46:12 am
content: There is also thehttps://usbkill.comif you want to "stress test" USB ports. Surprisingly some machines/phones will withstand these devices.

author: MK14
author_rank: Super Contributor
timestamp: March 08, 2023, 06:40:12 pm
content: Quote from: eutectique on March 08, 2023, 01:01:25 amI intentionally avoided mentioning brands, as it can cause arguments, and the best ones to get, may change over time.I'd worry that a Philips branded one, would be out of the range of stuff, Philips's usually do. So, it might really be a generic and rather cheap USB pen stick, and hence not of particularly good reliability / quality and so on.Some of Philips's stuff is made by themselves and good quality, but some of it, is not so good. A bit of a mixed bag.The top tier, (best to check from quality information sources, so I could easily be out of date or wrong), is probably things made by SanDisk, Samsung, Corsair (not necessarily all of them, but the top priced ones, possibly), and I might have forgotten about others.A lower tier, but still of good and reasonable quality, might be Kingston, which are usually good, but maybe not the fastest.I also like to check the review star ratings (as being top notch) and only buy from 100% reputable sellers, such as Amazon (usually good / safe).Common rumors are that, they cream off the top and most reliable (best) quality flash chips for things like SSDs, and lesser quality flash chips, are used for flash USB pens. The cheap, unbranded USB pen sticks being, often rumored to be made out of failed, bottom tier, flash chips (rejects). Which can easily have faulty flash memory, whose faults tends to grow and get worse, over time.Anyway, flash memory (in general), tends to lose its contents over time (hopefully decades, but modern stuff is rumored to have much less generous life times, such as 12 months, only, in some cases). Which can be annoying.I sometimes worry about the somewhat disappearing (year by year) hard disk drives. Because they at least (as long as they work), don't generally suffer from memory fade, over time. Pity viable and modern alternatives to flash memory types, don't seem to have appeared.But there are still hard disk drives, bluray discs, archival (special 100 year or similar life types) storage bluray/DVD types and tape drives (if you can afford it, cope with their difficulties and find them available).