[017] IT9919 Hacking - part 2 - Hunting for Checksums

  Рет қаралды 18,626

OpenTechLab

OpenTechLab

5 жыл бұрын

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 build out a more sophisticated hardware hacking rig, and begin experimenting with the upgrade files.
Show Notes: opentechlab.org.uk/videos:017...
Twitter: @OpenTechLabChan
Mastadon: @opentechlab@mstdn.io
SubscribeStar: www.subscribestar.com/opentec...
PayPal: www.paypal.me/opentechlab
Bitcoin: 18CU9LxwRuiLHy9HsuMj2vzobbW4J3QVC2

Пікірлер: 59
@danmanmgm
@danmanmgm 5 жыл бұрын
Interresting approach. And you even read my name correctly :)
@simonmerrett
@simonmerrett 5 жыл бұрын
I'm really glad that have started producing content again - thank you! Your long form videos are a precious resource.
@vincei4252
@vincei4252 5 жыл бұрын
I bought a bevy of the dev boards you shared in the previous video. Looking forward to getting them. Thanks for the tips!
@goosenp
@goosenp 5 жыл бұрын
I'm glad to see they you're posting again. Hope the move and everything else your side is going well
@edgeeffect
@edgeeffect 4 жыл бұрын
Ooooh! So YOU are where I got my recent thing for SMD on pad board from!
@EdwinNoorlander
@EdwinNoorlander 5 жыл бұрын
Really nice work. Thank you.
@Aemilindore
@Aemilindore 5 жыл бұрын
Glad to see that you're back. May be, you might do few videos on SDR stuff too. Thanks for considering.
@adrianschneider4441
@adrianschneider4441 4 жыл бұрын
Like your rigs. I use a MakerBeam kit to make all sorts of testing rigs. Very versatile.
@Rooey129
@Rooey129 5 жыл бұрын
Love it, keep up the amazing work
@AntonioDellaRovere
@AntonioDellaRovere 5 жыл бұрын
Finally! another great post!
@UpcycleElectronics
@UpcycleElectronics 5 жыл бұрын
Inspirational! One day, one day I'll be playing around like this. I've got to get these software skills first. I've never seen someone use 2 blue pills like this before. Smart. Thanks for the upload. -Jake
@bumelant
@bumelant 5 жыл бұрын
Nice work! Keep it going.
@BertVermeulen
@BertVermeulen 5 жыл бұрын
Amazing challenge Joel!
@OpenTechLab
@OpenTechLab 5 жыл бұрын
It's Mr Bert Vermeulen everyone! One of the founding fathers of sigrok!
@AxelWerner
@AxelWerner 5 жыл бұрын
VERY fascinating !!! thanks for sharing!!
@RoadRunnerMeep
@RoadRunnerMeep 4 жыл бұрын
Nice video, enjoyed watching
@CyReVolt
@CyReVolt 4 жыл бұрын
At the top, where you can recognize a bit of a pattern, that's probably register configuration tables, so they may possibly have other configurations, but parts of the addresses must not be changed or something like that. There may also be other tables like interrupt vectors.
@1kreature
@1kreature 5 жыл бұрын
A byte inversion is not a common fault so checksums are not as good at detecting them. A single bit flip would be more likely and would tell you much better which bytes are covered. Most likely all are though. No sense in storing a firmware copy and not just protecting the entire blob.
@maletil
@maletil 5 жыл бұрын
This is pretty interesting. Thanks!
@jasonmilldrum
@jasonmilldrum 4 жыл бұрын
Your 3D printed test frame technique is an excellent idea. I've only recently acquired my first 3D printer (same as yours) and now I need to learn OpenSCAD so that I can steal your idea. :)
@OpenTechLab
@OpenTechLab 4 жыл бұрын
Good! I put the source code in show notes: opentechlab.org.uk/videos:017:notes , and I did a quick tutorial about OpenSCAD a while back: kzbin.info/www/bejne/aWm9aHhuhMiJmpo . Hope you find it helpful!
@BuzZ.
@BuzZ. 5 жыл бұрын
Very interesting !!
@pixelflow
@pixelflow 5 жыл бұрын
Now THIS is podracing.
@jacksat2252
@jacksat2252 5 жыл бұрын
Nice ,you are spoiling us ,2 videos in one week . Thank you. 👍 I hope you find the time to do more video's in the future . 2 weeks ago a went true my subsciberlist to see if you are still in there . I discovered Sigrok thanks to you ,just a shame my latest Kingst LA2016 doesn't support it . The software of the manufacturer is shit compared with sigrok . Shame that there is no development for it , it is planned from 2016 but still red dot.
@OpenTechLab
@OpenTechLab 5 жыл бұрын
Looking at the page in the sigrok wiki, I wouldn't be surprised if it isn't very similar to one of the other devices - either a direct clone, or something very similar. The folks on the #sigrok irc channel are very helpful answering questions. If you're looking for a project, writing logic analyzer drivers can be quite good fun. There's a tutorial about how to reverse-engineer USB protocols in video 005 at 0:32:23.
@jacksat2252
@jacksat2252 5 жыл бұрын
@@OpenTechLab Thanks for the tips ,i will look in to it , it would be great to use sigrok for this analyser. PS : don't wait another year to upload a video ,they don't need to be polished ,they are always fascinating and interesting .
@ayavilevich
@ayavilevich 4 жыл бұрын
With regards to byte flips and then rendering them in a table, it seems there is a pattern in the SMEDIA area where some columns are more critical so it might be few bytes of data and then few control bytes. Columns 8 and 16 definitely look like least significant bytes of control data, therefore when they are changed a break is imminent. Those two columns often monotonically increase by 2 every 8 bytes. On the other hand some columns seem to be in the "data" category and don't seem to affect loading if they are changed. The "control" bytes seem to be 32bit numbers distributed around 0. A bit later in the flow they start to come up as negative values. So these numbers could be indexes in to some kind of a table. Would be interesting to try to increment the bytes by 1 instead of flipping them. A value of FF instead of 0 in column 7, assuming it is a not least significant control byte, seems to have no effect on booting which doesn't seem to make sense. Maybe 1 instead of 0 will cause it to break as it will look closer to a value the system may consider valid.
@johnoneil9150
@johnoneil9150 4 жыл бұрын
re: Heat Stakes at 3:30. I've never heard this term before but it looks very convenient. Specifically what material did you 3D print with that allows this? I've watched your previous videos but can't seem to find much about materials. Thanks for the channel. Really great.
@OpenTechLab
@OpenTechLab 4 жыл бұрын
I only ever print with PLA - but I think it would work with just about anything. It has to melt to get through the printer nozzle, right?
@jonshouse1
@jonshouse1 4 жыл бұрын
The checksums are often CRC16 CRC32 or unsigned addition. I would start with unsigned addition, the snag is you need to know the offset at the start (if any) and the length. The area containing the checksum is likely to be a C structure, the structure itself may not be the part of the checksummed data. Try no offset at the start and do an addtion, if it fails move another byte backwards from the checksum and re-compute it ?
@Dust599
@Dust599 5 жыл бұрын
I think you need to try a hot swap on the eeprom, swap it out after the check, between read cycles
@wreckless_-jl6uu
@wreckless_-jl6uu 4 жыл бұрын
*MOAR VIDEOS MOAR OFTEN!!!!!*
@gabiold
@gabiold 5 жыл бұрын
Maybe the checksum is one of the standard CRC32's, but protecting the uncompressed data not the original one.
@TalpaDK
@TalpaDK 4 жыл бұрын
I would also calculate the checksum on the uncompressed data, that way any defect during decompression could be caught. So trying different de compression algorithms until you find one that matches the decompressed length, then trying different crc32s to match the suspected checksum ?
@smbrown
@smbrown 4 жыл бұрын
What the binary file compare utility? Showing differences in red. Really enjoying the series.
@OpenTechLab
@OpenTechLab 4 жыл бұрын
It's vbindiff!
@dduncane
@dduncane 4 жыл бұрын
IGMP snooping would be a ... better solution, don't you think?
@ZaPpaul
@ZaPpaul 5 жыл бұрын
Looks like a solder bridge there on U2, just above C130 at about 5pm 1:27
@OpenTechLab
@OpenTechLab 4 жыл бұрын
I think those pins are meant to be linked. On the data-sheet, pins 44 and 45 are labelled RAMVSS.
@tedvanmatje
@tedvanmatje 4 жыл бұрын
I'm not top-notch when it comes to putting thought processes to words....but I'll give it a go :) There are (if memory serves) a set of standard compression logarithms which get used by different manufacturers - was thinking that for the manufacturer of these soc's to write their own logarithm would be a bit long-winded (time being money, etc...if any of you've seen Ben Eater's videos on creating checksums, you'll see what I mean). You could take the compressed part of the code out of the hex file and then apply the 'popular' logarithms to it to see if that renders it readable. Also, are there any other soc's produced by this manufacture where there is information available on the compression process? 'Tis a shot in the dark, but maybe the same (or simular) compression is used there too. Or, examine how other manufacturers do this. I hope that no-one feels like I'm teaching anyone to suck eggs....just throwing some thoughs to words. This has definitely got me triggered though - which is what I like about ths opentechlab channel. Thanks for posting! Time for a cup of tea and a nice relaxing thinking session :) Edit: Just watched part 3 in this series which has rendered my above comment obsolete :)
@In3xorable
@In3xorable 4 жыл бұрын
This is bleeping awesone.
@joshmyer9
@joshmyer9 4 жыл бұрын
You've piqued my interest. How confident are you in the opcode names/constants in the git repo? I've been monkeying with firmware blobs today and I think I'm getting a different idea of what the opcodes are. Though it looks like you've possibly been able to run some code, in which case you're definitely going to know the instruction set better than I've figured out thus far =)
@OpenTechLab
@OpenTechLab 4 жыл бұрын
I went into it in a bit more detail in the next part: kzbin.info/www/bejne/iYOaqpt8ntSKrck
@SanthoshRamaraj
@SanthoshRamaraj 4 жыл бұрын
I'm interested to know about your python script and the tabulation looks great.
@OpenTechLab
@OpenTechLab 4 жыл бұрын
I put most of the code in a git repository here: github.com/jhol/otl-lkv373a-tools . Have a look at test-startup.py and tabulate-test-startup.py which formats the results in HTML. It's nothing fancy - just a quick-and dirty script. Which is the best way for a project like this.
@evghenim1955
@evghenim1955 4 жыл бұрын
Unrelated question: How do I make my terminal look like yours at 7:33? (I am talking about bottom row, and directory/branch colors and styling)
@OpenTechLab
@OpenTechLab 4 жыл бұрын
The shell is zsh, installed with oh-my-zsh for the theming. And I'm using tmux as a windows manager in the terminal. More recently I've started using vim instead for windowing. If you want to see my config files, I keep them on stashed on GitHub: github.com/jhol/shellrc
@drelephanttube
@drelephanttube Жыл бұрын
What's the diffing app with the highlighted colors that you're using at 12:08?
@OpenTechLab
@OpenTechLab Жыл бұрын
It's vbindiff- nice little tool!
@Lecram066
@Lecram066 5 жыл бұрын
Which camera are you using?
@OpenTechLab
@OpenTechLab 5 жыл бұрын
This was filmed on a Lumix G7. In addition I recently acquired a GH4
@Lecram066
@Lecram066 5 жыл бұрын
@@OpenTechLab Thank you. I'm looking for good video quality when i will be filming my work table.
@OpenTechLab
@OpenTechLab 5 жыл бұрын
Yeah... on the second hand market the GH4's seem really well priced relative to the compact GX series and mid-range G series. Perhaps there is less demand for "pro" cameras. Lenses are less expensive on Micro 4/3 and APS-C cameras, but quality glass is rarely cheap - even second hand. There are lots of lens reviews on KZbin. Beware though, lens shopping is an addictive pastime.
@timspencer8272
@timspencer8272 5 жыл бұрын
i like your content and would like to donate but not continously, is ther another option apart from bitcoin?
@OpenTechLab
@OpenTechLab 5 жыл бұрын
Thanks for the support! It helps a lot. Previously I used Patreon and I had it set for donations per-video, which is better for me because often other things in my life get in the way of video making, so I can't guarantee a release schedule. Unfortunately, I've become a little unhappy with some of Patreon's business practices, so I decided to switch to SubscribeStar - the only problem being that they only allow monthly donations at the current time. So at the moment the two options I can think of are 1. join subscribestar and pledge $1/month. That's the smallest tier it will allow. I don't think that will break anyone's bank month by month - even if they forget about it. Or 2. I'm considering publishing a PayPal link for one-time donations. Would either of these work for you? Or do you have any other suggestions?
@timspencer8272
@timspencer8272 5 жыл бұрын
To be honest the PayPal link would be preferred but upon reflection the amount I would give would go for a couple of month on the monthly subscribe. Just don't want the unsubscribe to seem like a disinterest. I would just really like a firmware without the multicast spewing lol
@OpenTechLab
@OpenTechLab 5 жыл бұрын
I created a PayPal link here: www.paypal.me/opentechlab . Thanks for supporting the channel!
@goose2574
@goose2574 4 жыл бұрын
I think someone seen the fact that there was no dislikes so they decided to be the first and just annoy everybody
[018] IT9919 Hacking - part 3 - Hacking Upgrade Files
17:11
OpenTechLab
Рет қаралды 14 М.
AMD Almost Went Bankrupt…but were saved by Sony and Microsoft?
5:35
MISS CIRCLE STUDENTS BULLY ME!
00:12
Andreas Eskander
Рет қаралды 16 МЛН
Little girl's dream of a giant teddy bear is about to come true #shorts
00:32
Inside Out 2: Who is the strongest? Joy vs Envy vs Anger #shorts #animation
00:22
Clown takes blame for missing candy 🍬🤣 #shorts
00:49
Yoeslan
Рет қаралды 40 МЛН
Hack everything: re-purposing everyday devices - Matt Evans
50:39
Linux.conf.au 2012 -- Ballarat, Australia
Рет қаралды 800 М.
[019] IT9919 Hacking - part 4 - Diving into the boot-ROM
26:48
OpenTechLab
Рет қаралды 19 М.
How I reverse engineer a chip
5:10
Robert Baruch
Рет қаралды 445 М.
Hacker's Guide to UART Root Shells
17:40
Flashback Team
Рет қаралды 471 М.
[014] IcoBoard Software Defined Radio Project - Hardware
1:01:11
OpenTechLab
Рет қаралды 58 М.
8 Товаров с Алиэкспресс, о которых ты мог и не знать!
49:47
РасПаковка ДваПаковка
Рет қаралды 129 М.
#samsung #retrophone #nostalgia #x100
0:14
mobijunk
Рет қаралды 10 МЛН
Опасность фирменной зарядки Apple
0:57
SuperCrastan
Рет қаралды 8 МЛН
Что делать если в телефон попала вода?
0:17
Лена Тропоцел
Рет қаралды 2,7 МЛН
Battery  low 🔋 🪫
0:10
dednahype
Рет қаралды 13 МЛН