[00:00.000 --> 00:07.320] Welcome. Thank you for coming. So it turns out these are our presentation screens or whatever. [00:07.760 --> 00:12.220] This is a pretty graphically heavy talk. So if you want to actually see what we're talking about, [00:12.220 --> 00:16.500] you might want to move up. If you don't want to get too close to us, that's okay. This is [00:16.500 --> 00:21.560] being recorded. It's being live streamed. Also, hello, internet. But a lot of we're [00:21.560 --> 00:25.720] showing some code and we're showing some stuff on there, and it's basically going to be impossible. [00:26.060 --> 00:29.980] I don't even know what we're going to see on here. So anyway, thank you for coming. [00:30.000 --> 00:33.780] Yeah, move up. Move up. Come on. I feel like I'm like a rock star. It's like, [00:33.780 --> 00:41.780] come on, move up. Come on. Close the pit. Yeah. Cool. Oh, is this? Okay. This is actually water. [00:41.780 --> 00:46.300] So DEF CON is not going to poison me. Are we doing this now? Like while? [00:47.460 --> 00:54.620] Is this recording? Yeah, this better be. No, it's all. Is this recording? Yeah. Okay. [00:54.660 --> 00:59.500] Can we do it anyway? Okay. Not allowed to drink on camera or something. Okay. [00:59.500 --> 01:07.620] Here, you do your thing. I haven't done it. Okay. So you don't want to explain the whole like. [01:07.900 --> 01:14.680] So DEF CON has a history of new people doing speakers and doing a shot when they do that. [01:14.960 --> 01:21.240] So this is a new speaker. So we're going to do a shot. Yes. Shots. We can we can turn that down [01:21.240 --> 01:26.580] too. Yeah. So this is water, by the way. So you don't have to be pressured into actually drinking [01:26.580 --> 01:31.380] whatever that is. So it's actually all water. Oh, I mean, it's all water. Right. So this is [01:31.380 --> 01:35.260] Bruno's first talk at DEF CON, which is awesome. And I think it's, I don't know, my 21st talk, [01:35.260 --> 01:47.550] but I've never gotten to do this. So very cool. Cheers. Refreshing. All right. Now we can start. [01:48.170 --> 01:54.150] Yeah. So thank you for coming to the talk. My name is Joe Grand and I am a hardware hacker [01:54.950 --> 02:03.930] and I like hacking on things. And yeah, I love going to DEF CON. So that's me. [02:04.210 --> 02:11.030] Yeah. And I'm Bruno. I'm from Germany. Was the first time to went to DEF CON two years ago. [02:11.190 --> 02:16.990] And now I'm first time on the stage, as you have seen. And yeah, really excited about it. [02:17.190 --> 02:22.750] Yeah. So this this presentation is about a project that we did together to reverse engineer the [02:22.750 --> 02:27.270] Roboform password generator. And we'll get into all of the details. But the the presentation is [02:27.270 --> 02:32.570] is about hacking time. And this is not a sensational talk. We don't have a name for our [02:32.570 --> 02:40.430] discovery. But it really kind of shows the problems that we face. I guess the the advantages that we [02:40.430 --> 02:45.470] face if we're hackers. But kind of the problems of systems and security flaws and how they are [02:45.470 --> 02:51.370] going to kind of persist even if things have been fixed. So we're not the first to hack time, [02:51.370 --> 02:56.390] even though we would like to think that we are. So we have some examples. I don't even remember. [02:56.390 --> 02:59.930] Which one is this? Oh, yeah, the time machine. Has anyone read this? I know DeathVeggie has probably [02:59.930 --> 03:05.530] read the time machine. Yes, okay. Has anybody else read this? Yeah, it was sort of like the first [03:05.530 --> 03:10.930] mention, right, of like traveling back in time to change something else. Of course, there are so [03:10.930 --> 03:16.670] many things of people hacking time. I chose a couple. I probably missed some. Anybody guess [03:16.670 --> 03:22.830] what? Is that even playing? I can't I can't see from here. Oh, it's playing now. Anybody guess [03:22.830 --> 03:28.870] what it is before the words come up? Did did you cheat? Is it already? Oh, no, it's already up [03:28.870 --> 03:35.270] there. Okay, Doctor Who, yeah. So, um, Time Lords, of course. Put this one in for for LeapBunny of [03:35.270 --> 03:39.870] the hardware hacking village. So back to the future, of course, right? Hacking time. And my [03:39.870 --> 03:44.150] personal favorite, which is why I'm wearing the T-shirt, is Hacker Man. Has anybody seen Kung [03:44.150 --> 03:51.270] Fury? Woo, yeah, like ten people. Yeah, awesome. Oh, there's Jesse back there. Um, yes, Kung [03:51.270 --> 03:56.130] Fury, Hacker Man is the star of the show. So, hacking time to go back and do all sorts of stuff [03:56.130 --> 04:04.230] that needed to be properly completed. Um, what have I missed? Am I like are we grossly misrepresenting [04:04.230 --> 04:14.130] hacking time? Is there any other? What was it? The what? The tenant? The tenant. Okay. [04:14.150 --> 04:19.970] Star Trek? Star Wars? I don't know. Nobody's? No Star Wars? Star Trek is, yeah. So, okay, so [04:19.970 --> 04:25.750] there's a lot of hacking time, right? We're not the first. Um, this thing that we found is kind [04:25.750 --> 04:29.630] of related to random number generators. Pseudo random number generators were also not the first [04:29.630 --> 04:34.830] people to discover a poorly seeded pseudo random number generator. Um, we've known about this as [04:35.010 --> 04:40.990] a security problem for a long time. But it still persists over and over again. And we'll explain [04:40.990 --> 04:44.470] if you're not familiar with different types of random number generators, we'll explain that and [04:44.470 --> 04:50.650] then sort of go into the details of why this is a problem in this particular situation. Yeah, so [04:50.650 --> 04:59.770] the generating random numbers is a complex problem for programmers. And to really generate true [04:59.770 --> 05:07.970] random numbers, you will need some type of entropy source. So, for example, from the environment, [05:07.970 --> 05:14.470] people using lever lamps, for example, or some diodes, which are creating noise to then really [05:14.470 --> 05:21.490] create this random stream of data. And on the opposite of that, there's these pseudo random [05:21.490 --> 05:30.610] number generators. And even they work with a seed. So with the seed in place, you will always [05:31.630 --> 05:42.430] generate the same sequence of random bytes with the same seed. And this is exactly where we can [05:42.430 --> 05:49.930] attack if we know the same seed at some point, as it was used in the past, and we can also generate [05:49.930 --> 05:59.850] the same randomness today. Yeah, and I guess this is a known kind of issue with security and [05:59.850 --> 06:06.330] cryptography and generating random numbers being hard. It hasn't really been solved, besides [06:06.330 --> 06:09.750] using some of those entropy sources that are better. But that's not really a practical thing. [06:09.750 --> 06:15.090] So this is even like a CWE, you know, a commonly known vulnerability. If you're designing systems [06:15.090 --> 06:19.550] that have some sort of secure element, you would probably want to study some of this stuff, [06:19.550 --> 06:23.610] right? So it's sort of, I feel like everybody in the security community probably knows these [06:23.610 --> 06:31.390] things, but maybe not. But if you're selling a piece of software that is sold as a secure thing, [06:31.390 --> 06:36.350] you would probably want to know these things. So here is like with CWE, this is one of many about [06:36.350 --> 06:40.670] pseudorandom number generators being these deterministic generators, right? Like what [06:40.670 --> 06:44.110] Bruno said, if you know what's coming in, you know all the numbers coming out, which maybe [06:44.110 --> 06:49.210] isn't always a problem depending on how it's implemented. So here, I can't even see it on [06:49.210 --> 06:52.310] here. So yeah, it's just sort of highlighting the main things about pseudorandom number generators [06:52.310 --> 07:00.270] being deterministic. We recommend maybe like, don't use time as a seed, because time is a known [07:00.270 --> 07:04.890] value. And if you're able to know what time is, even if you don't know exactly the time of how [07:04.890 --> 07:09.250] the random number generator is being seeded, you know a range of the numbers that are going to come [07:09.250 --> 07:13.390] out of the random number generator. And that's what we can take advantage of as we're hacking on things. [07:16.610 --> 07:22.030] So even though many programmers know it's a really bad thing to do, it still happens. [07:22.030 --> 07:31.450] And here are some examples like where it happens. One is the Netscape Navigator, which I think I [07:31.450 --> 07:40.710] used the time and then the process ID plus the process ID of the parent process. So really [07:40.710 --> 07:49.030] reducing the entropy so you can easily guess the seed. Same with the router from D-Link. [07:49.030 --> 08:00.990] This one actually used just the time and then generated the VWPS pin via time, which basically [08:00.990 --> 08:08.770] would allow you if you listen to the network and wait for some VWPS to exactly know what pin it [08:08.770 --> 08:17.890] will be. Then there's QTPath. I think it's the default Unix password manager. And this one was [08:17.890 --> 08:25.050] actually really bad because it not even used the time but the milliseconds. So in the end, [08:25.050 --> 08:31.010] it came down to 1000 possible seeds, which were then used to generate these passwords. [08:32.350 --> 08:37.270] Another example, the Kaspersky password manager also using the time. [08:37.270 --> 08:44.430] Telnod Compass X is actually a German company which is doing alert systems and they had the [08:44.430 --> 08:50.910] management software to write to this FID chips, which you can then unlock doors and everything [08:50.910 --> 08:58.890] and to generate the AES key, they also just use time. So you could go to the door and then brute [08:58.890 --> 09:09.150] force the key just in a couple of seconds. And Milksat, I think this one was also... [09:10.490 --> 09:16.690] there was a fallback for some operating systems which also use time. And then this one was used [09:16.690 --> 09:24.910] to generate private keys for Bitcoin, Bitcoin privacy keys. And then, yeah, they got generated [09:24.910 --> 09:33.130] and I think swiped the wallets like two years ago or one year ago. So yeah, really, really bad. [09:33.130 --> 09:38.330] And yeah, then there's RoboForm, where we talk about today. [09:38.330 --> 09:42.310] Yeah, and this is just a sampling, but you can see the years go back to 1995. [09:42.370 --> 09:46.970] And it's not just software, it's not hardware, it's web stuff. And that's what's really [09:46.970 --> 09:52.210] interesting about this. So this particular project where we're picking on RoboForm, [09:52.210 --> 09:57.510] and I mentioned I'm traditionally a hardware hacker, I normally hack on, you know, embedded [09:57.510 --> 10:01.450] systems and electronics. And that's sort of what I love to do. But I also in that same time, [10:01.450 --> 10:05.910] have dabbled in reverse engineering software, usually firmware related to hardware. But it [10:05.910 --> 10:10.230] was fun to do a project like this, where we're looking purely at hardware and seeing these [10:10.230 --> 10:17.350] implementation problems. RoboForm is a password generator and password manager. It's claimed, [10:17.350 --> 10:23.330] they claim to be the first, so maybe around 2002, not only to generate random passwords, [10:23.330 --> 10:27.110] random passwords, but also to store them, you know, so you can go back to them. And there's [10:27.210 --> 10:31.130] a lot of different password generators that are out there now. I'm just quoting directly from [10:31.130 --> 10:35.250] their website. Because I didn't want to say anything that was incorrect and get in trouble. [10:35.330 --> 10:40.630] So used by millions of people worldwide, individual users and small businesses to government agencies [10:41.830 --> 10:47.330] and leading fortune 500 companies made by a company called cyber systems, I think in Virginia, [10:47.330 --> 10:52.770] Washington, DC. So yeah, one type of password generator. And the reason that we started looking [10:52.770 --> 10:57.310] at this is Bruno and I had been working on some projects of recovering cryptocurrency for people [10:57.310 --> 11:02.430] in various ways, hardware and software stuff. And somebody had contacted us and said, Hey, [11:02.430 --> 11:09.050] I have a lot of Bitcoin locked. And I had used the RoboForm password generator to generate my [11:09.050 --> 11:15.610] passwords that I then encrypted. Or did they encrypt the private key with? Yes. [11:15.610 --> 11:20.490] They had a truecrypt container and there they saved the password for the wallet. [11:20.490 --> 11:23.430] That they had used with RoboForm, right. So they generated the RoboForm password, [11:23.430 --> 11:28.030] saved it in a text file, encrypted it with truecrypt. That partition got corrupted. So he [11:28.030 --> 11:35.850] lost his password to the wallet. So that's sort of how we got into this. And at first, when he [11:35.850 --> 11:40.290] emailed, it was like, what are we going to brute force a 20 character? He thought it was 20 [11:40.290 --> 11:46.070] character special characters, numbers, letters, like computationally infeasible to brute force, [11:46.070 --> 11:50.610] right? We're just not going to do that. So I remember turning them down. And then Bruno was [11:50.610 --> 11:54.190] like, well, wait a second. Like it was a year later, I think he contacted us again. And Bruno [11:54.190 --> 11:58.710] was like, well, I had worked on this other project. Maybe we should take a look at it. [11:58.710 --> 12:03.570] Do you want to tell that? Yeah. So it was a password generator, not very popular. It was [12:03.570 --> 12:08.550] called Wireless Key Generator. And like the name suggested, it was to create a password for your [12:08.550 --> 12:14.930] Wi-Fi. And we had a customer before who used exactly that one and also encrypted his wallet [12:14.930 --> 12:19.770] with it. So we had a look back then and it just looked so crappy that I thought, OK, [12:19.770 --> 12:27.650] this can't be secure. And it turned out it wasn't. So it was, I think, using Visual Basic 6. And [12:27.650 --> 12:34.390] this was like the worst randomness I ever saw in a coding language because it was not even like [12:34.390 --> 12:39.890] that you need to guess the seed, but it was the way they implemented it. You have just an [12:39.890 --> 12:46.990] array of two million values that are pre-computed random. And then the seed only defines like the [12:46.990 --> 12:55.790] start position of that list. So it will just, after two million generations, no matter what [12:55.790 --> 13:01.350] seed, you will always have the generated all possible values. So this one was really, really [13:01.350 --> 13:06.730] bad. Yeah. And this, and this, even though like we got into this because of cryptocurrency, [13:06.730 --> 13:12.730] like this is by no means a cryptocurrency singular problem. Anybody that has used this version of [13:12.730 --> 13:16.830] RoboForm and prior versions of RoboForm are susceptible to this type of attack. Actually, [13:16.830 --> 13:23.930] how many of you have even heard of RoboForm? Okay. Like maybe a quarter. How many of you [13:23.930 --> 13:33.310] actually use RoboForm? One, two, three, four, five. That's pretty good. Okay. Um, did you use [13:33.310 --> 13:40.190] it in 2015 or earlier? Now we're like really good. One. Okay. Have you changed your passwords? [13:40.410 --> 13:45.290] Okay. Yeah. Cool. I guess maybe you will after the talk, but yeah, cool. Okay. Um, right. So [13:45.290 --> 13:49.650] it really is, it's something where you could pre-compute, you know, every possible password [13:49.650 --> 13:54.190] that had been generated and that's what we're going to show you. So we started getting into [13:54.190 --> 14:00.150] this project and, um, Bruno started digging through the changelog where, where this is a [14:00.150 --> 14:06.470] closed source piece of software. So all we have really is the changelog, anything that the vendor [14:06.470 --> 14:11.250] decides to make public changelog and, and the binaries. Um, but Bruno had noticed this change [14:11.250 --> 14:19.330] here. Yeah. So we looked at the time and then said, okay, it needs to be version, I think 7.9 [14:19.330 --> 14:26.950] or something. And then, um, we saw after that version, um, there was an entry which says [14:26.950 --> 14:32.250] increase randomness of generated passwords, which is pretty weird. That's pretty weird for a [14:32.250 --> 14:36.650] password generator to say, wouldn't you imagine all of them would be, but that was the clue. So [14:36.650 --> 14:43.510] we basically knew from the person we were dealing with, Michael, uh, when his last access to the [14:43.510 --> 14:49.170] wallet was, which was like 2013, I think. So we kind of looked and seen like, okay, what did [14:49.170 --> 14:52.610] anything change? And that's when we saw this increased randomness of generated password. We [14:52.610 --> 14:58.310] go, wait, are all of the prior versions doing something that is not random or less random or [14:58.310 --> 15:02.950] weaker? And it just happened that the version that we were looking at fell into that. So this [15:02.950 --> 15:06.930] applies to everything up to this version. Uh, and then we'll talk about sort of what has [15:06.930 --> 15:14.650] happened since this version, which we don't actually know is the TLDR of that. Um, okay. So [15:14.650 --> 15:20.050] let's get into the process of what we did. Um, Bruno lives in Germany. I live in Portland, [15:20.050 --> 15:26.270] Oregon. Uh, and we did a lot of remote work, which was super fun. And for those who know me, [15:26.270 --> 15:30.830] like I don't normally work with a lot of people at one time. I like to sort of hole up and just [15:30.830 --> 15:35.630] hack on stuff alone. So it's like finding people to work with is really cool. Um, and it was a lot [15:35.630 --> 15:40.730] of fun, like these late night zoom sessions, sharing screens, like hacking on stuff. We did [15:40.730 --> 15:45.530] end up doing some stuff together in person at a conference. Um, it was like, I don't know, [15:45.530 --> 15:50.010] 24 or 30 hours straight or something. And then I got on the airplane and fell asleep the entire [15:50.010 --> 15:56.550] time. So it was really like a fun example of like true hacking together. It was really cool. So the [15:56.550 --> 16:01.270] we basically started with some memory analysis and we'll explain each of these steps. Uh, memory [16:01.270 --> 16:06.670] analysis first, static analysis, uh, dynamic analysis, and then we built some custom wrapper [16:06.670 --> 16:10.210] to handle all of that. So if you're from the software world, you're probably like, oh, this [16:10.210 --> 16:15.270] is like a totally normal thing to do. But from a hardware world, it's like it, it, it was interesting [16:15.270 --> 16:19.670] to be able to do it in like a full process. Kind of go through everything instead of just dabbling [16:19.670 --> 16:23.490] with like, you know, one, one tool or the other. So that's, you know, we kind of go through this [16:23.490 --> 16:30.930] process and then, um, hopefully we profit. Okay. So let's go into the demo of things. Um, we were [16:30.930 --> 16:35.270] going to do live demos, but Defcon really was like, you should just record your demos. And we [16:35.270 --> 16:40.550] know the demo gods, blah, blah, blah. But I like to live on the edge. Um, but I finally gave in [16:40.550 --> 16:45.070] and said, okay, we're just recording these. So these are videos, um, and you can play along at [16:45.070 --> 16:49.930] home, you know, afterwards and, and see that we're not lying or anything. So Bruno is going to talk [16:49.930 --> 16:54.510] about Cheat Engine and we'll go into all the other steps. Yeah. So first we used Cheat Engine [16:54.510 --> 17:02.090] and it's originally made for games. I personally use it as a kit for, um, cheating my favorite [17:02.090 --> 17:08.290] single player game. So I didn't have to grind hundreds of hours to get my gear and you can [17:08.290 --> 17:17.070] actually also use it for hacking. So, um, I hope the video is playing now. Is it playing? We can't [17:17.070 --> 17:22.250] see that it's playing. So yes. Okay. Dean is going to be our video, our video thumbs upper for every [17:22.250 --> 17:27.330] video. Is that okay? Perfect. Okay. Dean says, okay. So what we did here is a very simple. So [17:27.330 --> 17:32.830] with Cheat Engine, you can scan, edit, um, even you can freeze some parts of the memory so it [17:32.830 --> 17:39.030] can't be modified by the program anymore. And here we just searched for the generated password [17:39.570 --> 17:46.870] and we found it. And which means that, um, other password generators, for example, try to [17:47.550 --> 17:53.730] decrypt it in some way that you can't extract it from the memory or, um, try to hide it or remove [17:53.730 --> 17:58.550] it after a certain amount of time. Um, because there's a risk involved if you have plain text [17:58.550 --> 18:05.570] passwords in the memory, but, um, RoboForm doesn't. And that's already good. And you can actually see [18:05.570 --> 18:14.210] that it's, um, found twice. That's one time for the GUI. So what is displayed and one time is, um, [18:14.210 --> 18:19.850] the, in the memory of the internal logic, um, we found it. Yeah. And right when we saw that, [18:19.850 --> 18:23.470] we're like, oh wait, it's in the clear. Perfect. And then I think we were even, [18:23.470 --> 18:26.710] there was a couple of different, there was like a DLL and an executable and we're trying to figure [18:26.710 --> 18:31.090] out which piece of the code was plopping that into memory. But knowing that was there, we're [18:31.090 --> 18:36.270] like, all right, now it's in memory. Let's try to find out what routine is actually putting it in [18:36.270 --> 18:40.070] the memory and then kind of working backwards. So we could then figure out where the actual [18:40.070 --> 18:46.610] password generator routine was happening within this entire blob of stuff. Because RoboForm, [18:46.610 --> 18:50.010] again, does not just generate passwords. There's all this other stuff that we had to kind of [18:50.010 --> 18:55.110] dig through to find the right thing. So we use Ghidra. Thank you NSA. I'll continue to [18:55.110 --> 18:59.670] thank the NSA for that. One of the few things I'll thank them for. Or maybe the only thing, [18:59.670 --> 19:06.690] actually. Um, so this is, uh, kind of, it's going to show, let's see, I can't see it again, [19:06.690 --> 19:10.230] but this is like, this should be a time lapse. Okay. Dean says, yeah. So there's, you know, [19:10.230 --> 19:13.630] we're not going to show the whole process, but we basically started with this giant binary [19:14.090 --> 19:18.990] and we dug down little by little, starting to, to label things of what we thought it was, [19:18.990 --> 19:23.430] of, oh, that looks like this. And we would change parameters and look again. And like, [19:23.430 --> 19:27.030] uh, oh, sorry, with Ghidra, we didn't, we were just looking at the, at the static, static side. [19:27.030 --> 19:31.750] So things weren't changing. Um, but we basically narrowed it down to a point and Bruno found this [19:31.750 --> 19:36.870] first of like, that called a system time, right? It was like, get time. I think it's time 64. [19:37.110 --> 19:42.070] And, um, that was like, wait, this piece of code is calling time and then it's doing some stuff [19:42.070 --> 19:46.790] and then it's calling SRand. So seeding the, the pseudorandom number generator. That was a pretty [19:46.790 --> 19:52.030] big giveaway. And there was a couple other places where there was the pseudorandom number generator [19:52.030 --> 19:56.350] being seeded, but there was no other call to time. And we basically figured out that [19:57.770 --> 20:01.810] this section was the section that we were actually interested in. Of this whole piece of code, [20:01.810 --> 20:06.710] like these couple lines where it's calling the system time, manipulating it, which basically [20:06.710 --> 20:11.450] what it was doing, because you can press the, every time you press the generate password button, [20:11.450 --> 20:16.770] it hits this code. If you press the button more than one time a second, if there was no [20:16.770 --> 20:21.050] manipulation of that time, the time wouldn't increase because this call system time is just [20:21.050 --> 20:27.730] returning time and Unix time since 1970, January 1st, 1970 in seconds. So if you hit the button [20:27.730 --> 20:31.310] multiple times, they basically added some additional manipulation in there. So you can [20:31.310 --> 20:36.190] press the button multiple times within a second and not get the same password. And they basically [20:36.190 --> 20:42.510] are just adding a fixed constant or are they subtracting? Are they subtracting a subtraction? [20:42.510 --> 20:46.110] Yeah, something like that. Yeah, they were subtracting. No, they were, it was something [20:46.110 --> 20:49.230] that messed us up and we'll actually talk about that, but they're doing a manipulation and [20:49.230 --> 20:54.750] it basically is just jumping either ahead or backwards in time. So you can still generate [20:54.750 --> 20:59.430] the password if you know all of the time. It was just so they couldn't, you know, duplicate the [20:59.430 --> 21:04.510] same time in that same button press. So a pretty weak type of manipulation. Then it calls SRAND [21:04.510 --> 21:09.310] and then it goes into the actual password generation routine. I guess what we could have [21:09.310 --> 21:13.330] done and what we were originally thinking is like, oh, we can just pull out that password generating [21:13.330 --> 21:17.670] block, put it into our own code and then just sort of build the wrapper around it. [21:17.670 --> 21:21.690] Um, but it was so complicated when we started digging into the function that gets called [21:21.690 --> 21:25.730] after that was just ridiculous. And we didn't really want to go through that process. [21:26.150 --> 21:30.990] So we eventually thought like, okay, if we could confirm this, we'll just build some, a wrapper [21:30.990 --> 21:35.570] that will go and touch those values and then just let the rest of the code that's in the DLL do its [21:35.570 --> 21:44.210] thing. So once we could identify the, the static portion of code where we knew that that pseudorandom [21:44.210 --> 21:48.930] generator was being seeded with time, then we went to X64 debug and we were actually using X32 [21:48.930 --> 21:54.330] debug. Uh, and this is our dynamic analysis to be able to debug the system as it's running in [21:54.330 --> 21:59.890] real time and see what was happening with the registers and with other low level CPU stuff. So [21:59.890 --> 22:04.550] then we could see if we could manipulate it. And this is going to be interesting because again, [22:04.550 --> 22:12.690] I can't see stuff here. So, we're going to start it. And I'm pretty sure what I'm showing first [22:12.690 --> 22:17.430] is, uh, there's a bunch of break points that we set. So we can actually, you know, run the code [22:17.430 --> 22:21.630] and then it's going to hit the break point at certain times when certain pieces of code are run. [22:21.630 --> 22:26.770] We basically set the break point that we care about at that same spot that I just showed. So [22:26.770 --> 22:35.000] when the system time is being called. And then I'm probably running the, running the, the, the [22:35.000 --> 22:40.100] debugger. Eventually the password generator is going to start. The GUI is going to start. And [22:40.480 --> 22:43.580] even when you first start the GUI, there's already one password that's in there. So it [22:43.580 --> 22:48.200] actually already runs the password generator once. Uh, so that, that manipulation has already [22:48.200 --> 22:54.260] happened once. Which for us, threw us off again a little bit. And I think it's eventually going [22:54.260 --> 22:58.420] to stop. But I'm generating passwords and if you look, which you probably can't see, the EAX [22:58.420 --> 23:05.640] register is directly correlated to the system time. Plus, like, whatever manipulation maybe [23:05.640 --> 23:12.300] there was from the, from the call before. And has it stopped yet? Is it just sitting still? [23:13.140 --> 23:19.860] Still going. Okay. So, um, I'm going to generate a couple passwords and then at one point I'm [23:19.860 --> 23:23.900] going to write down, there was one value that I don't have on this slide, it's on the next slide, [23:23.900 --> 23:31.320] I think it's like 66 CF 6550 in hex for EAX corresponds to one particular password. And [23:31.320 --> 23:37.300] that's the one that we're going to end up redoing once we let the system generate some more. Has it [23:37.300 --> 23:42.980] stopped? Okay. So this is what we care about out of all of that. The two arrows. There's one [23:42.980 --> 23:47.760] arrow pointing to EAX and then there's one arrow pointing to the password that's been generated. [23:47.760 --> 23:53.620] So those two things are completely intertwined. Anytime we enter the EAX value of that particular [23:53.620 --> 24:01.060] time, manipulated time value, it's going to generate that particular password. So let's [24:01.060 --> 24:05.560] continue on with that part of the demo and now I'm going to generate another password just to [24:05.560 --> 24:10.660] show again that EAX continues to increment because time is incrementing. And then once we get it [24:10.660 --> 24:15.620] sort of cleared the EAX value with the new one, then we'll go back and replace it with one we [24:15.620 --> 24:20.440] know to show that we can, you know, regenerate passwords that have already been generated from [24:20.440 --> 24:27.020] the past. I'm just going to watch your reactions so I'll know when it actually happens. When it [24:27.020 --> 24:48.260] does go ooh or something. The tension. Ooh, right? So now we have regenerated a password. In theory [24:48.260 --> 24:53.800] with a properly, you know, computationally cryptographically secure system, that shouldn't [24:53.800 --> 24:58.560] happen. But this proved to us with the debugger of like, nice, now we can basically feed in whatever [24:58.560 --> 25:02.960] EAX value we want for time and the manipulation doesn't really matter because that just changes [25:02.960 --> 25:07.540] kind of the date range a little bit. But we could precompute everything if we were able to tap [25:07.540 --> 25:12.860] right into that part, hook into that part of the DLL, add our wrapper code around it to get to that [25:12.860 --> 25:18.300] part. And this was, this was pretty cool. Oh and this is the hacking time, right? So now do you [25:18.300 --> 25:23.600] get it? Right? We're hacking time to change that. So that was, yeah. Um, okay so then the wrapper [25:23.600 --> 25:27.240] code, this was something just to put it all together, give us a way that we could precompute [25:27.240 --> 25:32.720] all the passwords that we wanted to for the date range that mattered for us. And we did it in I [25:32.720 --> 25:37.320] think just, what was it? Visual, I don't even remember. It was in Visual Studio, yeah Visual [25:37.320 --> 25:42.940] Studio. And we did it in C, which I know is like taboo now, can't use C, but I use C. And I use [25:42.940 --> 25:47.480] assembly language. And it actually was, it was cool because we had to tap into some of the, we [25:47.480 --> 25:51.940] had to do some assembly language to, to move some things around to get it properly executing in [25:51.940 --> 25:56.880] the DLL. Um, and seeing assembly language really for sort of hardware hackers, that's like, that's [25:56.880 --> 26:01.640] what you want to see. Um, because that's the type of level that we work with. So here's the [26:01.640 --> 26:06.640] wrapper code. Um, I have a couple slides sort of scrolling through the code. This is all open [26:06.640 --> 26:11.500] source by the way, it's on my website, there's a link in the slides and these slides will be up on [26:11.500 --> 26:16.940] the Defcon server after the session, whenever Defcon puts them up. Uh, they're also on my [26:16.940 --> 26:23.180] website which is grandideastudio.com. I put them on my, that's like my formal website. But [26:23.180 --> 26:27.740] everything is there so you could um, already work with it and somebody already has, which we'll [26:27.740 --> 26:33.380] talk about. So yeah, this code basically is um, let's see. The video's kind of showing different [26:33.380 --> 26:36.840] sections but this first section we're just setting the time values that we want, the time range [26:36.840 --> 26:42.000] that matters. And then it should be scrolling down a little bit but kind of showing some [26:42.000 --> 26:45.800] functions as we're, as we're getting ready. We're basically, we need to have code that's gonna [26:45.800 --> 26:53.060] hook into the DLL so it has to search through the DLL. This is not an exported function. Is that [26:53.060 --> 26:56.800] the right terminology? It's not a function that you're normally supposed to access from the [26:56.800 --> 27:00.400] outside world, right? I see nodding. Okay, so it's something where we know the code is there [27:00.400 --> 27:04.360] but it's not given to the, you know, to the other executable to normally be able to, to work [27:04.360 --> 27:08.620] with. So we had to search for a known signature string that we found just by looking in the [27:08.620 --> 27:13.740] debugger. Uh, to say okay, let's just look for these kind of op codes and uh, and hope that's [27:13.740 --> 27:21.060] the right section in the DLL. So we're kind of searching through for that. And let's see, [27:21.060 --> 27:24.840] what else? We're gonna look for the, yeah, so these are all the functions and set system time. [27:24.840 --> 27:29.100] I think here's the real code. So yeah, this code here where, you know, we're calling system [27:29.100 --> 27:39.870] time and we're basically setting our computer at whatever system time we want. And then, oh, [27:39.870 --> 27:43.670] there's also, there's some other constants I'll get into. There's like a bunch of weird stuff [27:43.670 --> 27:46.950] that we had to end up doing to make it work. It seems, it seemed easy in theory of like, oh, [27:46.950 --> 27:51.850] let's just hook into this DLL and like call the code. But things have to be prepared before [27:51.850 --> 27:58.910] that to actually make it work. So where we are in here, is it still scrolling or can you, [27:58.910 --> 28:04.870] still scrolling and now it stopped? Okay. So yeah, this is the part that should be searching [28:04.870 --> 28:10.670] through the DLL, finding that portion, finding the address of the DLL with the, that, those op [28:10.670 --> 28:15.710] codes that we want. And that's the exact same stuff that we saw um, in x64 debug and in [28:15.710 --> 28:19.830] Ghidra. Uh, the upper memory is gonna change though, right? Because we don't know where the [28:19.830 --> 28:23.230] DLL is gonna be loaded in memory, so we kinda know. But being able to search through it, [28:23.230 --> 28:27.430] uh, automatically seemed to make sense. Then there's a whole bunch of different parameters. I [28:27.430 --> 28:30.790] don't know if you noticed on that RoboForm screen, but there's one for, do you want to use [28:30.790 --> 28:34.750] uppercase, lowercase? Do you want to use letters? Do you want to use numbers? Do you want [28:34.750 --> 28:39.110] special characters? Those are all individual settings that get fed into that password [28:39.110 --> 28:43.330] generator routine after the pseudorandom number is generated. So we had to figure out how [28:43.330 --> 28:47.430] those parameters were configured before we could actually call the, the function that was [28:47.430 --> 28:52.250] generating the password. And that took a lot of trial and error and a lot of debugging and um, [28:52.250 --> 28:55.950] as it should be, right? If it was too easy, it wouldn't be that much fun. Um, but it was [28:55.950 --> 29:00.150] really interesting to kind of see that a lot of those values were, had to be placed in [29:00.150 --> 29:03.710] certain memory locations and specific things and that's what that array at the beginning was [29:03.710 --> 29:07.890] of like, we just happened to see that oh, this setting was in this one and then we have a [29:07.890 --> 29:12.230] couple bytes that we don't care about and then we add another one. And then we get to the [29:12.230 --> 29:19.510] cool stuff. Which we're basically looping and we're calling system time, setting all the [29:19.510 --> 29:22.490] values the right way and then we get into the assembly language which is my favorite part and [29:22.490 --> 29:26.210] I don't really know, I think it's maybe this part that shows the rest of it. But we're [29:26.210 --> 29:29.410] moving the parameters into the right spot, we're moving everything into the right spot and [29:29.410 --> 29:35.130] normally what was happening is we were getting crashes for days, right? Or over and over [29:35.130 --> 29:37.790] again and then finally it's like we're going to try another thing, try another thing. And [29:37.790 --> 29:41.630] then it finally worked and we generated a password, we're like holy crap. Um, then we built [29:41.630 --> 29:45.570] the loop around it so we're just doing this over and over again, setting the time, calling [29:45.570 --> 29:49.290] the DLL, you know, getting the password out. Because the password gets set into some [29:49.290 --> 29:53.950] register that, you know, that's where it was that we saw in cheat engine, then we push that [29:53.950 --> 29:57.650] into a variable in C and then we print that out. And uh, turns out it wasn't the most [29:57.650 --> 30:03.610] efficient way to do it but it definitely like was enough to generate the passwords. So we [30:03.610 --> 30:07.370] had all of our passwords, is this, is this actually showing the password generator? Oh it [30:07.370 --> 30:11.690] is. Okay, right. So we actually got it working. Um, this is generating all of the passwords [30:11.690 --> 30:17.410] starting from whatever 2013 date range we wanted. Uh, at about a hundred passwords per [30:17.410 --> 30:21.590] second. Which for us was fine because we only had, it was like a couple months worth so it [30:21.590 --> 30:26.330] wasn't a huge amount and it took, on my machine I think it took like 20 hours or something [30:26.330 --> 30:28.030] but yours was like super long. [30:28.030 --> 30:34.210] Yeah, I think you had the M2 SSD so Windows really limits the, the amount of time. [30:34.210 --> 30:35.690] Yeah, there was like disk access, right? [30:35.690 --> 30:36.390] Yeah. [30:36.390 --> 30:39.290] So I, I needed like three or four days. [30:39.290 --> 30:42.710] Yeah, to do the list, right? And that got really frustrating when it's like we tried [30:42.710 --> 30:46.810] different password lists that we were generating, plopped them into the password cracker, you [30:46.810 --> 30:52.750] know, tried, tried to unlock this, this Bitcoin wallet and um, we kept failing. And we're [30:52.750 --> 30:56.850] like, oh my God, is this like, is this our coding problem? Are the parameters wrong? [30:56.850 --> 31:01.270] Are the dates wrong? Uh, we kept calling this guy, Michael and um... [31:01.270 --> 31:07.350] Yeah. And he was getting like pretty annoyed. I was talking to him and he was like, in the [31:07.350 --> 31:09.570] end he was like, oh no, not again, this guy. [31:09.570 --> 31:13.110] Yeah, he's like, oh, they're bugging us again. And like he, and then at one point he was [31:13.110 --> 31:17.570] like, I'm going to see if I can remember it through hypnosis. Uh, and we're like, oh boy, [31:17.570 --> 31:21.850] now we're in trouble. Um, but it turned out, so he had sent us a list of passwords that [31:21.850 --> 31:29.050] he had used for other things and all of them except one were 20 characters with specials [31:29.050 --> 31:32.130] or without, I think. I think some... [31:32.130 --> 31:36.590] He told us he used specials as his original password, but there were some which didn't [31:36.590 --> 31:36.990] use specials. [31:36.990 --> 31:39.730] Which didn't, right. So he was so sure it had special characters, but it turns out there [31:39.730 --> 31:43.730] was a couple that didn't. So we're like, let's just regenerate without special characters [31:43.730 --> 31:49.830] because that changes the entire password that comes out. So we finally did that. And Bruno [31:49.830 --> 31:54.950] sends me a message like maybe like 20 minutes after we started running that list. [31:54.950 --> 31:55.390] Yeah. [31:55.410 --> 31:57.470] It's very exciting. [31:57.470 --> 32:02.390] Yeah. I also didn't thought it would happen because he was so sure. He said like, nah, [32:02.390 --> 32:07.670] it was special characters, like 99%. And then we got it. [32:07.670 --> 32:18.240] And then we got it. Yeah. So here we had to block out all this. Thank you. We had to block [32:18.240 --> 32:22.480] out all of the transaction history because I know that some of you, if not all of you [32:22.480 --> 32:26.220] would go and try to track it down and now like, you know, see what this guy's doing [32:26.220 --> 32:31.700] and spy on the blockchain and whatever else hackers do these days. But we can see the [32:31.700 --> 32:37.980] password is actually generated May 15th, 2013. And that was actually a little earlier than [32:37.980 --> 32:40.600] we thought also based on the transaction history. [32:40.600 --> 32:44.740] But it could also be that he pressed the button twice, right? [32:44.740 --> 32:48.880] Yeah, right. He could have pressed the button enough to like change where that manipulation [32:48.880 --> 32:49.700] was happening. [32:49.700 --> 32:55.040] Because like how they did it, they, I think increased then the time by a fixed amount, [32:55.040 --> 32:57.680] which was like around eight or nine days. [32:57.800 --> 33:01.660] Yes. And it right. So it was subtracting a negative number and that's what threw us off. [33:01.660 --> 33:06.460] We thought it was adding or we thought it was just subtracting the number, but it was [33:06.460 --> 33:11.680] subtracting a negative number, which is adding. So we were going the wrong way in time to [33:11.680 --> 33:14.980] try to create our list, but ultimately it ended up working. But it was pretty dark for [33:15.080 --> 33:17.900] a while. There was a couple of days when it was like, we just went through all this reverse [33:17.900 --> 33:21.420] engineering work. We can generate all these passwords. And it was like, is all of this [33:21.420 --> 33:25.100] work going to go wasted? Uh, I mean, I guess it wouldn't be wasted anyway because other [33:25.100 --> 33:28.560] people could use it. But like from our perspective, it would have been a bummer. [33:29.160 --> 33:38.080] Um, as part of this process, uh, sometimes I make YouTube videos and this was a project [33:38.080 --> 33:41.580] where we were like, this would be super fun to film this process and make a fun video [33:41.580 --> 33:46.280] out of it to kind of show, you know, the story and the drama. Um, so how many of you have [33:46.280 --> 33:51.760] seen our, our video on this? Oh wow. That's like, that's impressive. That gets like a [33:51.760 --> 33:56.320] quarter maybe. That's good. Um, everyone else, hopefully you watch it. And uh, these are [33:56.320 --> 34:02.840] just some behind the scenes of what it takes to film videos like without just using your, [34:02.840 --> 34:08.700] you know, iPhone. Um, but this particular project, the, the customer who had this wallet [34:08.700 --> 34:14.680] is from Germany, but he was in Barcelona on vacation and Bruno's in Germany. So we started [34:14.680 --> 34:21.900] kind of our, our process in the video in Germany. We did interviews, um, and then flew. Oh, [34:21.900 --> 34:29.240] here's our film crew by the way. And then we flew over to Barcelona and Michael, the, [34:29.240 --> 34:33.160] this guy thought that we were just going to ask him more questions and interview him again. [34:33.160 --> 34:37.820] Like he didn't know that by that point we had done it. Um, so he was like, Oh God, now [34:37.820 --> 34:41.760] they're just going to ask more things. Um, so it was actually pretty funny. We're not [34:41.760 --> 34:44.780] going to reveal like the full thing cause that's why you should watch the video. It's [34:44.780 --> 34:49.420] way more exciting when you watch it there instead of on a tiny screen here. Um, but [34:49.420 --> 34:53.920] we basically set up this whole environment like, um, you know, publishers clearing house [34:53.920 --> 35:00.480] style kind of reveal, uh, which was totally ridiculous and yeah, very, very fun. Um, and [35:00.480 --> 35:04.000] that's part of it is like being able to share this information and, and, you know, share [35:04.000 --> 35:09.060] some technological stuff is super fun and being able to make videos and like get creative [35:09.060 --> 35:13.460] with things that we're doing otherwise equally as fun. So this stuff is really cool. And [35:13.460 --> 35:17.920] also you can see how, you know, safety third, um, for those who actually can see the picture, [35:17.920 --> 35:22.240] there's two guys holding a gigantic ladder as one guy's like fiddling with some lamps [35:22.240 --> 35:28.460] and electrical stuff. Uh, I probably shouldn't have documented that, but definitely not safe. [35:32.080 --> 35:39.800] So yeah, um, once we found this issue and we solved our problem, we're like, awesome. [35:39.800 --> 35:44.500] Okay. Michael's taken care of. We recovered his Bitcoin. Yay. But part of the process of [35:44.500 --> 35:49.620] hacking, in my opinion, is sharing that information with other people so they can learn from it [35:49.620 --> 35:54.700] and use it. And that's equally as important as that's equally as important as the success [35:54.700 --> 35:59.220] of the project, right? If you just hoard all your information and not share it with anybody [35:59.220 --> 36:03.980] else, what's the point of hacking? I think that's, that's something I feel very strongly [36:03.980 --> 36:09.700] about and something that, that has been sort of ingrained in me since my younger days of [36:09.700 --> 36:13.160] being a hacker. So we solved this problem and we're like, all right, how are we going [36:13.160 --> 36:17.820] to disclose this? You know, there's responsible disclosure, um, which I don't really like [36:17.820 --> 36:23.340] that term because it implies that not doing that is irresponsible. Um, and there's all [36:23.340 --> 36:29.500] sorts of things. Like when I was at the loft back in a long time ago, uh, we would kind [36:29.500 --> 36:34.360] of tell the vendor like, Hey, we're going to release this in a week or whatever and [36:34.360 --> 36:38.060] really force them to fix things. And now there's a little more kind of ethical dilemma about [36:38.060 --> 36:43.580] like how much time do you give a vendor? Do you tell the vendor? We looked up and, and [36:43.580 --> 36:47.840] went to the RoboForm website, looked around online, looked at different bug bounty platforms [36:47.840 --> 36:52.220] and couldn't find any indication that this company had worked with hackers before or [36:52.220 --> 36:56.280] worked with good faith researchers. So we got really worried because in this day and [36:56.280 --> 37:02.140] age you sort of expect software companies will have a security at whatever contact or [37:02.140 --> 37:08.420] something, right? Like it was scary to not see that. So we couldn't find it. We start [37:08.420 --> 37:12.580] discussing like what's the, what's the reality of the situation? Are we going to get sued? [37:12.580 --> 37:16.560] We know from DEF CON history there was even a talk actually, I think was it supposed to [37:16.560 --> 37:21.600] be today, that received a cease and desist letter. And now they're working with lawyers [37:21.600 --> 37:25.540] and maybe they're going to be able to give the talk on Sunday. Like it's a real risk for, [37:25.540 --> 37:29.380] for researchers. And nobody wants to get sued, especially when it's a company that has lots [37:29.380 --> 37:33.840] of lawyers and we're like individual people that don't want to deal with that. Um, but if it [37:33.840 --> 37:38.460] came down to it, we would. Uh, and I remember also talking to my wife about this of like, [37:38.460 --> 37:41.580] should we release this information? Like I really want to talk about it at DEF CON and do [37:41.580 --> 37:46.380] something with Bruno like on stage. And she's like, like hell of course. Like you're a hacker. [37:46.380 --> 37:50.640] Like you need to go against these companies and do it. And if you get sued, at least you'll [37:50.640 --> 38:02.040] have given the talk first. Which I agree with. So that, that's my little rant. So um, we [38:02.040 --> 38:07.500] reached out to, to Kim Zetter who is a fantastic journalist with cyber security. Um, and has [38:07.500 --> 38:10.980] really been pushing, you know, the good of what hackers can do. And also has written some [38:10.980 --> 38:16.520] books about some like wild state sponsored adversary type of stuff. Um, and she wants to [38:16.520 --> 38:20.800] write about the story. So we're like, great. She can reach out to the company and kind of get a [38:20.800 --> 38:25.940] sense of how litigious they are, like what's going on. So she wrote the story, reached out to [38:25.940 --> 38:29.260] them to get some comment about our work. And they basically were like, oh we fixed the [38:29.260 --> 38:33.100] problem, not a big deal. And then she wrote back and was like, well how did you fix the [38:33.100 --> 38:41.320] problem? Nothing. Crickets. Um, and I thought that was a really, also another kind of [38:41.320 --> 38:45.020] indicative thing. Right? Of like, okay, if they're not responding, like, it should be very [38:45.020 --> 38:48.780] clear if you may, if you fix a security problem, first of all you should notify all your [38:48.780 --> 38:53.140] customers if you make a, a significant change like that. Um, which didn't happen. But you [38:53.140 --> 38:57.100] would also want to be very proud of your changes and say, this is what we did to fix it so [38:57.100 --> 39:01.980] you can trust our software that you're running. None of that. This is, it almost feels [39:01.980 --> 39:07.300] like I'm in the 90s again, talking about this stuff. Um, so she didn't get any, any [39:07.300 --> 39:11.800] meaningful comment. Article came out, no, no comment. You know, a lot of journalists [39:11.800 --> 39:16.040] reached out, nothing. Um, maybe this is, maybe this is more typical than I think. But I [39:16.040 --> 39:21.200] was really surprised of not getting any sort of feedback. Uh, and then we decided, okay, [39:21.200 --> 39:25.260] article came out, same time, let's release the video and then let's do our Defcon talk. [39:25.260 --> 39:30.320] And I think it's, you know, it's, it's, it's a concern. I guess I also want to ask, how [39:30.320 --> 39:34.560] many of you have been in the same situation of like finding some vulnerability and being [39:34.560 --> 39:39.580] worried about talking to the vendor and, and getting sued? That's a lot of people. That's [39:39.580 --> 39:46.620] probably 25, 30 people just in this room. Um, multiply that by the number of people at [39:46.620 --> 39:50.760] Defcon, multiply that by the number of people outside who are also hacking. Like, is this [39:51.300 --> 39:57.920] a significant enough problem? And vendors know that. Um, but it is, it is a real thing. So [39:57.920 --> 40:02.080] anyway, yeah, we released all of the information and uh, and I think that's the important way [40:02.080 --> 40:07.540] to go and, and hopefully, hopefully I, I don't, uh, make my next video from jail or [40:07.540 --> 40:12.800] something like that. Um, so some future work, right? So we don't know how they fixed the [40:12.800 --> 40:16.740] problem. Maybe future versions, you know, they say they increased the randomness of [40:16.740 --> 40:21.500] generated passwords. Maybe they did. We searched through the code, we couldn't find any [40:21.500 --> 40:26.620] direct calls to system time. It could have been obfuscated, we don't know. Maybe that's [40:26.620 --> 40:30.680] future work. Maybe, maybe not for us, maybe for one of you who go, ooh, let's go dig into [40:30.680 --> 40:36.440] this, right? And see what they fixed. Um, already since we released our code, uh, my [40:36.440 --> 40:42.840] friend, our friend Dean Pierce from Portland, whoo, 503, um, has already taken our code and [40:42.840 --> 40:48.060] optimized it to be over 600 times faster. Almost probably a thousand times faster [40:48.060 --> 40:53.380] depending on the machine where we were generating a hundred passwords a second. Dean was [40:53.380 --> 41:01.220] generating 68,000 passwords a second. Uh, per core. So he made it multi-core and he removed the [41:01.220 --> 41:05.940] need to directly set system time, which requires administrator access, by getting rid of [41:05.940 --> 41:11.620] that whole call to system time and just putting a value into that register. So you don't [41:11.620 --> 41:15.580] have to call system time, you just plop whatever Unix time you want into there. And then what [41:15.580 --> 41:19.240] else did you do? You did one other thing, um, oh, you don't need to, uh, to call the DLL [41:19.240 --> 41:23.640] each time, which in our code we're calling the DLL because it's like resetting some things [41:23.640 --> 41:28.900] that we're not exactly sure about, which takes a lot of time. You're just reseeding the [41:28.900 --> 41:39.140] random number generator directly. Oh, okay, so it's knopping out part of, so you're [41:39.140 --> 41:43.000] patching a different part of the DLL, knopping out some parts that's reseeding something [41:43.000 --> 41:47.800] so you don't have to keep calling the, the DLL, which is a huge time savings. Um, and then he [41:47.800 --> 41:52.140] made a command line. Our code you had to like change the parameters, recompile it, run it. [41:52.140 --> 41:56.160] His is now command line, you put in your start time, your end time, your parameters, and you [41:56.160 --> 42:00.540] let it run and now you can create your rainbow, you know, rainbow tables of all of your [42:01.100 --> 42:06.200] passwords with the RoboForm password generator, uh, that have been computed prior to [42:06.200 --> 42:12.620] apparently their fix in, uh, in 2015 for 7.9.14. And maybe, maybe other stuff. Who knows [42:12.620 --> 42:19.490] what's going to come out of this? Uh, and a couple of resources. Again, this, these slides [42:19.490 --> 42:23.410] will be available. These are clickable links, um, but all the code is available. All of [42:23.410 --> 42:27.870] Dean's code is also available, um, on GitHub and also linked to from the website and then [42:27.870 --> 42:34.190] the original Wired article and then the video, uh, that is, um, is on YouTube. So that's our [42:34.190 --> 42:42.790] story about hacking RoboForm. Any last words? I mean, this should also really put in the [42:42.790 --> 42:48.890] perspective that, uh, I showed you the examples of the, um, poor seeded random number [42:49.390 --> 42:56.750] generators and there was like you standard Unix password manager and Kaspersky. So it is [42:56.750 --> 43:01.830] probably in many things we haven't checked yet just because we thought, okay, this must be [43:01.830 --> 43:07.250] secure. So yes, widespread, right? This is not the only thing it's still happening. Go out [43:07.250 --> 43:12.970] there and, and find random number generators and you too can also hack time. So thank you [43:12.970 --> 43:13.810] for coming.