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

๐Ÿ  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 (Final)


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

Core 2, I choose you.

Less than 5 minutes after posting the last article, i discovered the final piece of my puzzle: a second CPU core. I was looking through my OpenOCD configuration when I realized it had a single tap definition hardcoded, so i decided to comment it out and let OpenOCD try to automatically discover the taps. 


Auto probing found two TAPs with the same id, which I assumed to be two different cores, so I updated my config accordingly. 
Here's a new config designed to work with both cores:
transport select jtag
adapter_khz 100

jtag newtap auto0 tap -irlen 4 -expected-id 0x121003d3
jtag newtap auto1 tap -irlen 4 -expected-id 0x121003d3

target create auto0.tap feroceon -endian little -chain-position auto0.tap
target create auto1.tap feroceon -endian little -chain-position auto1.tap

reset_config srst_only
adapter_nsrst_delay 200
jtag_ntrst_delay 200
After a few small adjustments, all that was left to do was run OpenOCD and see what secrets the new core holds.


Once I'd connected to the JTAG via IDA, everything was clear. I could see that the second core was stopped on the breakpoint I'd written to the flash chip. This was the core responsible for loading and executing the bootloader, whilst the core I had been looking at before just waits in a loop. Obviously the bootstrap code must be different for core 2, because the other bootstrap just loops until a later time. 



It's clear that core 1's bootstrap is just debugging / management code, whilst core 2 has a completely separate region of code mapped to the same address. Core 2 not only loads the bootloader from the flash, but also appears responsible for most of the interesting operations such as handling SATA requests and writing the cache descriptor.

Conclusion

So there you have it, using very little experience I was able to JTAG a WD hard disk, dump the firmware, and even discover how to read / write the flash chip using ICP. I'm definitely going to spend some more time poking about in the firmware to see how parts of it work, but because that's outside the scope of these articles, and to avoid boring people, this will be the last article of the series. If I manage anything interesting, I will likely post my findings in a whitepaper and upload it alongside a demo video. 

I'd like to continue posting both hardware and software articles (and some tutorial), so if you have any suggestions for either, send them to admin@malwaretech.com. 

Hope you've enjoyed a slightly different style of writing and learned something new.

...













๐Ÿ“Œ Hard Disk Firmware Hacking (Final)


๐Ÿ“ˆ 40.84 Punkte

๐Ÿ“Œ Hard Disk Firmware Hacking (Final)


๐Ÿ“ˆ 40.84 Punkte

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


๐Ÿ“ˆ 38.78 Punkte

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


๐Ÿ“ˆ 32.48 Punkte

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


๐Ÿ“ˆ 32.48 Punkte

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


๐Ÿ“ˆ 32.48 Punkte

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


๐Ÿ“ˆ 32.48 Punkte

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


๐Ÿ“ˆ 32.48 Punkte

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


๐Ÿ“ˆ 32.48 Punkte

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


๐Ÿ“ˆ 32.48 Punkte

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


๐Ÿ“ˆ 32.48 Punkte

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


๐Ÿ“ˆ 32.48 Punkte

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


๐Ÿ“ˆ 32.48 Punkte

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


๐Ÿ“ˆ 32.48 Punkte

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


๐Ÿ“ˆ 30.41 Punkte

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


๐Ÿ“ˆ 30.41 Punkte

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


๐Ÿ“ˆ 29.52 Punkte

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


๐Ÿ“ˆ 29.52 Punkte

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


๐Ÿ“ˆ 26.36 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.19 Punkte

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


๐Ÿ“ˆ 20.27 Punkte

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


๐Ÿ“ˆ 20.27 Punkte

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


๐Ÿ“ˆ 20.27 Punkte

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


๐Ÿ“ˆ 20.27 Punkte

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


๐Ÿ“ˆ 20.27 Punkte

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


๐Ÿ“ˆ 20.27 Punkte

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


๐Ÿ“ˆ 20.27 Punkte

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


๐Ÿ“ˆ 20.27 Punkte

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


๐Ÿ“ˆ 20.27 Punkte

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


๐Ÿ“ˆ 20.27 Punkte

matomo