Reading Silicon: How to Reverse Engineer Integrated Circuits

Поделиться
HTML-код
  • Опубликовано: 26 сен 2024

Комментарии • 361

  • @franklydude
    @franklydude 6 лет назад +456

    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 лет назад +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 6 лет назад +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 5 лет назад +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 5 лет назад +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 5 лет назад +1

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

  • @HariWiguna
    @HariWiguna 7 лет назад +604

    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 7 лет назад +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 6 лет назад +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 6 лет назад +2

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

    • @zariumsheridan3488
      @zariumsheridan3488 6 лет назад +8

      what a royal waste of time though ...

    • @satibel
      @satibel 6 лет назад +48

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

  • @chiragsinghyadav
    @chiragsinghyadav Год назад +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 7 лет назад +349

    FFS, somebody give this guy a glass of water!

    • @meepk633
      @meepk633 6 лет назад +32

      Banana noises.

    • @Mx6D
      @Mx6D 6 лет назад +5

      so true lmao. Michael you hit right on the head

    • @crackmaster88
      @crackmaster88 6 лет назад +6

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

    • @Euquila
      @Euquila 6 лет назад +13

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

    • @huckanz
      @huckanz 6 лет назад +2

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

  • @dans.8198
    @dans.8198 7 лет назад +167

    Laser pointer vs mouse pointer :-(

  • @LumocolorARTnr1319
    @LumocolorARTnr1319 7 лет назад +85

    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 года назад +8

      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 года назад +1

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

    • @darrelldourte9455
      @darrelldourte9455 2 года назад +1

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

  • @samykamkar
    @samykamkar 6 лет назад +61

    Ken is awesome

  • @MorganEarlJones
    @MorganEarlJones 7 лет назад +19

    I chuckled when I saw the instruction "waitno"

  • @AI6XG
    @AI6XG 3 года назад +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

  • @richardhead8264
    @richardhead8264 7 лет назад +11

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

  • @johnnyprimavera2
    @johnnyprimavera2 7 лет назад +3

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

  • @TangodownNZ
    @TangodownNZ 4 года назад +20

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

  • @NSAwatchesME
    @NSAwatchesME 7 лет назад +28

    i actually learnt quite a lot

  • @whiteburr
    @whiteburr 6 лет назад +8

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

  • @madson-web
    @madson-web 4 года назад +2

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

  • @fixing_stuff
    @fixing_stuff Год назад +1

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

  • @edinfific2576
    @edinfific2576 6 лет назад +3

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

  • @Stallnig
    @Stallnig 6 лет назад

    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.

  • @hereb4theend
    @hereb4theend 4 года назад +1

    Absolutely brilliant. Thank you very much.

  • @davidmaiolo
    @davidmaiolo 4 года назад +1

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

  • @linuxguy1199
    @linuxguy1199 6 лет назад +57

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

    • @PilotPlater
      @PilotPlater 6 лет назад +2

      this made me chuckle

    • @DavidHenderson1
      @DavidHenderson1 4 года назад +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.

  • @sardinefinder334
    @sardinefinder334 5 лет назад +2

    My digital logic professor brought me here. THANKS J DAWG

  • @Cyberfoxxy
    @Cyberfoxxy 5 лет назад +4

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

  • @SebastianGarcia-go4tx
    @SebastianGarcia-go4tx 3 года назад +2

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

  • @DavidvanDeijk
    @DavidvanDeijk 4 года назад +2

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

  • @dkaye512
    @dkaye512 7 лет назад +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 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 3 года назад

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

  • @paulgill7222
    @paulgill7222 Год назад

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

  • @peterhindes56
    @peterhindes56 6 лет назад +15

    shame I cant see the lazer pointer

  • @metallitech
    @metallitech 6 лет назад +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.

  • @jamest.5001
    @jamest.5001 7 лет назад +10

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

    • @tibfulv
      @tibfulv 6 лет назад +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.

  • @kevinhevans
    @kevinhevans 6 лет назад +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?

  • @climbeverest
    @climbeverest 3 года назад +1

    Incredible only in America such geniuses self develop

  • @deaustin4018
    @deaustin4018 6 лет назад

    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.

  • @bluestar2253
    @bluestar2253 3 года назад +2

    Anybody here still remember the early days of 1980s when the Soviets stole the blueprint for Zilog Z8000 microprocessor and tried to reverse engineer it.

    • @johnmarks714
      @johnmarks714 3 года назад

      I dont. Got any info? Im interested

  • @Zemael
    @Zemael 6 лет назад +1

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

  • @Sparkette
    @Sparkette 4 года назад +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?

  • @PauloConstantino167
    @PauloConstantino167 5 лет назад +1

    Beautiful work.

  • @dennihsaur
    @dennihsaur 7 лет назад +3

    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.

  • @Kenneth_H_Olsen
    @Kenneth_H_Olsen 3 года назад

    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 .

  • @abbyboing
    @abbyboing 4 года назад +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.

  • @seankayll9017
    @seankayll9017 6 лет назад +1

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

  • @iuliannitu5699
    @iuliannitu5699 6 лет назад +1

    Very interesting what you do Ken. Thank You.

  • @12volt15
    @12volt15 2 года назад +1

    Thank for sharing this! Really appreciate it!

  • @raynegames2636
    @raynegames2636 6 лет назад

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

    • @choosetolivefree
      @choosetolivefree 6 лет назад +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

  • @haxxx0rz
    @haxxx0rz 6 лет назад +3

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

  • @truthbydesign5146
    @truthbydesign5146 3 года назад +1

    Can you next reverse engineer Apple M1, bit by bit? ;)

  • @RequiemForABuckeye
    @RequiemForABuckeye 7 месяцев назад +1

    It'd be nice if we could actually see what he's pointing at when he keeps saying which parts "run here"

  • @harakatabdelmjid9449
    @harakatabdelmjid9449 4 года назад +1

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

    • @ismaillafria2757
      @ismaillafria2757 4 года назад

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

  • @snp27182
    @snp27182 6 лет назад

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

  • @tekvax01
    @tekvax01 4 года назад +1

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

  • @-LightningRod-
    @-LightningRod- 5 лет назад +4

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

  • @PilotPlater
    @PilotPlater 6 лет назад

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

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

  • @bkzzzzz
    @bkzzzzz 6 лет назад

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

  • @edgeeffect
    @edgeeffect 6 лет назад +2

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

    • @hqqns
      @hqqns 4 года назад +3

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

  • @SerBallister
    @SerBallister 3 года назад

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

  • @EnglishTeacherBerlin
    @EnglishTeacherBerlin 6 лет назад +1

    Absolutely fascinating! Thanks a lot!

  • @colto2312
    @colto2312 5 лет назад +1

    Hmm, chip manufacturers are playing factorio, but trying to make the base as small as possible. That's a tough one!

  • @sliout
    @sliout 5 лет назад +1

    We need people like that to rebuild civilization after collapse.

    • @KevinJohnson-fw8kv
      @KevinJohnson-fw8kv Год назад +1

      you can now inkjet print transistors. 1500nm is easily possible, with some tweaks to the printer's hardware you can reach 800-500nm. If you want to spend on a super high grade research printer... 160 nm is about the limit you can do . But you can do a one-off chip design on a piece of glass, so that's pretty impressive. not to mention makes custom chips very very cheap

  • @NicksStuff
    @NicksStuff 5 месяцев назад

    This blew my mind

  • @tmdrake
    @tmdrake 6 лет назад +2

    Rawr, Love the chip die art!

  • @danielkrajnik3817
    @danielkrajnik3817 3 года назад

    this is crazy, awesome, breathtaking

  • @Sparkette
    @Sparkette 4 года назад +1

    I wish this were more accessible. Imagine if someone invented a machine that could scan a chip in real-time and get an oscilloscope-like trace at every point, and it was accessible enough that you don't need to be a big company or government to afford one. That would be the Holy Grail of hacking tools, and the end of manufacturers being able to hide secrets in products they sell without the owner being able to see them. But IDK how realistic that would be any time soon. :p

  • @Donatellangelo
    @Donatellangelo 7 лет назад

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

  • @limsheng4873
    @limsheng4873 5 лет назад

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

  • @abdokamal4133
    @abdokamal4133 Год назад

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

  • @jlg23us
    @jlg23us 7 лет назад +2

    Great job! Thank you for sharing :D

  • @generosonunezarias369
    @generosonunezarias369 4 года назад

    This Guy is a Beast with Silicon! Wow!

  • @ProgrammerSheep
    @ProgrammerSheep 4 года назад +3

    Beto O'Rourke?

  • @xenlase
    @xenlase 7 лет назад +15

    Brilliant :)

  • @stevensgarage6451
    @stevensgarage6451 2 года назад

    Just realized he wrote the IR library for my garage stereo

  • @yoramstein
    @yoramstein 7 лет назад

    Great lecture

  • @freelectron2029
    @freelectron2029 3 года назад +2

    if this guy can reverse engineer code from silicon surely he can invent a microphone that removes the mushy banana sound from his mouth.

  • @amrkoptan4041
    @amrkoptan4041 6 лет назад

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

  • @nxxxxzn
    @nxxxxzn 7 лет назад +1

    this channel is awesome

  • @Fillmore634b
    @Fillmore634b 4 дня назад

    Is chip reversing used in software reverse engineering?

  • @gregorymccoy6797
    @gregorymccoy6797 2 года назад

    It's Master Ken!!!

  • @TSulemanW
    @TSulemanW 3 года назад

    Nice explaination

  • @VulcanOnWheels
    @VulcanOnWheels 3 года назад

    1:49 Apparently it's not visible in the video.

  • @AstAMoore
    @AstAMoore 7 лет назад +57

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

    • @desmondwilson3416
      @desmondwilson3416 7 лет назад

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

    • @KuraIthys
      @KuraIthys 6 лет назад +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 6 лет назад

      Ditto!

    • @VoidHalo
      @VoidHalo 6 лет назад

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

    • @josephmazzeo2713
      @josephmazzeo2713 3 года назад

      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!

  • @federico.salcidojesus1032
    @federico.salcidojesus1032 6 лет назад

    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?

  • @Kenbomp
    @Kenbomp 3 года назад

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

  • @jeffsheldon
    @jeffsheldon 7 лет назад

    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.

  • @geometricart7851
    @geometricart7851 Год назад

    I like how just one guy laughed at the POS joke. Probably an engineer.

    • @sa3270
      @sa3270 2 месяца назад

      Probably a salesperson.

  • @mrroobarb
    @mrroobarb 6 лет назад

    Fantastic - very informative.

  • @n.aminr.7175
    @n.aminr.7175 4 года назад

    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.

  • @guilldea
    @guilldea 3 года назад +1

    master Ken

  • @willynebula6193
    @willynebula6193 7 лет назад

    absolutely brilliant

  • @nyalldavis
    @nyalldavis 7 лет назад +28

    So how much work would it be to reverse engineer an i5 and it's microcode to see if the NSA realy does have a backdoor at that level?

    • @slicer95
      @slicer95 7 лет назад +17

      Hundreds of thousands of man hours.

    • @pavelpopov9114
      @pavelpopov9114 7 лет назад +1

      AMD too now

    • @jhwblender
      @jhwblender 7 лет назад +8

      I think the hardest if not impossible part of doing that is more complicated/modern chips easily contain many vertical levels like shelves. This way of reverse engineering integrated circuits only works with the surface layer.

    • @pavelpopov9114
      @pavelpopov9114 7 лет назад

      Well theoretically its possible. But you should know how to completely etch given layer not touching the level below. And to know that you should sign NDA in Intel or AMD and work there for a while... SUCCS

    • @FlumenSanctiViti
      @FlumenSanctiViti 7 лет назад +7

      I bet it won't take long before someone trains an AI to solve those kind of problems.

  • @WooShell
    @WooShell 6 лет назад +1

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

  • @elijahjflowers
    @elijahjflowers 3 месяца назад

    thank you!

  • @NorthWay_no
    @NorthWay_no 4 года назад

    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

  • @hrnekbezucha
    @hrnekbezucha 6 лет назад +4

    There is a reason he works with old chips. They are much bigger and you can make out what's going on. Modern dies have all features really crammed together that you just can't tell wtf is going on. Way, way worse than these, if you can believe that.

    • @snooks5607
      @snooks5607 6 лет назад +2

      what's more he doesn't even want to deal with acid, kinda limits the options

    • @andreassjoberg3145
      @andreassjoberg3145 5 лет назад +1

      In the past 40 years, dropping acid has been for hippies and dope-heads. In the future it will be an activity for hackers! :P

  • @VoidHalo
    @VoidHalo 6 лет назад +2

    Just so happens I have 2 Z80s right in front of me. Just loose ones. Not in any circuit. I had to pet one when he mentioned it.

  • @ajikishaya463
    @ajikishaya463 2 года назад

    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!

  • @HansBaier
    @HansBaier 3 года назад

    Excellent!

  • @emmarobertson3933
    @emmarobertson3933 4 года назад

    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

  • @josephmazzeo2713
    @josephmazzeo2713 3 года назад

    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.

  • @nawasmajeed5493
    @nawasmajeed5493 2 года назад

    thanks

  • @RixtronixLAB
    @RixtronixLAB 9 месяцев назад

    Cool video, thanks :)