1 00:00:00,000 --> 00:00:03,980 Now, without further ado, we have our next two speakers. 2 00:00:03,980 --> 00:00:08,940 Cory Hudson is a computational biologist at Sandia National Laboratories. 3 00:00:08,980 --> 00:00:15,200 Cory leads teams in cybersecurity, machine learning, symbio, and genomics. 4 00:00:15,200 --> 00:00:26,100 His main work is modeling and simulating cybersecurity risks in realistic and large-scale genomic systems and highly automated symbio facilities. 5 00:00:26,300 --> 00:00:35,380 And his co-speaker, Charles Frachia, is a bioengineer who has worked at the intersection of biology and computer science for the last decade. 6 00:00:35,720 --> 00:00:44,400 He is the founder and CEO of BioBright, a company dedicated to making biomedical workflows more data-centric and secure. 7 00:00:44,400 --> 00:00:47,100 And now, without further ado, please welcome our speakers. 8 00:00:59,150 --> 00:01:00,110 Thanks so much. 9 00:01:00,110 --> 00:01:03,310 We're going to do a back and forth a couple times on this. 10 00:01:03,650 --> 00:01:27,330 I'm going to be talking today, and Charles and I are going to be talking about a particular buffer overflow in a common piece of genomic software that leads to some really unexpected and unintended consequences, and how this is a more general case of some issues that are really common in biomedical file formats. 11 00:01:29,010 --> 00:01:38,510 So, over the last decade, really over the last two decades, costs of genomics have rapidly declined. 12 00:01:38,590 --> 00:01:46,350 It was expected that we'd be at about a penny a genome, but really we're at about $1,000 a genome. 13 00:01:46,350 --> 00:01:48,570 It stayed pretty steady for a long time. 14 00:01:48,570 --> 00:02:04,310 But since it hit $1,000, what dramatically happened is that the value of just doing genomics in general became much easier and much more simple than doing standard genetic tests. 15 00:02:04,970 --> 00:02:06,710 You get a lot more out of it. 16 00:02:06,710 --> 00:02:10,210 There's a lot more reason to move to genomics in general. 17 00:02:10,210 --> 00:02:13,170 And this is being driven by two characteristics. 18 00:02:13,170 --> 00:02:16,370 One is that there are healthcare drivers in genomics. 19 00:02:16,590 --> 00:02:22,310 Genomics allows you to segment and split up populations based on disease prevalence. 20 00:02:22,310 --> 00:02:38,190 It allows you to take individuals that may have a particular phenotype that is, the correct precision treatment for them. 21 00:02:38,190 --> 00:02:44,530 That's what we're talking about when we're talking about precision medicine in general, is this use. 22 00:02:44,810 --> 00:02:48,910 The second main driver in this has been an industry. 23 00:02:48,910 --> 00:02:57,910 And this industry has been growing considerably and has been really motivating a lot of the work that's happening in genomics. 24 00:02:58,330 --> 00:03:10,910 The issue is that you have two highly commercial fields with high amounts of data sensitivity, industry, and the medical field coming out of genomics. 25 00:03:10,910 --> 00:03:17,670 But this whole environment really came out of a much different trust model. 26 00:03:17,670 --> 00:03:27,890 The trust model for genomics over the last 20 years has really been about academia and academic collaboration. 27 00:03:28,210 --> 00:03:46,790 And so there was no necessary need to secure the system or to make sure that you weren't writing code that could potentially be incredibly risky, in large part because the individuals who were interacting all knew each other in some way or another and could trust each other. 28 00:03:46,790 --> 00:03:54,410 This is very similar to what happened with the rapid growth of the internet and the standardization that had to happen in the 90s. 29 00:03:55,470 --> 00:04:03,030 And so what this has led to is a coalescence around standardization and automation within this field. 30 00:04:04,670 --> 00:04:16,790 Yeah, so one of the things is if you look at the birth of modern biomedicine, especially experimental biomedicine, early 1600s, everything was manual. 31 00:04:16,790 --> 00:04:21,590 We would select a subject, with our hands, or dissect a cadaver with our hands. 32 00:04:21,590 --> 00:04:25,910 We'd observe what's happening with our hands, and then we'd make an analysis in our heads. 33 00:04:25,910 --> 00:04:31,390 And obviously some of those analyses are kind of comical these days, or our understanding is comical. 34 00:04:31,390 --> 00:04:33,850 But today, things have completely changed. 35 00:04:33,850 --> 00:04:37,910 We're really turning into a digitally driven workflow completely. 36 00:04:38,030 --> 00:04:48,490 And I would say that this has changed in the last, say, 10 years or 15 years, where this entire environment has moved from a manual process to a more digitally and automated workflow. 37 00:04:48,490 --> 00:04:52,110 So now we have liquid handlers that automate the subject selection. 38 00:04:52,110 --> 00:04:57,430 We have automated microscopes that will take pictures and images of what we're collecting. 39 00:04:57,430 --> 00:05:10,850 And then we have even automated analysis, which is an area of very rapid growth right now, especially in industry, where we're using, you know, kind of novel algorithms and statistical learning to describe what is going on in the sample itself. 40 00:05:11,210 --> 00:05:21,510 So if you were to map out what the stack, what the biodigital stack looks like today, you're actually using software at every single one of those environments. 41 00:05:21,510 --> 00:05:23,010 You're using it at the design step. 42 00:05:23,010 --> 00:05:28,310 So you're using computer-aided design tools to generate your materials that you will then order. 43 00:05:28,310 --> 00:05:33,970 Then you will get those built either as a service, in which you can order DNA and get it back. 44 00:05:33,970 --> 00:05:37,530 So you literally send bites and you get DNA back. 45 00:05:37,990 --> 00:05:40,710 So those will be automated with machines. 46 00:05:40,710 --> 00:05:49,470 And then the testing part where you will have an assay, that's perhaps the most manual today still, but that's very rapidly being automated. 47 00:05:49,470 --> 00:05:56,590 And finally, once you get the results from that test, you're using bioinformatic tools, software, to analyze those results. 48 00:05:58,050 --> 00:06:00,250 And so what does that look like today? 49 00:06:00,250 --> 00:06:01,710 Just a quick example. 50 00:06:01,710 --> 00:06:19,130 So as I said, you can actually design a plasmid in software, something like Genius or, let's see, I'm blanking on the name of the other one, but there's a number of tools or Vector NTI or things like that, where you're actually designing soft... you're using software to design your plasmid. 51 00:06:19,130 --> 00:06:23,530 You then order it at a DNA synthesis company and you get the vial back, right? 52 00:06:23,590 --> 00:06:29,990 And then you will build that into your biological systems using liquid handling robots. 53 00:06:30,770 --> 00:06:33,090 Once you do that, you culture it up. 54 00:06:33,110 --> 00:06:34,830 You end up getting plates like this. 55 00:06:34,830 --> 00:06:38,090 You will pick individual clones and those will get sequenced. 56 00:06:38,090 --> 00:06:42,490 Again, every one of these steps have both digital inputs and digital outputs. 57 00:06:42,490 --> 00:06:49,790 And at the end, you'll analyze the digital results using bioinformatic pipelines with bioinformatics tools. 58 00:06:49,870 --> 00:07:02,310 So what really has kind of snuck up on us in this field is that all of the critical workflows in biology and biological research rely on digital tools. 59 00:07:03,350 --> 00:07:06,830 So what happens if those are denied, right? 60 00:07:06,830 --> 00:07:11,790 What happens if there's a denial of service or a crash or whatever happens on these tools? 61 00:07:11,790 --> 00:07:13,070 What happens then? 62 00:07:13,350 --> 00:07:21,330 And so in order to understand what the impact would be, you really need to understand how deeply these tools are connected and where do they come from in the first place. 63 00:07:22,130 --> 00:07:29,370 So the reality is that the vast majority of these tools actually come from an academic environment, at least at the very beginning. 64 00:07:29,630 --> 00:07:44,030 So the vast majority of these tools, things like, you know, BioPython or BioConductor, Gentle, Gromacs, Integrated Genome Browser, all of these are actually academic software at their roots. 65 00:07:44,330 --> 00:07:55,590 And unfortunately, one of the issues with academic software, which come out of PhD theses or whatnot, is that they actually don't get supported once the student graduates or rarely do. 66 00:07:55,590 --> 00:07:57,710 This is one of the major issues that we have. 67 00:07:57,710 --> 00:08:04,690 So just looking at the list of alignment software, this is just genomic alignment software that is from academia, just a small list. 68 00:08:04,690 --> 00:08:06,550 I don't know if you can read it, probably not. 69 00:08:07,750 --> 00:08:20,250 But it's to tell you how many of these are actually either reproducing the same functionalities or having a small improvement, and they end up as kind of stale code on GitHub at best, or at worst, just as part of a paper. 70 00:08:22,290 --> 00:08:31,350 On the business side, not to say that there aren't any tools that come from industry, there are lots of them, but they tend to follow the same kind of environments. 71 00:08:31,350 --> 00:08:35,550 They're monolithic software that's been around for decades in many cases. 72 00:08:35,630 --> 00:08:41,350 The release cycles are not modular, it's not fast, it's not lean in most cases. 73 00:08:41,410 --> 00:08:48,330 And so you have some of these tools that have been there forever that haven't been audited, and yet the trust model has changed. 74 00:08:48,870 --> 00:08:59,790 So putting that into context, today, what we're going to be talking about is vulnerability in BWA, which is one of the academic software that's more alignment-focused. 75 00:09:00,010 --> 00:09:03,970 So Cory's going to talk about the vulnerability, and then we'll wrap up a little bit later. 76 00:09:07,740 --> 00:09:19,680 So the way that genomics works in terms of actual data flow is you have a machine, an Illumina sequencer typically, that's producing terabytes of images. 77 00:09:19,680 --> 00:09:27,960 Those terabytes of images are being transferred through a lot of pieces of software until you ultimately get some genetic variance. 78 00:09:28,160 --> 00:09:33,820 Once you get the genetic variance, then you're making clinical decisions based on that. 79 00:09:34,220 --> 00:09:44,120 The reason that the software gets transferred so many times through so many kinds of software is in large part because of the technology. 80 00:09:44,120 --> 00:09:57,960 So the technology, the way that it developed was to to do, to split the genome into really small pieces, and then to put those pieces together, or to map those pieces onto a reference. 81 00:09:58,180 --> 00:10:01,500 The software then has to interact in an environment. 82 00:10:01,520 --> 00:10:11,840 It's interacting with the sequencer, it's interacting with a firewall, it's interacting with government databases, and with software repos. 83 00:10:11,840 --> 00:10:17,320 Somehow it's going through a lot of tracks and paths before it gets to where it wants. 84 00:10:17,320 --> 00:10:39,760 And so my team had a particular question that we wanted to look at, and it was, could you hack the raw data using an in-the-wild vulnerability in this BWA software, or any software, to lead to a potentially malicious clinical outcome? 85 00:10:39,760 --> 00:10:50,280 Could you change it so that using only standard security assumptions, you had the data and it was completely corrupt, the entire raw data? 86 00:10:50,280 --> 00:10:57,900 You would have to resequence every individual to get the data back, and the outcome would be completely different. 87 00:10:58,320 --> 00:11:05,780 And so to do this, we looked into the main software pipeline that's been developed. 88 00:11:05,780 --> 00:11:13,020 This is the one that's going to be at most of your hospitals or most of the places that they're doing precision medicine to collect variants. 89 00:11:13,060 --> 00:11:18,000 They're going to run through what's called the Broad Institute GATK pipeline. 90 00:11:18,260 --> 00:11:25,860 And the first tool, the very first one that isn't just basic preprocessing, is one called BWA. 91 00:11:25,940 --> 00:11:36,720 And what BWA does is take a human genome and then map the reads that are coming off the sequencer back onto it. 92 00:11:37,100 --> 00:11:41,100 But we all kind of know that there's not just one human genome. 93 00:11:41,120 --> 00:11:47,380 There's all of our human genomes, and we're all more or less the same, give or take, about 20 megabytes. 94 00:11:47,380 --> 00:11:52,200 Like me and the person in this room, who are the furthest distance, are about 20 megabytes apart. 95 00:11:52,200 --> 00:11:55,000 But those 20 megabytes can be all over the genome. 96 00:11:55,300 --> 00:12:09,080 And so the more sophisticated techniques, and the one that BWA developed in 2014, was not to just map it to a direct genome, but really to map it to what they called an alt-aware. 97 00:12:09,160 --> 00:12:16,360 So, knowing that there's alternative potential alleles at various points in the genome. 98 00:12:17,080 --> 00:12:18,600 So, this was rushed through. 99 00:12:19,020 --> 00:12:26,920 It was an add-on to the main software that sort of showed up much later. 100 00:12:28,220 --> 00:12:36,580 But to have this kind of data, this population data, it doesn't make sense for any particular lab to have it, or for you to hold all this data yourself. 101 00:12:36,580 --> 00:12:46,400 It makes sense to have this at a major repo, where everyone's sort of collecting all the open source data and building this index for all the genomes out there. 102 00:12:46,400 --> 00:12:48,480 And this is done through NCBI. 103 00:12:50,200 --> 00:13:02,080 And so, BWA provides a tool that just downloads these indexes, which are actually pretty big from NCBI, and then the user stores them and runs the software as they want. 104 00:13:02,180 --> 00:13:15,760 So, in terms of how the software actually interacts with the environment, we have a tool called BWA that's interacting with these files, which are unencrypted plain text files called FASTQ files. 105 00:13:16,020 --> 00:13:26,160 They're interacting with GitHub through, uh, repo updates, and they're interacting with NCBI in terms of how they, uh, how they go back and forth. 106 00:13:26,160 --> 00:13:32,320 And ultimately, they're producing, um, uh, something called a SAM file, which is just a, um, an alignment. 107 00:13:32,320 --> 00:13:40,020 So, every individual, uh, that's run in it, you see where they fit relative to the, to a reference genome. 108 00:13:40,500 --> 00:13:47,240 And so, when we went looking for vulnerabilities, this BWA is, is written in C. 109 00:13:47,680 --> 00:13:53,240 And so, you kind of know where you're going with that for your first steps, at least. 110 00:13:53,720 --> 00:14:06,600 Um , so, in auditing the, the software and looking into it, this is the all-to-wear part that I mentioned is, shows up in 2014 as a new capability. 111 00:14:07,260 --> 00:14:19,100 And you look at it, and one of the easy first steps to go at in this, uh, is to look in the comment code and see where, or in the issues, and see where it's segfaulting. 112 00:14:19,480 --> 00:14:32,780 And when people are running this, what's happening is, uh, this particular, uh, part of the code right here, they had already recognized this causes a segfault, um, it, it, and the vulnerabilities. 113 00:14:32,780 --> 00:14:35,700 And so, then we asked the question, could we induce the segfault? 114 00:14:35,700 --> 00:14:42,460 Could we take control of the buffer, um, by doing that and take some, some command over the system? 115 00:14:42,840 --> 00:14:53,760 And, uh, so, so we, we developed a, a buffer overflow, um, uh, delivered it to the software and unsurprisingly, uh, had a segfault. 116 00:14:53,980 --> 00:14:58,140 So, we know how the exploit can happen at this point, but how do we get to it? 117 00:14:58,140 --> 00:15:01,120 Um, how do we get to the soft, to the actual software? 118 00:15:01,120 --> 00:15:08,640 Let's assume that the data that's in the database or that, um, is coming off the fast queue can't be touched. 119 00:15:08,640 --> 00:15:12,020 We're not allowed to sort of manipulate that directly. 120 00:15:12,020 --> 00:15:15,260 Well, what we have is the interactions with NCBI. 121 00:15:15,260 --> 00:15:28,260 So, NCBI assumed a particular threat model, which is that they were providing open source data, so they didn't need to encrypt their traffic, but they don't provide checksums. 122 00:15:28,260 --> 00:15:40,500 So, this is, it's common to deliver the data over unencrypted channels, but you need to provide checksums, otherwise there's no one, there's no guaranteeing that, that you've, um, that you've got what you wanted. 123 00:15:40,500 --> 00:15:49,600 And so, they're delivering these indices, which are 3.3 gigabytes in size over an unencrypted channel. 124 00:15:50,000 --> 00:15:51,160 So, what do you do? 125 00:15:51,880 --> 00:15:53,300 Sit on the network. 126 00:15:53,540 --> 00:16:14,940 Sit on the network, um, deliver some art, poisoning attacks, access the data as it's coming through, you know where to look for it coming from, because it's having to go to this particular FTP site, interact with it in the middle, change the format, have it go out the back end. 127 00:16:15,560 --> 00:16:21,580 And so, in terms of crafting the exploit, um, we set some particular limitations. 128 00:16:21,840 --> 00:16:26,200 Um, we wanted to turn a single A into a C. 129 00:16:27,340 --> 00:16:33,320 We didn't want to change all the A's into C's, just one particular instance in the genome. 130 00:16:33,320 --> 00:16:45,040 And we wanted to make it affect the raw data, so that if this exploit was run, the entire raw database would be suspect and corrupted. 131 00:16:46,820 --> 00:16:52,820 And so, to do that, or to design the actual target, we did a trick from PCR. 132 00:16:52,820 --> 00:16:54,340 So, the polymerase chain reaction. 133 00:16:54,340 --> 00:17:06,900 When you want to target a particular nucleotide in a wet lab, what you do is you design things called primers, which are sequences on either side of the nucleotide you're looking for. 134 00:17:06,900 --> 00:17:08,700 And so, we could do that. 135 00:17:08,720 --> 00:17:15,320 Um, we decided to craft an exploit using that, and we targeted a particular A on the 12th chromosome. 136 00:17:15,320 --> 00:17:16,480 It was a random choice. 137 00:17:16,480 --> 00:17:20,740 This isn't particularly clinically meaningful, but it can be done with any one. 138 00:17:20,740 --> 00:17:23,500 This was just the one we hit on. 139 00:17:23,520 --> 00:17:29,860 And seven base pairs upstream and nine base pairs downstream is all you need to target that site uniquely. 140 00:17:30,580 --> 00:17:34,600 And so, the actual exploit ends up looking like this. 141 00:17:34,600 --> 00:17:41,500 You have the first part, um, in, in blue, the part that triggers the, the overflow. 142 00:17:41,580 --> 00:17:54,900 You then, um, uh, create a shell, uh, issue some sed commands that are overriding every fast Q file and turning the sequence at the beginning into that sequence at the end. 143 00:17:54,900 --> 00:18:02,920 If you notice, all that is different between those minus the regular expressions that have been added in is an A being turned into a C. 144 00:18:03,240 --> 00:18:05,640 Then you live off the land a little bit. 145 00:18:05,640 --> 00:18:25,200 You, um, you take, uh, a hidden file that you've put into this 3.3 gigabyte file, um, you overwrite the index to the right index , restart the program as, as it's supposed to run, and then you've changed all the F, uh, dot FQ files in the directory. 146 00:18:25,620 --> 00:18:29,460 So, all your, all your, um, data is potentially corrupted. 147 00:18:29,840 --> 00:18:35,220 So, the question that we had is if we run this, what are the, what's the outcome? 148 00:18:35,220 --> 00:18:39,100 And so, I'll, I'll, um, this is the pipeline. 149 00:18:39,100 --> 00:18:42,040 We want to look at the very end of the pipeline now. 150 00:18:42,040 --> 00:18:46,880 These, what are called the VCF files, which are just the variant, variant calling format files. 151 00:18:47,000 --> 00:18:48,440 Are those different? 152 00:18:48,440 --> 00:18:56,140 If you, if you ran this, did you end up with an adverse clinical outcome or an adverse, um, uh, potential outcome? 153 00:18:56,140 --> 00:18:58,400 So, we set up three experiments. 154 00:18:58,400 --> 00:19:13,480 So, I'll say right up front, we worked with, um, the BWA developers to issue a patch on this, um, and did some responsible disclosure on that so that a patch did exist before we, um, before we ran this analysis. 155 00:19:13,520 --> 00:19:21,860 And so, the first version of this is we, we run all the standard analysis with, um, no patch, but no exploit. 156 00:19:21,880 --> 00:19:33,080 We then, um, run the analysis, uh, unpatched with the payload, um, where we, all we're doing is changing the A to a C, and then we run it, uh, patched with the payload. 157 00:19:33,340 --> 00:19:39,940 And so, it's important to, to understand what we're trying to do here. 158 00:19:40,180 --> 00:19:46,140 Um, so really what we're trying to do is see what you would see at the very end. 159 00:19:46,140 --> 00:19:53,480 Most of the people who are analyzing this data are not doing the IT and not doing the bioinformatics well beforehand. 160 00:19:53,480 --> 00:19:56,000 All they're getting is a variant in front of them. 161 00:19:56,000 --> 00:20:10,620 They're getting a case, um, that this individual has a, um, a C phenotype here, um, or an AC, um, heterozygous phenotype, uh, genotype, I mean. 162 00:20:10,620 --> 00:20:14,680 And as a result, um, they're making clinical decisions. 163 00:20:14,680 --> 00:20:18,220 So, there's 200 medicines that currently require a genetic test. 164 00:20:18,260 --> 00:20:33,760 Right now, those are being, being done with standard genetics, by and large, but there's, as genomics increases, like I was talking about in, in the end, there's, or in the beginning, there's no reason why you wouldn't do this using a genomics technique. 165 00:20:33,760 --> 00:20:37,500 You would, you would do a lot more tests at once as a result of it. 166 00:20:37,720 --> 00:20:53,320 And so, when we ran the first experiment, um, the unpatched version with no exploit, um, what we found was an individual, uh, all the, uh, raw data when it was run through at the final result always led to the genotype AA. 167 00:20:53,640 --> 00:21:00,380 So, uh, uh, we're deployed organisms, we have an A in both positions. 168 00:21:01,000 --> 00:21:09,560 So, because of how we run, ran the exploit and because of the sequence it looked at, the raw data doesn't know the direction of the DNA. 169 00:21:09,560 --> 00:21:12,640 So, it only changes it in one direction. 170 00:21:12,640 --> 00:21:15,360 It doesn't change it in the other direction. 171 00:21:15,360 --> 00:21:19,100 So, what we get is not a CC, but an AC. 172 00:21:19,200 --> 00:21:24,440 So, now an individual has a different genotype and potentially a different phenotype for this. 173 00:21:24,440 --> 00:21:29,840 They have a, a different clinical outcome from this. 174 00:21:29,840 --> 00:21:35,780 And we find that in the statistics of this, this is highly statistically significant as a result. 175 00:21:36,260 --> 00:21:45,020 Um, in, in the first case we ran it, it's, um, a probability, uh, less than, uh, two to the negative 200. 176 00:21:45,180 --> 00:21:51,740 Very highly non-random that, that this would, uh, that this would happen by chance. 177 00:21:51,740 --> 00:21:56,280 Um, in all the others it was, uh, uh, similarly high in, in terms of it. 178 00:21:56,280 --> 00:22:03,020 In any statistical test that a clinician is going to do, you're going to end up with, um, some significance there. 179 00:22:03,040 --> 00:22:24,800 And then when we ran it on the patched because we wanted to see how this actually looked when we, um, when we deployed the same experiment on the patched version, uh, we, thankfully and unsurprisingly, uh, uh, the software failed and it failed in the way that you hope it fails in this sort of situation where it just tells you, 180 00:22:24,800 --> 00:22:27,080 uh, we, we, we couldn't run this off. 181 00:22:27,080 --> 00:22:29,860 We couldn't run what we, what we wanted to abort. 182 00:22:30,000 --> 00:22:33,000 And so this is the result of this experiment. 183 00:22:33,000 --> 00:22:45,040 This is, um, not the world's most sophisticated piece of malware or sophisticated vulnerability, but it shows you, uh, a new area of where the vulnerability space is. 184 00:22:45,040 --> 00:22:47,340 So this is attacking raw data. 185 00:22:47,340 --> 00:22:49,760 This is using existing software. 186 00:22:49,760 --> 00:22:54,680 It's making very few security assumptions that are, um, that are not standard. 187 00:22:54,680 --> 00:23:01,440 And as a result, you're leading to potentially, uh, uh, some really bad, uh, possible clinical outcomes. 188 00:23:02,840 --> 00:23:03,640 Yeah. 189 00:23:04,580 --> 00:23:11,600 So, um, how I'm just curious, how many people in the room are biologists or have a genetics background? 190 00:23:12,560 --> 00:23:13,400 Awesome. 191 00:23:13,460 --> 00:23:22,280 So, um, the TLDR of that is basically that with a very simple exploit , you can change the clinical outcome for a patient. 192 00:23:22,560 --> 00:23:29,960 So by just doing a very simple exploit, you can actually change how a patient is going to get treated based on how they come out of this diagnostic test. 193 00:23:30,280 --> 00:23:34,020 Not something that we want to be happening in hospitals and environments. 194 00:23:34,420 --> 00:23:38,580 Um, which is why we're trying to raise awareness about these kinds of problems. 195 00:23:39,960 --> 00:23:44,620 And that's precisely the point is that this is kind of a larger problem in our field. 196 00:23:44,700 --> 00:23:54,720 Um, if we look at the biological, the biodigital stack, as I explained it earlier, and we look at it with an adversarial approach, um, what are the areas that we can attack actually? 197 00:23:54,720 --> 00:23:56,560 Well, um, pretty much all of them. 198 00:23:56,560 --> 00:23:58,600 The design step is vulnerable. 199 00:23:58,600 --> 00:24:00,220 The build step is vulnerable. 200 00:24:00,220 --> 00:24:01,620 The test step is vulnerable. 201 00:24:02,100 --> 00:24:07,660 And, uh, bioinformatics analysis pipeline, which is what we were talking about today, is vulnerable. 202 00:24:07,860 --> 00:24:24,240 And so if you think about what is the broader issue that we are tackling or we, we, we really have on our hands here, uh, in our field, um, is that it's actually, these vulnerabilities are just all over the map and we need to start fixing them. 203 00:24:24,560 --> 00:24:30,200 So, um, one way to look at it is what are the instruments and what are the tools that are actually at our disposal? 204 00:24:30,200 --> 00:24:33,380 So there are things, um, there's sequencers, there's mass spectrometers. 205 00:24:33,380 --> 00:24:37,760 This is a kind of a abridged list of all the instruments that are available in our workflows. 206 00:24:37,880 --> 00:24:53,980 Uh, in fact, if you were at the biohack here village, uh, four years ago or three years ago, I forget when I gave my first talk here, but, uh, I showed how we reverse engineered freezers and, and, and fridges, um, and how you could actually attack those too. 207 00:24:53,980 --> 00:24:58,160 Obviously, if you attack those, you could destroy all of the reference material that's in the freezers. 208 00:24:58,160 --> 00:25:02,540 That constitutes millions of dollars of work, um, often. 209 00:25:02,540 --> 00:25:04,480 So, uh, and this is just one of them. 210 00:25:04,480 --> 00:25:14,260 So if we look at this instrument list, let's look at the ones that have significant digital inputs, the ones that actually take files or digital input into their, into, uh, the normal course of operation. 211 00:25:14,580 --> 00:25:16,000 Sequencers obviously do that. 212 00:25:16,000 --> 00:25:17,380 Mass spectrometers, same thing. 213 00:25:17,520 --> 00:25:22,100 Uh, uh, mass spectrometers actually rely on a lot of similar approaches. 214 00:25:22,100 --> 00:25:31,560 It's not a reference file, but similar kind of ideas where there are tons of reference materials that are imported that are necessary to understand what, uh, output you're getting. 215 00:25:31,560 --> 00:25:37,420 Things like bioreactors, bioreactors is what's used to produce the medicines that we all consume. 216 00:25:37,700 --> 00:25:40,640 Um, so what would happen if you could deny those? 217 00:25:40,800 --> 00:25:43,020 Uh, filtration machines, same thing. 218 00:25:43,020 --> 00:25:45,940 Um, et cetera, go on and on and on. 219 00:25:46,180 --> 00:25:49,000 Um, not only that, but what do they output? 220 00:25:49,000 --> 00:25:51,560 And so I tried to make a very simple color gradient here. 221 00:25:51,560 --> 00:25:53,960 You know, how much data do they output? 222 00:25:53,960 --> 00:25:56,020 So sequencers actually output quite a bit of data. 223 00:25:56,020 --> 00:25:59,320 Uh, high content imagers, which we work with a lot. 224 00:25:59,320 --> 00:26:04,360 Um, it's not uncommon for those to output hundreds of thousands of files per day. 225 00:26:04,620 --> 00:26:08,020 So think about the kind of the human computer interaction problem here, right? 226 00:26:08,020 --> 00:26:15,520 There's hundreds of thousands of files being output by a machine overseen by one, often one human or a small team of two humans. 227 00:26:15,900 --> 00:26:20,200 And you are trying to comb through those to see if there are any exploits. 228 00:26:20,200 --> 00:26:21,300 Not going to happen. 229 00:26:21,300 --> 00:26:22,880 We just need better tools, right? 230 00:26:23,460 --> 00:26:29,680 So again, uh, what does the biodigital stack look like and what can you attack at each one of those steps? 231 00:26:29,680 --> 00:26:34,480 So on the design step, you're going to be attacking software and file formats. 232 00:26:34,480 --> 00:26:40,000 Um, this is, those are being consumed by the software itself to generate in, uh, instructions. 233 00:26:40,000 --> 00:26:44,880 At the build and test step, you're going to be looking primarily at firmware and operating systems. 234 00:26:45,120 --> 00:26:52,660 And finally, again, uh, as we explained today in one example, uh, you're going to be attacking software and file formats in the analysis step. 235 00:26:53,680 --> 00:26:56,500 So the vulnerability landscapes looks like this. 236 00:26:56,500 --> 00:27:02,160 On the software side, you've got things like private, um, privilege escalation and remote execution, which are rife in the software. 237 00:27:02,160 --> 00:27:09,520 Again, this is software that has been around for decades in many cases and not really looked at from a security perspective. 238 00:27:09,540 --> 00:27:15,660 File formats, we explained today how some of the alt file, um, can actually lead to buffer overflows. 239 00:27:15,660 --> 00:27:19,300 Um, you can also have kind of more of a denial of service, a corruption. 240 00:27:19,300 --> 00:27:24,480 What if you could actually just corrupt the files going through the wire and stop the whole pipeline? 241 00:27:24,480 --> 00:27:32,320 You know, you could actually deny a, uh, medical decision being made by just kind of seizing up the pipeline, the workflow. 242 00:27:32,880 --> 00:27:39,060 And so, uh, the firmware, same thing, you can lead to kind of biological or workflow level denial service. 243 00:27:39,180 --> 00:27:42,040 Uh, same thing, you can also do a financial attack on these things. 244 00:27:42,040 --> 00:27:53,300 So what if, if you actually time your attack, uh, just right, you can actually lead to something like 80, 90 percent of all the cost of goods of producing a, a drug going down the drain. 245 00:27:53,680 --> 00:28:01,900 That's gonna destroy, uh, a pharmaceutical company's ability to actually produce the drug and eventually putting it on the shelf so we can consume it. 246 00:28:02,500 --> 00:28:10,520 Uh, and on the operating system side, I just wanted to make a special slide for that because this is what we, uh, typically look at. 247 00:28:10,560 --> 00:28:13,500 Uh, unfortunately this is very, very, very common. 248 00:28:13,780 --> 00:28:18,640 Um, the OS is often Windows XP or if you're lucky, Windows 7. 249 00:28:18,800 --> 00:28:23,380 Um, it often has to be connected because it's generating hundreds of thousands of files. 250 00:28:23,380 --> 00:28:27,800 And so, you know, you're not gonna be moving those with USB sticks, although some, some of our customers do. 251 00:28:27,920 --> 00:28:31,220 Um, and often it's connected using SMBV1. 252 00:28:31,220 --> 00:28:33,760 So it's, it's often vulnerable to eternal blue. 253 00:28:33,920 --> 00:28:41,880 Now the kicker is, the scientists are not allowed to upgrade any of these machines because it actually impacts their ability for the machine to actually work. 254 00:28:42,180 --> 00:28:47,120 And that's something that's really unique in the biological space is that the scientists don't even have the means. 255 00:28:47,460 --> 00:28:49,200 We're not talking about the, the knowledge. 256 00:28:49,200 --> 00:28:55,360 We're talking literally, I would like to upgrade this machine because I'm uncomfortable with having a Windows XP machine that's connected off to the internet. 257 00:28:56,180 --> 00:28:59,800 Um, and, and they're just not allowed to, right? 258 00:29:00,080 --> 00:29:13,980 So this is kind of how we feel when we look at, it's high, high time that we work together to try to fix these problems. 259 00:29:14,200 --> 00:29:22,080 Um, you know, Corey and his team and my team are working towards this, but we need to have more folks, uh, have eyeballs on this. 260 00:29:22,640 --> 00:29:29,380 Uh, and as I said, uh, cyber biosecurity is kind of unique because there's this tension between the scientists and the IT department. 261 00:29:29,380 --> 00:29:33,020 And every time the IT department is gonna lose. 262 00:29:33,100 --> 00:29:35,980 Because it's, the conversation kind of goes like this. 263 00:29:35,980 --> 00:29:38,940 The IT department goes like, hey, you really shouldn't have this thing on the network. 264 00:29:38,940 --> 00:29:40,020 It's really awful. 265 00:29:40,020 --> 00:29:44,240 And the scientist goes like, yep, but I can't do my job if I don't have it. 266 00:29:44,460 --> 00:29:46,060 And that's, that's one of the issues. 267 00:29:46,060 --> 00:29:48,640 So the scientist is always going to win unfortunately on this one. 268 00:29:48,640 --> 00:29:54,500 Not only that, but IT departments and pharma companies and, and, uh, biotech are often seen as cost center. 269 00:29:54,500 --> 00:30:00,740 They're not really seen as kind of, uh, um, an actor that can help and really contribute to some of these issues. 270 00:30:01,540 --> 00:30:03,620 So here's what needs to happen. 271 00:30:03,620 --> 00:30:06,000 Uh, I said starting now, but really yesterday. 272 00:30:06,020 --> 00:30:11,000 Um, one, we need to have hardened parses for common formats. 273 00:30:11,760 --> 00:30:13,420 Really, really, really important. 274 00:30:13,420 --> 00:30:15,960 And, um, we're working on some of these things. 275 00:30:15,960 --> 00:30:24,000 Nothing we can announce right now, but, uh, if you are interested in this field, in this environment and you can help contribute, please come and talk to us afterwards. 276 00:30:24,240 --> 00:30:30,600 Second, and this is pretty obvious, but we need bug bounties specifically for key software in our field. 277 00:30:30,740 --> 00:30:30,980 Okay. 278 00:30:30,980 --> 00:30:32,220 And this is important. 279 00:30:32,220 --> 00:30:41,480 Why is that different from a traditional bug bounty is that a very low, very simple cyber vulnerability can lead to an enormous biological vulnerability. 280 00:30:41,480 --> 00:30:48,040 A very simple thing can actually lead to a, a, a denial of, of, uh, uh, production of an entire drug. 281 00:30:48,240 --> 00:30:59,340 Uh, and there are example out in the wild with pharma companies being hit by ransomware and things like this, where it actually leads to very clear problems, um, in the manufacturing supply chain. 282 00:30:59,560 --> 00:31:05,980 And finally, um, you know, instrument manufacturers should really publish file format specs and parser code. 283 00:31:06,720 --> 00:31:11,380 We are only going to be able to fix this if we put more eyeballs on it. 284 00:31:11,440 --> 00:31:15,460 Keeping it, uh, private and proprietary is not going to help. 285 00:31:15,460 --> 00:31:19,840 And I think I speak for everybody in this field to say, we all want to help and fix it. 286 00:31:19,860 --> 00:31:22,360 So let's just get our heads together and do that. 287 00:31:22,360 --> 00:31:36,060 Um, and I think there is really encouraging, um, next door that, uh, some companies like BD, for example, are actually explicitly having a vulnerability disclosure, uh, um, um, process. 288 00:31:36,100 --> 00:31:38,220 That's, that's really unique in our field. 289 00:31:38,320 --> 00:31:39,600 We have to have more of that. 290 00:31:39,600 --> 00:31:44,880 So the buyer-hacker bill is very clearly, uh, spearheading and, and pushing the community side of this. 291 00:31:44,880 --> 00:31:48,100 We got to get together and, and really push this kind of year round. 292 00:31:49,700 --> 00:31:53,340 Um, and so this really gets me to my, to our final asks here. 293 00:31:53,340 --> 00:31:56,900 Um, if you want to fund bug bounties, please come talk to us. 294 00:31:56,900 --> 00:32:02,000 There, we have some ideas on this and, and we're pushing this, uh, um, in the community. 295 00:32:02,000 --> 00:32:02,920 Please come talk to us. 296 00:32:02,920 --> 00:32:06,840 We, we really want to help make this happen for real. 297 00:32:06,880 --> 00:32:09,680 Uh, if you're an instrument vendor, please come talk to us. 298 00:32:09,680 --> 00:32:14,860 Likelihood is we have a ton of your files and file formats and ideas on, on, on how we can improve it. 299 00:32:14,860 --> 00:32:18,420 I think everybody, again , as I said, we got to get together and fix this. 300 00:32:18,420 --> 00:32:21,140 And finally, uh, send us sample files. 301 00:32:21,140 --> 00:32:34,680 If you have sample files from your workflows, um, from your environment, if you're an instrument vendor, just go to that, that goes to a Dropbox, uh, what kind of like Dropshare, uh, just send us files and we will start, uh, looking at those. 302 00:32:35,560 --> 00:32:39,580 So with that, uh, I think we'll take any questions and thank you very much. 303 00:33:16,540 --> 00:33:17,980 Yeah. 304 00:33:19,900 --> 00:33:32,660 So the, the question is if you can locally store the indices, take those indices, hash them and make sure as you're running the software that you're running the index that you think you are. 305 00:33:32,680 --> 00:33:33,580 Yeah. 306 00:33:33,580 --> 00:33:41,740 And this is what a lot of people do, um, for, uh, for actually reasons of speed. 307 00:33:42,020 --> 00:33:48,480 So the reason that people have ever done this is because they wanted it locally so they could do a local query. 308 00:33:48,480 --> 00:33:55,980 So blast, for instance, a common NCBI tool, uh, frequently you won't blast against the internet database. 309 00:33:55,980 --> 00:34:02,900 You'll blast against your own internal database in a sense, um, that limits you in some particular ways. 310 00:34:02,900 --> 00:34:06,780 And so you create a bit of a moral hazard out of that. 311 00:34:06,780 --> 00:34:15,340 And that hazard shows up because you want to be, um, searching against the most recent database. 312 00:34:16,400 --> 00:34:22,900 If the most recent database is being supplied over the FTP server, at some point you're going to have to get it. 313 00:34:22,900 --> 00:34:34,900 And so you can go out and, um, query offline and then transfer it in some other way, but roundabout, you're going to have to get that data from there to your machine. 314 00:34:34,900 --> 00:34:40,960 So you may not have to sit on the network, but you're going to have to get that file over. 315 00:34:40,980 --> 00:34:51,740 And, um, so there there's risk mitigation there, but there's also, um, a potential risk, uh, scientifically of not having the most recent database. 316 00:34:51,740 --> 00:35:01,340 That's the reason why people, um, continuously download NR for, which is the non redundant nucleotide database from NCBI. 317 00:35:28,300 --> 00:35:29,400 That's right. 318 00:35:29,400 --> 00:35:42,860 And so those dots were designed nonetheless to be, um, so the regular expression was designed to be singly indicative of that particular reasons or that particular region. 319 00:35:42,860 --> 00:36:06,140 So it was pinpointed even with the regular expressions, the reason to have a regular expression, not be exceedingly long or not be exceedingly, um, strict is that if there's any miss, uh, if there's any errors in the raw data, you're going to catch the errors and not change it. 320 00:36:06,140 --> 00:36:16,980 So you want to change it in instant and as many possible instances with this, uh, small irregular expression or as, um, in specific a regular expression as you can. 321 00:36:29,640 --> 00:36:33,200 Um, so I, I don't know. 322 00:36:33,460 --> 00:36:41,900 And one of the things that, um, is an issue here is that we haven't had very much, uh, trust and communication of this. 323 00:36:41,900 --> 00:36:43,720 This is handled internally. 324 00:36:43,720 --> 00:36:53,880 Um, and there's a, uh, there's no necessary disclosure that an IT department is, is seeing this. 325 00:36:53,940 --> 00:37:01,640 Um, you might have some... Yeah, I, I can, um, uh, so I can add to that a little bit. 326 00:37:01,640 --> 00:37:21,260 Um, given how wide open the attack surface is, um, so just to be very clear, we have not seen evidence in the wild that this is being open, but what we do see wide open is very worrisome. 327 00:37:21,260 --> 00:37:28,700 Like the technical proficiency that's required for doing some of these attacks is very, very, very low. 328 00:37:29,140 --> 00:37:35,060 Um, in all scenarios, you have to think about kind of what's the advantage of doing something like this. 329 00:37:35,060 --> 00:37:40,920 And so you can start thinking about what kind of adversary would want to do what kind of attack. 330 00:37:41,040 --> 00:37:51,200 Um, so the, the bottom line is the fact that there's no evidence is more a reflection on the fact that nobody's looked rather than it's not happening. 331 00:37:51,300 --> 00:38:00,540 Um, incidents around the world indicate that some kinds of facilities like this are actually targets for attack. 332 00:38:00,540 --> 00:38:04,760 Um, but no publicly available evidence of that.