Close

Hack Chat Transcript, Part 1

A event log for Decapping Components Hack Chat with John McMaster

What lies beneath...

dan-maloneyDan Maloney 03/10/2021 at 21:130 Comments

OK, here we go! Welcome to Hack Chat, I'm Dan and I'll be modding along with Dusan today. We're really pleased to welcome John McMaster onto the Hack Chat today to talk about decapping stuff. I'm not sure I've seen John log in yet, though - you out there, John?

adric joined the room.12:00 PM

Florent joined the room.12:00 PM

Meadhbh Hamrick joined the room.12:00 PM

Florent12:00 PM
HI all ! No video so ?

Meadhbh Hamrick12:00 PM
testing.

Florent12:01 PM
(sorry for that dumb question, newbie here)

Boian Mitov12:01 PM
Hello everyone :-)

No, no video today. Just good old text

JohnDMcMaster12:01 PM
I'm here!

Florent12:01 PM
Ok fine, thanks @Dan Maloney !

Meadhbh Hamrick12:01 PM
is there a one to one relationship between MVRVE members and chat participants today?

Hey John, welcome! Thanks for coming on today - can you kick us off with a little on your background?

JohnDMcMaster12:02 PM
Sure...Hi all! My name is John McMaster. I'm am embedded systems consultant by day and by night I explore the mysteries of what's inside computer chips.

Thomas Shaddack12:02 PM
also, possibility to use lasers for ablation or localized heating of acid drop. (near-IR or visible diode lasers shine through test tubes, too. CO2 is stopped by glass.)

JohnDMcMaster12:03 PM
I have a garage lab where I decap (open up) computer chips and also have high power microscopes to see the small circuitry

JohnDMcMaster12:03 PM
@Thomas Shaddack are you asking if I do this today or if I've considered it? I did get a laser recently I wanted to use for more precise and quicker silver epoxy curing

JohnDMcMaster12:04 PM
This would in theory let me build up wires a lot more effectively without a bonding machine

So actually making "wires" from conductive epoxy?

JohnDMcMaster12:06 PM
Yeah. You can get pretty good results but it does require good hand eye coordination if you want to not short out adjacent bond pads. I steady by hand against a shelf which helps al ot

JohnDMcMaster12:06 PM
a lot

JohnDMcMaster12:06 PM
Also I do this under a microscope

Can such wires "fly" like regular bond wires? Or do they need some kind of support?

r0b0tsp1k3 joined the room.12:07 PM

JohnDMcMaster12:08 PM
I've done both. But generally its easier to attach them a short distance to either the existing wire (say if it was old/broken) or add a new one a short distance from the pad

adric12:09 PM
what are you using for decapping?

Florent12:09 PM
So you are decaping ICs yet still trying to keep them alive ?

morgan12:10 PM
^ yeah! and if so how much runtime can you get?

JohnDMcMaster12:10 PM
Depends on the project. If you want to understand just how the chip works its usually not required and often the chip is ultimately destructively analyzed. But if I want some data out I may want to keep it alive so I can do some open heart surgery

Usagi Electric (David)12:12 PM
Does that mean that sometimes you can get the chip running and operating while currently decapped with the silicon visible?

JohnDMcMaster12:12 PM
@morgan if done properly it should not significantly harm the chip / normal lifetime

brUh__n0mArs12:12 PM
Hi

morgan12:12 PM
oh neat, was thinking you'd have to gas back or something

JohnDMcMaster12:12 PM
@Usagi Electric (David) yup! For some rare chips I've done this and I've heard they still work years later

devinsbench12:13 PM
Doesn't dust collecting on the bare die ever cause capacitive problems?

JohnDMcMaster12:13 PM
@morgan well some special applications have hermetically sealed packages, but that's more of a harsh environment / reliability thing than the silicon immediately dying. If you are nice to it, it will be fine

Meadhbh Hamrick12:14 PM
what about NMOS or PMOS? sure. we pretty much only see CMOS these days, but do you ever scrape the top off old chips? how is decapping an old chip different than decapping a modern chip?

JohnDMcMaster12:14 PM
@devinsbench not that I've seen but I'm sure there are exceptions for high speed stuff. Usually large digital ICs at least have top metal with power routing (big metal planes). This essentially provides a shield against most effects

Usagi Electric (David)12:14 PM
Wild! I never thought that would have been possible. Follow up question(s), is there any detrimental side effect to running with the die exposed (capacitance, influence from mains in the air, heat, etc.), and when running under heavy load under microscope, can you visibly see any changes in the silicon (color, shape?)

JohnDMcMaster12:14 PM
hi @brUh__n0mArs !

JohnDMcMaster12:15 PM
@Meadhbh Hamrick the packaging is very different. For example, modern "flip chips" may have solder balls attached more or less directly to the silicon vs older chips had bond wires going to the package. Let me see if I can find some photos...

@Usagi Electric (David) - I had the same question -- do transistors emit some incidental, faint light?

JohnDMcMaster12:16 PM

https://www.led-professional.com/resources-1/articles/3-pad-led-flip-chip-cob/@@images/40215fcc-0719-47fa-961b-fe3c75e6ac35.jpeg

Led-professional

Usagi Electric (David)12:16 PM
I mostly just think it would be epic to see the chip pulsing like a beating heart, haha

JohnDMcMaster12:16 PM
@Meadhbh Hamrick see the top vs middle? Very different layout. One issue for example is I can image the top one without destroying too much, but the middle one I'd have to be a lot more invasive

JohnDMcMaster12:18 PM
@Usagi Electric (David) thermal issues definitely come to mind. As an extreme case if you back thin the die it can become quite severe. But especially once you start removing heat spreaders or other metal it can be very detrimental to how much power you can put through a die

Meadhbh Hamrick12:18 PM
sweet

JohnDMcMaster12:18 PM
@Dan Maloney yes! I did a talk on this a few years ago, let me find a link

JohnDMcMaster12:19 PM

https://www.hardwear.io/usa-2019/speakers/john-mcmaster.php

Hardwear

Infrared Light for Reverse Engineering | hardwear.io USA 2019

Talk Title: Infrared Light for Reverse Engineering Abstract: Traditionally integrated circuits are reversed engineered by imaging transistors and analyzing their structure to determine logic function. Instead, this talk explores correlating infrared emissions to logic functions. While traditionally prohibitively expensive, relatively low cost techniques are presented to make this more approachable to a typical lab.

Read this on Hardwear

James Gerity12:20 PM
This is the recording of that talk, I believe:

JohnDMcMaster12:21 PM
slides: https://docs.google.com/presentation/d/1J8pTBp_aQNc8Kdejf8dk0_q8NulvI5OzNmjMV_7zyug/edit#slide=id.p

JohnDMcMaster12:21 PM
thanks @James Gerity !

Man, that's wild. Guess it makes sense, though -- different parts of the chip will heat more when they're used more.

JohnDMcMaster12:22 PM
But yeah I have a special microscope for that. I did something really fun with that setup recently, hopefully I'll give a talk on it in the near future but I'm being a bit hush about it now

JohnDMcMaster12:23 PM
@Dan Maloney my understanding of physics is a bit limited but I believe in this case though its not heating energy so much as holes recombining

Even wilder...

JohnDMcMaster12:23 PM
:)

Usagi Electric (David)12:24 PM
Just flipped through the slides, that's insane work, really excellent stuff. I'll have to watch the vid on the talk later!

JohnDMcMaster12:24 PM
thanks!

James Gerity12:24 PM
Charge carrier-hole recombination is the mechanism I'd expect there. Never expected to see it in this context, though. Extremely cool stuff

devinsbench12:25 PM
An interesting tidbit regarding heat spreading I've learned is that if you take any old wire and and put enough current through it for it to break, You'll always find the break right in the middle of the wire because of heat sinking. You could apply that to the interconnection layer of an IC, probably.

Usagi Electric (David)12:26 PM
So, what is the weirdest/strangest chip you've ever decapped?

brUh__n0mArs12:28 PM
Hi John, sorry, I'm in share phone connection.. is not so good, but I'm reading the messages..

JohnDMcMaster12:28 PM
@Usagi Electric (David) Hmm...well I decapped a radiation hardened FPGA once. Shortly after I learned that I probably ground up some beryllium alloy to get it open. Oops

Nasty stuff. Any ill effects?

JohnDMcMaster12:29 PM
Nope

JohnDMcMaster12:29 PM
I was supposed to decap a Commodore 65 CPU but e-mails went back and forth for a long time and the chip ultimately didn't show up, but that would have been quite rare

JohnDMcMaster12:30 PM
I've done some security modules that are pretty involved. Now I'm doing some consulting helping people design HSMs so its fun to be on the other side

Usagi Electric (David)12:30 PM
Dang, what entails radiation hardening?

brUh__n0mArs12:31 PM
I think you should open a hands on course, basic. To teach a setup lab, basic and cheap tools, and then an advanced course to teach the tricks.

hexpwn joined the room.12:31 PM

JohnDMcMaster12:32 PM
@Usagi Electric (David) hmm for legal reasons (ITAR) I'd rather not get too much into that

brUh__n0mArs12:32 PM
For a cheap price, to have more people involved.

Usagi Electric (David)12:32 PM
Haha, no worries!

James Gerity12:32 PM
@Usagi Electric (David) a lot of concern for aerospace is resiliency to single-event events (SEE). Can you survive a single energetic proton or cosmic ray and recover, basically.

James Gerity12:33 PM
err, single-event effects*

JohnDMcMaster12:33 PM
For background though I did a large portion of my career in aerospace. I still do radiation testing consulting sometimes for satellites

JohnDMcMaster12:34 PM
This is my proudest moment:

hexpwn12:34 PM
@JohnDMcMaster maybe you should get in touch with Scotty from Strange Parts. He got a new scanning electron microscope and wanted to check some ICs, but was a bit reluctant to mess with the decaping process

JohnDMcMaster12:34 PM
Where I used a cyclotron to make a furby so radioactive it had to go into decontamination to cool down for a month. I got a really dirty look from their RSO (radiation safety officer)

Meadhbh Hamrick12:34 PM
wait. rad hardening is covered by ITAR? uh oh.

James Gerity12:35 PM
Haha, I was wondering about that furby when I saw another video, immediately thought of friends who work on a cyclotron with a private-use SEE line

Usagi Electric (David)12:35 PM
That is one hot Furby!

James Gerity12:35 PM
@Meadhbh Hamrick a lot of the use-cases are well into that territory, yep

JohnDMcMaster12:35 PM
@hexpwn oh nice! Yeah I know Scotty. I actually knew him from a while back and didn't connect it was the same guy until we met up at Defcon a few years ago

Reminds me of a tip we got yesterday:


https://en.wikipedia.org/wiki/Anatoli_Bugorski

Wikipedia

Anatoli Bugorski

Anatoli Petrovich Bugorski (Russian: Анатолий Петрович Бугорский), born 25 June 1942, is a retired Russian particle physicist. He is known for surviving an accident in 1978, when a high energy proton beam from a particle accelerator passed through his brain.

Read this on Wikipedia

JohnDMcMaster12:36 PM
He also offered to help me with Youtube, but I'm not as serious as him and am just messing around

Usagi Electric (David)12:37 PM
Might be a bit unrelated, but do you find that military/aerospace grade electronics differ heavily from consumer grade electronics from a silicon standpoint?

JohnDMcMaster12:37 PM
@Usagi Electric (David) I'll let others handle that

JohnDMcMaster12:37 PM
@Dan Maloney classic! Yeah I'll try not to be that guy

hexpwn12:38 PM
@JohnDMcMaster That's cool that you know each other! Maybe a youtube colab would be cool :D I suggested he poke the new RP2040 chip from Raspberry foundation (used in their new Pico board). It has some cool Programable IO features and I'm very curious how it looks under the resin :)

Usagi Electric (David)12:38 PM
Hah, I keep asking questions that need a security clearance

JohnDMcMaster12:38 PM
@hexpwn I presume you saw the quick teardown I did? https://twitter.com/johndmcmaster/status/1355092011829719046

JohnDMcMaster12:39 PM
I have a stack of bare RP2040 chips here now though if someone has ideas for them

The banner image on the event page was an RP2040, I believe: https://hackaday.io/event/177772-decapping-components-hack-chat-with-john-mcmaster

JohnDMcMaster12:39 PM
@Dan Maloney yes it is!

JohnDMcMaster12:39 PM
May it rest in peace

hexpwn12:39 PM
I missed that 😳

I had to crop it, sorry

JohnDMcMaster12:40 PM

https://siliconpr0n.org/map/raspberry-pi/rp2-b0/s1-9_mit20x/

Siliconpr0n

Loading...

Read this on Siliconpr0n

JohnDMcMaster12:40 PM
Zoomable map

JohnDMcMaster12:41 PM
@hexpwn anyway if someone requested scotty and I to do a video together and it got a lot of likes on twitter or something I'd consider it

hexpwn12:41 PM
oh that's awesome

JohnDMcMaster12:41 PM
Otherwise I think too much going on here right now unfortunately

brUh__n0mArs12:41 PM
You could sell a lab setup basic tools and make a course for who bought the kids, maybe free or you can charge a little donation, and then for who made the 1srcourse you could open advanced* course for a little price or donation. But just who bought the kits and make the baic first setup lab course

hexpwn12:42 PM
I'll keep pestering him to do a video on it with his flashy new SEM :D

JohnDMcMaster12:42 PM
:)

Florent12:42 PM
"Hey kids ! Let's play with nitric acid !"

JohnDMcMaster12:43 PM
Lol yes that is one issue. But there are some safe labs I could help lead like decapping a ceramic chip

brUh__n0mArs12:43 PM
Not kids kits :)

Fuming nitric acid? Even more fun

JohnDMcMaster12:43 PM
And pair it with one of those $20 USB microscopes

brUh__n0mArs12:44 PM
Up to 21 years old

JohnDMcMaster12:44 PM
BTW any general requests for chips to be decapped? I keep thinking of doing a series on LEDs but haven't gotten around to it

The "heat and twist" method CuriousMarc showed on his channel seems pretty innocuous too

devinsbench12:44 PM
Do you want more chips?

JohnDMcMaster12:44 PM
@devinsbench I'm a hopeless hoarder yes please


https://hackaday.com/2020/03/11/chip-decapping-the-easy-way/

Hackaday Dan Maloney

Chip Decapping The Easy Way

Chip decapping videos are a staple of the hacking world, and few things compare to the beauty of a silicon die stripped of its protective epoxy and photographed through a good microscope. But the process of actually opening that black resin treasure chest seems elusive, requiring as it does a witch's brew of solvents and acids.

Read this on Hackaday

JohnDMcMaster12:45 PM
@Dan Maloney yeah that can work pretty well if you want something low tech. It does put off fumes though so you need to be a bit careful still

Usagi Electric (David)12:45 PM
@Dan Maloney I actually tried that with some spare 74HC chips I had. I stopped after I set my hair on fire

JohnDMcMaster12:45 PM
It also has higher risk of breaking chips so I tend to shy away from it

JohnDMcMaster12:45 PM
!

Actually, that's a question I had -- what's the substance used for chip packages. Is it a plastic or an epoxy?

@Usagi Electric (David) - Does that explain the recent haircut?

Usagi Electric (David)12:47 PM
Haha, not quite, interestingly, it actually made the long hair more livable as it made my bangs a bit shorter. Though, I would recommend to anyone trying to hot air decap method, do it with hot air and not an open flame like I did!

JohnDMcMaster12:47 PM
@Dan Maloney glass filled epoxy resins. I think I have a page on this, sec

JohnDMcMaster12:48 PM
BTW if anyone wants to contribute to http://siliconpr0n.org/ let me know and I'll create you an account

JohnDMcMaster12:48 PM
ex if you are interested on improving the page on chip materials

JohnDMcMaster12:48 PM

https://siliconpr0n.org/wiki/doku.php?id=carrier:epoxy

Siliconpr0n

carrier:epoxy [Silicon Pr0n]

There are two common types of epoxy packages: thermoset epoxy used for PDIPs and the like, and epoxy resins used for PGAs. The former are typically dark brown or black and mixed with glass beads, while the latter are typically green, yellow, or brown with layered fiberglass.

Read this on Siliconpr0n

Cool, thanks!

Usagi Electric (David)12:50 PM
John, is there a size limit for the chips you can decap, both too large or too small?

JohnDMcMaster12:52 PM
@Usagi Electric (David) strictly for decapping no, but imaging and delayering is a lot more problematic. I'm theoretically limited to about 30 nm right now but in practice you'd want to stay above that (say 60 nm). There is a chance I may get a much better SEM in the near future though

JohnDMcMaster12:53 PM
I don't have a good process for delayering modern chips in part because I haven't traditionally worked on them. But I'm starting to do more consulting work on modern chips so that may change over the next year

Usagi Electric (David)12:54 PM
Interesting, 60nm is still properly small!

Is lapping of any use in getting into a chip? I seem to recall ElectronUpdate was trying to build a lapping machine from old HDDs at one time.

brUh__n0mArs12:55 PM
Why we don't see deap of processors like xeon or ryzen?

brUh__n0mArs12:55 PM
Decap

JohnDMcMaster12:56 PM
@Dan Maloney I have pretty nice lapping equipment here, but some combination of needing to practice and not doing enough modern chips I haven't been using it heavility

MS-BOSS12:56 PM
I'd think there isn't anything of particular interest in modern 8nm processors...

Miles Paulson joined the room.12:56 PM

JohnDMcMaster12:56 PM
I might try to extract the RP2040 bootloader with it since I have a stack of them here...we'll see

JohnDMcMaster12:57 PM
@brUh__n0mArs there's a lot of demand to deacp things but my time is relatively limited. I focus on chips that have some sort of higher impact. Major factors are 1) funding (will someone help cover costs) 2) application (what will get done with the data)

JohnDMcMaster12:58 PM
Most of the modern chips are fun to photograph but don't generate a lot of value. So I tend to leave those to people like Antoine and Birdman that are more into that type of photography

Miles Paulson12:58 PM
For a beginner that doesn't have easy access to nitric acid or fuming nitric acid, is there another way that is non destructive? I have an oddball Intel microprocessor that I would like to reverse engineer, but dont want to destroy the package if possible.

brUh__n0mArs12:58 PM
I would like to see a xeon decaped

JohnDMcMaster12:58 PM
@Miles Paulson I recommend ceramic packages and shear them open. Either with metal lid or glass frit, both are fairly easy to open

JohnDMcMaster12:59 PM
@brUh__n0mArs all of them? :)

Miles Paulson12:59 PM
Unfortunately the device I am curious about is only in a plastic package

JohnDMcMaster12:59 PM
@Miles Paulson which device?

Florent12:59 PM
@Miles Paulson or any TO3 package IC ;)

Miles Paulson1:00 PM
Intel 8061 or 8065. Only used in ford fuel injection computers from the 80's up to the early 2000s

tubetime1:01 PM
i'm thinking about experimenting more with mechanical decapping. i can thin the top of a plastic DIP so that there is an extremely thin layer of encapsulant on top of the die, but i can't figure out a good way to remove just that last thin layer

tubetime1:01 PM
it is thin enough that you can see the die through it. maybe heat? some household solvent?

Oh wow, looked up at the clock and was surprised that it's already 1:00! We like to let our hosts get back to real life after an hour, so let's say thanks to John for his time today. And thanks to everyone for the excellent questions -- great discussion, I learned a lot.

brUh__n0mArs1:02 PM
Can be only one.. =]

devinsbench1:02 PM
Thanks for hosting!

tubetime1:02 PM
thanks

Feel free to keep the conversation going, though - hack Chat is always open.

Hi @tubetime - we'll see you next week too:

JohnDMcMaster1:03 PM
@Miles Paulson well especially if you are willing to cover decap costs I'm happy to do it for you, time permitting (https://siliconpr0n.org/archive/doku.php?id=mcmaster:start#commissioning)

Discussions