start	end	text
0	4300	Let's get started. We're running a little late, so I'm going to try not to talk too fast,
4300	10540	but I've got to make up some time here. So, welcome to SBOMs the Hard Way for my
10540	16120	adventures in hacking Bob the Minion. I am the Product Security Research and Analysis Director
16120	22440	and Services Team Lead at a fun company called Finite State. And we do all sorts of fun stuff
22440	27140	with SBOMs and a whole bunch of other stuff. But I'm not here to talk to you about our product or
27140	36160	any of that. I'm talking about my adventure with Bob. All right. So, who am I? I am a
36160	42500	reformed penetration tester and reformed crossed out. I left doing penetration testing to go do
42500	47680	some thought leadership and some other hardware hacking and IOT, bunch of stuff. And three months
47680	51040	into the job, my boss came to me and said, hey, we have a customer that wants to throw a lot of
51040	55960	money at us to do pen tests. Can you do it? Are you signing my paycheck? Yes, I can do that. So,
55960	62180	I am a reformed penetration tester back doing penetration testing back in OT, ICS, IOT,
62180	69120	and lots of hardware. I'm also the co-host of Paul's Security Weekly. We're in our 19th year,
69120	74600	soon to go into our 20th year of a weekly security podcast. How many of you are listeners?
76300	82940	Go listen. All right. Awesome. Thank you. I do a lot of work with SANS. I'm both an instructor
83540	92040	and a course author around wireless hacking and IOT hacking, ironically. I'm a recent convert to
92040	98460	the Oxford comma, because commas save lives, folks. And someone said, why are you been using
98460	102780	that Oxford comma for a really long time? So, you're really not a recent convert, but I'm going
102780	108800	to keep it. So, I'll add that I also enjoy long walks on the beach weighed down by my ham radio.
109580	115980	Prepping for the zombie apocalypse. All right. So, let's get into some fun bits here. So,
115980	122720	we're going to hack Bob the Minion. So, on every one of my slides, except this one,
122720	130760	features AI generated art with minions. So, let's get into character a little bit here. And I took
130760	138900	this image of my headshot and fed it to mid journey so that I could become an evil,
138900	147080	despicable me villain. So, here we go. This is some of this art is terrifying. And I kept the
147080	153360	ones that were insane just because insanity. I didn't know yesterday that there was an AI
153360	160480	generated art competition. I would have been good at that. Maybe. So, I had lots of fun. I think I
160480	166360	more time into the art than the actual words on these slides. Don't get me wrong. I think
166360	171320	the presentation is really good. You're going to get something from it. All right. So, a little
171320	176640	bit of background. I work for a company. We do SBOMs and a whole bunch of other stuff. But I
176640	182120	really think that SBOMs are fun. And that was sort of my end goal was to get a software bill of
182120	189540	materials for Bob the Minion. So, a little bit of background. A software bill of materials is an
189540	194660	inventory of all your software, their versions and who wrote it, where it came from as part of
194660	200700	your product security sorry, your software supply chain and can help you do some security. And
201260	207560	we're going to start seeing somewhere around 2025 that every product that connected product that you
207560	213020	buy either at your company or for your personal consumption will have an SBOM associated with it
213020	217380	and will be available as part of some of its certification process and being able to be
217380	222600	sold into the marketplace. Specifically, addressing some of those here in the United
222600	229400	States are Executive Order 14-208 for a lot of stuff going into government and into consumer
229400	237620	stuff. 524B for the FDA. So, any medical device that is being submitted to the FDA for use on
237620	243660	humans requires that an SBOM is part of their submission process and a plan for securing their
243660	249860	devices over time and managing vulnerabilities. And a voluntary program managed by the FCC here
249860	254880	in the US, the Cyber Trustmark Program. It's kind of like a consumer protection thing so that
255460	262180	as a voluntary program that companies can submit their devices to the Cyber Trustmark Program,
262180	267060	they can get a stamp on the box and that a consumer can have a high degree of confidence
267060	271500	that there is some security in this product baked in and that they are monitoring for vulnerabilities
271500	276780	over time and issuing some updates with a little barcode that links to a website that gives them
276780	281720	an overall security score. So, while you're standing at Best Buy, you can scan this barcode
281720	287860	and go, oh, this router's got a 3 for security and that one's got a 9. 9 being better? Yeah,
287860	294340	I'm going to buy the one that's a 9. Cool. The one that is absolutely both fascinating and
294340	303160	terrifying, in my opinion, is the EU Cyber Resiliency Act or the EU CRA. EU CRA, their
303160	308580	intent in the EU is that they do not want any connected products being sold into the marketplace
308580	314680	that has any vulnerabilities. And they also need to have a process for managing vulnerabilities
314680	319520	and patching and monitoring and all this type of stuff. And an SBOM will be included as part of
319520	325900	that process. And they are significantly more stringent. And this is not a voluntary program.
326100	331000	It's mandatory if you want to sell into Europe. And companies that sell into the U.S. also sell
331000	338120	into Europe. Same device. So, many manufacturers are going to have to submit to EU CRA, which means
338800	344540	everywhere on the planet will largely benefit from those regulations. Overall, some general
344540	350020	benefits outside of any of the regulatory stuff for software bill materials. They give us that
350020	356280	software inventory list for both first and third party stuff that you're developing and stuff that
356280	361080	you've pulled in as part of your development process and even into potential final firmware
361080	366660	that you're delivering to your customers or you are consuming. With that list of those components
366660	372420	and their versions, you can perform some enrichment on those, find out whether there are vulnerabilities
372420	377820	associated with those products so that you can then attempt to perform some risk mitigation and
377820	383660	observe that some of that risk exists and take appropriate actions. And I'll also argue that you
383660	389680	should be operationalizing your SBOMs as either a consumer or a manufacturer, that you should take
389680	395220	these software bill of materials and use them as part of your security process and your penetration
395220	402300	testing process because knowing the components may give you an opportunity to improve that security
402300	406840	knowing that there are vulnerabilities exist. And that was the subject of my talk that I did at RSA
406840	412820	entitled SBOMs for Evil. So you can go check that out as well. So we won't go too far into that.
413220	420760	So as part of my day job and as part of being a reformed, unreformed penetration tester, I really
420760	427680	love software bill of materials. And some of the fun stuff that I get to do at work is go find some
427680	436040	random device, get the firmware, and get an SBOM for it just to see what there is, see if we can
436040	440600	do some accurate detection, helps build some of the things that we're detecting for, helps improve
440600	445240	our product. And quite honestly, I think it's really fun. And find all sorts of sort of scary
445240	450840	things. So getting that firmware, doing some extraction, verifying that the extraction is
450840	456620	accurate for our product, figuring out all new things, going back and reverse engineering some
456620	463420	binaries to figure out the type of code and some of the code vulnerabilities. And as a result of
463420	467620	that SBOM, being able to discover that there's a product with a firmware that has some known
467620	473360	vulnerabilities, and known is here in air quotes, and that it's known to the community that these
473360	478860	components have vulnerabilities. But maybe as a consumer, or maybe even as a manufacturer, you
478860	482440	might not realize that these components have vulnerabilities and you're using them in your
482440	489140	products. So occasionally, we get to find some Oday and some other occasional hackery,
489140	495320	and discovering some surprises. And we may have some surprises here with Bob the Minion. And
495320	501220	arguably, it might not be all that surprising, after all. Ultimately, I think the end result
501220	507580	is so much fun. And arguably, I get to come talk to you about it at DEF CON. So finding all of those
507580	518200	weird products, suddenly, a wild Bob appears. And yes, AI generated Bob in a dystopian future,
518200	522920	and hasn't shaved in a little bit. He might look a little bit like me, I'm kind of disturbed about
522920	531680	that. So suddenly, a wild Bob appears. So what is this Bob? This Bob is a wireless home router,
531680	540280	the Davolink AX1800. And it has been licensed by Universal for Davolink to produce these
540280	547640	wireless routers that are in the shape of Bob. It's a nice plastic fun looking case around a
547640	552900	wireless router for your home. I was like, that's pretty cool. Pretty darn good features for the
553620	562280	Bob has Wi Fi six has some easy mesh support and supports WPA3. So some of our latest Wi Fi
562280	568940	standards for for your home. Now, I've been doing some hardware hacking around consumer routers for
569260	575540	a really, really long time. And it was typical that we were seeing devices with flash and RAM
575540	581520	of somewhere between four and eight megs, maybe 16. Yeah, we've come a long way. This particular
581520	591380	one has, according to the box, and Amazon 128 megs of flash, and 256 megs of RAM. That's pretty
591380	597440	darn robust and compared to some of the stuff that I've seen in the past. But it gets better.
597440	602920	It's not 128 megs of flash, we'll see that in a little bit here. Currently, there's no open
602920	608280	word support. So it is their own custom firmware, big thumbs down from Mick down front here.
608280	613640	And they run about $70 on Amazon. So I didn't feel too bad about buying one of these things
613640	620780	and ripping Bob's head off to see what was inside. I did not purchase the Kevin variety,
620780	626920	the Kevin variety is a little bit taller. And one of the upgrades there is it does have Wi Fi 6E.
626920	632080	So into the six gigahertz range, but they're about double the price. And well, this is coming out of
632080	637420	my own personal budget. So I went for the cheap one, right? I figured that many of the challenges
637420	644500	will probably be the same here. Alright, so, hey, I want firmware, right for these devices.
644500	651700	So I can generate some as moms. Let's go get the firmware. But you tip my hat a little bit here.
651700	659180	What firmware? All right. Unfortunately, I wasn't able to easily locate firmware for the devil link
659180	666580	AX 1800. We powered the device up, used it, figured out what all the interface was about,
666580	670940	logged in, take a look at the web interface. And sure enough, in the web interface, there is a
670940	676220	button that says check for updates. And as of two weeks ago, when I pressed the check for updates
676220	682740	button, there were no updates. There is one version of firmware for this device, the one that came on
682740	688860	it from the factory, which will be terrifying when we see this a little bit later. So there's one
688860	694180	firmware. It is what it is. There's no updates, which means if I click the update button, there's
694180	700580	no firmware, which means I can't capture anything off the wire. They can't get anything via web
700580	704560	inspection or TCP dump or any of that type of stuff to try to recover the firmware from network
704560	712620	traffic. Oh, well, I'll go to the website. Nope, nothing on their website. You go to their support
712620	718220	forums, you go to their support pages. Absolutely no firmware for the AX 1800 available for
718220	724640	download. There's manuals and stuff, but no firmware. So what happens if I brick it by
724640	728860	accident? I have no way to upload firmware to this because the manufacturer doesn't even make
728860	733720	it available. I checked the support forums to see if I could find links somewhere in the support
733720	740600	forums. And that was a mess. DabbleLink is a Korean company. They have two different support
740600	748040	forums. One is in Korean, one is in English. The English has a little bit more population to it.
748040	753640	In that more folks have asked some questions. The Korean version of the support forums,
754020	759760	there's like three posts, and that's it. Clearly, Korea was not their intended market for these
759760	765520	devices. And Google Translate had a really easy time trying to go through and translate that
765520	771460	stuff because there wasn't a lot there. Search through all of the support forum posts. There
771460	776200	are no links to firmware. There's nobody even asking, hey, I bricked my router, can I get a
776200	782320	firmware? So that I could reach out to them and try to ask them for it or try that same guise.
782640	789140	So nobody was asking and nobody was offering. Unfortunately, now that means with no ready
789140	795960	access to the firmware, we've got to go do this the hard way. And no ready access to firmware,
795960	802440	that means, no, wrong way, that means no SBOM, no enrichment, no ability for me to figure out
802440	807160	their vulnerabilities in this really easily, based on software components and so forth.
807160	816920	But no SBOMs means no fun, right? I love some of this stuff. I tried to make this image like
816920	825180	the dystopian future, dark gray, and the training for the AI models at Majority was not picking up
825180	829100	that I wanted this to be dirty and gritty, no matter how many times I told it. And it came out
829640	835680	really happy and bright and green and very cartoony for all these dogs. No, I wanted like,
835680	843340	like wolves that were gonna tear Bob's head off. And now there's some nice puppies here. So I did
843340	849200	the best I could. All right. But so if we can't get ready access to it, we got to go about this,
849200	856020	do this hard way. And well, brain surgery is fun, right? Yeah, just ask Buckaroo Bonsai,
856020	861000	Adventures of Buckaroo Bonsai in the Eighth Dimension. Okay, this was how some of this AI
861000	866760	prompt ended up. I told Midjourney that I wanted Bob the Minion to go undergo brain surgery by
866760	873100	Buckaroo Bonsai. Have the surgeon be Buckaroo Bonsai. Unfortunately, it actually crossed
873100	880980	Peter Weller with a minion and came up with this abomination. It's quite amazing. Like,
880980	888060	this is the best of them. The other ones were just downright terrible. Also, if you've never
888060	893440	seen Buckaroo, the Adventures of Buckaroo Bonsai in the Eighth Dimension, I highly recommend that
893440	900040	you do so. It is a 1980s, very campy film with some really amazing stars. Peter Weller, John
900040	906040	Lithgow, a whole host of folks. And it's, it's amazingly campy and maybe one for Jeff Moss to
906040	913300	send to Hacker Movie Night. It's hilarious and it's great. It's on the top thousand movies you
913300	921440	should see before you die, and like number 43 in some of the campy sci-fi movies, top lists and
921440	928140	so forth. So, my plug. And note that Bob doesn't even have yellow ears in this one. They're
928140	932740	apparently Peter Weller's ears. Not only did they do a brain transplant, they did an ear transplant
932740	939860	too. All right, so let's get to this brain surgery. All right, take this thing apart. We do this the
939860	945320	hard way. Pull the boards out, do an inventory, take pictures of all the chips. Let's do some,
945320	951420	some analysis and figure out some of the spec sheets. Go download those and then start figuring
951420	956840	out how we can get access to that firmware. Are there serial ports available on the board? Yes,
956840	963520	in this case there is. I did not go that route, however. Can we use JTAG or SWD to dump firmware
963520	969700	from the device, from that bus? I fortunately did not have to go down that road either because that
969700	977780	is arguably the harder. But what about SPI and being able to grab that from there? The first
977780	986100	question was looking at the processor. It's an RTL8198D, featured here in this slide. And I
986100	990740	figured I was probably going to have to go use JTAG, have the processor with internal memory and
990740	997880	have to dump it from internal memory and so forth, but not so much. But what I did find on the board
997880	1013440	was a Winbond W25N01GV, which is a 3 volt, 1 gigabit flash chip. But they said 128 meg.
1013880	1020600	No, 1 gigabit available on this board and they're only using 128 megabit according to what they're
1020600	1026580	saying. Yeah, so there's a lot more room on this. Yeah, why? I don't know. Because they're cheap,
1026580	1034260	honestly. Ask me how I know this. We'll see this in a little bit here. So SPI and it is NAND.
1034720	1040880	So all right, this will be interesting. And apparently Bob is really hungry for some chips.
1041960	1048000	All right, so I had to go now get this flash off of this Winbond SPI flash chip. And there
1048000	1055080	was very much of progression of frustration going through this. So this is what society
1055080	1063360	thinks I do when I remove firmware from a chip. Credit to Wired and IBM here. Sorry, Intel in
1063360	1067860	some of their photographs about doing some really great work with a microscope and all sorts of fun
1067860	1072260	stuff. And you'll note, I'm sort of featured down here in the right hand corner, looking very
1072260	1078920	studious and doing a really great job of removing firmware and what society thinks I do. This is
1078920	1086220	what my friends think I do using the PC bytes. And I'm starting to look a lot worse and maybe
1086420	1091380	a little bit nerdier and geekier. And yes, this is my disaster of a desk and home office. And
1091380	1095840	you get to see also other fun stuff in the background. So this is what my friends think
1095840	1102220	I do. Right, Mick? Yeah. All right. This is what I think I do. This is also one of my attempts,
1102220	1107380	soldering wires directly to the flash chip and then holding it down with some tape.
1108120	1117100	This didn't work either. Okay. So I'm getting worse and worse in my studiousness here. And
1117100	1124260	ultimately, this is what I really did. I now look like a really big goober. And I actually had to
1124260	1131760	remove the chip from the board and put it in like a $3 adapter from Amazon and use some DuPont wires
1131760	1139160	and attach it to a Raspberry Pi and use that IO on the board for the Raspberry Pi. Yeah, and just
1139160	1144260	reuse the PC bytes thing to hold my Raspberry Pi because I was too lazy to take it off my desk.
1144280	1148900	So yeah, I actually had to do take the chip off of the board because I couldn't get any of the
1148900	1152880	other stuff to work right. And it may not have been the fact that there was anything wrong with
1152880	1159800	my PC bytes or with my solder job. But I do know that I bricked the one that I did the solder job
1159800	1168260	to. No longer functions. And we'll see why that maybe it wasn't actually the PC bytes or my solder
1168260	1175280	job that wasn't allowing me to get access to the stuff. We're out of time? Oh, see, I thought I had
1175280	1181000	an hour. Okay, I will I'll get out of your head here. Let's uh, I'm going to do these slides real
1181000	1187900	quick here what I really did. Not a lot of flash ROM support, found some stuff, got a dump, found
1187900	1194080	some treasure, lots of exploits, lots of exploit intelligence, lots of remote code vulnerabilities,
1195300	1202080	passwords, username Bob, password Bob, other stuff in Korean language, some key material,
1202580	1207780	a horrible web app that they wrote their own web server with some possible command injection via
1207780	1215020	the password reset function, a bunch of scripts going to IP in China, all sorts of other fun
1215020	1220500	stuff. And I really want to do the brain transplant to fix the one that I broke. And I've had no luck.
1220500	1225160	I spent a week on the struggle bus with that, because the NAND support that I needed has no
1225160	1232440	right support. So coming soon. All right. I'm out of here. I'm gonna if you want to catch me in the
1232440	1237260	back or over in the IT village, I'm happy to do some more. But I want to say thank you and a big
1237260	1243240	thank you to my coworker Edwin Shuttleworth, who is all now so now a minion as well. So thank you
1243240	1247420	very much. And apologies for taking an extra moment of your time. And I'll see you over at the
1247420	1250940	IoT village will be right up front here. If you've got any questions, and you want to see some more
1250940	1252500	of these slides and some of the URLs.
