July 23rd, 2024

A free tool to quickly detect counterfeit flash (2017)

The F3 tool tests flash cards' capacity and performance by filling them with data and verifying accuracy. It supports multiple OS, installation methods, and extra applications for advanced testing and user feedback.

Read original articleLink Icon
FrustrationAwarenessSatisfaction
A free tool to quickly detect counterfeit flash (2017)

The f3 tool, which stands for Fight Flash Fraud, is designed to test the capacity and performance of flash cards to verify if they meet the specified standards. It works by filling the device with pseudorandom data and then checking if the data is returned accurately upon reading. Users can test performance using f3read and f3write, conduct quick capacity tests with f3probe, and correct capacity discrepancies with f3fix. The tool can be installed on various operating systems like Linux, FreeBSD, Windows/Cygwin, and Apple Mac using different methods such as compiling from source code or using package managers like HomeBrew or MacPorts. Additionally, there are instructions for using f3 with Docker containers. The tool also offers extra applications like f3probe, f3brew, and f3fix for more advanced testing. Various graphical user interfaces are available for F3, and users are encouraged to provide feedback to improve the tool.

Related

Fuzz Map

Fuzz Map

Fuzz Map automates GUI fuzzing to uncover unexpected states and crashes by creating visual maps through code coverage. It simplifies complex program behavior, enhancing developers' ability to verify code changes.

Matters Computational [pdf]

Matters Computational [pdf]

The FXT page hosts a library of efficient algorithms, complemented by the fxtbook "Matters Computational." Authored by Jörg Arndt, it offers free downloads, demo programs, and comprehensive documentation on various computational topics.

Fiwix: Unix-like kernel for the i386 architecture

Fiwix: Unix-like kernel for the i386 architecture

The Fiwix operating system kernel, a UNIX-based system, emphasizes POSIX compatibility. It offers preemptive multitasking, POSIX compliance, virtual memory management, and supports various filesystems and hardware platforms. Fiwix serves as an educational tool with simple kernel code for students and enthusiasts. Installation is feasible from CD-ROM or floppy disk with minimal hardware requirements. Users are cautioned about potential bugs and incomplete features due to its early development stage. More details are available on the Fiwix GitHub Repository or website.

Show HN: Dut, a fast Linux disk usage calculator

Show HN: Dut, a fast Linux disk usage calculator

Codeberg.org hosts "dut," a disk usage calculator for Linux. It accurately counts hard links, offers customizable output, and outperforms similar tools in speed and efficiency, making it valuable for Linux users.

FileFlows: Execute actions against files in a tree flow structure

FileFlows: Execute actions against files in a tree flow structure

FileFlows is a versatile tool for processing various file types like text, images, audio, and video. It supports transcoding, converting, and optimizing files, offering detailed reporting and customization options for users.

AI: What people are saying
The comments reflect users' experiences and concerns regarding counterfeit flash storage devices and the effectiveness of testing tools like F3.
  • Many users have encountered counterfeit storage devices that do not match advertised capacities, leading to data loss and frustration.
  • F3 is praised for its ability to identify fake drives, with several users sharing success stories of exposing counterfeit products.
  • Some users suggest alternative tools like ValiDrive for testing, especially for those uncomfortable with command-line interfaces.
  • There are concerns about the prevalence of counterfeit products and the effectiveness of reviews and consumer protections in combating this issue.
  • Users emphasize the importance of testing new storage devices to avoid issues in critical situations.
Link Icon 17 comments
By @bheadmaster - 3 months
I bought a (little too) cheap large SSD off the internet. It was surprisingly slow, but it seemed to work fine, so I assumed that's the reason for the low price - until I tried to backup my other SSD on it. After the first ~50 GiB, all the writes suddenly failed and I could only perform reads.

After re-formatting it and attempting the backup a few more times, I was frustrated, so I searched the internet for related problems and found out about these so-called "chinese scam drives" that announce size to the drivers that is much larger than actual, and just throw away any writes above some memory address.

I quickly found f3 and tested it - and sure enough, it was a chinese scam drive. I reported the seller to the local inspection and they confiscated all the other drives and gave them a huge fine. I feel pretty smug about it.

By @popol12 - 3 months
Just received 2 cheapo 64GB micro sd cards from aliexpress, they seemed legit, had tons of reviews with OK crystaldisk performance screenshots and... they're junk This tool quickly identified that they were counterfeit of type "Limbo", with 16GB of capacity instead of 64GB. Thanks to Michel Machado for writing this gem.
By @haswell - 3 months
For anyone looking for tools that do this, it seems like a good opportunity to mention Steve Gibson’s Validrive tool [0] if anyone out there is trying to help family and friends who might be scared off by a CLI tool, and I believe it’s non-destructive.

I’m glad to see more awareness of this issue and entrants into the space.

- https://www.grc.com/validrive.htm

By @zkirill - 3 months
Does anyone have any experience with mass testing flash drives as part of an assembly line?

Another tool for testing flash drives that was recommended to me was H2testW.

By @notorandit - 3 months
The tool brings a huge problem. You need to buy one to know it is fake, thus making the counterfeiter efforts successful.

Bad product reviews on the sales site won't work as they can be easily circumvented if not removed.

Bad product reviews on 3rd party web site won't be effective as well.

I think the right tool is a website to show updated buck/TB prices. So we can avoid buying fake devices. The proem is how/who would keep those data up to date. And how to make that site a popular choice for buyers.

By @aussieguy1234 - 3 months
Once got a cheap "Sandisk" SD card from an Australian ebay seller, which had much less capacity than what was displayed when it was plugged in.

After I tried to store more and ran into issues, I did some investigation and found out that it was a counterfeit Sandisk.

I emailed a screenshot with proof to the seller. Because of the very good consumer protection laws we have here, I got my money back.

By @SoftTalker - 3 months
There's no need for this.

Buy name-brand storage from reputable sellers.

Of course the fantastically cheap stuff on Alibaba is fake. You don't even have to check.

By @KolenCh - 3 months
I got a few new USB drives at work for testing data centre hardwares. I normally would run f3 on new flash drives but this time the deadline is so rushed so I skipped that. Then I wasted an hour diagnosing a mysterious problem, and eventually I found out the usb drive is faulty after testing it using f3.

I then tested all of them and found out 4 out of 8 of them aren’t faulty, some of them died and disappeared.

So test your hardwares, test your hardwares that’s used to test hardwares. You will never know you can trust them unless proven.

Edit: badblocks, SMART test, memtest86 and memtest86+, prime95, Intel burn test, OCCT, iperf3, etc are equally useful.

By @calebio - 3 months
I can't be the only one who read the title and thought this was about detecting a counterfeit Flash player.
By @bagels - 3 months
This tool has a function to "correct" the capacity. I can't understand why that would be useful, I would not trust a device like this at all for any purpose.
By @Animats - 3 months
Has someone made a flash drive tester as a standalone hand-held device? That would be useful for buyers and incoming inspection. Haven't found one yet.
By @hakfoo - 3 months
I sort of wish there were places that sold new 2Gb drives as honest 2Gb drives rather than pretending they're 512TB. There are plenty of use cases (i. e. for a Gotek/Flashfloppy setup where 2Gb would hold more software than ever existed for the host machine, or as a cheap item you don't need to ask for back when you loan it to someone).

It's great that I can spend 10 bucks and get a competent 32Gb drive, but if we could get around $1, we could treat them as semi-disposable as floppies were.

By @kristopolous - 3 months
2011, I bought a counterfeit Kingston card over Amazon. At the time this was not cheap

https://i.imgur.com/4XeaX.jpeg https://i.imgur.com/FZEYA.jpeg

I tried to fill in a warranty claim when I ran into problems. No dice. I always make sure the seller is quasi official now.

By @cirrus3 - 3 months
Steve Gibson of GRC (SpinRite, Security Now podcast, etc) made a free Windows tool specifically for this called ValiDrive:

https://www.grc.com/validrive.htm

If you are a Windows user, ValiDrive seems like the much easier choice.

By @ogurechny - 3 months
Many comments assume (quite naively) that Big Marketplaces have no idea that it happens, and are fooled by shrewd counterfeit sellers who are always one step ahead. I suppose it is a complete fantasy, and those marketplaces have precise analytics on how big is the market of selling crap to illiterate consumers. If they voluntary abstain from that, and ban swiftly, they'd simply let competitors feast on that crowd, which would be bad for business™. Therefore, the handling of negative reviews, refunds, and fraud detection will always leave just enough margin for cheap counterfeits to be sold. As long as they both profit, it's a controlled dumpster fire.
By @efilife - 3 months
This website traps me on mobile, can't use the back button. Fennec on android