No video

[018] IT9919 Hacking - part 3 - Hacking Upgrade Files

  Рет қаралды 14,035

OpenTechLab

OpenTechLab

Күн бұрын

In this series I will be hacking around with the IT9919 media processor that powers the Lenkeng LKV373 HDMI Extender Device and the EZCAP 283S which were reviewed in previous videos.
In this video I will dig deep into the upgrade firmware files to discover if there are ways we can manipulate them to gain control of the processor.
Show Notes: opentechlab.org.uk/videos:018...
Twitter: @OpenTechLabChan
Mastadon: @opentechlab@mstdn.io
SubscribeStar: www.subscribestar.com/opentec...
PayPal: www.paypal.me/opentechlab
Bitcoin: 18CU9LxwRuiLHy9HsuMj2vzobbW4J3QVC2

Пікірлер: 49
@PetreRodan
@PetreRodan 4 жыл бұрын
really enjoying the series
@RemcoStoutjesdijk
@RemcoStoutjesdijk 4 жыл бұрын
Mighty impressive. Apart from looking forward to running custom sw on my device, I've just learned a whole lot. As an EE dabbling in embedded this is fantastic.
@KucharJosef
@KucharJosef 4 жыл бұрын
I'm wondering what keywords are triggering these scam bots
@goosenp
@goosenp 4 жыл бұрын
Wow, this part is the most impressive development yet!
@OpenTechLab
@OpenTechLab 4 жыл бұрын
And there's more still to come!
@claytonmoore9530
@claytonmoore9530 4 жыл бұрын
This is a great series. Listening to you go through your thought process and research steps is a great learning experience.
@UpcycleElectronics
@UpcycleElectronics 4 жыл бұрын
You're piecing this instruction set together like I'm watching the process. Half of what you say here is Chinese to me, but the more I watch the more puzzle pieces find their way home. Thanks for another epic upload. -Jake
@avramitra
@avramitra 4 жыл бұрын
Can't wait for the next part! I'm addicted!
@danmanmgm
@danmanmgm 4 жыл бұрын
It would be awesome to see a custom fw running on this platform.
@EmilHarder
@EmilHarder 4 жыл бұрын
It's really, really enjoyable and educational to follow your work. Thank you for letting us look over your shoulder and learn from and with you!
@tedvanmatje
@tedvanmatje 4 жыл бұрын
Awesome, awesome! Thanks for the link to that polish bloke's website (which I will be digesting in a wee moment) and for that binview site too. Just had a moment where I had to scrape away a substantial amount of cobwebs - the last time I used assembler was on my old amiga, but all's gravy now :) Watching this has triggered a productive brainfart which is actually productive procrastination, if there is such a thing (an excuse to sit infront of a screen for hours)....thanks mate! This weekend has now taken a turn for the best. Until the next one and thanks for uploading!
@pipsqueak2009
@pipsqueak2009 4 жыл бұрын
This is really interesting... looking forward to seeing how far you can get with this
@23RaySan
@23RaySan 4 жыл бұрын
cool video series. im already excited for episode 4 :)
@jrsmile
@jrsmile 4 жыл бұрын
im really diggin this series, please continue afterwards with more cheap devices :-)
@vincei4252
@vincei4252 4 жыл бұрын
Lol. Is it me or can I hear a cat needing attention in the background? At first I thought it was one of my cats :-) 🐈🐈🐈🐈
@OpenTechLab
@OpenTechLab 4 жыл бұрын
Yeah she was getting a bit frantic while I was trying to record. She doesn't like being shut out
@Architector120
@Architector120 4 жыл бұрын
i can be wrong but.. it looks like a "C-SKY" architecture..
@OpenTechLab
@OpenTechLab 4 жыл бұрын
Wow - great find! There are certainly some striking similarities: github.com/c-sky/csky-doc/blob/master/CSKY%20Architecture%20user_guide.pdf
@nickb2245
@nickb2245 4 жыл бұрын
@@OpenTechLab I found an instruction set list at github.com/c-sky/tools/blob/master/gx6605s/CK610_spec.pdf but I'm not sure it actually lines up.
@Gengh13
@Gengh13 4 жыл бұрын
So now even hdmi extenders could start mining crypto currencies.
@OpenTechLab
@OpenTechLab 4 жыл бұрын
:) - I think the hash rate might be rather disappointing
@NiHaoMike64
@NiHaoMike64 4 жыл бұрын
Not so, the video encode/decode blocks can't really be repurposed for any other use. And keep in mind even a Raspberry Pi has many times the compute power.
@czoknorris
@czoknorris 4 жыл бұрын
Since you can modify the flasher, why dont you just bypass the checksum computation? Redirect the CPU to Checksum-OK directly.
@OpenTechLab
@OpenTechLab 4 жыл бұрын
The problem I discovered is it's not a checksum computation - just a memcmp on whether the data was correctly written to flash. The flasher then triggers a reboot, and the checksum is checked by the real system checksum checker - which we will look at in the next video
@czoknorris
@czoknorris 4 жыл бұрын
OpenTechLab coool, looking forward.
@Nadox15
@Nadox15 4 жыл бұрын
@@OpenTechLab Very interesting, but where is the code safed for the checksum calculation? (I am pretty sure you will explain it in your 4th video, but I am not that far yet haha)
@konobikundude
@konobikundude 4 жыл бұрын
I wonder if some of the Kaitai Struct tooling would help with the workflow of visualizing things in-place
@programorprogrammed
@programorprogrammed 4 жыл бұрын
Fantastic
@yrath5034
@yrath5034 4 жыл бұрын
You big bloody tease.
@pandarojodronero2919
@pandarojodronero2919 4 жыл бұрын
just make the checksum-comparition function to always return "true" or correct firmware, so the you can change anything you like in the rest of the file and it wont be overwritten on boot.
@williamsquires3070
@williamsquires3070 4 жыл бұрын
(@7:37) - You may be looking at interleaved code here, where alternate instructions are loaded into the instruction pipeline; this is common on Intel architectures. If this were a SISD (like the old 8-bit micros), you would expect the instructions to load the value 0x000b9f7d to immediately follow one another, otherwise, the problem is that the “call $pc+(30796*4)” might modify register 3. Given that the chip (as seen from video 1 in this series) has 3 cores (a main core, an a/v core, and a security core), this may even be a 3-way interleave, but this is just a guess.
@anlm1
@anlm1 4 жыл бұрын
Is there a good community like Discord, IRC, or Forum to talk to people to learn more about how to modify hardware and put your own firmware on it like you are doing in this series? I'm interested in taking old hardware like DVRs, printers, scanners, smartphones, dongles etc into stuff like open linux machines, plotters, reusing smartphones in the place of Arduinos, etc
@boriskontorovich
@boriskontorovich Жыл бұрын
I think your cat had some thoughts at 14.17....
@TheCADexperts
@TheCADexperts 4 жыл бұрын
One ideea and probably I'm way off, but since we are seeing references to other Atmel chips in the text section , is it possible one of those has a known architecture and by finding the corresponding firmware we could then break it down for a known architecture first?
@OpenTechLab
@OpenTechLab 4 жыл бұрын
I didn't check, but I think they're all the ids of different flash chips, not processors. If you have a hunch about something, though, be my guest to follow it up!
@philmissy1
@philmissy1 4 жыл бұрын
It would appear ive fallen down the wrong rabbit hole and now im lost and confused. Im very far from your level of knowledge and understanding but it has brought light to the reason I never throw electronics away. I have for years looked at boards similar and well just about every board ever made and wished I could command it to well be my bitch. LOL Gld ive found your channel its very intresting.
@hd-dk6tg
@hd-dk6tg 4 жыл бұрын
MediaDSP3200/MediaDSP3201 (or MD32 for short) architecture: slideplayer.com/slide/15233183/ person.zju.edu.cn/person/attachments/2017-09/07-1506579034-711542.ppt edit: r-type encoding seems different...
@OpenTechLab
@OpenTechLab 4 жыл бұрын
Wow! Nice find. Amazing
@DeirdreOByrne
@DeirdreOByrne 4 жыл бұрын
Forgive me for stating the obvious, but can you not just NOP out the call to the checksum check?
@OpenTechLab
@OpenTechLab 4 жыл бұрын
Unfortunately not... because it's not actually a checksum check. Just a memcmp that checks the flash upgrade did its job correctly
@DeirdreOByrne
@DeirdreOByrne 4 жыл бұрын
@@OpenTechLab OK - I thought you were looking at the firmware bootstrap, not the flash upgrade. NOPping out the firmware integrity checks is something I've done in the past :D
@OpenTechLab
@OpenTechLab 4 жыл бұрын
Yeah I actually tried something along those lines, but of course even if the flasher software is tricked into thinks a hacked firmware image is valid, it won't make any difference to the boot-loader which will load the firmware after rebooting
@DeirdreOByrne
@DeirdreOByrne 4 жыл бұрын
@@OpenTechLab Just out of curiosity - did you check out the function at 82bac? The function you've called "unknown_func()". There be dragons? :)
@OpenTechLab
@OpenTechLab 4 жыл бұрын
Not yet, no. There's a lot of unknowns to explore
@edmundhumenberger9917
@edmundhumenberger9917 4 жыл бұрын
Could it be a Tensilica core?
@OpenTechLab
@OpenTechLab 4 жыл бұрын
As in Xtensa? Looking at the ISA, I don't think that one's a match. The other guy suggest "C-SKY" - which seems closer
@d3stinYwOw
@d3stinYwOw 4 жыл бұрын
Probably I've found compression library. Same name, BSD license and It might be it. github.com/antirez/smaz
[019] IT9919 Hacking - part 4 - Diving into the boot-ROM
26:48
OpenTechLab
Рет қаралды 19 М.
Intro to Hardware Reversing: Finding a UART and getting a shell
12:07
Tony Gambacorta
Рет қаралды 885 М.
ВОДА В СОЛО
00:20
⚡️КАН АНДРЕЙ⚡️
Рет қаралды 29 МЛН
How Many Balloons Does It Take To Fly?
00:18
MrBeast
Рет қаралды 184 МЛН
БАБУШКИН КОМПОТ В СОЛО
00:23
⚡️КАН АНДРЕЙ⚡️
Рет қаралды 15 МЛН
Who has won ?? 😀 #shortvideo #lizzyisaeva
00:24
Lizzy Isaeva
Рет қаралды 65 МЛН
[013-1] Open Source FPGA Synthesis with the icoBoard - part 1
20:40
How the Apple AirTags were hacked
8:38
stacksmashing
Рет қаралды 1,6 МЛН
[016] IT9919 Hacking - part 1 - Reading firmware with flashrom
32:55
#03 - How To Find The JTAG Interface - Hardware Hacking Tutorial
27:52
[020] LKV373 Update - GCC for the IT9919
40:12
OpenTechLab
Рет қаралды 13 М.
Extracting Firmware from Embedded Devices (SPI NOR Flash) ⚡
18:41
Flashback Team
Рет қаралды 559 М.
Hack everything: re-purposing everyday devices - Matt Evans
50:39
Linux.conf.au 2012 -- Ballarat, Australia
Рет қаралды 800 М.
[017] IT9919 Hacking - part 2 - Hunting for Checksums
13:07
OpenTechLab
Рет қаралды 18 М.
ВОДА В СОЛО
00:20
⚡️КАН АНДРЕЙ⚡️
Рет қаралды 29 МЛН