[00:00.000 --> 00:05.560] All right, let's get this thing started. This is Amir Montazeri from OSTF, which is the [00:05.560 --> 00:09.980] Open Source Technology Improvement Fund, and he's here to give us a talk about things. [00:09.980 --> 00:14.200] So if you're interested in things, then you are in the right place to learn about things. [00:14.200 --> 00:15.120] Don't forget about stuff. [00:15.120 --> 00:19.460] Okay, yes, things and stuff, which is more than I would be able to talk about. So I'm [00:19.460 --> 00:23.580] going to pass it off to him, and he's going to give us all of the knowledge in his brain. [00:24.160 --> 00:29.260] Beautiful. Thank you, Diego. Hi, good morning, everyone. My name is Amir Montazeri. I'm the [00:29.260 --> 00:34.100] Vice President of Development for OSTF, the Open Source Technology Improvement Fund. I'm [00:34.100 --> 00:38.400] going to be saying OSTF a lot today, so hopefully you'll know about us by the end of the talk. [00:38.440 --> 00:43.300] Out of curiosity, by show of hands, have you heard of us before, OSTF, before? All right, [00:43.300 --> 00:47.360] cool. I see a couple hands. That's good. I'm super excited to be here with you all today [00:47.360 --> 00:51.540] to talk to you about the great work that we do and the work that we've done with Monero [00:51.540 --> 00:53.400] and the Monero Research Lab. [00:54.740 --> 01:00.460] The objective of my talk today is to talk about our model for improving open source [01:00.460 --> 01:05.320] software, kind of how that came to be, and then talk more about the work that we've actually [01:05.320 --> 01:11.860] done. I'm hoping you'll all walk away today feeling empowered, because similar to Jeremy's [01:11.860 --> 01:18.220] talk this morning, I do believe we have the power in our hands to change our technology, [01:18.220 --> 01:24.720] to improve our technology, and have a technological solution to the problems that we see in today's [01:24.720 --> 01:26.040] digital world. [01:26.900 --> 01:32.300] So with that, we'll go right into it. As I mentioned, OSTF is the Open Source Technology [01:32.300 --> 01:40.000] Improvement Fund. We were founded in 2015, essentially by our own need to exist. Derek [01:40.000 --> 01:47.120] Zimmer, the CEO and founder, and myself saw that not enough work was being done to improve [01:47.120 --> 01:52.620] open source software. There was really no one advocating for strong open source software [01:52.620 --> 01:59.220] and good security and infrastructure that we have, especially with transparency as well. [01:59.220 --> 02:06.140] Not enough transparent and impactful work was being done to improving open source software. [02:07.140 --> 02:14.940] So as I mentioned, we were founded in 2015. We are a 501c3 charity, a non-profit organization, [02:14.940 --> 02:20.780] meaning that donations to OSTF are tax deductible. And because we are a non-profit, we're not [02:20.780 --> 02:25.020] driven by bottom lines, endorsements, things like that. [02:26.540 --> 02:32.940] What we do is we connect open source projects with much needed funding and logistical support. [02:33.020 --> 02:38.840] Similar to when I mentioned about how we came together, we noticed that a lot of these open [02:38.840 --> 02:43.500] source projects, because they're mostly run by volunteers, people who are passionate about [02:43.500 --> 02:50.340] this stuff, they're severely lacking in resources, especially with marketing, funding, and actually [02:50.340 --> 02:54.160] focusing on security and improving the software. [02:55.140 --> 03:01.940] And we do that through corporate sponsorships, which are sponsorships from organizations, [03:01.940 --> 03:08.600] as well as direct public support, with the mission of strengthening technology for everybody. [03:10.060 --> 03:15.020] So, we had this great idea. We said, hey, let's come together. Let's do this. We kind [03:15.020 --> 03:20.500] of didn't know what we were doing at first. We just ran with it and learned a ton in the [03:20.500 --> 03:25.820] last couple years. And in the last about three years now, we've really started getting into [03:26.020 --> 03:31.360] a groove with applying our model for improving open source software. And I'll talk a little [03:31.360 --> 03:33.940] bit about that track record that we've developed. [03:36.280 --> 03:42.030] So, our first project, and it was really kind of our first proof of concept moment into [03:42.740 --> 03:49.880] applying our software improvement model, was the audit of VeraCrypt 1.18, where we conducted [03:49.880 --> 03:56.020] an audit of the software through the audit firm Quark's Lab, based in Paris. And that [03:56.020 --> 04:02.780] audit resulted in eight critical, three medium, and 15 low-impact vulnerabilities found and [04:02.780 --> 04:10.180] patched. At a high level, that resulted in removal of unsafe encryption implementations, [04:10.180 --> 04:15.540] unsafe libraries, removal or replacement of unsafe libraries, as well as fixes to the [04:15.540 --> 04:22.440] new bootloader implementation. So, in short, it resulted in improved protection of data, [04:22.440 --> 04:29.120] improved encryption, and protocols. As I mentioned, this was performed by Quark's Lab out of Paris, [04:30.000 --> 04:36.980] a fantastic security firm. And the total cost of the audit was about $25,000. So, kind of [04:36.980 --> 04:42.260] tying into the title of the talk, the cost of good open source software, I'm hoping that [04:42.260 --> 04:48.540] you all see today that this work is extremely possible and attainable, and does not cost [04:48.540 --> 04:54.980] nearly as much as you would think. And this project was done thanks to our top sponsor, [04:54.980 --> 05:04.000] DuckDuckGo, another privacy-focused organization. So, kind of coming off of that big proof of [05:04.000 --> 05:09.400] concept moment, kind of getting our first notch in our belt, and going from really an [05:09.400 --> 05:14.840] idea to an organization that was actually doing this stuff, we continued to build on [05:14.840 --> 05:23.280] that momentum to coordinate the audit of OpenVPN 2.4.0, in which we brought a coalition of [05:23.280 --> 05:29.280] over 30 organizations and countless other individuals who contributed to the fundraising [05:29.280 --> 05:37.400] for this audit, which resulted in one critical, high, one medium, and five low-impact vulnerabilities [05:37.400 --> 05:43.700] found and patched. And again, at a high level that related to the correction of a pre-authentication [05:43.700 --> 05:49.220] denial of service attack, which is important, as well as the correction of an authenticated [05:49.220 --> 05:55.780] user denial of service attack, as well as fixes to certificate handling, service handling, [05:55.780 --> 06:01.620] and user suggestions for safer practices, because the usability is also important, and [06:01.620 --> 06:07.920] having access to knowing how to use this technology is just as important as having good software [06:07.920 --> 06:13.520] and good technology itself. So, again, at a high level that resulted in improved security [06:13.520 --> 06:21.400] and functionality of OpenVPN. This was, again, done by the audit firm Corkslab, based out [06:21.400 --> 06:30.260] of Paris, and the cost was around $70,000, which, again, is an amount which dwarfs the [06:30.260 --> 06:35.940] budgets of a lot of cybersecurity organizations, and just the amount of money that is out there [06:36.990 --> 06:41.680] really doesn't really scratch the surface. And this was done thanks to our top sponsors, [06:41.680 --> 06:47.660] Private Internet Access and iPredator, as well as a lot of other commercial VPN providers [06:47.660 --> 06:54.680] that got on board, who directly benefited from the improvement of this software. However, [06:54.680 --> 06:59.140] the beauty of improving open-source software and open-source infrastructure is that really [06:59.140 --> 07:05.440] everybody wins. Users are better off, as well as the organizations that have their tools [07:05.440 --> 07:09.480] and their infrastructure built on these open-source software. [07:12.050 --> 07:17.910] And so, going along with that, we continued to build on that momentum right after OpenVPN, [07:17.910 --> 07:26.150] where we coordinated our biggest project yet, which was two audits of OpenSSL, which were [07:26.150 --> 07:30.670] really focused on two critical new features that were being implemented in the newest [07:30.670 --> 07:36.870] release. The first one was the pseudo random number generator, and the second one was the [07:36.870 --> 07:44.110] TLS 1.3 implementation in OpenSSL. We had two different audit firms conduct the work, [07:44.410 --> 07:49.230] which was interesting to see because we had different sets of results, which goes to show [07:49.230 --> 07:54.630] that with very complex problems like technology and software, diversity really is important. [07:54.630 --> 07:59.630] Getting multiple viewpoints and getting multiple perspectives from different groups really [07:59.630 --> 08:06.850] makes a difference. And the results were multiple issues related to, again, denial of service, [08:06.870 --> 08:14.650] as well as improving the randomness of the PRNG were implemented before the release of [08:14.650 --> 08:24.170] OpenSSL into OpenSSL version 1.1.1. So this was a huge project for us because we felt [08:24.170 --> 08:28.490] that it put us and the work that we were doing and the impact that we were making in open-source [08:28.490 --> 08:36.190] software up there with elite internet giants who have budgets, you know, 30 to 400 times [08:36.190 --> 08:42.610] what we work with. Yet, as a small organization, as a very committed and focused organization, [08:42.610 --> 08:50.650] we were able to create work and publish work that was up there with those organizations. [08:50.730 --> 08:56.150] The total cost of both audits was around $150,000. It was a little bit more than the previous [08:56.150 --> 09:04.470] projects because of the complexities and simply the complexities of OpenSSL. And that was [09:04.470 --> 09:10.130] special thanks to our top sponsors, Private Internet Access and DuckDuckGo, as well as [09:10.130 --> 09:15.550] the countless other organizations and individuals who contributed to these audits. [09:19.050 --> 09:23.410] So it was really great. We saw that we might be onto something here and that our model [09:23.410 --> 09:31.530] for improving open-source software seemed to be working. We had tons over about 2,000 [09:31.530 --> 09:38.110] hours of what they call man-hours, audit hours, performed on critical software and hundreds [09:38.110 --> 09:44.510] of bugs found and patched. It was around the time of the OpenSSL results where we started [09:44.510 --> 09:49.770] working with Monero, the Monero community, as well as the Monero Research Lab. We had [09:49.770 --> 09:56.910] heard that they were essentially looking for services, the exact service that we provide. [09:57.190 --> 10:02.630] They wanted to, through their commitment to improving the cryptocurrency's functionality [10:02.630 --> 10:08.350] and security, we're looking to get some work audited, to get software audited, particularly [10:08.350 --> 10:13.110] with Bulletproofs and RandomX, which I'll go over. And we're looking for an organization [10:13.110 --> 10:18.830] that can help them coordinate that audit work because, as we've learned from implementing [10:18.830 --> 10:24.490] and building our model, it's much more complicated than it seems. A lot of people are like, yeah, [10:24.490 --> 10:28.530] just coordinate an audit and you're good, but there's a lot of intricacies that go [10:28.530 --> 10:35.390] into it. And the nice thing was we were also committed to transparency and publishing our [10:35.390 --> 10:39.190] work publicly, which is very important for the Monero community. [10:44.500 --> 10:50.660] So we first started working with Bulletproofs in which we coordinated two audits of Monero [10:50.660 --> 10:56.180] Bulletproofs. The first one was performed by Kodelsky Security and the second one by [10:56.180 --> 11:01.340] Quark's Lab. And this was another instance of seeing different sets of results from different [11:01.340 --> 11:06.260] audit teams, which I think is a testament to the importance of diversity and multiple [11:06.260 --> 11:14.560] reviews of software because it's never something simple. It's always an iterative thing, improving [11:14.560 --> 11:21.420] software. So with Kodelsky Security's review, we found a number of low and informational [11:21.420 --> 11:27.620] vulnerabilities found and remediated. And with the Quark's Lab review, which was a little [11:27.620 --> 11:34.440] bit more in depth, they found eight critical, two medium, and 20 low impact vulnerabilities [11:34.440 --> 11:40.540] found and remediated. And the important one here was that a live chain critical flaw was [11:40.540 --> 11:48.260] identified and fixed, which resulted in significantly improved security of the cryptocurrency as [11:48.260 --> 11:53.800] well as kind of closing down a potential attack vector that could cause serious damage to the [11:53.800 --> 12:00.380] cryptocurrency's value and market value. And as well as the functionality. So Bulletproofs [12:00.940 --> 12:05.760] significantly reduced the size of Monero transactions, improving the performance of the [12:05.760 --> 12:12.800] blockchain, and improving functionality and efficiency of the cryptocurrency. Again, the [12:13.190 --> 12:20.440] total cost of the audits was only around $70,000, which given the significant and critical flaw that [12:20.440 --> 12:27.160] was found, you know, Monero's market value is somewhere around $2 billion, I think is a very [12:27.160 --> 12:32.160] good investment or insurance policy to take on something with that much value. And that was [12:32.160 --> 12:37.620] special thanks to the Monero Research Lab and the Monero community as a whole, that all got on [12:37.620 --> 12:48.590] board and contributed to this project. And so moving forward with RandomX, you know, with [12:48.590 --> 12:53.370] Bulletproofs, it was a great success. We were very happy with the results. And I'd like to think that [12:53.370 --> 12:59.110] the Monero Research Lab and the community was happy with the results as well. Because they came [12:59.110 --> 13:03.730] right back to us and said, hey, let's do this again. Let's improve our software. Let's have it [13:03.730 --> 13:10.630] reviewed and improve the security and functionality of the cryptocurrency. So a total of four audits [13:10.630 --> 13:18.590] were conducted for RandomX. We actually just this morning on our website, https.ostiff.org, just [13:18.590 --> 13:24.510] released the final report for RandomX. So for all of you highly technical people who really like to [13:24.510 --> 13:29.190] get into the technical details, I highly recommend looking at our audit reports, because that really [13:29.190 --> 13:36.010] goes over the intricacies of the work that's done. I kind of just supply a little bit more of a high [13:36.010 --> 13:43.690] level overview of it. But the result, again, was a total of 41 recommendations for improving the [13:43.690 --> 13:51.010] security and functionality of Monero. Again, these audits only cost about $70,000, which again, [13:51.010 --> 13:56.830] barely scratches the surface of some of the budgets that these bigger organizations have for [13:56.830 --> 14:02.570] improving their software. And this was again, special thanks to the Monero Research Lab and the [14:02.570 --> 14:09.350] Monero community. And to give you a little bit of a sneak peek of another upcoming project that with [14:09.350 --> 14:17.410] the Monero Research Lab and the Monero community is CLSAG, which is code that is designed to further [14:17.410 --> 14:24.410] reduce the size of transactions and boost blockchain performance. And this really was a result of a [14:24.410 --> 14:31.290] great symbiotic relationship that OSTF had with the Monero Research Lab, because the Monero Research Lab [14:31.290 --> 14:36.990] and the Monero community has shown great interest in improving their software, really investing in the [14:36.990 --> 14:42.530] software and improving its security and functionality. And that interest has been met with [14:42.530 --> 14:48.630] action where the Monero community has contributed, the Monero Research Lab has contributed and pushed [14:48.630 --> 14:56.430] for more projects to be done. So this is still kind of in the works in terms of the audit cost and audit [14:56.430 --> 15:00.630] firm that's going to be doing the work. But we're estimating it's only going to cost between 30 and [15:00.630 --> 15:07.890] $40,000. And for the audit firm, again, still being determined, so we can find the best audit team to do [15:07.890 --> 15:20.940] the work. And once again, this is all special thanks to the Monero Research Lab and Monero community. And [15:20.940 --> 15:25.740] so to give you a little bit of a preview on what we're working on next, which actually kind of ties [15:25.740 --> 15:31.720] into Jeremy's talk this morning, so I'm really excited to be talking about this stuff. We have two [15:31.720 --> 15:40.000] really cool projects on the horizon. The first one is Unbound DNS, which is open source secure DNS. This [15:40.000 --> 15:46.980] is a critical component for Secure Certificate Authority, i.e. Let's Encrypt. This project actually [15:46.980 --> 15:55.580] came at the recommendation of the Let's Encrypt executive director, who emphasized the importance of [15:55.580 --> 16:00.600] having this software viewed because it is such a critical component. Because what we see is, especially [16:00.600 --> 16:07.520] with software, because of dependencies and components of software, you can have one piece be [16:07.520 --> 16:13.040] extremely secure. But kind of like what Jeremy was talking about this morning, if one component of that [16:13.040 --> 16:22.540] isn't secure, that essentially breaks down the whole thing. So as of June 2019, we successfully funded [16:22.540 --> 16:31.780] the audit. The audit is currently in the scheduling process. Again, it's a lot more complex process than [16:31.780 --> 16:36.000] one would think, but we are in the process of scheduling it. And something really cool that's [16:36.000 --> 16:42.520] happening with this project in particular, is because of the situation and proximity, we've [16:42.520 --> 16:48.560] actually arranged for the audit team and the development team to have a meeting, a one-on-one in-person [16:48.560 --> 16:55.640] meeting. That's likely going to be in, I believe it's Denmark, in Copenhagen. And the really cool thing about [16:55.640 --> 17:01.040] this is that it really eliminates a lot of learning curves. And the development team can really kind of [17:01.040 --> 17:06.880] guide the audit team and say, this is how we intended the software to work, this is how it should work, so [17:06.880 --> 17:14.400] the audit team can kind of audit against that and have a significantly better results from auditing the [17:14.400 --> 17:21.120] software. So the projected result, of course, it's not done yet. So I can't tell you what the direct result [17:21.120 --> 17:27.400] is. But we're anticipating significantly improved security on the web, because Let's Encrypt is [17:27.400 --> 17:34.860] fantastic. Jeremy talked about it this morning. And then securing a critical component of it will just [17:34.860 --> 17:44.200] kind of feed into that ecosystem of a strong and secure software infrastructure. And the total cost of [17:44.200 --> 17:50.560] this audit is only around $74,000. And that's special thanks to our top sponsors, Private Internet [17:50.560 --> 17:56.360] Access, and Let's Encrypt. And again, the countless other organizations and individuals who have [17:56.360 --> 18:04.240] contributed as well. And then our next project that I'm really excited about, which I think really tied [18:04.240 --> 18:13.340] in perfectly with Jeremy's talk this morning, is the Meek Heavy project. So we are looking to harden the [18:13.340 --> 18:18.960] soft spots in Meek's domain fronting. And the really cool thing about this is that it's actually a new [18:18.960 --> 18:29.200] anti-censorship tool that we are developing. And as part of our anti-censorship efforts, the focus is on [18:29.760 --> 18:37.940] implementing, exactly what Jeremy was talking about this morning, encrypted SNI and DNS over HTTPS. And this is in [18:37.940 --> 18:43.500] partnership with two great organizations, greatfire.org and the Operator Foundation. These are two [18:43.500 --> 18:48.960] organizations that are really focused on anti-censorship and putting the freedom of information and the [18:48.960 --> 18:55.820] internet back in the hands of the people who use it. And so the result is going to be a new tool with [18:55.820 --> 19:05.080] hardened security and resistance to censorship. And we are actually working on having this be an API. So [19:05.080 --> 19:12.120] essentially, you can use it concurrently with other softwares or an open VPN server. So it's going to be a [19:12.120 --> 19:17.180] lot of interoperability. And it's not just going to be a standalone thing. It's something that can be [19:17.180 --> 19:24.220] implemented in other tools, which is really exciting. And I'm excited about it, too, because part of our [19:24.220 --> 19:29.900] mission, as I mentioned earlier, strengthening the technology that we all rely on, part of that involves [19:29.900 --> 19:36.360] having to innovate and essentially innovate on current tools or existing tools to improve them and make [19:36.360 --> 19:49.240] them better. So we're really excited about this Meet Kevi project. So I'm hoping that you all today learned [19:49.240 --> 19:55.940] more about OSTF and what we do and see value in the work that we're doing. I highly recommend telling your [19:55.940 --> 20:04.300] organization about us and recommending that they get involved and donate to us. We are all essentially [20:04.300 --> 20:11.080] volunteers, we work for the cause, because we believe in the mission and the work that we're doing. So over 90% [20:11.080 --> 20:17.680] of all the funds that go into OSTF go directly towards these projects and towards improving open source [20:17.680 --> 20:27.040] software. We are heavily focused on transparency. So you can see exactly what work that we're doing, the [20:27.040 --> 20:33.440] results of our work, how the money going into the organization is spent, and where that goes. So you can feel [20:33.440 --> 20:40.500] good about where your contributions are going, which kind of ties back into what motivated us to start this [20:40.500 --> 20:48.280] organization is that other organizations that were talking a big game about improving software and improving [20:48.280 --> 20:54.600] open source software, essentially had zero transparency, you couldn't see what they were doing, what the results of [20:54.600 --> 21:01.980] their work was. And that kind of defeats the purpose, if you ask me, we're heavily committed to transparency and [21:01.980 --> 21:10.720] showing everybody the work that we do so they can feel good about the work that we're doing. So in terms of working [21:10.720 --> 21:17.300] together, I ask that you all join the movement for better open source software. We have different sponsorship tiers [21:17.300 --> 21:25.580] for corporate sponsorship. To go over those really quickly. We have our platinum sponsors, those are organizations [21:25.580 --> 21:36.000] that donate $120,000 plus annually, either in one payment or over monthly payments. That gets steering committee [21:36.000 --> 21:41.100] membership, which means you can actually help guide OSTIF and the work that we do and kind of the direction that we [21:41.100 --> 21:52.400] take and to future projects and where we go next. Next would be gold membership, which is $25,000 plus annually, or [21:52.400 --> 21:59.280] over monthly payments, as I mentioned, which gets recognition on published media, which to kind of tie that back [21:59.280 --> 22:07.360] into platinum sponsors, so all of our work is released via audit reports. So these audit reports are published [22:07.360 --> 22:13.740] publicly for everyone to see. And we've seen that they get a significant amount of coverage, especially among the [22:13.740 --> 22:22.820] security, the security communities. And so our top sponsors, they get recognition on those reports. So they get [22:22.820 --> 22:30.740] significant coverage as a result, showing that they are participating in improving open source software. Another perk of [22:30.740 --> 22:37.360] gold membership is what's called advisory council membership, which is essentially a direct line to the OSTIF board to [22:37.360 --> 22:47.320] kind of help guide us as well, and help us with our work. Lastly, we have silver and bronze. So that gets shout outs on [22:47.320 --> 22:58.750] social media, and allows you to support a great cause. You can also follow us on Twitter, we're at OSTIFOfficial. And our [22:58.750 --> 23:07.310] website is HTTPSOSTIF.org, which on the website is where we maintain our transparency blog. Again, to go into the [23:07.310 --> 23:15.150] transparency part of it, we keep everyone abreast on the work that we're doing and and everything that's both happening now [23:15.150 --> 23:22.190] and coming up in the future. So you can always be up to date on what we're working on, as well as view all of our previous [23:22.190 --> 23:29.470] audit reports, and a lot of the work that we're doing there and the different individuals and organizations that we've been [23:29.470 --> 23:41.210] able to bring together to improve open source software. Yeah, and so again, I'm really hoping that you're all feeling [23:41.210 --> 23:48.230] empowered today as a result of this talk, because I firmly believe that us as individuals, we have a lot of power. We [23:48.230 --> 23:56.930] essentially are the masters of our own world and have the ability to believe what we want and think how we please. And as a [23:56.930 --> 24:03.170] result, we influence those around us, our friends, our families, our co workers. And there really is a lot of power in that, [24:03.170 --> 24:14.510] especially when people come together to support great causes. And to support great causes and to do work, impactful work, that's [24:14.510 --> 24:22.590] really going to benefit everybody. And so I'm really hoping that you feel empowered, you get involved, every bit helps. We are on [24:22.590 --> 24:30.470] Amazon smile as well, which in which Amazon donates a small portion of your Amazon purchases, which if you're like essentially [24:30.470 --> 24:37.870] everyone nowadays, I know you all buy all your stuff on Amazon now. So it's the easiest way to support OSTF because you literally have to [24:37.870 --> 24:49.690] do zero work. Just go to smile.amazon.com and choose OSTF as the organization you'd like to support. And we get a small portion of all of [24:49.690 --> 24:58.630] your Amazon purchases. Another ways you can get involved is personally again, tell your organization about us, spread the word. If you [24:58.630 --> 25:05.770] have any questions, as Diego mentioned, I'm going to be at the table up here for a little bit. So I'd love for you guys to come over. Let's [25:05.770 --> 25:13.970] have a discussion. Let's talk about how we can work together and increase our impact on open source software and securing the technology [25:13.970 --> 25:21.190] that we essentially all rely on. And I'd be happy to take your questions over there. I just want to thank everybody again. I want to [25:21.190 --> 25:29.830] thank Justin and Serang and everybody from the Monero Research Lab and the Monero community that helped make this happen. And I want to thank you [25:29.830 --> 25:37.470] all today for being here. I know I'm a little done a little couple minutes early, but that gives you some time to freshen up, get some coffee or [25:37.470 --> 25:43.270] water or something. But again, thank you guys so much today. I really appreciate you all being here. Thank you DEF CON and everybody and the [25:43.270 --> 25:49.050] Monero village. And yeah, I look forward to talking to you all. And yeah, have a great rest of your day. Thank you.