Transcript 0:00 Hello and welcome to episode twenty-seven of the IoT For All podcast. I'm your host, Ryan Chacon, and I am joined today by Calum McClelland as my co-host. He is one of IoT For All's most prominent writers. 0:11 Now, today's guest is Terry Dunlap, the founder and CEO of Refirm Labs. 0:16 Terry previously worked at the NSA going after high target terrorists, and the stories he shares on this episode are quite entertaining, if I do say so myself. So I am super excited for y'all to listen to this episode. 0:28 To give you a little background on Refirm Labs, they're an emerging leader in the risk mitigation space. 0:33 They have decades of experience securing devices for sensitive national security applications, and their team has developed new methods for you to be able to evaluate and monitor risks lurking inside the firmware of IoT and connected devices. 0:47 Now, on this episode, we talk about a variety of different things, but we start off by Terry taking us through his experiences at the NSA and how those experiences actually led him to end up leaving the NSA to venture down the entrepreneurial path to bring what he was building at the NSA to those who could truly benefit from it. 1:03 He then takes us through the early days of Refirm Labs and how they got to where they are today. We dive into firmware. 1:09 We explain t- what it is, how it works, since most end users do not usually have a lot of interaction with the firmware. 1:16 Terry then explains to us the security risks at the firmware layer, why manufacturers are to blame for a lot of the issues that we see in-- with firmware, and what can be done to help make devices more secure, both on the manufacturer side and for consumers. 1:30 We finish up talking about the interesting use cases, we share more stories about firmware attacks, and he gives us advice for consumers on how to better protect themselves when buying consumer IoT products. 1:42 Now, I promise you all be hooked after the first five minutes of this episode when Terry tells his story of his early hacking days. Welcome, Terry, to the IoT For All Podcast. Thanks for being on the show with us. 1:53 I appreciate the, uh, invite. Looking forward to it. Yeah, so are we. Um, by we, I mean Calum. Calum is here with me as a co-host. 2:00 Uh, he's one of our-- He runs the operations for IoT For All and one of our most prominent writers for all you out there who are actively reading IoT For All. 2:07 Um, so Terry, I think the best way for us to start today would h- be to have you give the audience a little background about yourself, maybe a brief overview of Refirm Labs and kind of what you guys are doing. Sure. 2:19 Um, so I don't know how far back you want me to go. If you want me to go back as, uh, far as nineteen eighty-five when I was arrested for computer hacking, or you want me to start at my NSA days? 2:30 Oh, I think we need to hear about the computer hacking. Yeah, that sounds pretty juicy. 2:33 [laughing] So yeah, seventeen years old, nineteen eighty-five, I'm actually in my room with a Commodore 64 computer and a three hundred baud dial-up modem. 2:46 This is like straight out of war games, developed a war-dialing program that simply, you know, war-dialed the entire city of Sandusky, Ohio, where I grew up on the shores of Lake Erie. 2:58 And, uh, just, uh, you know, started hacking into computers that way. And, um, you know, started getting into dumpster diving. 3:07 Back in the day, they actually had carbon receipts for credit cards, so we'd spend a lot of time in the dumpsters at the local mall trashing and, uh, diving for credit card receipts and 3:20 taking those credit card numbers and swapping them with like-minded individuals out on the West Coast. And we would use these credit card numbers to order things and, uh, 3:32 just do nefarious things that, you know, teenagers, uh, probably shouldn't be doing. 3:37 Uh, it got to the point where we actually got into a s- a, an ordering, um, system for Cadillac, and we custom ordered a thirty-thousand-dollar Cadillac to have it deli-delivered to the local dealership. 3:52 Now, we didn't go pick it up, but it actually was customized and delivered to the dealership, we found out once, you know, all the, all the dust settled. But, um, yeah, I ha- I actually had a crew. I had about, uh, 4:05 two other guys that were, uh, sixteen years old that were doing dumpster diving with me. They tried to do their own thing on their own. Uh, they got busted. 4:16 Uh, they, they were actually having packages delivered to an abandoned house. 4:20 The owner of the house noticed something suspicious was happening with these packages, so she called the police, and police notified UPS, and so they staked the place out. 4:31 They saw this, uh, you know, one of them, one of my crew members actually go to this house, pick up a package, and they actually, uh, knocked on his door. He let them in and, uh, started searching through his room. 4:43 And the kid actually had a diary of everything that everybody had been doing with their real names in it. And so I was in that diary, and I was, uh, asked to leave calculus class and come to the office to the principal. 4:59 And there in the principal's office, uh, were my parents and a police officer, and, and the jig was up. 5:07 So what ended up happening was that since there were no credit, since there were no computer crime laws on the books yet, since this was, um, around October of nineteen eighty-five, the only thing that the courts could charge me with, uh, was credit card fraud and three years probation. 5:24 But it was the following October that the Computer Fraud and Abuse Act of nineteen eighty-six was actually signed into law, which would have made the penalties significantly higher, uh, than what I got away with. So 5:37 that's what I ended up doing in, uh, in high school. Uh, graduated, went to college. Uh, believe it or not, did not s- uh, get a degree in computer science or anything like that. 5:47 I thought I was gonna be a chemical engineer, but that didn't pan out either. 5:50 Ended up getting a poli sci, econ degree, kinda floundered around doing, uh, investment work, and then eventually landed, uh, a gig with Deloitte & Touche, uh, where I was actually reintroduced to what was at the time called penetration testingAnd 6:09 I had a, I had a great time doing that. Uh, I- at, at the time, it was hard to believe people were getting paid to actually hack into computers. So it, it kind of fit the niche and the, the itch that I've always had. 6:21 And I was, I was primarily self-taught, you know, all these years. 6:25 And we happened to be at a, uh, security conference one time, and I saw somebody from the DOD that had a, uh, a badge on, and just randomly walked up to her and said, "I'd love to work for the DOD. 6:35 You guys are probably under constant attack. That'd be an awesome place to work." She, she asked me for my resume. I emailed it to her. Six months later, I got a call, got a phone interview, and found out it was the NSA. 6:49 And then I ended up, um, getting my top secret clearance and then working there doing offensive cyber ops against high-value terrorist targets. 6:57 That's a lot, that's a lot to talk about in a short amount of time, but that's, that's pretty much the genesis of how I went from being a, a, a misfit teenager at 17 with a Commodore 64 to actually working for the NSA in, uh, 2002. 7:13 Well, I have to say that through 20-some inter- 20 some episodes, that was the most interesting, like, story to get up to today that I [laughs] heard. 7:24 [laughs] Having had somebody just openly admit, "Oh, yeah, I was arrested back in the day for dumpster diving and computer fraud, and now, uh... 7:30 or credit card fraud," [chuckles] and then worked for the NSA and got up to today. They should make a movie about part of that, especially the early time. That was fascinating for me. Um. 7:37 [laughs] The car, the car part just started me cracking up. 7:41 I'm sitting over here across from Caleb having to move away from my mic because I'm laughing, the fact that you're trying to order a Cadillac, which is u-unreal. But, um, 7:49 but yeah, I guess you guy- you did it at the right time, right before all the, all the penalties came out, so. Yeah, timing's everything. [laughs] Timing is everything. Um, but- It is. 7:57 [laughs] So I guess getting up to today, I mean, uh, before we g- I guess maybe get completely up to today, I'd, I'd love to hear a little bit more about the, the NSA side of things. It's, you know, um- Yeah... 8:07 we, I, you know, we, we- we're growing up in a time where we're hearing about it, um, you know, in the, in the media spotlight for many years. 8:14 Um, you know, a lot of big name people or, or I guess, you know, like Snowden and such are coming out, uh, or, or are in our conversations, and I'd love to hear a little bit more about your time at the NSA and kind of what you did there and what that was like. 8:25 Um, and then kinda leading up today, how that led you to, um, you know, to create Reform Labs. Sure. You know, I, I, I will say upfront that, uh, working at the NSA was probably the best job I've ever had. 8:41 I absolutely loved it. So when I started there in 2002, I actually entered into, um, an internal, uh, internship program where they take new recruits. 8:53 I don't know if they still do this today, but when I w-was hired, we were part of this, uh, this intern cohort where every six months we got to change offices at the NSA, and you're supposed to do that for three years. 9:06 And that way it gets you exposure to all the different elements of the NSA, and, uh, hopefully at the end of the three years y-you will have found an office where you would like to call home- Mm-hmm... 9:18 and then you would actually apply for any open positions that happen to be in that office. Well, it only took me three tours, a year and six months, to figure out where I wanted to go. 9:29 Uh, once I landed in TAO, which is now well known as Tailored Access Operations, uh, that's where, uh, I just absolutely excelled. 9:39 That's where, you know, the, the true hacking came out, doing the offensive stuff, uh, going after bad guys. I mean, our... You gotta remember, this is during the time as, uh, uh, the Iraq War, uh, had just started. 9:53 Global war on terror was, was, uh, the thing. 9:57 And we were a very small unit that was actually, uh, supporting, uh, US special operations commands going forward, uh, trying to track down these, uh, high-value terrorist targets. 10:11 And us, along with other elements of, of the agency, our, our particular job was to focus on, uh, embedded devices, finding vulnerabilities in embedded devices that these guys used that could actually be weaponized and, and used for the intelligence community and for the military. 10:29 So that's what we did. We did that for, you know, five years, finding... And this was before these things were called IoT. Mm-hmm. So I mean, everything IoT today is an embedded device. 10:40 We were doing this stuff back in, you know, 2002, 2003, looking for these vulnerabilities that could be weaponized. 10:48 So we were doing extremely well at, at, at, uh, you know, the mission we were, we were tasked with, with, uh, uh, providing solutions to. Uh, and we did it on a very 11:01 small shoestring budget for the office I was in, and we were getting a lot of successes. 11:06 But for anybody that's actually worked at the NSA, we w- this tactical stuff we were doing, they would know that this is not in the long-term mission interest of the NSA, 'cause their, their, their stated mission is long-term SIGINT collection, signals intelligence collection. 11:23 But we were doing very tactical stuff. We were building capabilities that would be deployed in like 30, 60, 90 days to take down a particular target at that time. 11:34 So there's nothing sustained or long-term about what we were doing. 11:38 When management found out how successful we were and that we weren't following the NSA mission, they came down to our office and said, "You guys gotta stop supporting these tactical guys because you're not, you know, you're not supporting the long-term signals intelligence collection mission." 11:54 I, I was floored when I heard that. It's like, you gotta be kidding me. I mean, we're, we have success here. 12:02 So that was, that was the, that was the first thing that kinda concerned me was that, that request to stop supporting the tactical guys that were being forward deployed.The second thing that really bothered me was when there was a, um, a, a collaborative meeting with other intelligence agencies, whether it was, you know, the FBI, CIA, DIA. 12:30 Um, you know, they'd come, they'd see our capabilities, and there would be requests from these other agencies to share these capabilities. And the NSA's position is we're not sharing anything with anybody. 12:43 And I was stunned. Aren't we all on the same team here? Aren't we all fighting the same war on terror? 12:49 And true, we're all fighting for the same outcome and on the same mission, but NSA's stance was, when we provide these capabilities to these other groups, 13:01 those other groups might not be as careful with their use as we would be. Because if, for example, if the FBI used it and it resulted in a court case, then it has to be entered into evidence- Mm-hmm... 13:14 and methods and sources and tools and techniques would have to be reviewed or, or revealed in an open forum. That makes sense. Okay. I understood that. CIA, the way that the, the NSA thinks of the CIA as cowboys. 13:28 They'll go out there, and they'll do all kinds of stuff, and they might end up burning the tool in the process, and they don't care as long as their mission is complete. So there was some animosity amongst the groups. 13:39 And to me, those types of-- that, that type of thinking to me, not, not helping the tactical guys and not sharing these capabilities was enough for me to say, "I'm leaving. I'm gonna start my own company- Mm-hmm... 13:53 that develops these types of hacking tools for the entire community, not for just one, but for everybody." So in 2007, I left and started my first company, which was Tactical Network Solutions. That's awesome. 14:07 So did you, um, take anyone from the NSA with you that was working on that team to start that company, or was it just you? Nope. 14:14 Uh, initially, when I started on, uh, March first of 2007, it was literally me in my basement with a, a couple Python books, and that was it for the first nine months. Okay. 14:25 And once I got out with my first actual, uh, what I call the, you know, close access hacking tool, I went to that, that special, yeah, US, uh, Special Operations unit that we were working with at the time and asked them if they would buy that particular capability I had developed in an unclassified environment, and they absolutely did. 14:47 And that was enough to get me actually literally out of my basement on the government contracts. And then at that point, I started pulling people out of the NSA very slowly. 14:58 So I bootstrapped that company in 2007 with only ten thousand dollars in a bank account and grew it to where it is today, which has been around for over twelve years now. 15:10 Now, this is where Refirm Labs comes into the picture. 15:14 During this, this evolution of Tactical Network Solutions, whose sole purpose was to provide offensive capabilities to the military and the intelligence community in friendly f-foreign nations, 15:26 the demand and requirements for the weaponization of zero-days was becoming unwieldy. For anybody that's actually done any reverse engineering of firmware, 15:42 if they've been involved with it, they know firsthand how laborious and time-consuming the process is because it's all manual. Mm. 15:49 It's a handful of open source tools like binwalk, which was developed by one of our employees, that basically unpacks a firmware image into its underlying file structure underneath. 16:00 So you, you have all your, your binaries, your executables, your config files, your text files, and all that kind of stuff. Very time-consuming. 16:08 But during this twelve-year process, as we're trying to meet this need, we realized that that process needed to be automated. 16:13 So slowly, over time, over all these years, we actually automated the process where we could take a firmware image, put it into this platform we had developed, and in thirty minutes 16:27 tell us exactly where in the firmware we should focus our, our time on trying to develop an actual exploitable vulnerability. So in 2017, 16:40 we happened to be presenting this particular platform to a, uh, uh, a Maryland, uh, tech startup meeting at Loyola University that, uh, is in Columbia, Maryland. There happened to be some investors in the audience. 16:55 We had a seven-minute pitch of the platform, followed by a three-minute Q&A. 17:00 So somebody approached us afterwards and said, "Hey, have you ever thought about using this, this platform where you find these vulnerabilities and using this platform in a defensive manner, helping these IoT device manufacturers, OEMs, ODMs, and, and people who are buying IoT devices 17:18 actually help, help them secure these things?" And I give it... You know, got- you gotta keep in mind, we've been working on the offensive side all these years. 17:26 We never really thought about being on the defensive side because quite frankly, in the offensive world, I only have to be right one time. Mm-hmm. 17:34 If you're in the defensive world, you have to be [chuckles] you have to be right an unlimited number of times. So we never really gave it much thought. 17:42 But these were investors who painted a picture of a bigger market that, uh, would be receptive and very open to this type of technology, and we might be able to make more money than we are in the government space. 17:57 So what we decided to do was accept a, a, a seed round investment of one point five million dollars, 18:05 and we took the technology and the core team and spun it out of Tactical Network Solutions and created Refirm Labs back in 2017. 18:14 And so kind of s- to fast-forward to where we are todayWe have customers like AT&T, Charter Communication, Arris, Disney, Mattel, people that are either buying IoT devices or having them manufactured on their behalf, and then they use our platform to vet, validate, and monitor 18:37 those devices to make sure that they're not attacked by foreign adversaries that are very similar to what we used to do at the NSA. Yep. That story's fascinating. [laughs] It's pretty cool actually. 18:50 Like, could you, uh, could you maybe break down just to our audience what firmware actually is, you know- Sure... why it's important, and kinda why it's so makes... 19:00 why it becomes very vulnerable or is, is so susceptible to security threats? Sure. So I'm sure everybody in the audience is familiar with software- Mm-hmm... and hardware. 19:10 Not a lot of people are familiar with firmware, but it is getting more attention these days. 19:15 So basically, firmware is the underlying operating system on all of these IoT devices that you have, whether it's, um, your, your smartphone, whether it's your smart TV, maybe your Nest thermostat. 19:30 Your car even has multiple versions of, uh, multiple versions of, uh, uh, firmware running in it. And so, um, the, th- this is where firmware is typically found. 19:45 And you and I as end users usually don't have a lot of interaction with, uh, with the firmware. Maybe we will get an Android update or, uh, an iPhone update, and we might see, uh, uh... 20:01 That, that, that would be an actual firmware update. But by and large, us as consumers are, are usually not actually dealing with it on a regular basis. 20:10 If you have a Wi-Fi router at home, whether it's from Verizon or Comcast or, or Cox or somebody else, that's running firmware. And that is susceptible to attack. Um, so does that... 20:22 Do you think that clarifies it for you? You think that helps paint a better picture of what firmware is? Yeah. 20:27 I, I think for the audience, one way of thinking of it, uh, and you pointed to this with using Android and iPhones as an example, is that the phone itself is the hardware. 20:36 Uh, software running on it would be, like, apps you download, but the firmware is every time you get an update to update the Android operating system or iOS, uh, and your phone reboots- Yeah... 20:46 to update that, that's the firmware. And so it's between- Yeah... you know, it's not hardware certainly, but it's also not quite software. 20:52 It's not as soft and pliable, um, and often there's more involved in updating it because it's operating at a layer underneath the software running on top of it. Yeah. Perfect. You said it better than I did. 21:05 [laughs] No, I, I just built on what you were saying. [laughs] So, so one of the things I'd be curious is, is, um, 21:13 is, you know, for our audience, I guess, are there any, I know there are, but if, if any of you maybe could pick out any famous firmware security hacks that they may have heard of and been like, "Oh, that's what that was." 21:23 You know, they've heard about it in the news, but they didn't really know exactly what it was, but that was actually this c- it will sort of connect the dots for them to, to see how a- at scale how, how big of an issue this could be. 21:33 Yeah. The one that I think everybody will recognize or at least can easily Google and find tons of information on is, uh, Mirai, the botnet attack. Mm-hmm. 21:42 Um, that was the result of a lot of these IoT devices, uh, that, uh, were discovered to have had hard-coded credentials baked into the firmware image that would allow a remote person to actually log in with these well-known credentials. 22:04 I don't remember exactly if it was root, root or root password to log in, but it was something very simple that 22:12 if you knew and you knew where these devices were, you could easily log into that device remotely and, and actually control it 'cause you are the root user. You are actually the administrator on that account. 22:23 So someone actually took the time, mapped out where all these things were on the internet using a service called Shodan, 22:32 and created a botnet, and basically harnessed and took control of all of these devices, and then focused all the energy of these devices and sent traffic to places like I think it was Netflix and eBay and some others, and actually caused what is, is known as a distributed denial-of-service attack. 22:53 S- flooding these sites with so much traffic from these individual devices that they have under their control, flooded these websites so much that users like you and I couldn't even access them anymore. 23:06 We'd probably, you know, get a timeout error trying to connect to Netflix. And, uh, think, think of it if, if you were Netflix, how much revenue you're y- losing, 23:17 you know, per day, per minute, per hour, uh, when something like that happens. So that's probably the most famous one- Mm-hmm... that people could probably connect the dots with. Yeah. 23:26 Something I find interesting about that example is the, uh, kind of who gets affected and who's at fault, and they're different. 23:33 So, you know, all of these different devices out there that were unsecured and could be hacked and turned into this zombie army [laughs] to attack, uh, these servers, which then hurts companies like a Netflix. 23:42 Uh, it wasn't Netflix's fault, uh, for having all these devices out there. So it strikes me as one of the challenges when it comes to security in IoT is that, uh, 23:53 not only could individuals be affected or organizations be affected, you know, individual, maybe my information gets stolen, or maybe a camera is hacked into, uh, and now I can be viewed by someone from afar, which is scary. 24:05 Um, but not only that, in aggregate, these devices can be used for other nefarious purposes. 24:11 Uh, and none of that is necessarily hurting the one who manufactured it and who could actually have solved some of those security issues. So what I'd be curious to hear from you is, one, is that, like, a correct read? 24:21 Two, if it is, uh, what's your view on some of the security challenges, like, and where they stem from, and then potentially whatWhat people can do about them. 24:31 I agree that, and, and, and I, I h- I know this for a fact because we've actually reached out to a number of the original equipment manufacturers of these devices and the original, uh, design manufacturers of these devices. 24:46 And n-not surprisingly, a lot of them emanate from either China or Taiwan. 24:53 And when we, when we contacted them to make them aware of our solution, "Hey, look, we have this platform that before you even go to market with your device, 25:03 you can vet and validate the firmware to make sure that it's secure, to make sure that there aren't accidental hard-coded credentials or accidental backdoors," because what we find is a lot of test engineers, as part of the Q&A process, uh, will set up, uh, accounts so they can test it remotely. 25:23 Uh, they forget to take these things out when it hits the production line. And they're not, they're not difficult to find if you know what you're looking for, and that's, that's exactly what happened with Mirai. 25:33 Somebody knew what to look for, found that these particular devices had default credentials that were never removed, and leveraged that information. 25:41 So we talked to these manufacturers about how our solution can help prevent these things before they even go to production. What shocked me was that they didn't care. 25:51 [chuckles] And the, the common denominator amongst all of them was, "These are low-cost devices. 26:01 We're barely making any money as it is, and to add another expense to our production process like your platform is going to be, isn't worth it to us. 26:14 We don't care because this-- And, and not only are these low-cost products, but we're probably only gonna support them for eighteen or twenty-four months, and we're gonna come out with something new." 26:24 And s- I was, I was stunned. I mean, i-i-in retrospect, uh, I guess I'm not shocked anymore because the more I find out about this, the more they really don't care. But at the time, I was, I was shocked. 26:34 And so we started working our way up through the supply chain. Okay, if, if, if, if this company, if ABC company in Taiwan is producing this Wi-Fi router, 26:45 who's buying the Wi-Fi router from them, or who's buying this equipment? And so we chase it, chase it down, and we find out that it's the likes of D-Link, TRENDnet, Netgear, Linksys, these types of companies. 26:59 And so we approach those companies and see if they're interested in helping mitigate these attacks and these embarrassments and, you know, this potential, uh, tarnishment of brand reputation. 27:09 And they even were of the same mindset, even though, now get this, even though TRENDnet and D-Link are both subject to FTC lawsuits. TRENDnet's was in twenty thirteen. 27:26 I think D-Link has one that's wrapping up now, that found them negligent in their security practices. Now, in TRENDnet's case, that case has already been closed. They are required to undergo 27:41 extensive product security testing for the next twenty years for these devices. And what landed both of these companies in court was the fact that privacy, uh, was violated. In TRENDnet's case, a lot of, um... 27:57 They do a lot of, uh, cameras. So TRENDnet had, uh, a number of their customers' video feeds captured by hackers and then collectively posted on YouTube. 28:08 So whether it was surveillance of your house or inside your house or whatever the camera was pointing at, 28:14 these people eventually found out and then got in touch with lawyers, and the FTC got involved and filed a lawsuit. 28:19 So h- you know, we're following this process of these insecure coding practices and the stuff that we find, uh, with our platform that's wrong with these firmware images, and we're trying to find out as we work our way through the supply chain, 28:32 who has a vested interest in, in, in securing this stuff. And finally, with the results of these lawsuits, they're starting to, to come around, at least in D-Link's case. 28:42 They're starting to come around and seriously consider adopting our platform as part of a proactive security measure to make sure that their customers aren't affected in the way that they had been in the past. Um, 28:56 I think there was another question there I was supposed to answer, but those were the two stories that I had that, that talks about, 29:02 you know, w-where it emanates from and, and where it is in, in, in, in the middle before it actually gets into consumer homes. Yeah. 29:09 It seems to me that although it is disappointing that it's not taken seriously earlier in the chain, it's also unsurprising for the reasons you mentioned, that there isn't really a financial incentive. 29:18 Because if you're, you know, the original manufacturer, uh, there, the pain might not be felt by you. 29:26 And if you're competing with all of your, uh, similar companies that, uh, aren't implementing those security practices, uh, and are therefore cheaper, then, then you lose out. 29:36 So it seems like it almost has to come the other direction from the chain, like the companies that are consumer-facing and are concerned about their brand because, uh, their brand is the one that would be affected even if they're using, uh, white-labeled pieces of hardware and firmware from other organizations, that they should be the ones concerned. 29:57 Uh, and then maybe that forces it down the chain of they make a purchasing decision of, "Hey, we're not gonna buy this, uh, whatever piece of hardware, um, and its associated firmware because we did our own testing on it, and this is not secure, and we don't want to put that in our customers' hands." 30:11 Um, is that what you're seeing in terms of the customers you're working with? Uh, or is there like some other piece in the chain that you view should be the ones who are doing this kind of, um, testing? 30:25 Uh...No, you're, you're spot on. The customers that we have been able to acquire today and who have been leveraging the platform are the telecommunications companies. 30:37 So like I mentioned early on, AT&T, Charter Communications, Eris, uh, which is a, a large global provider of, uh, telecommunications equipment to the likes of AT&T and, and, and others, um, even have some foreign, uh, telecom ISP providers. 30:54 Uh, one is Altibox out of Norway. 30:56 And they, they, they exactly like you said, they see the impact it can have to their business, to their bottom line, to their brand if they deploy these devices into customers' homes and privacy is violated, especially over in the European Union. 31:16 I mean, the fines are substantial. So they've taken it very seriously, and we, as a result, have been gaining a lot of traction in that particular market vertical in the telco space. 31:29 They see the value in, in being able to nip this stuff, uh, in the bud very early on. 31:34 And so what we're seeing is that as they contract manufacture a lot of this customer premise equipment out to their, uh, manufacturing base, before they even take delivery of the products, 31:49 they'll request periodic firmware samples of what's being developed and eventually what will be put on these devices, and they're running it through our platform in addition to some adi- uh, other internal testing that they're doing. 32:01 And if our s- platform flags anything that doesn't, uh, pass muster with their security team, they'll push back on the manufacturer and say, "Look, we're not gonna take, you know, delivery of these, you know, hundred thousand units of, you know, internet gateway devices for our customers until you fix these problems, and here's what we found." 32:20 Uh, Altibox in Norway, I'll give them credit, they're taking it a step further. Instead of having them themselves, their own security teams use our platform to vet and validate and then continuously monitor the firmware 32:34 of what's being developed for them, they're trying to change the contractual terms of their vendor relationships to say, "If you're going to develop products for us, then you need to submit to us a Centrifuge report," which is the name of our platform, Centrifuge. 32:51 "You need to submit to us a Centrifuge report to prove that your firmware and your device is clean from any of these, you know, vulnerabilities and, and security threats." 33:00 They haven't gotten it there yet, but they're working that way, and I think AT&T and Charter and others, uh, would be wise to pick up that, that same model. 33:09 So I think things are moving in the right direction, but it's slow, but at least there, there's movement from, from the supply chain to push back, uh, and push down on, on the people who are really causing the problems. 33:21 Yeah, that's really interesting that it's been the, uh, telecoms that have been the early adopters. Something we've seen, uh, in other areas, even aside from security, is that when it comes to IoT, uh, the telcos are 33:34 in, uh, a little bit ahead of the curve, and I think there's a number of reasons for that. 33:38 But what I would like to ask you is for other businesses or organizations, uh, you know, aside from telcos, that are interested in making sure that their devices are secure, whether it's a company that's getting into IoT and plans on deploying thousands or even millions of devices to consumers and therefore wants to be careful, having heard about, you know, things like the Mirai botnet attack and being, uh, cognizant of their reputation, what would be some important things you would want them to know or lessons you've learned in your experience for, uh, business leaders at these organizations as they're considering getting into or expanding within IoT, uh, from a security perspective? 34:22 I'll tell you, I'll tell you one, one trend that we're seeing, and we have been seeing since we started the company in 2017, that I think a lot of your listeners, uh, regardless of company size, whether they're a small business or a large Fortune 500 customer, uh, should probably be very attuned to, and that is the security cameras that they have deployed 34:47 throughout their, their business. I'll, I'll give you a, a, a real life true story here. 34:54 This is a Fortune 500 customer who came to us, uh, who had some concerns about, um, the security cameras that they had deployed, uh, throughout their enterprise. 35:06 Um, we found out that the manufacturer of the camera, name of the manufacturer was Dahua, which is the number two surveillance camera manufacturer in China. 35:17 Now, The Wall Street Journal had reported that Hikvision, the number one surveillance camera manufacturer in China, is 42% owned by the Chinese government. 35:28 So it just kind of stands to reason that there might be a little influence at play in the number two player as well. So the Fortune 500 customer wanted us to look at the Dahua cameras. 35:40 So we ordered some cameras, and we actually physically extracted the firmware images from these cameras and put them into our platform. 35:49 Now, as I mentioned in the past, you know, normally when we find backdoors, they're accidental. Uh, you know, engineers forget to take them, take them out during the, uh, you know, after the Q&A process. 36:01 What, uh, what we did discover was a backdoor, and by all accounts, it was not accidental. There was a lot of, of, uh, purposeful obfuscation to conceal the remote ac-accessibility of these cameras. 36:19 So we notified the Fortune 500 customer of what we found. 36:22 We told them that we're gonna get in touch with Dahua and let them know what we discovered and that we were gonna publish the vulnerability, uh, in, in November, which was 2017.And within 36 hours of us notifying the Fortune 500 customer of what we found, 36:42 he actually sent me a personal text message with a firewall log attached and said, "You guys were spot on. Look what we found." And based on the log that he sent, 36:54 it was copies of basically their traffic on their network being sent out of these Dahua cameras to Chinese IP addresses they didn't recognize. 37:06 So armed with that information, they were able to take immediate steps to block that traffic, uh, VLAN those particular cameras, and it took them a- I think about three weeks to actually rip all the cameras out and get them replaced with more secure ones. 37:19 Now, what's, what's the problem here? Okay, so the traffic's leaving this network. Well, we don't know what kind of traffic actually it was. Was it, was it just, you know, regular email traffic? 37:33 Was it intellectual property they were stealing from their servers? I mean, it could have been anything. We didn't-- It was, wasn't our place to find out, but I mean, this is the damage. This is a Fortune 500 company. 37:45 Imagine, publicly traded company, well-known name you would recognize. 37:51 If this information got out that they were being infiltrated by the Chinese and intellectual property was being stolen, what would happen to their brand? What would happen to the stock price? 38:02 Would there be a shareholder lawsuit? These are the real threats that are facing these IoT devices, where there is hidden threats and remote access, particularly from China, 38:16 that could tarnish a comp- that could bring a company down. So these, these are the things that people need to be aware of. 38:22 And those, those same cameras, those same cameras, you might look around and say, "Well, I don't have Dahua cameras. I have Honeywell cameras," or some other camera from another manufacturer. 38:34 Well, be aware, because a lot of those US-based manufacturers simply buy the Dahua cameras and rebrand them as, as themselves. So you still have the same threat, but it just happens to have a US company's logo on it. 38:50 So be very careful about the security cameras and your intellectual property. So what would, what would it have looked like to have avoided that situation? 38:56 Would that look like in making purchasing decisions for, uh, an IoT solution, in this case, security cameras or network-connected security cameras? 39:06 Is that just a more regulous- rigorous, you know, security evaluation process? Like, what does that look like in practice to be able to, uh, avoid or at least help protect against some of those vulnerabilities? Yeah. 39:18 So if you're, if you're in the market for these types of security cameras, uh, first of all, I would stay away from any of them that, that are, that are Chinese, uh, uh, blatantly Chinese-manufactured. 39:29 The second step would be, you know, if your, if, if, if your, your sales rep happens to be, you know, somebody representing Honeywell or United Technologies or another company, or Tyco International that might be rebranding these same cameras, I would ask them, "Are you, are these rebranded Dahua cameras or Hikvision cameras?" 39:46 I mean, the, the other thing that people could do, and we've, we've helped companies do this in the past, is as part of the acquisition process, they might have, uh, that sales rep contact us to give them a clean bill of health to let the purchasing department know or the acquisition d- people know that, you know, Refirm Labs has looked at it. 40:09 You know, there's, there's nothing wrong with it. You know, we give it our stamp of approval. Everything's good to go. But, um, 40:17 I would, I would just be-- I would, I would question the origin of the IoT device and, and try, try to do the best you can in trying to pin down, uh, you know, where it's actually developed. 40:32 Just because it has a US company's name on it doesn't mean it's act- you know, it's not manufactured in China. Probably has been. 40:40 Terry, are there other companies out there that kind of do something similar to what you guys do? Like, um, I know your background and stuff is fascinating in getting, you know, in the experience you have. 40:49 I'd just be curious, like, how, how competitive the market is in, in this space, um, you know, with the se- from the security side, really heavily focused on firmware. 40:58 Because it does seem like, you know, a, a very large, um, 41:03 you know, obviously security risk area, but I haven't heard too much about it until obvious- not, not firmware, but like the, the security side and kind of the stuff you guys do until we really looked into your company. 41:13 So I'd be curious, is this... You know, do you guys see the market being very competitive for, um, for the services you offer, or is it, is it pretty, pretty niche? 41:23 Right now it's pretty niche, but I would expect the more firmware attacks that happen- Mm-hmm... the more companies like ours will start to emerge. 41:31 Now, there's, there's, there are some open source efforts out there to kinda mimic what we do. Uh, but of course, they're just open source- Sure... 41:41 so, you know, there's no actual paid team behind it or anything like that. Your mileage may vary. 41:46 The, the-- There are other companies out there getting into the firmware security space, but they attack it from a different perspective. For example, there's an Israeli company called Armis. 41:57 Uh, there's, there's a former Intel, uh, threat researcher who's, who left Intel and started his own company called Eclypsium. Okay. Uh, now Armis, Armis, what they do is they basically put sensors on your network, 42:12 and they look for a- anomalous traffic, uh, that would be indicative of an attack on your IoT devices, and then magically they're able to either segregate or shut down those IoT devices to prevent, uh, any further damage. 42:29 Eclypsium is more of a hardware solution, so if you're actually in the process, uh, of actually developing firmware for servers and laptops and things of that nature, uh, you could install as part of your, um, re-A development process, the Eclypsium solution, but again, it's reactionary- Right... 42:49 so it's waiting for something to happen. If it identifies something h- happening, then it takes action. W- while, while all of those solutions are firmware-based, they're all reactionary- Right... 43:01 where our solution is, is proactive. It's trying to find these vulnerabilities, threats, backdoors before they actually get into the, the hands of customers or deployed into the field. 43:14 A- and then we have the ability to continuously monitor them too, uh, to make sure that if new vulnerabilities are discovered, that you get notified first before attackers do, so that way you can work on a, on a patch or an update. 43:29 So it's starting to emerge, uh, uh, as, as a kind of a more recognized niche. Right. 43:36 But in terms of direct competition, someone who's taken a firmware image, reverse engineering it, looking for the things we do, and trying to be proactive, I think we're the first on the proactive side, but a lot of the solutions coming up today are, are still in, in reactionary mode. 43:51 I think it's a g- I mean, what you were telling me earlier, or telling us earlier about, um, basically needing a stamp of approval from, from your system before a telecommunications company would even accept the, the device, that's a very powerful position to be in, especially, especially from a strategic perspective. 44:06 Um, where do you see the kind of the company going over the next, you know, say, 12 to 18 months? Um, is it more just about growth in customers? 44:13 Is it kind of getting into other areas of IoT, other areas, you know, that, that firmware is affecting? Or what are your, what are your plans for, um, kind of the next evolution of the company? Yeah. 44:23 So now that we, we seem to have our footing with the telco space, we want to see if we can now replicate this with, uh, critical infrastructure, automotive, medical devices, things of that nature. 44:35 Um, the other area which just happened to, to come across my lap, uh, the latter part of last year, which believe it or not, is cyber insurance. Okay. We were actually contacted, um, by Aon over in the UK, 44:52 and they wanted to see how they might be able to leverage our platform as a type of insurance solution. So here's the scenario that they gave us. 45:06 Let's assume that, uh, Samsung is coming out with a product line of internet-connected washers and dryers. 45:14 It's probably not that far-fetched, but let's assume that that's what's happening, and let's assume that their competition's gonna follow suit. So we're talking LG, General Electric, Whirlpool, uh, and everybody else. 45:26 Well, manufacturers will seek product liability policies around these new products. Now that it's internet-connected, now you have a cyber component that is now part of your traditional product liability offering. 45:42 So I'm not sure how much you or your audience, I know I didn't, know about the insurance industry, but even the, the global behemoths like Allianz and Aon and, and others, they actually have insurance companies insure them. 45:56 So these reinsurers, so if Aon goes out and insures Samsung, and let's say Allianz goes out and insures LG, and another insurance company insures another manufacturer, 46:10 to, to limit their exposure should something go wrong, those insurance companies will seek reinsurance from somebody like General Re or Swiss Re or somebody, some other... 46:20 Anybody who's got the name Re in it is a reinsurer. 46:23 So those guys actually have coverage on all of the manufacturers' internet-connected washers and dryers, and those reinsurers wanna know if there's a firmware vulnerability in Samsung's internet-connected washers and dryers, how likely is it that that same vulnerability exists across all the other vendors or product manufacturers that I'm covering? 46:48 And if it is proliferating across all these vendors, what's the likelihood that that can be exploited, and what will the cost be to me as an insurance company if I have to pay out a claim? So this is all very- Yeah... 47:03 new to us, and we had never thought about this as a potential market, but these are talks that are ongoing right now, and we're trying to work with these insurance companies to actually build a solution to help them mitigate risks when they're actually underwriting these, these product liability policies of all these internet-connected devices. 47:21 We think that could be hugely profitable- Definitely... for us in the long run. Yeah, that's, that's [chuckles] super fascinating. 47:27 I know we, we had some notes here talking about cybersecurity risk insurance and stuff, but I didn't really know exactly where it was gonna go. 47:33 But that's, it's a really interesting situation to be in, to be approached by that now with all these different kind of consumer products being connected to the internet and needing that type of insurance. 47:41 So that's, that's a, that should be a great opportunity for you guys. Um, Caleb, you have any other questions- Yeah... anything you wanna jump in on? Nope. Okay, cool. 47:48 Um, so before we get into the Ask IoT questions, I just wanted to see if you had any last maybe impactful use cases or stories. 47:56 I know they're not gonna be as exciting as you telling us about being arrested as a kid, um, for, for that. 48:01 [laughs] But, but is there anything that maybe really could kind of bring this all together and connect to the audience a little bit more, um, on top of what's already been done, which I think has been great, just, you know, regarding firmware and, and the importance of, of the security aspect and kind of, you know, re- how, how it really puts things at risk? 48:20 Yeah. I, I'll give you another story where we were actually approached by a, uh, an automotive manufacturer who you would obviously recognize. 48:28 Um, they had a, they had a concern about one of their tier one suppliers, one of their number, number one level suppliers- Okay... and their security practices. Um, 48:38 what, what was being developed, it wasn't released on the market yet, but this tier one supplier was, was creating a brand-new dongle. It's called an ODB-II dongle. 48:50 Now, if anybody knows anything about cars or looked underneath where your steering wheel isThere's, there's this receptacle there where you can plug in devices. 48:59 Uh, it's usually where the service bay technicians roll the cart over to the car, plug it in, and, and pull the diagnostics. 49:05 Uh, up until this point, all of the service bay technicians, uh, across all the manufacturer's product lines would have to wheel this big heavy cart over and plug this thing into your car to read diagnostics- Right... 49:18 and all that kind of stuff. Well, they wanted to do this wirelessly. So this tier one supplier was, was developing this dongle that allowed technicians to do it over Wi-Fi. 49:28 And so we were asked to look at the particular firmware image that's running this to see how secure or insecure it might be. Well, we found two glaring problems, uh, with this, uh, 49:41 built-in Wi-Fi into this dongle for service bay technicians. The first one was we found the tier one supplier's private signing key in the firmware. 49:54 And when we told the manufacturer this, they didn't understand, well, what, who cares? Why, why do I need to be concerned about that? 50:02 So what we did is we s- we showed them what could happen if an attacker had the private signing key from this, from this supplier. 50:09 So we modified the firmware on that dongle, signed it as that tier one supplier, and, and basically flashed it back onto the device without any questions. 50:20 Now, if that had not been signed, if an attacker just modified the code and tried to flash it back on there without that key, it would've never accepted it. It would've just rejected it- Right... 50:30 and the efforts would've fallen flat. But the fact that we had the key, we could sign it, and it accepted it. That was step one. 50:38 Step two is that we also noticed that this, this device actually fired up an unencrypted, unauthenticated Wi-Fi access point. So what we were able to do with this modified firmware, and we demonstrated this to them, 50:54 is that we were able to simulate a war drive by a dealership who may have been using this connected to a car, and we were able to flash the firmware on the car. 51:06 And so when you get into the car and actually turn on the left turn signal, the right turn signal would blink. If you wanna turn on the AC, the heat would kick on. Turn on the heat, the AC would kick on. 51:19 Nothing, nothing scary, but we showed them as a proof of concept what could happen with an un- unauthenticated, unencrypted Wi-Fi access point this thing started, and with the built-in private signing key, how somebody nefarious could actually maybe kill the brakes on the car or do something more nefarious. 51:41 Right. So that drove the point home on- once we did the demo. Yeah, I imagine so. I think with these cars become more just connected, I think it's just more of a terrifying thing to think about, so. [chuckles] It is. 51:53 Yeah. 51:53 So in this particular case, one of the challenges it seems is that at least for cars that are being built from the ground up with connectivity, like many of the newer cars that are out now, uh, in this case, because you're plugging that OBD device into cars that were not designed to have a device plugged into them and communicating wirelessly, uh, no one was thinking that at the time for many of these cars. 52:15 Uh, that adds some additional challenges because they're not built for, uh, that kind of usage. Uh, you know, these... 52:20 the expectation is that for these ports, you are just plugging them in at like a mechanic shop or something like that to get the diagnostics from the car's computer to see, you know, what's, what's the issue, what's wrong with the engine, um, not adding in this device, uh, to be wirelessly passing that data, which there are many uses for, um, but that makes security all the more important because that's something that wasn't a consideration, uh, when these cars were designed. 52:47 Absolutely. Great. So I think we'll get into the... I think we have like two Ask IoT questions which we'll run through real quick. 52:52 Um, just to g- give you some, some context, these are the kind of questions we collect, um, into basically a database that we found around the internet or we found through people asking us directly. 53:01 Some relate directly to the things we've talked about, and some are just kind of more general. So I'll just pose them, and then you can kind of jump in and just give your, give your thoughts, Terry. That'd be great. 53:09 Um, the first one I have is, is when you're talking about firmware, how-- what's the relationship between firmware and the cloud, um, just in the general scheme of things? Can you expand on that? 53:23 Firmware in the cloud- Oh... what's that supposed to mean? The firmware and the cloud, and like also, like in the scheme of an IoT solution, you have the firmware on the device, then you have the cloud in, in... 53:33 Is, are they connected in any way? Is there any relationship between them? Do they rely on each other in any capacity, or are they completely separate in the way that you think about them? 53:42 They're, it, it, it depends on the functioning of the IoT device because the cloud and the firmware are, are, are definitely separate entities, but there are IoT devices that are communicating obviously- Mm-hmm... 53:55 through the firmware- Okay... to the cloud. 53:57 Case in point, a- and your, your listeners can look this up, Princeton University, a team of researchers just released, uh, a tool that anybody can download, it's free, I think, I think it's available across all operating systems, called IoT Inspector. 54:14 Okay. And what their job is, is they want to make sure people are aware of how their IoT devices are communicating to the outside world. Okay. 54:24 So a couple alarming examples they gave, one was, uh, I think a smart light bulb, where they actually installed this tool on one of their laptops and monitored these smart light bulbs and found that they are, they are quite frequently communicating and sending data to IP addresses in China. 54:42 Okay. Yeah. Go figure. Interesting. So there is, there is, there is a relationship there. Right. 54:49 Uh, they can be separate, but, uh, with the way things are going today, a lot of the firmware of these IoT devices indeed are sending information into the cloud. Makes sense. Perfect. 54:59 And the last question I have is, it's kind of more of a general one, but it relates a lot to what we talked about. 55:04 I think it's, um-So what advice do you have for consumers buying, say, consumer IoT products on what to look out for to, to make sure that they're taking the most precaution when it comes to security? 55:16 Are there any types of specific products you would stay away from besides... 55:20 We've already mentioned Chinese products on the camera side, but anything just more a general kind of rules of thumb to be looking out for when they're out looking, you know, buying IoT devices that they're gonna install in their home or use for personal use or, or so forth? 55:33 Yeah. I, I think the biggest issue that, that we see, uh, with IoT devices across the spectrum is that they, they ship with default usernames- Okay... and passwords. 55:45 I know there's probably a significant portion of people listening to this program that, you know, buy a number of IoT devices and don't even bother to go in and change, uh, the default username and password. 55:57 That should be, that should be task number one. Uh, as long as you have some type of user interface to go in and interact with this IoT device, whether it's your TV, your Wi-Fi router, or a smart light bulb- Mm-hmm... 56:09 or whatever, go in, change the username and password to something specific to you. Get rid of the default setting. 56:17 Second thing is, if you have the ability through whatever interface is provided to you, see if there's an actual firmware update that's available to be applied, because a lot of manufacturers will actually take the time, if they're notified of a security vulnerability, they will take the time to actually issue a patch or an update. 56:37 Too many times we have seen brand-new products, I kid you not, brand-new products hit the market, and we will actually look at the firmware, and we will find 56:50 50-plus already known, well-established vulnerabilities already in this brand-new product. So it's, it's... Why this is happening, we don't- Yeah... know. [laughs] But once the manufacturers are notified, 57:07 by and large, they're pretty good at, at getting out the, uh, an update. So change the username and password, update the firmware if there's a firmware update available. Those are the two- Okay... 57:16 top things that I would recommend right off- Perfect... the bat. I, I get those updates too, but make sure I don't ever skip them. I'm understanding the, the importance now more than ever. 57:24 So [laughs] this has been wonderful. I really appreciate your time. Um, I guess to wrap up here, is there anything you wanna leave the audience with? 57:31 I mean, you've s- you've said a lot of great things, given a lot of good insights. 57:35 Is there kind of any one thing to sum up your thoughts on maybe just general, I don't know, the industry or anything related to what we talked about, just to kind of leave the audience with? 57:47 I, I would, uh, you know, being a, a, a glass half empty type of guy, I would just say- Yeah... be cautious. Question where these things come from. Take the two steps, you know, t- two tricks I, I said. 57:59 You know, change the username- Right... and password, update the firmware. And if you guys have any questions or, or concerns or follow-ups, uh, you can always reach us at, uh, refirmlabs.com. Very cool. 58:09 Well, Terry, I really appreciate your time. This has been a wonderful episode. Love all the stories, all the use cases, all the insights you've provided, um, I think will help our audience out a ton. 58:18 Uh, even just a casual listener I think will be, get a lot of benefit from it. 58:21 So thanks again for your time and really appreciate it, and hope to have you back some time to, to talk more about kind of the evolution of what's been going on since, since today. Awesome. 58:28 I appreciate the opportunity, guys. Have a good one. Thank you. You too. All right, everyone. Thanks again for listening to this episode of the IoT For All Podcast with Terry Dunlap of Refirm Labs. 58:40 If you did enjoy this episode, please leave a rating or review on whichever platform you're listening to us on. It helps others find it and lets us know that you're a fan, which is pretty cool for us. 58:48 Also, don't forget to subscribe so you always get the latest episodes the second they become available. 58:52 And if you ever have any questions about any of our guests or any IoT topics specifically, please feel free to shoot us a message on Twitter at IoTforall or use the hashtag AskIoT. 59:02 We'll be sure to see it, look through the questions, and hopefully have some of those questions featured with some of our guests on future episodes. Thanks again for listening.