[00:00.000 --> 00:06.180] Now, without further ado, we have our next two speakers. Cory Hudson is a computational biologist [00:06.180 --> 00:13.540] at Sandia National Laboratories. Cory leads teams in cybersecurity, machine learning, [00:13.540 --> 00:20.240] symbio, and genomics. His main work is modeling and simulating cybersecurity risks in realistic [00:20.240 --> 00:27.260] and large-scale genomic systems and highly automated symbio facilities. And his co-speaker, [00:27.260 --> 00:32.980] Charles Frachia, is a bioengineer who has worked at the intersection of biology and [00:32.980 --> 00:39.100] computer science for the last decade. He is the founder and CEO of BioBright, [00:39.260 --> 00:44.400] a company dedicated to making biomedical workflows more data-centric and secure. [00:44.400 --> 00:47.100] And now, without further ado, please welcome our speakers. [00:59.150 --> 01:04.570] Thanks so much. We're going to do a back and forth a couple times on this. I'm going to [01:05.630 --> 01:12.030] be talking today, and Charles and I are going to be talking about a particular buffer overflow [01:12.810 --> 01:18.590] in a common piece of genomic software that leads to some really unexpected and unintended [01:18.590 --> 01:25.150] consequences, and how this is a more general case of some issues that are really common [01:25.150 --> 01:34.450] in biomedical file formats. So, over the last decade, really over the last two decades, [01:34.450 --> 01:41.650] costs of genomics have rapidly declined. It was expected that we'd be at about a penny [01:43.370 --> 01:48.570] a genome, but really we're at about $1,000 a genome. It stayed pretty steady for a long time. [01:48.570 --> 01:55.430] But since it hit $1,000, what dramatically happened is that the value of just doing [01:55.430 --> 02:04.310] genomics in general became much easier and much more simple than doing standard genetic tests. [02:04.970 --> 02:10.210] You get a lot more out of it. There's a lot more reason to move to genomics in general. [02:10.210 --> 02:15.270] And this is being driven by two characteristics. One is that there are healthcare drivers in [02:15.270 --> 02:22.310] genomics. Genomics allows you to segment and split up populations based on disease prevalence. [02:22.310 --> 02:34.430] It allows you to take individuals that may have a particular phenotype that is, [02:34.430 --> 02:39.990] the correct precision treatment for them. That's what we're talking about when we're [02:39.990 --> 02:47.350] talking about precision medicine in general, is this use. The second main driver in this [02:47.350 --> 02:52.690] has been an industry. And this industry has been growing considerably and has been [02:53.670 --> 02:57.910] really motivating a lot of the work that's happening in genomics. [02:58.330 --> 03:06.110] The issue is that you have two highly commercial fields with high amounts of data sensitivity, [03:06.110 --> 03:12.890] industry, and the medical field coming out of genomics. But this whole environment really came [03:12.890 --> 03:21.190] out of a much different trust model. The trust model for genomics over the last 20 years has [03:21.190 --> 03:30.330] really been about academia and academic collaboration. And so there was no necessary [03:30.330 --> 03:37.150] need to secure the system or to make sure that you weren't writing code that could potentially [03:37.150 --> 03:43.930] be incredibly risky, in large part because the individuals who were interacting all knew each [03:43.930 --> 03:48.290] other in some way or another and could trust each other. This is very similar to what happened [03:48.290 --> 03:54.410] with the rapid growth of the internet and the standardization that had to happen in the 90s. [03:55.470 --> 04:01.830] And so what this has led to is a coalescence around standardization and automation within [04:01.830 --> 04:10.510] this field. Yeah, so one of the things is if you look at the birth of modern biomedicine, [04:10.510 --> 04:18.250] especially experimental biomedicine, early 1600s, everything was manual. We would select a subject, [04:18.250 --> 04:23.450] with our hands, or dissect a cadaver with our hands. We'd observe what's happening with our [04:23.450 --> 04:27.810] hands, and then we'd make an analysis in our heads. And obviously some of those analyses are [04:27.810 --> 04:32.590] kind of comical these days, or our understanding is comical. But today, [04:32.590 --> 04:36.890] things have completely changed. We're really turning into a digitally driven workflow [04:36.890 --> 04:41.850] completely. And I would say that this has changed in the last, say, 10 years or 15 years, where [04:41.850 --> 04:47.530] this entire environment has moved from a manual process to a more digitally and automated [04:47.530 --> 04:52.110] workflow. So now we have liquid handlers that automate the subject selection. [04:52.110 --> 04:57.430] We have automated microscopes that will take pictures and images of what we're collecting. [04:57.430 --> 05:02.390] And then we have even automated analysis, which is an area of very rapid growth right now, [05:02.390 --> 05:06.750] especially in industry, where we're using, you know, kind of novel algorithms and statistical [05:06.750 --> 05:12.930] learning to describe what is going on in the sample itself. So if you were to map out what [05:12.930 --> 05:19.630] the stack, what the biodigital stack looks like today, you're actually using software at every [05:19.630 --> 05:23.970] single one of those environments. You're using it at the design step. So you're using computer-aided [05:23.970 --> 05:29.790] design tools to generate your materials that you will then order. Then you will get those built [05:29.790 --> 05:34.910] either as a service, in which you can order DNA and get it back. So you literally send [05:34.910 --> 05:42.030] bites and you get DNA back. So those will be automated with machines. And then the testing [05:42.030 --> 05:48.030] part where you will have an assay, that's perhaps the most manual today still, but that's very [05:48.030 --> 05:52.470] rapidly being automated. And finally, once you get the results from that test, you're using [05:52.470 --> 06:00.250] bioinformatic tools, software, to analyze those results. And so what does that look like today? [06:00.250 --> 06:05.750] Just a quick example. So as I said, you can actually design a plasmid in software, something [06:05.750 --> 06:12.990] like Genius or, let's see, I'm blanking on the name of the other one, but there's a number [06:12.990 --> 06:17.570] of tools or Vector NTI or things like that, where you're actually designing soft... you're using [06:17.570 --> 06:22.590] software to design your plasmid. You then order it at a DNA synthesis company and you get the vial [06:22.590 --> 06:29.990] back, right? And then you will build that into your biological systems using liquid handling robots. [06:30.770 --> 06:35.350] Once you do that, you culture it up. You end up getting plates like this. You will pick [06:35.350 --> 06:40.790] individual clones and those will get sequenced. Again, every one of these steps have both digital [06:40.790 --> 06:46.910] inputs and digital outputs. And at the end, you'll analyze the digital results using bioinformatic [06:46.910 --> 06:53.070] pipelines with bioinformatics tools. So what really has kind of snuck up on us in this field [06:53.070 --> 07:02.310] is that all of the critical workflows in biology and biological research rely on digital tools. [07:03.350 --> 07:09.450] So what happens if those are denied, right? What happens if there's a denial of service [07:09.450 --> 07:14.730] or a crash or whatever happens on these tools? What happens then? And so in order to understand [07:14.730 --> 07:19.150] what the impact would be, you really need to understand how deeply these tools are connected [07:19.150 --> 07:25.310] and where do they come from in the first place. So the reality is that the vast majority of these [07:25.310 --> 07:30.430] tools actually come from an academic environment, at least at the very beginning. So the vast [07:30.430 --> 07:36.670] majority of these tools, things like, you know, BioPython or BioConductor, [07:37.530 --> 07:41.910] Gentle, Gromacs, Integrated Genome Browser, all of these are actually academic [07:41.910 --> 07:46.850] software at their roots. And unfortunately, one of the issues with academic software, [07:46.850 --> 07:52.050] which come out of PhD theses or whatnot, is that they actually don't get supported once the student [07:53.550 --> 07:57.710] graduates or rarely do. This is one of the major issues that we have. [07:57.710 --> 08:02.010] So just looking at the list of alignment software, this is just genomic alignment [08:02.010 --> 08:06.550] software that is from academia, just a small list. I don't know if you can read it, probably not. [08:07.750 --> 08:12.230] But it's to tell you how many of these are actually either reproducing the same functionalities or [08:12.230 --> 08:17.590] having a small improvement, and they end up as kind of stale code on GitHub at best, [08:17.590 --> 08:24.890] or at worst, just as part of a paper. On the business side, not to say that there aren't [08:24.890 --> 08:30.270] any tools that come from industry, there are lots of them, but they tend to follow the same [08:30.270 --> 08:35.550] kind of environments. They're monolithic software that's been around for decades in many cases. [08:35.630 --> 08:42.450] The release cycles are not modular, it's not fast, it's not lean in most cases. And so you have [08:42.450 --> 08:46.850] some of these tools that have been there forever that haven't been audited, and yet the trust [08:46.850 --> 08:53.850] model has changed. So putting that into context, today, what we're going to be talking about is [08:53.850 --> 08:59.790] vulnerability in BWA, which is one of the academic software that's more alignment-focused. [09:00.010 --> 09:03.970] So Cory's going to talk about the vulnerability, and then we'll wrap up a little bit later. [09:07.740 --> 09:14.440] So the way that genomics works in terms of actual data flow is you have a machine, [09:14.440 --> 09:21.680] an Illumina sequencer typically, that's producing terabytes of images. Those terabytes of images are [09:21.680 --> 09:26.680] being transferred through a lot of pieces of software until you ultimately get some genetic [09:26.680 --> 09:33.820] variance. Once you get the genetic variance, then you're making clinical decisions based on that. [09:34.220 --> 09:40.560] The reason that the software gets transferred so many times through so many kinds of software [09:40.560 --> 09:48.680] is in large part because of the technology. So the technology, the way that it developed was to [09:48.680 --> 09:55.620] to do, to split the genome into really small pieces, and then to put those pieces together, [09:55.620 --> 10:01.500] or to map those pieces onto a reference. The software then has to interact in an environment. [10:01.520 --> 10:06.680] It's interacting with the sequencer, it's interacting with a firewall, it's interacting [10:06.680 --> 10:14.720] with government databases, and with software repos. Somehow it's going through a lot of tracks [10:14.720 --> 10:20.960] and paths before it gets to where it wants. And so my team had a particular question [10:20.960 --> 10:29.860] that we wanted to look at, and it was, could you hack the raw data using an in-the-wild [10:29.860 --> 10:38.520] vulnerability in this BWA software, or any software, to lead to a potentially malicious [10:38.520 --> 10:45.520] clinical outcome? Could you change it so that using only standard security assumptions, [10:45.980 --> 10:51.240] you had the data and it was completely corrupt, the entire raw data? You would have to resequence [10:51.240 --> 10:57.900] every individual to get the data back, and the outcome would be completely different. [10:58.320 --> 11:05.900] And so to do this, we looked into the main software pipeline that's been developed. This [11:05.900 --> 11:10.200] is the one that's going to be at most of your hospitals or most of the places that they're [11:10.200 --> 11:14.720] doing precision medicine to collect variants. They're going to run through what's called the [11:14.720 --> 11:21.650] Broad Institute GATK pipeline. And the first tool, the very first one that isn't just [11:23.100 --> 11:31.320] basic preprocessing, is one called BWA. And what BWA does is take a human genome [11:32.040 --> 11:36.720] and then map the reads that are coming off the sequencer back onto it. [11:37.100 --> 11:43.120] But we all kind of know that there's not just one human genome. There's all of our human genomes, [11:43.120 --> 11:48.720] and we're all more or less the same, give or take, about 20 megabytes. Like me and the person [11:48.720 --> 11:53.100] in this room, who are the furthest distance, are about 20 megabytes apart. But those 20 megabytes [11:53.100 --> 11:59.200] can be all over the genome. And so the more sophisticated techniques, and the one that BWA [11:59.200 --> 12:07.480] developed in 2014, was not to just map it to a direct genome, but really to map it to what they [12:07.480 --> 12:15.300] called an alt-aware. So, knowing that there's alternative potential alleles at various points [12:15.300 --> 12:23.860] in the genome. So, this was rushed through. It was an add-on to the main software that sort of [12:23.860 --> 12:32.160] showed up much later. But to have this kind of data, this population data, it doesn't make sense [12:32.160 --> 12:37.400] for any particular lab to have it, or for you to hold all this data yourself. It makes sense to [12:37.400 --> 12:43.380] have this at a major repo, where everyone's sort of collecting all the open source data and building [12:43.380 --> 12:52.240] this index for all the genomes out there. And this is done through NCBI. And so, BWA provides [12:52.340 --> 12:58.260] a tool that just downloads these indexes, which are actually pretty big from NCBI, and then the [12:58.260 --> 13:04.320] user stores them and runs the software as they want. So, in terms of how the software actually [13:05.420 --> 13:11.400] interacts with the environment, we have a tool called BWA that's interacting with these files, [13:11.400 --> 13:17.620] which are unencrypted plain text files called FASTQ files. They're interacting with GitHub [13:17.620 --> 13:25.240] through, uh, repo updates, and they're interacting with NCBI in terms of how they, uh, how they go [13:25.240 --> 13:30.080] back and forth. And ultimately, they're producing, um, uh, something called a SAM file, which is [13:30.080 --> 13:37.340] just a, um, an alignment. So, every individual, uh, that's run in it, you see where they fit relative [13:37.340 --> 13:45.720] to the, to a reference genome. And so, when we went looking for vulnerabilities, this BWA is, is [13:45.720 --> 13:53.240] written in C. And so, you kind of know where you're going with that for your first steps, at least. [13:53.720 --> 14:01.340] Um, so, in auditing the, the software and looking into it, this is the all-to-wear part that I [14:01.340 --> 14:11.680] mentioned is, shows up in 2014 as a new capability. And you look at it, and one of the easy first [14:11.680 --> 14:17.840] steps to go at in this, uh, is to look in the comment code and see where, or in the issues, and see [14:17.840 --> 14:24.620] where it's segfaulting. And when people are running this, what's happening is, uh, this particular, [14:24.620 --> 14:31.560] uh, part of the code right here, they had already recognized this causes a segfault, um, it, it, [14:31.560 --> 14:35.960] and the vulnerabilities. And so, then we asked the question, could we induce the segfault? Could we [14:35.960 --> 14:43.880] take control of the buffer, um, by doing that and take some, some command over the system? And, uh, [14:43.880 --> 14:50.780] so, so we, we developed a, a buffer overflow, um, uh, delivered it to the software and [14:50.780 --> 14:57.100] unsurprisingly, uh, had a segfault. So, we know how the exploit can happen at this point, but how do we [14:57.100 --> 15:03.940] get to it? Um, how do we get to the soft, to the actual software? Let's assume that the data that's [15:03.940 --> 15:09.420] in the database or that, um, is coming off the fast queue can't be touched. We're not allowed to [15:09.420 --> 15:16.820] sort of manipulate that directly. Well, what we have is the interactions with NCBI. So, NCBI assumed [15:17.480 --> 15:23.820] a particular threat model, which is that they were providing open source data, so they didn't need to [15:23.820 --> 15:31.180] encrypt their traffic, but they don't provide checksums. So, this is, it's common to deliver [15:31.180 --> 15:36.420] the data over unencrypted channels, but you need to provide checksums, otherwise there's no one, [15:36.420 --> 15:40.920] there's no guaranteeing that, that you've, um, that you've got what you wanted. And so, they're [15:40.920 --> 15:50.380] delivering these indices, which are 3.3 gigabytes in size over an unencrypted channel. So, what do [15:50.380 --> 16:01.540] you do? Sit on the network. Sit on the network, um, deliver some art, poisoning attacks, access the [16:01.540 --> 16:06.460] data as it's coming through, you know where to look for it coming from, because it's having to go to [16:06.460 --> 16:14.100] this particular FTP site, interact with it in the middle, change the format, have it go out the back [16:14.100 --> 16:23.200] end. And so, in terms of crafting the exploit, um, we set some particular limitations. Um, we wanted to [16:23.200 --> 16:32.000] turn a single A into a C. We didn't want to change all the A's into C's, just one particular instance [16:32.000 --> 16:40.380] in the genome. And we wanted to make it affect the raw data, so that if this exploit was run, [16:40.380 --> 16:49.500] the entire raw database would be suspect and corrupted. And so, to do that, or to design the [16:49.500 --> 16:55.940] actual target, we did a trick from PCR. So, the polymerase chain reaction. When you want to target [16:56.280 --> 17:01.980] a particular nucleotide in a wet lab, what you do is you design things called primers, which are [17:01.980 --> 17:09.160] sequences on either side of the nucleotide you're looking for. And so, we could do that. Um, we [17:09.160 --> 17:15.320] decided to craft an exploit using that, and we targeted a particular A on the 12th chromosome. [17:15.320 --> 17:19.820] It was a random choice. This isn't particularly clinically meaningful, but it can be done with [17:19.820 --> 17:25.860] any one. This was just the one we hit on. And seven base pairs upstream and nine base pairs [17:25.860 --> 17:33.640] downstream is all you need to target that site uniquely. And so, the actual exploit ends up [17:33.640 --> 17:40.620] looking like this. You have the first part, um, in, in blue, the part that triggers the, the [17:40.620 --> 17:49.580] overflow. You then, um, uh, create a shell, uh, issue some sed commands that are overriding every [17:49.580 --> 17:55.340] fast Q file and turning the sequence at the beginning into that sequence at the end. If you [17:55.340 --> 18:00.200] notice, all that is different between those minus the regular expressions that have been added in [18:00.200 --> 18:08.320] is an A being turned into a C. Then you live off the land a little bit. You, um, you take, uh, a [18:08.320 --> 18:16.780] hidden file that you've put into this 3.3 gigabyte file, um, you overwrite the index to the right [18:16.780 --> 18:23.060] index, restart the program as, as it's supposed to run, and then you've changed all the F, uh, [18:23.060 --> 18:29.460] dot FQ files in the directory. So, all your, all your, um, data is potentially corrupted. [18:29.840 --> 18:36.600] So, the question that we had is if we run this, what are the, what's the outcome? And so, I'll, [18:36.600 --> 18:42.400] I'll, um, this is the pipeline. We want to look at the very end of the pipeline now. These, [18:42.400 --> 18:46.880] what are called the VCF files, which are just the variant, variant calling format files. [18:47.000 --> 18:52.560] Are those different? If you, if you ran this, did you end up with an adverse clinical outcome [18:52.560 --> 18:59.360] or an adverse, um, uh, potential outcome? So, we set up three experiments. So, I'll say [18:59.360 --> 19:06.860] right up front, we worked with, um, the BWA developers to issue a patch on this, um, and [19:06.860 --> 19:12.360] did some responsible disclosure on that so that a patch did exist before we, um, before we ran [19:12.360 --> 19:19.800] this analysis. And so, the first version of this is we, we run all the standard analysis with, um, [19:19.800 --> 19:26.980] no patch, but no exploit. We then, um, run the analysis, uh, unpatched with the payload, [19:26.980 --> 19:32.100] um, where we, all we're doing is changing the A to a C, and then we run it, uh, patched with [19:32.100 --> 19:39.940] the payload. And so, it's important to, to understand what we're trying to do here. [19:40.180 --> 19:46.140] Um, so really what we're trying to do is see what you would see at the very end. [19:46.140 --> 19:51.720] Most of the people who are analyzing this data are not doing the IT and not doing the [19:51.720 --> 19:56.280] bioinformatics well beforehand. All they're getting is a variant in front of them. They're [19:56.280 --> 20:07.120] getting a case, um, that this individual has a, um, a C phenotype here, um, or an AC, um, [20:07.120 --> 20:14.680] heterozygous phenotype, uh, genotype, I mean. And as a result, um, they're making clinical decisions. [20:14.680 --> 20:19.120] So, there's 200 medicines that currently require a genetic test. Right now, those are being, [20:19.120 --> 20:25.560] being done with standard genetics, by and large, but there's, as genomics increases, [20:25.560 --> 20:30.700] like I was talking about in, in the end, there's, or in the beginning, there's no reason why you [20:30.700 --> 20:36.380] wouldn't do this using a genomics technique. You would, you would do a lot more tests at once as [20:36.520 --> 20:41.440] a result of it. And so, when we ran the first experiment, um, the unpatched version with no [20:41.440 --> 20:49.520] exploit, um, what we found was an individual, uh, all the, uh, raw data when it was run through [20:49.520 --> 20:57.800] at the final result always led to the genotype AA. So, uh, uh, we're deployed organisms, [20:58.420 --> 21:04.600] we have an A in both positions. So, because of how we run, ran the exploit and because of the [21:04.600 --> 21:11.280] sequence it looked at, the raw data doesn't know the direction of the DNA. So, it only changes it [21:11.280 --> 21:17.480] in one direction. It doesn't change it in the other direction. So, what we get is not a CC, [21:17.480 --> 21:24.140] but an AC. So, now an individual has a different genotype and potentially a different phenotype for [21:24.140 --> 21:31.860] this. They have a, a different clinical outcome from this. And we find that in the statistics [21:31.860 --> 21:39.860] of this, this is highly statistically significant as a result. Um, in, in the first case we ran it, [21:39.860 --> 21:47.020] it's, um, a probability, uh, less than, uh, two to the negative 200. Very highly non-random [21:47.020 --> 21:53.260] that, that this would, uh, that this would happen by chance. Um, in all the others it was, [21:53.260 --> 21:59.860] uh, uh, similarly high in, in terms of it. In any statistical test that a clinician is going to do, [21:59.860 --> 22:05.060] you're going to end up with, um, some significance there. And then when we ran it on the patched [22:05.520 --> 22:10.980] because we wanted to see how this actually looked when we, um, when we deployed the same [22:10.980 --> 22:19.360] experiment on the patched version, uh, we, thankfully and unsurprisingly, uh, uh, the [22:19.360 --> 22:23.960] software failed and it failed in the way that you hope it fails in this sort of situation where it [22:23.960 --> 22:28.960] just tells you, uh, we, we, we couldn't run this off. We couldn't run what we, what we wanted to [22:28.960 --> 22:36.080] abort. And so this is the result of this experiment. This is, um, not the world's most [22:36.080 --> 22:43.080] sophisticated piece of malware or sophisticated vulnerability, but it shows you, uh, a new area [22:43.080 --> 22:48.880] of where the vulnerability space is. So this is attacking raw data. This is using existing [22:48.880 --> 22:55.660] software. It's making very few security assumptions that are, um, that are not standard. And as a [22:55.660 --> 23:01.440] result, you're leading to potentially, uh, uh, some really bad, uh, possible clinical outcomes. [23:02.840 --> 23:10.680] Yeah. So, um, how I'm just curious, how many people in the room are biologists or have a [23:10.680 --> 23:18.160] genetics background? Awesome. So, um, the TLDR of that is basically that with a very simple [23:18.160 --> 23:24.280] exploit, you can change the clinical outcome for a patient. So by just doing a very simple [23:24.280 --> 23:28.600] exploit, you can actually change how a patient is going to get treated based on how they come [23:28.600 --> 23:33.080] out of this diagnostic test. Not something that we want to be happening in hospitals and [23:33.080 --> 23:38.580] environments. Um, which is why we're trying to raise awareness about these kinds of problems. [23:39.960 --> 23:45.420] And that's precisely the point is that this is kind of a larger problem in our field. Um, if we [23:45.420 --> 23:49.620] look at the biological, the biodigital stack, as I explained it earlier, and we look at it with an [23:49.620 --> 23:56.180] adversarial approach, um, what are the areas that we can attack actually? Well, um, pretty much all [23:56.180 --> 24:01.620] of them. The design step is vulnerable. The build step is vulnerable. The test step is vulnerable. [24:02.100 --> 24:07.660] And, uh, bioinformatics analysis pipeline, which is what we were talking about today, is vulnerable. [24:07.860 --> 24:11.820] And so if you think about what is the broader issue that we are [24:12.360 --> 24:19.160] tackling or we, we, we really have on our hands here, uh, in our field, um, is that it's actually, [24:19.160 --> 24:25.780] these vulnerabilities are just all over the map and we need to start fixing them. So, um, one way [24:25.780 --> 24:30.200] to look at it is what are the instruments and what are the tools that are actually at our disposal? [24:30.200 --> 24:34.960] So there are things, um, there's sequencers, there's mass spectrometers. This is a kind of a [24:34.960 --> 24:40.560] abridged list of all the instruments that are available in our workflows. Uh, in fact, if you [24:40.560 --> 24:45.240] were at the biohack here village, uh, four years ago or three years ago, I forget when I gave my [24:45.240 --> 24:51.480] first talk here, but, uh, I showed how we reverse engineered freezers and, and, and fridges, um, [24:51.480 --> 24:55.820] and how you could actually attack those too. Obviously, if you attack those, you could [24:55.820 --> 25:00.400] destroy all of the reference material that's in the freezers. That constitutes millions of dollars [25:00.400 --> 25:06.040] of work, um, often. So, uh, and this is just one of them. So if we look at this instrument list, [25:06.040 --> 25:09.660] let's look at the ones that have significant digital inputs, the ones that actually take [25:09.660 --> 25:15.100] files or digital input into their, into, uh, the normal course of operation. Sequencers [25:15.100 --> 25:19.900] obviously do that. Mass spectrometers, same thing. Uh, uh, mass spectrometers actually [25:19.900 --> 25:25.080] rely on a lot of similar approaches. It's not a reference file, but similar kind of ideas where [25:25.080 --> 25:29.120] there are tons of reference materials that are imported that are necessary to understand [25:29.620 --> 25:34.780] what, uh, output you're getting. Things like bioreactors, bioreactors is what's used to [25:34.780 --> 25:40.640] produce the medicines that we all consume. Um, so what would happen if you could deny those? [25:40.800 --> 25:47.580] Uh, filtration machines, same thing. Um, et cetera, go on and on and on. Um, not only that, [25:47.580 --> 25:52.080] but what do they output? And so I tried to make a very simple color gradient here. You know, [25:52.080 --> 25:56.680] how much data do they output? So sequencers actually output quite a bit of data. Uh, high [25:56.680 --> 26:01.860] content imagers, which we work with a lot. Um, it's not uncommon for those to output hundreds [26:01.860 --> 26:07.240] of thousands of files per day. So think about the kind of the human computer interaction problem [26:07.240 --> 26:12.920] here, right? There's hundreds of thousands of files being output by a machine overseen by one, [26:12.920 --> 26:18.760] often one human or a small team of two humans. And you are trying to comb through those to see [26:18.760 --> 26:25.900] if there are any exploits. Not going to happen. We just need better tools, right? So again, uh, [26:25.900 --> 26:29.680] what does the biodigital stack look like and what can you attack at each one of those steps? [26:29.680 --> 26:35.920] So on the design step, you're going to be attacking software and file formats. Um, this is, [26:35.920 --> 26:40.800] those are being consumed by the software itself to generate in, uh, instructions. At the build [26:40.800 --> 26:44.880] and test step, you're going to be looking primarily at firmware and operating systems. [26:45.120 --> 26:50.240] And finally, again, uh, as we explained today in one example, uh, you're going to be attacking [26:50.240 --> 26:56.500] software and file formats in the analysis step. So the vulnerability landscapes looks like this. [26:56.500 --> 27:00.200] On the software side, you've got things like private, um, privilege escalation and remote [27:00.200 --> 27:05.000] execution, which are rife in the software. Again, this is software that has been around for decades [27:05.000 --> 27:11.040] in many cases and not really looked at from a security perspective. File formats, we explained [27:11.040 --> 27:16.980] today how some of the alt file, um, can actually lead to buffer overflows. Um, you can also have [27:16.980 --> 27:21.340] kind of more of a denial of service, a corruption. What if you could actually just corrupt the files [27:21.340 --> 27:26.520] going through the wire and stop the whole pipeline? You know, you could actually deny a, [27:26.520 --> 27:32.320] uh, medical decision being made by just kind of seizing up the pipeline, the workflow. [27:32.880 --> 27:37.960] And so, uh, the firmware, same thing, you can lead to kind of biological or workflow level [27:37.960 --> 27:42.720] denial service. Uh, same thing, you can also do a financial attack on these things. So what if, [27:42.720 --> 27:47.940] if you actually time your attack, uh, just right, you can actually lead to something like 80, [27:47.940 --> 27:54.320] 90 percent of all the cost of goods of producing a, a drug going down the drain. That's gonna [27:54.320 --> 27:59.320] destroy, uh, a pharmaceutical company's ability to actually produce the drug and eventually [27:59.320 --> 28:06.060] putting it on the shelf so we can consume it. Uh, and on the operating system side, I just wanted [28:06.060 --> 28:11.380] to make a special slide for that because this is what we, uh, typically look at. Uh, unfortunately [28:11.380 --> 28:18.640] this is very, very, very common. Um, the OS is often Windows XP or if you're lucky, Windows 7. [28:18.800 --> 28:23.400] Um, it often has to be connected because it's generating hundreds of thousands of files. And [28:23.400 --> 28:26.820] so, you know, you're not gonna be moving those with USB sticks, although some, some of our [28:26.820 --> 28:33.040] customers do. Um, and often it's connected using SMBV1. So it's, it's often vulnerable to eternal [28:33.040 --> 28:38.280] blue. Now the kicker is, the scientists are not allowed to upgrade any of these machines because [28:38.280 --> 28:42.980] it actually impacts their ability for the machine to actually work. And that's something that's [28:42.980 --> 28:48.020] really unique in the biological space is that the scientists don't even have the means. We're not [28:48.020 --> 28:51.720] talking about the, the knowledge. We're talking literally, I would like to upgrade this machine [28:51.720 --> 28:55.360] because I'm uncomfortable with having a Windows XP machine that's connected off to the internet. [28:56.180 --> 29:08.260] Um, and, and they're just not allowed to, right? So this is kind of how we feel when we look at, [29:09.500 --> 29:15.720] it's high, high time that we work together to try to fix these problems. Um, you know, Corey and his [29:15.720 --> 29:21.400] team and my team are working towards this, but we need to have more folks, uh, have eyeballs on [29:21.400 --> 29:26.880] this. Uh, and as I said, uh, cyber biosecurity is kind of unique because there's this tension [29:26.880 --> 29:33.020] between the scientists and the IT department. And every time the IT department is gonna lose. [29:33.100 --> 29:37.440] Because it's, the conversation kind of goes like this. The IT department goes like, hey, you really [29:37.440 --> 29:41.260] shouldn't have this thing on the network. It's really awful. And the scientist goes like, yep, [29:41.260 --> 29:46.720] but I can't do my job if I don't have it. And that's, that's one of the issues. So the scientist [29:46.720 --> 29:50.720] is always going to win unfortunately on this one. Not only that, but IT departments and pharma [29:50.720 --> 29:55.900] companies and, and, uh, biotech are often seen as cost center. They're not really seen as kind of, [29:55.900 --> 30:00.740] uh, um, an actor that can help and really contribute to some of these issues. [30:01.540 --> 30:08.540] So here's what needs to happen. Uh, I said starting now, but really yesterday. Um, one, we need to [30:08.540 --> 30:14.860] have hardened parses for common formats. Really, really, really important. And, um, we're working [30:14.860 --> 30:19.280] on some of these things. Nothing we can announce right now, but, uh, if you are interested in this [30:19.280 --> 30:24.000] field, in this environment and you can help contribute, please come and talk to us afterwards. [30:24.240 --> 30:29.600] Second, and this is pretty obvious, but we need bug bounties specifically for key software in our [30:29.600 --> 30:34.720] field. Okay. And this is important. Why is that different from a traditional bug bounty is that [30:35.000 --> 30:41.480] a very low, very simple cyber vulnerability can lead to an enormous biological vulnerability. A [30:41.480 --> 30:47.280] very simple thing can actually lead to a, a, a denial of, of, uh, uh, production of an entire [30:47.280 --> 30:52.700] drug. Uh, and there are example out in the wild with pharma companies being hit by ransomware [30:52.700 --> 30:58.240] and things like this, where it actually leads to very clear problems, um, in the manufacturing [30:58.240 --> 31:02.980] supply chain. And finally, um, you know, instrument manufacturers should really publish [31:02.980 --> 31:10.400] file format specs and parser code. We are only going to be able to fix this if we put more eyeballs [31:10.400 --> 31:16.580] on it. Keeping it, uh, private and proprietary is not going to help. And I think I speak for [31:16.580 --> 31:21.300] everybody in this field to say, we all want to help and fix it. So let's just get our heads [31:21.300 --> 31:27.460] together and do that. Um, and I think there is really encouraging, um, next door that, uh, some [31:27.460 --> 31:33.740] companies like BD, for example, are actually explicitly having a vulnerability disclosure, [31:33.740 --> 31:39.680] uh, um, um, process. That's, that's really unique in our field. We have to have more of that. So [31:39.680 --> 31:44.240] the buyer-hacker bill is very clearly, uh, spearheading and, and pushing the community [31:44.240 --> 31:48.100] side of this. We got to get together and, and really push this kind of year round. [31:49.700 --> 31:54.160] Um, and so this really gets me to my, to our final asks here. Um, if you want to [31:54.160 --> 31:59.200] fund bug bounties, please come talk to us. There, we have some ideas on this and, and we're pushing [31:59.200 --> 32:06.080] this, uh, um, in the community. Please come talk to us. We, we really want to help make this happen [32:06.080 --> 32:11.000] for real. Uh, if you're an instrument vendor, please come talk to us. Likelihood is we have a [32:11.000 --> 32:16.000] ton of your files and file formats and ideas on, on, on how we can improve it. I think everybody, [32:16.000 --> 32:21.140] again, as I said, we got to get together and fix this. And finally, uh, send us sample files. [32:21.140 --> 32:25.880] If you have sample files from your workflows, um, from your environment, if you're an instrument [32:25.880 --> 32:32.080] vendor, just go to that, that goes to a Dropbox, uh, what kind of like Dropshare, uh, just send [32:32.080 --> 32:37.660] us files and we will start, uh, looking at those. So with that, uh, I think we'll take [32:37.660 --> 32:39.580] any questions and thank you very much. [33:16.540 --> 33:26.520] Yeah. So the, the question is if you can locally store the indices, take those indices, [33:26.520 --> 33:30.820] hash them and make sure as you're running the software that you're running the index [33:30.820 --> 33:39.580] that you think you are. Yeah. And this is what a lot of people do, um, for, uh, [33:39.660 --> 33:44.460] for actually reasons of speed. So the reason that people have ever done this [33:44.460 --> 33:50.320] is because they wanted it locally so they could do a local query. So blast, for instance, [33:50.440 --> 33:56.060] a common NCBI tool, uh, frequently you won't blast against the internet database. You'll [33:56.060 --> 34:02.340] blast against your own internal database in a sense, um, that limits you in some particular [34:02.340 --> 34:09.000] ways. And so you create a bit of a moral hazard out of that. And that hazard shows up because [34:09.860 --> 34:15.340] you want to be, um, searching against the most recent database. [34:16.400 --> 34:21.600] If the most recent database is being supplied over the FTP server, at some point you're [34:21.600 --> 34:28.720] going to have to get it. And so you can go out and, um, query offline and then transfer [34:28.720 --> 34:33.740] it in some other way, but roundabout, you're going to have to get that data from there [34:33.740 --> 34:38.760] to your machine. So you may not have to sit on the network, but you're going to have to [34:38.760 --> 34:45.640] get that file over. And, um, so there there's risk mitigation there, but there's also, [34:45.640 --> 34:51.860] um, a potential risk, uh, scientifically of not having the most recent database. That's [34:51.860 --> 34:59.700] the reason why people, um, continuously download NR for, which is the non redundant nucleotide [34:59.700 --> 35:34.000] database from NCBI. That's right. And so those dots were designed nonetheless to be, um, [35:34.000 --> 35:41.020] so the regular expression was designed to be singly indicative of that particular reasons [35:41.020 --> 35:48.140] or that particular region. So it was pinpointed even with the regular expressions, the reason [35:48.140 --> 35:56.840] to have a regular expression, not be exceedingly long or not be exceedingly, um, strict is that [35:56.840 --> 36:04.900] if there's any miss, uh, if there's any errors in the raw data, you're going to catch the errors [36:04.900 --> 36:10.480] and not change it. So you want to change it in instant and as many possible instances with this, [36:11.080 --> 36:16.980] uh, small irregular expression or as, um, in specific a regular expression as you can. [36:29.640 --> 36:38.000] Um, so I, I don't know. And one of the things that, um, is an issue here is that we haven't [36:38.000 --> 36:45.020] had very much, uh, trust and communication of this. This is handled internally. Um, and there's [36:45.320 --> 36:55.340] a, uh, there's no necessary disclosure that an IT department is, is seeing this. Um, [36:55.340 --> 37:02.500] you might have some... Yeah, I, I can, um, uh, so I can add to that a little bit. Um, [37:03.600 --> 37:13.540] given how wide open the attack surface is, um, so just to be very clear, we have not seen [37:13.540 --> 37:21.260] evidence in the wild that this is being open, but what we do see wide open is very worrisome. [37:21.260 --> 37:26.880] Like the technical proficiency that's required for doing some of these attacks is very, very, [37:26.880 --> 37:33.700] very low. Um, in all scenarios, you have to think about kind of what's the advantage of [37:33.700 --> 37:38.940] doing something like this. And so you can start thinking about what kind of adversary would want [37:38.940 --> 37:45.700] to do what kind of attack. Um, so the, the bottom line is the fact that there's no evidence is more [37:45.940 --> 37:52.960] a reflection on the fact that nobody's looked rather than it's not happening. Um, incidents [37:52.960 --> 37:59.620] around the world indicate that some kinds of facilities like this are actually targets for [37:59.620 --> 38:04.760] attack. Um, but no publicly available evidence of that.