Reading Silicon: How to Reverse Engineer Integrated Circuits

Ғылым және технология

Ken Shirriff has seen the insides of more integrated circuits than most people have seen bellybuttons. (This is an exaggeration.) But the point is, where we see a crazy jumble of circuitry, Ken sees a riddle to be solved, and he's got a method that guides him through the madness.
In his talk at the 2016 Hackaday SuperConference, Ken stepped the audience through a number of famous chips, showing how he approaches them and how you could do the same if you wanted to, or needed to. Reading an IC from a photo is not for the faint of heart, but with a little perseverance, it can give you the keys to the kingdom. We're stoked that Ken shared his methods with us, and gave us some deeper insight into a handful of classic silicon, from the Z80 processor to the 555 timer and LM7805 voltage regulator, and beyond.
Read the article:
hackaday.com/?p=237161
Learn more about Ken Shirriff:
www.righto.com/
Learn more about the Hackaday SuperConference:
hackaday.io/superconference/

Пікірлер: 357

  • @franklydude
    @franklydude6 жыл бұрын

    I'm a (retired) analogue IC designer and have many happy (?) memories studying other companies IC's using optical microscopes in our engineering laboratory, to reverse engineering them. It was a good way to learn tricks of the trade. I hope some engineers have studied some of my creations! We also used manual micro-manipulators to electrically probe connections when studying a powered up die. We sometimes used a laser to cut tracks in the lab. We also occasionally used an ion-beam milling machine to slice into the depth of an IC so we could modify the silicon experimentally. Oh what fun we had!

  • @willynebula6193

    @willynebula6193

    6 жыл бұрын

    Ion beam milling machine what a unique bit of gear! Something like that would have cost millions. What companies would even manufacturer a machine like that

  • @franklydude

    @franklydude

    6 жыл бұрын

    I forget the name of the company we used. It's not a big machine. Same principle as an electron beam microscope I think, although the polarity is obviously reversed! A tall evacuated chamber along which one accelerates charged particles. I think you have a very hot "anode" source creating a plasma (if that is the right terminology) so ions can be sucked away by the electric field. magnetic fields deflect the beam. The ions are much heavier than electrons and abrade the surface they hit... If I recall correctly, there was even technology to deposit material at a lower energy so that one could add a conducting track, very slowly......

  • @fakename3344

    @fakename3344

    4 жыл бұрын

    @@franklydude Would you happen to remember what it was? I'm really curious as to where I'd get the equipment to do this.

  • @franklydude

    @franklydude

    4 жыл бұрын

    @@fakename3344 I think it was companay in Cambridge or maybe even a university facility, I live in the UK... If you do a google for "focussed ion beam" milling etc, you should find some resources, certainly in the USA and in Europe, probably Japan and China too..

  • @gregorymalchuk272

    @gregorymalchuk272

    4 жыл бұрын

    @@franklydude Yeah, they also have ion implantation (basically ion doping) machines.

  • @HariWiguna
    @HariWiguna7 жыл бұрын

    I've always been impressed with those who could read disassembled code. but at minute 11:43 , Ken is disassembling SILICON and THEN disassembling the code that is in that ROM in that silicon! Oh as if that is not enough, he also wrote a simulator of the calculator he reverse engineered BY LOOKING AT THE SILICON!? WOW...

  • @HxcTufty

    @HxcTufty

    6 жыл бұрын

    Anyone that had being paying attention to EE classes (VLSI, Computer Archtecture, Microprocessors etc.) can do that. It is a lot of work though.

  • @dummypg6129

    @dummypg6129

    6 жыл бұрын

    Actually there is a method on how to perform that... Decap, hotspot, curve tracing etc. its just depending on the ic function/s thats varying and talent is required.

  • @Daniel-ib5bx

    @Daniel-ib5bx

    6 жыл бұрын

    I’m sayin right... what a bad ass lol

  • @zariumsheridan3488

    @zariumsheridan3488

    6 жыл бұрын

    what a royal waste of time though ...

  • @satibel

    @satibel

    6 жыл бұрын

    You are watching videos, what a waste of time! Jokes aside, any hobby may seem like a waste of time to others.

  • @chiragsinghyadav
    @chiragsinghyadav Жыл бұрын

    I studied automation engineering and almost everything here was a part of the curriculum. I wish it was taught like this! Had so much difficulties in understanding the implementation of gates on chip that I couldn’t visualize it so had to learn them and I hated ‘just learning’ part. There’s no fun without seeing it practically. Great video

  • @dans.8198
    @dans.81986 жыл бұрын

    Laser pointer vs mouse pointer :-(

  • @leocurious9919

    @leocurious9919

    5 жыл бұрын

    "this here..." "these ..." WHERE?!

  • @johnnyprimavera2
    @johnnyprimavera27 жыл бұрын

    Simply put: Great overview of silicon features and excellent approach on chip decapping.

  • @edinfific2576
    @edinfific25766 жыл бұрын

    Very nice and interesting to see how those basic components and circuits are made. Great work!

  • @zlac
    @zlac6 жыл бұрын

    FFS, somebody give this guy a glass of water!

  • @meepk633

    @meepk633

    6 жыл бұрын

    Banana noises.

  • @Mx6D

    @Mx6D

    6 жыл бұрын

    so true lmao. Michael you hit right on the head

  • @crackmaster88

    @crackmaster88

    6 жыл бұрын

    hahah i thought i was the only one who noticed that :D :D

  • @Euquila

    @Euquila

    6 жыл бұрын

    it's like he's chewing on the very circuitry from his lecture.

  • @huckanz

    @huckanz

    6 жыл бұрын

    actually those dry-mouth sounds are so pleasant for me... weird...

  • @samykamkar
    @samykamkar6 жыл бұрын

    Ken is awesome

  • @giuliaesposito3071

    @giuliaesposito3071

    5 жыл бұрын

    u too

  • @Adam-yd8dw

    @Adam-yd8dw

    5 жыл бұрын

    My hero ❤️

  • @rooster443

    @rooster443

    5 жыл бұрын

    Reverse engineering, the ultimate hacker skillz

  • @TracyNorrell

    @TracyNorrell

    8 ай бұрын

    If this the guy from the curious Marc videos?

  • @fixing_stuff
    @fixing_stuff9 ай бұрын

    man you have to give the name of the music played at the end... so good

  • @LumocolorARTnr1319
    @LumocolorARTnr13196 жыл бұрын

    Good talk but what are they doing with the camera taking shots from the back of the room and switching to the talker when he is showing something on the screen. Whoever filmed and edited this, watch some defcon talks.

  • @michaelbuckers

    @michaelbuckers

    4 жыл бұрын

    Yeah the filming is abysmal. 95% of the time he's showing something with a laser pointer, you can't see what it is.

  • @josephmazzeo2713

    @josephmazzeo2713

    3 жыл бұрын

    I really wanted to see what he meant by the "oh that's bad..." slide.

  • @darrelldourte9455

    @darrelldourte9455

    2 жыл бұрын

    Couldn't watch...camera man destroyed all follow along to the educational value seeking to be given. Hand that man a broom.

  • @davidmaiolo
    @davidmaiolo4 жыл бұрын

    Thanks, had fun getting a better look into the transistor designs that actually make their way into an ic.

  • @TangodownNZ
    @TangodownNZ4 жыл бұрын

    I need the laser pointer when you zoom in please! Because we have no idea where he is pointing to.

  • @Zemael
    @Zemael6 жыл бұрын

    Thank you! This is the kind of information I always tryed to find. Great links!

  • @Stallnig
    @Stallnig6 жыл бұрын

    crazy how much stuff is on these tiny pieces, and its getting even crazier by the day. I can't even imagine how much engineering hours and knowlege went into any of these things.

  • @jeremiefaucher-goulet3365
    @jeremiefaucher-goulet33654 жыл бұрын

    If you guys like Ken Shirriff, I suggest watching the CuriousMarc channel. Ken is often there tagging along and working with the others in restoring and understanding these old computers.

  • @drdyna

    @drdyna

    2 ай бұрын

    That's where I knew the face from, haha. I was sitting here watching this dude like where have I seen him....watching Marc's space shuttle computer videos!

  • @AI6XG
    @AI6XG3 жыл бұрын

    Early Mostek calculator devices (1970s) had fake contacts that would mess with reverse engineering and swiping the circuit. The fake contacts were not able to be detected under optical microscopy unless you were good at noting the direction of focus

  • @NSAwatchesME
    @NSAwatchesME7 жыл бұрын

    i actually learnt quite a lot

  • @iuliannitu5699
    @iuliannitu56995 жыл бұрын

    Very interesting what you do Ken. Thank You.

  • @kevinhevans
    @kevinhevans5 жыл бұрын

    Currently in school for comp E and we're slowly going over the topics presented, so this talk is really fascinating (to see this stuff in practice!) Does anybody know how large were the teams that were designing these chips?

  • @whiteburr
    @whiteburr5 жыл бұрын

    Phenomenal presentation! I want to thank that guy (and get him a bottle of water!)

  • @MorganEarlJones
    @MorganEarlJones6 жыл бұрын

    I chuckled when I saw the instruction "waitno"

  • @richardhead8264
    @richardhead82646 жыл бұрын

    *_THAT_* was freaking cool!!! _So much better_ than textbook cartoons!

  • @SerBallister
    @SerBallister2 жыл бұрын

    Fascinating talk, learned a few things new things it. Thank you so much.

  • @EnglishTeacherBerlin
    @EnglishTeacherBerlin6 жыл бұрын

    Absolutely fascinating! Thanks a lot!

  • @DavidvanDeijk
    @DavidvanDeijk4 жыл бұрын

    2nd time i watch this, still wrecking my brain about that ALU trick.

  • @MadsonOnTheWeb
    @MadsonOnTheWeb4 жыл бұрын

    It could've been even longer presentation and I still would watch it.

  • @12volt15
    @12volt152 жыл бұрын

    Thank for sharing this! Really appreciate it!

  • @PilotPlater
    @PilotPlater6 жыл бұрын

    MikesElectricStuff does videos deencapsulating chips which is cool, but havent seen or forgot ever seeing anyone show a transistor-level look! Cool

  • @bkzzzzz
    @bkzzzzz6 жыл бұрын

    very nice inside of very popular chips. I always wonder how do they work still so tinny.

  • @jlg23us
    @jlg23us7 жыл бұрын

    Great job! Thank you for sharing :D

  • @danielkrajnik3817
    @danielkrajnik38173 жыл бұрын

    this is crazy, awesome, breathtaking

  • @dkaye512
    @dkaye5126 жыл бұрын

    If you have an archive of the raw footage from all of the cameras, it would greatly helpful to have the wide angle shot showing you pointing is really helpful. However, the slides are better resolution, but where he is pointing is lost. The lecture is very interesting, but when you don't see where he is pointing makes much more difficult to follow Thanks.

  • @edgeeffect

    @edgeeffect

    4 жыл бұрын

    Yeah you can't win with the slides... laser pointer OR better quality image but you can't have both.... ideally we need speakers to use some kind of "virtual laser pointer" on the presentation laptop.

  • @olegil2

    @olegil2

    2 жыл бұрын

    @@edgeeffect You can have both, it's called picture in picture. You can show slide, presenter and picture of where he's pointing at the same time. Then the virtual experience would in most cases actually be better than the real one. "Virtual laser pointer" as in mouse pointer? Yeah, would be nice if someone invented that.

  • @PauloConstantino167
    @PauloConstantino1674 жыл бұрын

    Beautiful work.

  • @mrroobarb
    @mrroobarb6 жыл бұрын

    Fantastic - very informative.

  • @tmdrake
    @tmdrake5 жыл бұрын

    Rawr, Love the chip die art!

  • @nxxxxzn
    @nxxxxzn7 жыл бұрын

    this channel is awesome

  • @amrkoptan4041
    @amrkoptan40416 жыл бұрын

    im a big fan of yours since curious marc channel !!!!

  • @damianbutterworth2434
    @damianbutterworth2434 Жыл бұрын

    I have a David and Mann x,y table from a microchip factory. Very accurate. It had a 110 volt motor on the x axis. So I wonder if it was for cutting the wafers up.

  • @jamest.5001
    @jamest.50016 жыл бұрын

    I don't think I'd wanna buy a POSFET OR a POS transistor. this is a very interesting video.

  • @tibfulv

    @tibfulv

    5 жыл бұрын

    How about an old SGI Tezro? SGI doesn't exist anymore, and to our knowledge these machines aren't repairable using standard services. Reengineering the ICs may be the only way to service them, and emulation requires the same thing.

  • @hereb4theend
    @hereb4theend3 жыл бұрын

    Absolutely brilliant. Thank you very much.

  • @Cyberfoxxy
    @Cyberfoxxy5 жыл бұрын

    after a decades of innovation we still haven't figured out how to get a laser pointer on youtube

  • @yoramstein
    @yoramstein7 жыл бұрын

    Great lecture

  • @linuxguy1199
    @linuxguy11996 жыл бұрын

    28:30 Looks more like a factorio base than an IC XD

  • @PilotPlater

    @PilotPlater

    6 жыл бұрын

    this made me chuckle

  • @DavidHenderson1

    @DavidHenderson1

    4 жыл бұрын

    I mean, in a way, they're essentially the same thing. With Factorio, you're taking resources and converting them into other resources. With processors you're taking inputs and converting them into outputs.

  • @deaustin4018
    @deaustin40185 жыл бұрын

    well, I started programming in the late 60s, but I can still understand like maybe up to 30 percent of this. I checked with a couple other people, sure enough, they couldn't understand a single word, so I'm happy enough.

  • @ramizyabac3256

    @ramizyabac3256

    Жыл бұрын

    :)

  • @sjb27182
    @sjb271826 жыл бұрын

    Silicon in an elevated enthalpy reaction(add heat) undergoes an elevation of the 3p orbitol, allowing for an enthalpy controlled reduction/oxidation reaction of the atom. So start there. Then make transistors...

  • @willynebula6193
    @willynebula61937 жыл бұрын

    absolutely brilliant

  • @harakatabdelmjid9449
    @harakatabdelmjid94494 жыл бұрын

    Merci pour la vidéo j'aime beaucoup les recherches

  • @ismaillafria2757

    @ismaillafria2757

    4 жыл бұрын

    كتبغيو البحث ولا كيعجبكم غير تشوفو الأخرين كيقومو بأمور خارقة بحال هكا,,العربان أش عندكم ماديرو

  • @tekvax01
    @tekvax014 жыл бұрын

    where did the cool opening and closing music come from? anyone know who made it?

  • @aaronr.9644
    @aaronr.96447 жыл бұрын

    Great stuff! Is there a forum somewhere (something like reddit) where ppl take a stab at analysing these die pics?

  • @metallitech
    @metallitech6 жыл бұрын

    When I was 11 or 12 years old I did a science fair thing where I got the chips out and let people look at them with a microscope. The way I came up with for getting the silicon out was simply by heating the package until it crumbled.

  • @hydrochloricacid2146

    @hydrochloricacid2146

    6 жыл бұрын

    metallitech hey that's what i do!

  • @hqqns
    @hqqns4 жыл бұрын

    Oh, it's Ken from Marc's channel!

  • @sardinefinder334
    @sardinefinder3344 жыл бұрын

    My digital logic professor brought me here. THANKS J DAWG

  • @NorthWay_no
    @NorthWay_no4 жыл бұрын

    Fantastic stuff. Is there anything like a program that can be fed a die photo and more or less make sense of it?

  • @snooks5607

    @snooks5607

    3 жыл бұрын

    that's how you create Skynet

  • @paulgill7222
    @paulgill7222 Жыл бұрын

    Guys like him and the designers are out of this world, seriously extra terrestrial ufos.....wow.... way over my head..........

  • @abdokamal4133
    @abdokamal4133 Жыл бұрын

    Thank you. I wanted to ask about the power of the microscope used

  • @NicksStuff
    @NicksStuff28 күн бұрын

    This blew my mind

  • @TSulemanW
    @TSulemanW2 жыл бұрын

    Nice explaination

  • @josephmazzeo2713
    @josephmazzeo27133 жыл бұрын

    I always wondered if a working chip with a metal lid will continue to work with the lid popped off and exposed to ambient air. The lid would have to be removed carefully so as not to damage the bonding wires or the chip. Would light have any effect? How about a low power laser such as from a pointer? EPROMs continue to work even though the window is exposed (although erasure might occur after some time), so I guess yes?

  • @KevinJohnson-fw8kv

    @KevinJohnson-fw8kv

    Жыл бұрын

    it has to be exposed to UV light a strong UV light. Which is why some of these EEPROMs that are being pulled out of vintage computers from the 80's still have all of their EEPROM data intact.

  • @xenlase
    @xenlase7 жыл бұрын

    Brilliant :)

  • @nagualdesign

    @nagualdesign

    6 жыл бұрын

    My sentiments exactly.

  • @edgeeffect
    @edgeeffect5 жыл бұрын

    Oh hello Ken! Seen you before hanging around with Curious Marc.

  • @hqqns

    @hqqns

    4 жыл бұрын

    It was a pleasant surprise to recognise someone. He definitely is a reverse engineering king.

  • @seankayll9017
    @seankayll90176 жыл бұрын

    You sounded really nervous. Relax, it was a fascinating talk and your presentation was excellent.

  • @n.aminr.7175
    @n.aminr.71754 жыл бұрын

    For YT videos, I suggest you show the diagram next to the actual screen. I can't see that laser dot on my screen to sync with his explanation lol.

  • @Donatellangelo
    @Donatellangelo7 жыл бұрын

    This looks like it takes a lot of patience. But that's okay, well worth it in the end.

  • @neojb7417
    @neojb74176 жыл бұрын

    YES!

  • @generosonunezarias369
    @generosonunezarias3693 жыл бұрын

    This Guy is a Beast with Silicon! Wow!

  • @SebastianGarcia-go4tx
    @SebastianGarcia-go4tx3 жыл бұрын

    This guy should definitely write a book about this topic. I'd love to learn more about it.

  • @limsheng4873
    @limsheng48735 жыл бұрын

    we should b extremely thankful 4da existence of XEROX ALTO cuz it was a precursor 2all modern Pc's.

  • @jaymzkardell1841
    @jaymzkardell18417 жыл бұрын

    This is awesome.

  • @dennihsaur
    @dennihsaur6 жыл бұрын

    I watch these videos with no background in CS, i'm just like wtf how is this even possible?!?

  • @yaus0527

    @yaus0527

    6 жыл бұрын

    No, it is possible. If you study semiconductor related knowledge, it will be piece of cake.

  • @delysid111
    @delysid1112 жыл бұрын

    His good . the true beauty of transistors is the differance in opening, and closing . Some are Voltage controlled, some are Ampere controlled, some are Normally Open NO, others are NC, Normally Closed , before you apply voltage to them . NPN & PNP junctions .

  • @WooShell
    @WooShell6 жыл бұрын

    Who's the end theme song from? I need that track badly..

  • @Sparkette
    @Sparkette4 жыл бұрын

    Am I the only one who saw "Instruction ROM" in the calculator chip and immediately thought, I'd love to experiment with that and see what changing values in it would do?

  • @jeffsheldon
    @jeffsheldon7 жыл бұрын

    I've found that very flat ceramic chips (which can't be chiseled) can be heated and will crumble, though occasionally with case residue on the die. The fumes are not good for breathing.

  • @andreassjoberg3145

    @andreassjoberg3145

    5 жыл бұрын

    I think that we soon will have access to high power laser beams that can chisel away AND scan a chip in 3D and remodel them, as a by-product of the nascent 3D-printing technology.

  • @abbyboing
    @abbyboing4 жыл бұрын

    Excellent amount of information. Respect. Just the Saliva sound was a bit bothersome. Sounded a bit kinky while under the impression of knowledge. You know.

  • @peterhindes56
    @peterhindes566 жыл бұрын

    shame I cant see the lazer pointer

  • @raynegames2636
    @raynegames26366 жыл бұрын

    This Guy is a master of the modern reverse Engineering, a God...

  • @choosetolivefree

    @choosetolivefree

    6 жыл бұрын

    These chips are not modern, but in fact very old. This would be nearly impossible to do with modern chips, as one of the commenters above explained very well

  • @emmarobertson3933
    @emmarobertson39334 жыл бұрын

    9:02 just for efficiency, would it not be better to use just 2 transistors to solve the NOR circuit the 3 transistor seems of no use theoretical it might be part of the drawment for the negation but why would you do that then

  • @ajikishaya463
    @ajikishaya463 Жыл бұрын

    I've been wondering how the control logic schematic looks like and how it interacts with the interrupts in the instruction rom( schematic) at transistor leve of the z80 and it's burning my neural circuit. Someone plz save me!

  • @gregorymccoy6797
    @gregorymccoy67972 жыл бұрын

    It's Master Ken!!!

  • @climbeverest
    @climbeverest3 жыл бұрын

    Incredible only in America such geniuses self develop

  • @HansBaier
    @HansBaier3 жыл бұрын

    Excellent!

  • @MrGunnaras
    @MrGunnaras5 жыл бұрын

    You are amazing!

  • @spidermcgavenport8767
    @spidermcgavenport87675 жыл бұрын

    My favorite past time hobby is editing assembly code in original Nintendo games. Hex editor for DOS. Keeps me busy.

  • @arts9591
    @arts95916 жыл бұрын

    ALU the real brain of a chip by Ken.S

  • @PauloSantos-cv1bi
    @PauloSantos-cv1bi4 жыл бұрын

    Wow! Amazing!!

  • @-LightningRod-
    @-LightningRod-5 жыл бұрын

    bro, u r amazing, that is soo cool ,nd the earth is burning,

  • @haxxx0rz
    @haxxx0rz5 жыл бұрын

    Nice outro music. Sounds very 303-ish :-)

  • @terencem9962
    @terencem99626 жыл бұрын

    i got a few chips open but it just was white mush. don't know where they put the transistors and i have a feeling they had just stuffed it with potatoe

  • @Kenbomp
    @Kenbomp3 жыл бұрын

    Not unusual cur mirror it saves allot of space. Beautiful design

  • @MarkSeve
    @MarkSeve6 жыл бұрын

    PoW!! Mind blown! Additionally, watch Ben Eater for step 2

  • @deldrinov
    @deldrinov6 жыл бұрын

    That last shot looked totally like screenshot from Factorio.

  • @nicknicolosi1
    @nicknicolosi16 жыл бұрын

    that's impressive!

  • @federico.salcidojesus1032
    @federico.salcidojesus10326 жыл бұрын

    It would be so nice to "test" Sat TV again :) and reunite guys like Raton, Penga, Silverman etc,etc and learn from them again. I'm to old to start lol

  • @snooks5607

    @snooks5607

    3 жыл бұрын

    this sounds interesting, can you tell more about it?

  • @BemBem-G
    @BemBem-G6 жыл бұрын

    hay quá. cám ơn rất nhiều. rất hữu ích. tôi rất thích chúng.

  • @Bianchi77
    @Bianchi774 ай бұрын

    Cool video, thanks :)

  • @EllotusFreeholy
    @EllotusFreeholy6 жыл бұрын

    "if you stare at it long enough it will start to make sense" ~ No, if YOU stare at it long enough it will start to make sense, if I stare at it long enough i'll get a headache. lol

  • @firmman4505

    @firmman4505

    4 жыл бұрын

    Ellotus Freeholy lol

  • @StefanReich
    @StefanReich5 жыл бұрын

    Love it

  • @jaycal1920
    @jaycal19206 жыл бұрын

    Mr Ken Shirriff You have single handedly done the work of well trained teams and I dont think anyone even comprehends what you are able to do. It has a lot of weight to it. you are $1 as apposed to 100 pennies Sir.

  • @peterbonnema8913
    @peterbonnema89134 жыл бұрын

    Is that a factorio megabase???

  • @stevensgarage6451
    @stevensgarage64512 жыл бұрын

    Just realized he wrote the IR library for my garage stereo

Келесі