Ausnahme gefangen: SSL certificate problem: certificate is not yet valid ๐Ÿ“Œ Hard Disk Firmware Hacking (Part 1)

๐Ÿ  Team IT Security News

TSecurity.de ist eine Online-Plattform, die sich auf die Bereitstellung von Informationen,alle 15 Minuten neuste Nachrichten, Bildungsressourcen und Dienstleistungen rund um das Thema IT-Sicherheit spezialisiert hat.
Ob es sich um aktuelle Nachrichten, Fachartikel, Blogbeitrรคge, Webinare, Tutorials, oder Tipps & Tricks handelt, TSecurity.de bietet seinen Nutzern einen umfassenden รœberblick รผber die wichtigsten Aspekte der IT-Sicherheit in einer sich stรคndig verรคndernden digitalen Welt.

16.12.2023 - TIP: Wer den Cookie Consent Banner akzeptiert, kann z.B. von Englisch nach Deutsch รผbersetzen, erst Englisch auswรคhlen dann wieder Deutsch!

Google Android Playstore Download Button fรผr Team IT Security



๐Ÿ“š Hard Disk Firmware Hacking (Part 1)


๐Ÿ’ก Newskategorie: Video
๐Ÿ”— Quelle: malwaretech.com

I've not been doing much in the windows malware world for a while now, because quite frankly I've run out of ideas and I'm totally bored. Recently I decided to take the jump into electronics / hardware hacking and people have suggested I post some of that here.

A couple of years ago I started looking into BIOS rootkits (back before (U)EFI was mainstream). I was aware that most hardware had a BIOS type setup that is usually initialized during the POST phase of the boot process, so I was looking into the possibility of modifying  firmware to work in the same way as a BIOS rootkit would. My two main candidates were the GPU and Hard Disk, which I began looking into (but was mostly sandbagged by my lack of reverse engineering knowledge at the time).

My current project is on hold while I await the arrival of some expensive hardware which will allow me to overcome a setback (the manufacture disabled the JTAG interface prior to shipping), so I decided to have a play with something I saw on spritesmods in 2013 (Hard disk hacking).

Hard Disk Hacking

I found an old Western Digital hard drive in pretty good condition, so I unscrewed the controller and had a look.

This is where I'd put my flash...if i had any.

The guy on spritesmods had dumped the firmware by de-soldering the flash chip and dumping it manually, the only problem is the red circle is were the flash chip should be (thanks obama). 

Above the red circle is a Marvell 88i8846-TFJ2 ARM processor which has internal flash. I don't fancy my chances of de-soldering the entire CPU and trying to access the memory manually, so I decided to go for the JTAG method.


The header for the JTAG is fairly well known, though it can be upside down (in my case the first pin of the header is denoted by a '1' on the board). Pins 6 to 11 are all we need for the JTAG and the metal circle, which is the ground.

As you can probably see, I've decided not to solder the pins. This is for two reasons: They're rusty and they're too close together, so I could easily short the board. Instead I opted to use the test pads, which can be found using the 'continuity' mode on the multimeter (thanks to @McGrewSecurity for the tip).


By setting this mode on the multimeter it will show us the resistance between two points, the '1' means total resistance (the points likely aren't even connected) and '0.01' is a good connection. The meter will also emit and audible (and incredibly annoying) high pitch tone when the resistance is low, so we only really need to use the tone to tell if two points are connected.

With the hard drive disconnected simply put one of the multimeter probes on the header pin you want to locate the test pad for, then move the other probe around the test pads in the area where mine are until you hear a beep. On my board you'll see there are visible data lines running from the header pins to the test pads, which gives you a good idea where to look (depending on the quality of your eyesight).

I didn't want the hard drive plugged into my computers power supply in case something went wrong, and my computer is the opposite side of the room, so I didn't want to try and build a 10m long SATA cable either. Here's my solution (disclaimer: If you injure yourself blame someone else i.e. not me). 



If you have a spare PSU lying around, you can short the third and forth pin of the ATX header to turn it on without connecting it to a motherboard. My PSU was very old and missing a fan, so I was pleasantly surprised when nothing shorted or caught fire (My entire house is on the same circuit breaker, so I'd be spend the next hour rebooting various devices).












I use a $5 SATA to USB connector, which is perfect for the data side of the hard disk connection. The red board on the right is a $30 TIAO USB Multi-Protocol Adapter, which is FT2232H based and also does SPI as well as JTAG.

I really need a bigger desk

Here we have a stupidly over-complicated setup due to the fact my Windows desktop reside on the other side of the room: The iMac is running a Linux virtual machine for the JTAG software (FTDI driver and OpenOCD) because they're a pain to install on Windows or OSX . The Windows system (left monitor) is running IDA for reversing/debugging (I plan on trying to connect IDA to the OpenOCD GDB service over my local network when I start doing live analysis).


Part 2 (Dumping the bootstrap): http://www.malwaretech.com/2015/04/hard-disk-firmware-hacking-part-2.html




...













๐Ÿ“Œ Hard Disk Firmware Hacking (Part 5)


๐Ÿ“ˆ 39.43 Punkte

๐Ÿ“Œ Hard Disk Firmware Hacking (Part 4)


๐Ÿ“ˆ 39.43 Punkte

๐Ÿ“Œ Hard Disk Firmware Hacking (Part 5)


๐Ÿ“ˆ 39.43 Punkte

๐Ÿ“Œ Hard Disk Firmware Hacking (Part 3)


๐Ÿ“ˆ 39.43 Punkte

๐Ÿ“Œ Hard Disk Firmware Hacking (Part 2)


๐Ÿ“ˆ 39.43 Punkte

๐Ÿ“Œ Hard Disk Firmware Hacking (Part 1)


๐Ÿ“ˆ 39.43 Punkte

๐Ÿ“Œ Hard Disk Firmware Hacking (Part 4)


๐Ÿ“ˆ 39.43 Punkte

๐Ÿ“Œ Hard Disk Firmware Hacking (Part 3)


๐Ÿ“ˆ 39.43 Punkte

๐Ÿ“Œ Hard Disk Firmware Hacking (Part 2)


๐Ÿ“ˆ 39.43 Punkte

๐Ÿ“Œ Hard Disk Firmware Hacking (Part 1)


๐Ÿ“ˆ 39.43 Punkte

๐Ÿ“Œ I have a WD 4TB hard disk. If I lock my HD with password , will the hard disk open on other computers.


๐Ÿ“ˆ 38.81 Punkte

๐Ÿ“Œ Hard Disk Firmware Hacking (2015) - MalwareTech


๐Ÿ“ˆ 32.5 Punkte

๐Ÿ“Œ Hard Disk Firmware Hacking (Final)


๐Ÿ“ˆ 32.5 Punkte

๐Ÿ“Œ Hard Disk Firmware Hacking (Final)


๐Ÿ“ˆ 32.5 Punkte

๐Ÿ“Œ How to Install Spaceview Disk Space Analyzer (Disk Utility) in Ubuntu โ€“ A Best Disk Usage Indicator for Linux


๐Ÿ“ˆ 30.43 Punkte

๐Ÿ“Œ Full Tutorial : How to Clone a Smaller Boot Disk onto a Larger Disk for Free with Clonezilla & Delete Disk Partition


๐Ÿ“ˆ 30.43 Punkte

๐Ÿ“Œ Fix: Hard Disk Serial Number Changer Unable to Write to This Disk in Drive


๐Ÿ“ˆ 29.55 Punkte

๐Ÿ“Œ Disk Space Analyzer 4.1.7 - Identify space-consuming files on your hard disk.


๐Ÿ“ˆ 29.55 Punkte

๐Ÿ“Œ Update your Lenovo laptopโ€™s firmware now! Flaws could help malware survive a hard disk wipe


๐Ÿ“ˆ 26.38 Punkte

๐Ÿ“Œ Btrfs vs write caching firmware bugs (tl;dr some hard drives with buggy firmware can corrupt your data if you don't disable write caching)


๐Ÿ“ˆ 23.21 Punkte

๐Ÿ“Œ [local] Disk Sorter Enterprise 12.4.16 - 'Disk Sorter Enterprise' Unquoted Service Path


๐Ÿ“ˆ 20.29 Punkte

๐Ÿ“Œ #0daytoday #Disk Sorter Enterprise 12.4.16 - (Disk Sorter Enterprise) Unquoted Service Path Vulnera [#0day #Exploit]


๐Ÿ“ˆ 20.29 Punkte

๐Ÿ“Œ [local] Disk Sorter Server 13.6.12 - 'Disk Sorter Server' Unquoted Service Path


๐Ÿ“ˆ 20.29 Punkte

๐Ÿ“Œ Disk Cleanup Windows 11: 4 Ways to Use It & Free Up Disk Space


๐Ÿ“ˆ 20.29 Punkte

๐Ÿ“Œ Disk Diag 2.0.4 - All-in-one Disk Cleaner.


๐Ÿ“ˆ 20.29 Punkte

๐Ÿ“Œ Virtual Disk Service Error The Disk Is Not Empty [Fix]


๐Ÿ“ˆ 20.29 Punkte

๐Ÿ“Œ "a start job is running for a dev-disk-by\...." error after expanding disk


๐Ÿ“ˆ 20.29 Punkte

๐Ÿ“Œ Linux Check Disk Space Command To View System Disk Usage


๐Ÿ“ˆ 20.29 Punkte

๐Ÿ“Œ Use More disk or more partitions on one disk?


๐Ÿ“ˆ 20.29 Punkte

๐Ÿ“Œ journald eats up disk space, limit journald max disk space use


๐Ÿ“ˆ 20.29 Punkte

matomo