templateslosa.blogg.se

Hard disk serial number changer github
Hard disk serial number changer github







It's not something we can solve and my question is about something else. Their serial number reported over USB to the kernel is sometimes wrong, but that seems a hardware issue with them. WD Elements USB hard disk drive without UASPĪll these are single-disk to USB enclosures basically. (Reports bogus disk serial 000000004BA8 over USB, it's always the same.) StarTech USB 3.1 gen2 enclosure for SATA hard disk drive, with UASPĮwent EW7017 USB to SATA dongle with UASP (Reports correct disk serial over USB identical to SMART data and disk label.) Samsung Portable SSD T7 (NVMe to USB with UASP internally) (This is a bogus disk serial over USB, different from label and SMART data.) S/N reported to kernel (as per dmesg & lsusb -v): 12345688ACF4

Hard disk serial number changer github

Samsung Portable SSD T5 (mSATA to USB with UASP internally) I've got a bunch of USB enclosures for hard disk drives here (or rather sold as external drives):

Hard disk serial number changer github

I'm using Ubuntu 20.04 with USB external drives and experiencing a rather odd bug.

  • It also changes the registry entries to the faked serial via a internal kernel functionįor testing purposes add: disk.EnableUUID="true" to your VMware.
  • This does NOT counter all the ways for getting the serialnumber! I will make a writeup on that later.
  • The offsets for the spoofer can also be changed in the main.h file.
  • It generates a random serial with a fixed length that can be changed in the main.h file.
  • It's more like a PoC, there are many things to optimise.
  • The driver can be fully unloaded after changing the serialnumber.

    Hard disk serial number changer github

    Description:įakes the serialnumber for HDDs/diskdrives from kernelmode without hooking anything. This project only uses direct memory manipulation and makes it possible to fake the serials without hooking a function or having a loaded kernel module at all times. The concept is not new but other solutions require a loaded driver at all times and a kernel hook with possible instabilities. or licensing restrictions implemented in software. The initial motivation is bypassing HWID detection methods used by intrusive software like anti-cheats, etc.









    Hard disk serial number changer github