Reading Silicon: How to Reverse Engineer Integrated Circuits

Sdílet
Vložit
  • čas přidán 17. 06. 2024
  • 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/
  • Věda a technologie

Komentáře • 359

  • @franklydude
    @franklydude Před 6 lety +446

    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 Před 6 lety +4

      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 Před 6 lety +29

      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 Před 5 lety +1

      @@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 Před 5 lety +2

      @@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 Před 5 lety +1

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

  • @HariWiguna
    @HariWiguna Před 7 lety +594

    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 Před 6 lety +53

      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 Před 6 lety +7

      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 Před 6 lety +2

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

    • @zariumsheridan3488
      @zariumsheridan3488 Před 6 lety +8

      what a royal waste of time though ...

    • @satibel
      @satibel Před 6 lety +47

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

  • @chiragsinghyadav
    @chiragsinghyadav Před rokem +5

    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

  • @zlac
    @zlac Před 6 lety +345

    FFS, somebody give this guy a glass of water!

    • @meepk633
      @meepk633 Před 6 lety +32

      Banana noises.

    • @Mx6D
      @Mx6D Před 6 lety +5

      so true lmao. Michael you hit right on the head

    • @crackmaster88
      @crackmaster88 Před 6 lety +6

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

    • @Euquila
      @Euquila Před 6 lety +13

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

    • @huckanz
      @huckanz Před 6 lety +2

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

  • @edinfific2576
    @edinfific2576 Před 6 lety +3

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

  • @johnnyprimavera2
    @johnnyprimavera2 Před 7 lety +3

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

  • @Zemael
    @Zemael Před 6 lety +1

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

  • @samykamkar
    @samykamkar Před 6 lety +61

    Ken is awesome

  • @davidmaiolo
    @davidmaiolo Před 4 lety +1

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

  • @dans.8198
    @dans.8198 Před 6 lety +164

    Laser pointer vs mouse pointer :-(

  • @Stallnig
    @Stallnig Před 6 lety

    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.

  • @richardhead8264
    @richardhead8264 Před 6 lety +11

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

  • @NSAwatchesME
    @NSAwatchesME Před 7 lety +28

    i actually learnt quite a lot

  • @whiteburr
    @whiteburr Před 5 lety +8

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

  • @iuliannitu5699
    @iuliannitu5699 Před 5 lety +1

    Very interesting what you do Ken. Thank You.

  • @jeremiefaucher-goulet3365
    @jeremiefaucher-goulet3365 Před 4 lety +12

    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 Před 3 měsíci

      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!

  • @TangodownNZ
    @TangodownNZ Před 4 lety +20

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

  • @MorganEarlJones
    @MorganEarlJones Před 6 lety +19

    I chuckled when I saw the instruction "waitno"

  • @PauloConstantino167
    @PauloConstantino167 Před 5 lety

    Beautiful work.

  • @SerBallister
    @SerBallister Před 2 lety

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

  • @EnglishTeacherBerlin
    @EnglishTeacherBerlin Před 6 lety +1

    Absolutely fascinating! Thanks a lot!

  • @12volt15
    @12volt15 Před 2 lety +1

    Thank for sharing this! Really appreciate it!

  • @LumocolorARTnr1319
    @LumocolorARTnr1319 Před 6 lety +84

    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 Před 4 lety +7

      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 Před 3 lety +1

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

    • @darrelldourte9455
      @darrelldourte9455 Před 2 lety +1

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

  • @nxxxxzn
    @nxxxxzn Před 7 lety +1

    this channel is awesome

  • @danielkrajnik3817
    @danielkrajnik3817 Před 3 lety

    this is crazy, awesome, breathtaking

  • @yoramstein
    @yoramstein Před 7 lety

    Great lecture

  • @mrroobarb
    @mrroobarb Před 6 lety

    Fantastic - very informative.

  • @AI6XG
    @AI6XG Před 3 lety +4

    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

  • @Cyberfoxxy
    @Cyberfoxxy Před 5 lety +4

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

  • @jlg23us
    @jlg23us Před 7 lety +2

    Great job! Thank you for sharing :D

  • @hereb4theend
    @hereb4theend Před 3 lety

    Absolutely brilliant. Thank you very much.

  • @amrkoptan4041
    @amrkoptan4041 Před 6 lety

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

  • @DavidvanDeijk
    @DavidvanDeijk Před 4 lety +1

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

  • @fixing_stuff
    @fixing_stuff Před 10 měsíci +1

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

  • @MadsonOnTheWeb
    @MadsonOnTheWeb Před 4 lety +1

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

  • @tmdrake
    @tmdrake Před 5 lety +2

    Rawr, Love the chip die art!

  • @kevinhevans
    @kevinhevans Před 5 lety +6

    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?

  • @willynebula6193
    @willynebula6193 Před 7 lety

    absolutely brilliant

  • @jamest.5001
    @jamest.5001 Před 6 lety +10

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

    • @tibfulv
      @tibfulv Před 6 lety +3

      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.

  • @bkzzzzz
    @bkzzzzz Před 6 lety

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

  • @harakatabdelmjid9449
    @harakatabdelmjid9449 Před 4 lety +1

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

    • @ismaillafria2757
      @ismaillafria2757 Před 4 lety

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

  • @TSulemanW
    @TSulemanW Před 2 lety

    Nice explaination

  • @jaymzkardell1841
    @jaymzkardell1841 Před 7 lety

    This is awesome.

  • @PilotPlater
    @PilotPlater Před 6 lety

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

  • @sardinefinder334
    @sardinefinder334 Před 4 lety +2

    My digital logic professor brought me here. THANKS J DAWG

  • @linuxguy1199
    @linuxguy1199 Před 6 lety +57

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

    • @PilotPlater
      @PilotPlater Před 6 lety +2

      this made me chuckle

    • @DavidHenderson1
      @DavidHenderson1 Před 4 lety +1

      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.

  • @MrGunnaras
    @MrGunnaras Před 5 lety

    You are amazing!

  • @xenlase
    @xenlase Před 7 lety +15

    Brilliant :)

  • @HansBaier
    @HansBaier Před 3 lety

    Excellent!

  • @tekvax01
    @tekvax01 Před 4 lety +1

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

  • @dkaye512
    @dkaye512 Před 6 lety +15

    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 Před 4 lety

      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 Před 2 lety

      @@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.

  • @PauloSantos-cv1bi
    @PauloSantos-cv1bi Před 4 lety

    Wow! Amazing!!

  • @NicksStuff
    @NicksStuff Před měsícem

    This blew my mind

  • @paulgill7222
    @paulgill7222 Před rokem

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

  • @deaustin4018
    @deaustin4018 Před 6 lety

    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.

  • @hqqns
    @hqqns Před 4 lety +3

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

  • @generosonunezarias369
    @generosonunezarias369 Před 3 lety

    This Guy is a Beast with Silicon! Wow!

  • @-LightningRod-
    @-LightningRod- Před 5 lety +3

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

  • @Bianchi77
    @Bianchi77 Před 5 měsíci

    Cool video, thanks :)

  • @gregorymccoy6797
    @gregorymccoy6797 Před 2 lety

    It's Master Ken!!!

  • @metallitech
    @metallitech Před 6 lety +1

    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.

  • @Donatellangelo
    @Donatellangelo Před 7 lety

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

  • @peterhindes56
    @peterhindes56 Před 6 lety +15

    shame I cant see the lazer pointer

  • @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.

  • @neojb7417
    @neojb7417 Před 6 lety +1

    YES!

  • @aaronr.9644
    @aaronr.9644 Před 7 lety

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

  • @nicknicolosi1
    @nicknicolosi1 Před 6 lety

    that's impressive!

  • @snp27182
    @snp27182 Před 6 lety

    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...

  • @BemBem-G
    @BemBem-G Před 6 lety

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

  • @climbeverest
    @climbeverest Před 3 lety +1

    Incredible only in America such geniuses self develop

  • @StefanReich
    @StefanReich Před 5 lety

    Love it

  • @arts9591
    @arts9591 Před 6 lety

    ALU the real brain of a chip by Ken.S

  • @seankayll9017
    @seankayll9017 Před 6 lety +1

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

  • @raynegames2636
    @raynegames2636 Před 6 lety

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

    • @choosetolivefree
      @choosetolivefree Před 6 lety +1

      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

  • @dennihsaur
    @dennihsaur Před 6 lety +3

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

    • @yaus0527
      @yaus0527 Před 6 lety

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

  • @elijahjflowers
    @elijahjflowers Před 4 dny

    thank you!

  • @abdokamal4133
    @abdokamal4133 Před rokem

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

  • @WooShell
    @WooShell Před 6 lety +1

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

  • @NorthWay_no
    @NorthWay_no Před 4 lety

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

  • @edgeeffect
    @edgeeffect Před 5 lety +2

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

    • @hqqns
      @hqqns Před 4 lety +3

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

  • @SebastianGarcia-go4tx
    @SebastianGarcia-go4tx Před 3 lety +1

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

  • @EllotusFreeholy
    @EllotusFreeholy Před 6 lety +25

    "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

  • @MarkSeve
    @MarkSeve Před 6 lety

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

  • @limsheng4873
    @limsheng4873 Před 5 lety

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

  • @delysid111
    @delysid111 Před 3 lety

    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 .

  • @Sparkette
    @Sparkette Před 4 lety +1

    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?

  • @nanoelectronicsdemystified

    Awesome

  • @noreagatube
    @noreagatube Před 3 lety

    nice!

  • @haxxx0rz
    @haxxx0rz Před 5 lety +3

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

  • @Kenbomp
    @Kenbomp Před 3 lety

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

  • @junuhunuproductions
    @junuhunuproductions Před 5 lety

    Wow!!!!

  • @deldrinov
    @deldrinov Před 6 lety +1

    That last shot looked totally like screenshot from Factorio.

  • @abbyboing
    @abbyboing Před 4 lety +2

    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.

  • @spidermcgavenport8767
    @spidermcgavenport8767 Před 5 lety

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

  • @AstAMoore
    @AstAMoore Před 7 lety +57

    “Any Z80 fans out there?”
    Yes, me! Me! Me!

    • @desmondwilson3416
      @desmondwilson3416 Před 6 lety

      Right...the game boy advance..tho..

    • @KuraIthys
      @KuraIthys Před 6 lety +1

      What about the GBA? It uses an ARM/Thumb core. Though obviously, yes, it contains a Z80 as well, for obvious reasons.
      (in fact, the Mega Drive/Genesis contains a z80 for basically the same reason; Technically it's the Audio co-processor, but I'm sure using it for that was an afterthought; The only reason they chose a z80 for that task is that they wanted it to play Master System games and thus needed one anyway. Might as well put it to work doing something else while it's there.)
      Still... Z80... Ehh.
      I'll stick with my 65xx family chips thanks. XD

    • @perseverance8
      @perseverance8 Před 6 lety

      Ditto!

    • @halonothing1
      @halonothing1 Před 6 lety

      I had to pet the Z80 I have in front of me when he said that.

    • @josephmazzeo2713
      @josephmazzeo2713 Před 3 lety

      I love the vintage processor chips, especially Z80, 8085, 805x series. Yeah I know you won't build a Pi clone with one of those but they are fun to work with!

  • @n.aminr.7175
    @n.aminr.7175 Před 4 lety

    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.

  • @nawasmajeed5493
    @nawasmajeed5493 Před 2 lety

    thanks

  • @federico.salcidojesus1032

    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 Před 3 lety

      this sounds interesting, can you tell more about it?

  • @guilldea
    @guilldea Před 3 lety

    master Ken

  • @josephmazzeo2713
    @josephmazzeo2713 Před 3 lety

    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 Před rokem

      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.