1 00:00:03,940 --> 00:00:08,040 Thank you very much. I appreciate this is the last talk of the day, so thank you very much for coming. 2 00:00:08,240 --> 00:00:11,520 Can you hear me okay? I feel like this isn't close enough. There we go. 3 00:00:12,480 --> 00:00:18,780 Okay, so today I'm going to be talking about the ways in which we can make hacking of medical protocols a lot simpler. 4 00:00:19,700 --> 00:00:24,140 If we can make the identification of the weaknesses in this protocol a lot easier, 5 00:00:24,540 --> 00:00:29,320 we can ensure that the devices using this protocol are a lot more secure in the long run. 6 00:00:30,280 --> 00:00:36,760 In an ideal world, the only hacking that should be going on in hospitals is the one that comes with a cough, right? 7 00:00:37,680 --> 00:00:43,360 But unfortunately, that is not the case. There are still so many attacks going on in healthcare. 8 00:00:44,060 --> 00:00:52,720 In particular, Checkpoint recently released a blog post that stated a total of 1,684 attacks were observed 9 00:00:52,720 --> 00:00:56,380 on healthcare systems in just the first three months of this year. 10 00:00:57,300 --> 00:00:59,980 Therefore, it's still really important to make sure that we can think about how we can make sure 11 00:00:59,980 --> 00:01:05,900 that we can continue to test these devices and medical systems to make sure they're as secure as they possibly can be. 12 00:01:09,120 --> 00:01:14,100 Okay, just to quickly introduce myself. So my name is Katie Innes. I am from the UK, 13 00:01:14,580 --> 00:01:20,300 and I'm a security consultant at WIV Secure. I actually specialize in attack surface management, 14 00:01:20,580 --> 00:01:25,840 so this topic and this research project is definitely a step outside of my comfort zone, 15 00:01:26,060 --> 00:01:29,000 but it is something that I've been working on for the past year or so. 16 00:01:31,040 --> 00:01:37,260 So let's talk about tech in healthcare. So technology has actually been used in the healthcare industry for quite a long time now. 17 00:01:37,840 --> 00:01:44,260 And in particular, if we look at x-rays, they were first used all the way back in 1985, so a long, long time ago. 18 00:01:45,040 --> 00:01:49,240 But what we really care about here is protecting individuals and their data. 19 00:01:50,140 --> 00:01:53,480 So if we look at the systems and mechanisms to communicate that data, 20 00:01:53,640 --> 00:01:59,440 in fact, the first medical record systems were deployed all the way back in the 60s, so again, a long time ago. 21 00:02:00,340 --> 00:02:02,240 And let's take a look at some of those systems. 22 00:02:03,780 --> 00:02:09,100 So this is just an example of the types of device that you might find in a hospital environment. 23 00:02:09,800 --> 00:02:13,180 And each one of these is considered a potential access vector for an attacker. 24 00:02:14,120 --> 00:02:19,940 If we think about the data flow here, just as an example, we might have a patient that has been admitted to a hospital. 25 00:02:20,440 --> 00:02:22,860 They might be hooked up to a number of medical systems. 26 00:02:23,760 --> 00:02:28,180 And for example, their heart rate might be getting recorded and stored within the data center. 27 00:02:29,980 --> 00:02:31,860 That particular patient might have had a number of tests. 28 00:02:32,040 --> 00:02:36,580 So for example, they might have had some blood tests that might have been recorded within the lab. 29 00:02:36,760 --> 00:02:39,760 And again, those records are then stored within the data center. 30 00:02:41,300 --> 00:02:46,200 The pharmacist might also need to query these records, so they might need to access the data center as well. 31 00:02:46,760 --> 00:02:49,980 And they might need these records to be able to prescribe the correct drugs. 32 00:02:51,720 --> 00:02:54,040 So how exactly is this data communicated? 33 00:02:55,480 --> 00:02:59,960 So these are just a few of the protocols that are commonly used in health care to communicate different types of data. 34 00:02:59,960 --> 00:03:08,620 The most commonly used protocol is called Health Level 7, or HL7, and this is actually the focus for my research today and this talk. 35 00:03:09,380 --> 00:03:12,740 The reason why I decided to focus on this protocol is, in fact, 36 00:03:12,780 --> 00:03:19,000 that a lot of health care systems and medical devices are still using this protocol today, even though it's quite old. 37 00:03:20,200 --> 00:03:25,920 There is another key protocol to mention here called FHIR, or Fast Healthcare Interoperability Resources, 38 00:03:26,920 --> 00:03:29,940 and this was kind of designed to be a replacement for HL7. 39 00:03:29,960 --> 00:03:37,520 HL7 was designed to be a little bit more secure, but in fact, Alyssa Knight published some research a couple of years ago, 40 00:03:37,700 --> 00:03:43,040 and they were able to access around 4 million records through the exploitation of this particular protocol. 41 00:03:46,720 --> 00:03:52,140 Okay, so HL7 is a mechanism to communicate patient data in clear text. 42 00:03:52,700 --> 00:03:58,460 It was designed all the way back in 1979, and if you look across different types of medical devices, 43 00:03:58,580 --> 00:03:59,940 the most common version you'll see is HL7. 44 00:03:59,960 --> 00:04:07,980 That is the version that I'm going to be talking about today, and in fact, if you did want to look into version 3, 45 00:04:08,140 --> 00:04:15,280 there are some complications here. In fact, it's not backwards compatible, so that's partly why I'm focusing on version 2 as well. 46 00:04:16,600 --> 00:04:21,520 The most common way to transport HL7 messages is through the minimal lower layer protocol, 47 00:04:22,160 --> 00:04:29,300 but it's not uncommon to see other types of protocol used to communicate HL7 messages, such as FTP, SMTP, 48 00:04:29,960 --> 00:04:34,240 and of course, you've got all of the weaknesses associated with those protocols to consider here as well. 49 00:04:35,240 --> 00:04:40,560 But the main thing to mention is that HL7 messages are communicated in clear text. 50 00:04:43,180 --> 00:04:45,580 So, what do HL7 messages look like? 51 00:04:46,160 --> 00:04:53,160 So, each message is made up of different segments, and you can see these by the first three letters on each new line, 52 00:04:53,280 --> 00:04:58,260 and each segment contains a number of fields, which are separated with a pipe character. 53 00:04:59,980 --> 00:05:04,320 Most commonly, you'll see the first segment, which is the message header, 54 00:05:04,960 --> 00:05:08,760 and this contains all the different fields that are associated with that particular message. 55 00:05:09,460 --> 00:05:16,180 For example, you've got the message type, which in this case is admissions, discharges, and transfers. 56 00:05:16,780 --> 00:05:21,260 And in particular, this particular message is a standard admission. 57 00:05:21,720 --> 00:05:28,320 So, maybe Mickey Mouse has found himself in hospital for whatever reason, and he's been admitted as a patient. 58 00:05:29,960 --> 00:05:33,340 Other types of messages that you might see are things like observation results. 59 00:05:33,560 --> 00:05:39,260 So, that might be if you are hooked up to a patient monitor, and your heart rate is getting recorded. 60 00:05:39,780 --> 00:05:43,000 Each message associated would be an observation result. 61 00:05:43,780 --> 00:05:47,560 You might also see things like events, pharmacy dispensers. 62 00:05:50,500 --> 00:05:52,680 Okay, next you might find the event segment. 63 00:05:52,860 --> 00:05:57,140 So, this is really important, and it actually states when and where the message was sent from. 64 00:05:57,940 --> 00:05:59,940 You might also find the page. 65 00:05:59,960 --> 00:06:02,620 You might also find the patient identifier, so some key information about the patient. 66 00:06:03,320 --> 00:06:08,980 You might also have their next of kin, and also, potentially, some allergen information. 67 00:06:09,200 --> 00:06:12,120 So, what the allergy is, and the potential reaction. 68 00:06:13,640 --> 00:06:20,560 Not all segments are required, but if a segment is present, then there are specific fields within that segment that are required. 69 00:06:24,280 --> 00:06:29,580 Okay, so the most common way to transfer HL7 messages is through the minimal lower layer protocol. 70 00:06:29,960 --> 00:06:32,180 Or, MLLP, via TCP IP. 71 00:06:35,220 --> 00:06:39,220 Where messages are sent via MLLP, they'll be wrapped in a start block. 72 00:06:39,960 --> 00:06:44,560 They'll also be, you'll see at the end, an end block, and also a carriage return. 73 00:06:44,960 --> 00:06:48,980 So, then, this particular example, you can see I've highlighted the start block in red. 74 00:06:49,320 --> 00:06:55,080 And then, at the end, you've got the end block, which is one byte, and then a carriage return tacked onto the end as well. 75 00:06:55,780 --> 00:06:59,800 And this is basically so that the server knows where the message starts. 76 00:06:59,960 --> 00:07:01,440 And where the message ends. 77 00:07:05,040 --> 00:07:08,740 Okay, so we're going to talk about some common vulnerabilities in HL7. 78 00:07:15,040 --> 00:07:20,480 So, there's been some really great research into vulnerabilities affecting HL7 in the past. 79 00:07:20,980 --> 00:07:25,980 So, if you did want to delve into these in a little bit more detail, I've included a couple of links at the bottom. 80 00:07:26,400 --> 00:07:29,180 But I have got some links in my resources slide as well. 81 00:07:30,540 --> 00:07:35,480 So, typically, HL7 doesn't require any kind of authentication to be able to send messages. 82 00:07:36,060 --> 00:07:43,580 So, in theory, John Doe could send any message he likes to any device, given he's on the same network, and given the format's correct as well. 83 00:07:44,560 --> 00:07:53,400 There is, in fact, a user authentication credential segment that will allow you to configure authentication mechanisms such as Kerberos, and SAML authentication as well. 84 00:07:53,600 --> 00:07:57,680 But it's really important to mention here that that segment is, in fact, optional. 85 00:07:57,840 --> 00:07:59,740 So, in most cases, it's not implemented. 86 00:08:01,500 --> 00:08:05,200 John Doe can also amend messages, given he's on the same network. 87 00:08:05,840 --> 00:08:11,400 And if he did amend the message, the server would just accept it as if nothing's happened. 88 00:08:12,860 --> 00:08:15,740 It's also possible to cause denial of service as well. 89 00:08:15,920 --> 00:08:21,540 So, quite often on servers or middleware applications, you will see a maximum number of connections that are set. 90 00:08:22,040 --> 00:08:25,240 And that maximum number of connections is usually quite low. 91 00:08:25,360 --> 00:08:26,940 So, it's usually around something like 10. 92 00:08:27,580 --> 00:08:29,940 And therefore, if we can exceed that number of connections, the server will accept it. 93 00:08:29,940 --> 00:08:32,980 If we can exceed that number of connections, we can cause a denial of service attack. 94 00:08:34,980 --> 00:08:40,120 Then lastly, of course, I've mentioned it already, but HL7 messages are communicated in clear text. 95 00:08:40,740 --> 00:08:48,300 This is obviously a massive problem, as it allows us to be able to perform person-in-the-middle attacks or ARP spoofing to gain access to patient data. 96 00:08:52,160 --> 00:08:56,500 Okay, so I've been talking about this quite lightheartedly up to this point. 97 00:08:58,560 --> 00:08:59,000 Yeah. 98 00:08:59,000 --> 00:09:03,960 But I feel like it's really important to think about the impact here for just a second. 99 00:09:05,100 --> 00:09:08,460 These are just some of the examples of different impacts that you might see. 100 00:09:09,240 --> 00:09:13,300 But in a worst-case scenario, we can cause severe impact to individuals here. 101 00:09:14,020 --> 00:09:23,400 If we're able to position ourselves on the network and potentially intercept traffic, which in theory is not unachievable given a lot of hospital networks are quite flat, 102 00:09:24,020 --> 00:09:27,260 we can potentially change the records and messages that are being sent. 103 00:09:29,000 --> 00:09:37,080 That might look something like changing allergen information, which then could cause prescription of incorrect drugs and then cause an allergic reaction. 104 00:09:37,380 --> 00:09:39,960 And then, of course, far, far worse, as I'm sure you can imagine. 105 00:09:41,260 --> 00:09:43,520 This is obviously possible given the right conditions. 106 00:09:46,420 --> 00:09:54,220 Now you can see just how important it is to make sure that we're testing these devices to make sure that we find the weaknesses and make sure that these devices are hardened. 107 00:09:55,160 --> 00:09:57,460 But, of course, this comes with its own challenges. 108 00:10:00,060 --> 00:10:02,520 It's not easy to fingerprint the use of HL7. 109 00:10:02,820 --> 00:10:08,980 So by default, HL7 doesn't run on any specific port, and therefore it's hard to identify when it's in use. 110 00:10:09,920 --> 00:10:18,100 There's also no real fingerprinting mechanisms in tools like Nmap to be able to identify when a port's actually using HL7. 111 00:10:19,180 --> 00:10:22,120 We could, however, look at the default port set by a device. 112 00:10:23,100 --> 00:10:26,460 However, I would not recommend port scanning a medical device. 113 00:10:26,820 --> 00:10:28,380 Quite a lot of them are quite legacy. 114 00:10:29,000 --> 00:10:30,400 And they just cannot handle it. 115 00:10:32,000 --> 00:10:35,640 And therefore, you're likely to cause denial of service in this case as well. 116 00:10:36,320 --> 00:10:45,360 It's worth me mentioning here that, in fact, I would not recommend testing production devices in this case either, for obvious reasons. 117 00:10:48,300 --> 00:10:53,500 Okay, so I've mentioned a few times, but HL7 messages are typically communicated in clear text. 118 00:10:54,280 --> 00:10:58,880 You will see, however, in some cases, the device will allow you to configure SSL. 119 00:10:59,000 --> 00:11:03,800 So the device that I was using was a small patient monitor that you'll see very shortly. 120 00:11:04,080 --> 00:11:08,180 And it did allow you to tick a checkbox in the settings to configure encryption. 121 00:11:08,900 --> 00:11:11,420 But of course, this is not enabled by default. 122 00:11:11,480 --> 00:11:14,980 So in most cases, messages will be sent in clear text. 123 00:11:16,020 --> 00:11:22,940 If we can find a way to amend the messages or access this data, we can potentially cause some sort of impact here. 124 00:11:23,780 --> 00:11:26,260 Unfortunately, it's not easy to be able to intercept the data. 125 00:11:26,320 --> 00:11:28,230 Obviously, HL7 is quite non-standard. 126 00:11:29,000 --> 00:11:34,180 And also, MLP is quite a non-standard protocol that we can't intercept with things like burp. 127 00:11:35,120 --> 00:11:43,400 We could, however, sit on the network and intercept communications via something like Wireshark, which might look something like this. 128 00:11:44,740 --> 00:11:46,980 But in fact, let's see this in action. 129 00:11:47,420 --> 00:11:51,080 So I mentioned that I was using a small patient monitor to do my testing. 130 00:11:51,460 --> 00:11:54,180 And this is the Philips SureSigns patient monitor. 131 00:11:54,860 --> 00:11:58,200 Philips actually provide a lot of healthcare equipment to the NHS in the UK. 132 00:11:58,200 --> 00:12:01,620 So that's partly why I decided to choose this particular device. 133 00:12:02,920 --> 00:12:05,120 So we need to obviously get some readings. 134 00:12:05,360 --> 00:12:08,260 So I decided to hook myself up to the patient monitor. 135 00:12:08,940 --> 00:12:14,760 And after a while, you should start seeing some heart rate readings and some blood oxygen readings as well. 136 00:12:17,540 --> 00:12:19,740 After a while, we'll start seeing the packets come in. 137 00:12:19,820 --> 00:12:23,560 And as you can see, we've got some HL7 communication data here. 138 00:12:24,560 --> 00:12:27,600 Within that packet, we've got each of the different segments. 139 00:12:28,560 --> 00:12:32,380 And within the segments, we've also got each of the different fields as well. 140 00:12:36,320 --> 00:12:40,960 Okay, another challenge that comes with testing HL7 is its readability. 141 00:12:41,900 --> 00:12:46,060 As you can see, HL7 messages are really easy to read. 142 00:12:47,440 --> 00:12:48,960 They're not easy to read at all. 143 00:12:49,620 --> 00:12:54,820 And can you imagine if you were testing a device that was spitting out messages just like this every minute? 144 00:12:55,160 --> 00:12:56,980 It's just not going to be easy for you. 145 00:12:58,980 --> 00:13:01,160 Okay, so how can we overcome these challenges? 146 00:13:03,220 --> 00:13:09,480 There are a few tools that have been released in the previous years that were designed to test medical protocols such as HL7. 147 00:13:10,440 --> 00:13:16,140 There has been a tool named Pestilence that was actually created by Christian Demeth and a few other guys. 148 00:13:16,400 --> 00:13:17,980 But they didn't actually release it. 149 00:13:18,940 --> 00:13:22,380 Another tool was created by Anirudh Tagal called MedAudit. 150 00:13:22,460 --> 00:13:24,600 And this provided a nice graphical user interface. 151 00:13:24,600 --> 00:13:31,780 And it allowed you to do things like intercept messages and fuzz different fields as well, which was quite useful. 152 00:13:32,940 --> 00:13:37,440 But there are still a number of items missing on my checklist of tooling requirements. 153 00:13:39,180 --> 00:13:40,500 So what do we need? 154 00:13:41,480 --> 00:13:43,380 This is all personal preference, obviously. 155 00:13:43,620 --> 00:13:49,860 But the TLDR here is that I just wanted a tool to be able to work with existing tools like Burp Suite. 156 00:13:50,400 --> 00:13:54,580 I want it to be able to test HL7 just like you test HTTP all the time. 157 00:13:54,600 --> 00:13:55,240 Or web applications. 158 00:13:56,840 --> 00:13:59,760 And so I decided to create HL7 Magic. 159 00:14:01,420 --> 00:14:04,240 HL7 Magic was designed as a Burp Suite plugin. 160 00:14:04,500 --> 00:14:08,640 And this was basically to make use of the existing functionality that Burp has to offer. 161 00:14:09,520 --> 00:14:14,920 It was designed also using the HL7 APY Python library, which allows you to pass messages. 162 00:14:15,400 --> 00:14:20,940 And so the original objectives for creating this tool was basically to make the testing of HL7 a lot easier. 163 00:14:24,600 --> 00:14:24,920 So how does it work? 164 00:14:25,200 --> 00:14:27,840 So we've got the original communication here at the bottom. 165 00:14:28,260 --> 00:14:33,540 So a HL7 message is sent from a medical device and is accepted by the server. 166 00:14:33,960 --> 00:14:36,820 And where the magic comes in is this communication in between. 167 00:14:37,420 --> 00:14:43,600 So I decided to use man-in-the-middle relay to be able to proxy the traffic through from the client to Burp. 168 00:14:44,000 --> 00:14:46,300 So that sat between the client and the server. 169 00:14:46,720 --> 00:14:54,040 And then it allowed us to be able to pass that traffic through man-in-the-middle relay and allowed us to intercept through Burp. 170 00:14:55,080 --> 00:14:59,780 Once it hit Burp, the HL7 message is then passed. 171 00:15:00,360 --> 00:15:03,120 And the contents of that message are dynamically stored. 172 00:15:03,420 --> 00:15:11,580 So that allows us to be able to intercept and send on any particular HL7 message with any contents. 173 00:15:12,600 --> 00:15:17,920 At this point here as well, it allows us to be able to do all the cases where we've got that MLRP wrapper. 174 00:15:18,680 --> 00:15:24,580 And from that point onwards, the HL7 message is then converted into an ICE JSON. 175 00:15:24,600 --> 00:15:33,900 This allows testers or attackers to be able to easily read the message contents and also change the contents as well. 176 00:15:35,100 --> 00:15:42,700 Once testing is complete, the message is then converted back into HL7 format and sent on to the server. 177 00:15:44,760 --> 00:15:46,340 Okay, so time for the demos. 178 00:15:47,040 --> 00:15:48,600 Another quick disclaimer here. 179 00:15:49,500 --> 00:15:53,320 I am going to be open sourcing this tool after the conference. 180 00:15:53,760 --> 00:15:54,580 So please be aware of that. 181 00:15:54,600 --> 00:15:58,460 Please do not use this tool against any production systems, just as a warning. 182 00:15:59,740 --> 00:16:03,100 Okay, so I'm going to go through two types of demonstration here. 183 00:16:03,360 --> 00:16:07,280 So the first is going to be using an example message which will be sent from a client. 184 00:16:07,460 --> 00:16:10,960 And this is basically using an emulator to act as a medical device. 185 00:16:12,200 --> 00:16:15,360 The second demo will be using an actual medical device. 186 00:16:15,600 --> 00:16:19,820 And so the message you will see will be coming straight from the patient monitor that I featured earlier. 187 00:16:23,780 --> 00:16:28,140 Okay, so the first demo we've got the test message. 188 00:16:28,400 --> 00:16:31,900 So we're actually using the same message that was on the previous slide that you saw before. 189 00:16:32,900 --> 00:16:35,540 We have our man in the middle relay command set out. 190 00:16:35,640 --> 00:16:38,760 So it's listening on any port, any IP address locally. 191 00:16:39,580 --> 00:16:42,980 We've got our client sending data on port 8880. 192 00:16:43,920 --> 00:16:48,820 And the server is configured to listen on local host on port 8888. 193 00:16:51,180 --> 00:16:55,380 We've also got burp listening on local host on port 8081. 194 00:16:56,140 --> 00:17:00,060 Just to confuse you with all the eights, as you can see. 195 00:17:02,560 --> 00:17:09,900 And so if we go ahead and intercept, we set our server listening on port 8888. 196 00:17:11,540 --> 00:17:15,080 And then we've got our man in the middle relay command. 197 00:17:15,140 --> 00:17:17,540 So that's going to be sending the traffic through to burp. 198 00:17:18,660 --> 00:17:21,860 And then if we send our message from our client. 199 00:17:23,340 --> 00:17:26,000 As you can see, this has now been intercepted in burp. 200 00:17:26,620 --> 00:17:28,420 Standard HL7 message format. 201 00:17:28,900 --> 00:17:33,800 But if we go into HL7 magic, you can see it's converted into a nice JSON format. 202 00:17:36,140 --> 00:17:42,300 We've also got all of the segments and all of the fields within that segment as well. 203 00:17:42,380 --> 00:17:46,640 Plus some additional information that is gathered through the passing of these messages. 204 00:17:48,740 --> 00:17:52,620 If we wanted to prove the impact here, we might decide to change some of the contents. 205 00:17:53,500 --> 00:17:56,780 So we might change the patient name, potentially. 206 00:17:57,700 --> 00:18:00,680 From Mickey Mouse to Bob Mouse. 207 00:18:03,700 --> 00:18:07,960 And if we go back, that is now converted back into HL7 format. 208 00:18:09,940 --> 00:18:13,840 If we go to our server, forward the message on. 209 00:18:14,220 --> 00:18:17,160 And as you can see, the server has now received our new message. 210 00:18:17,160 --> 00:18:19,520 With Bob Mouse instead of Mickey Mouse. 211 00:18:23,560 --> 00:18:25,260 Okay, so second demo here. 212 00:18:25,400 --> 00:18:28,140 We are now using our patient monitor. 213 00:18:28,440 --> 00:18:32,160 And so the message being received will be from the patient monitor. 214 00:18:32,900 --> 00:18:35,340 So the IP address here is slightly different. 215 00:18:35,460 --> 00:18:38,320 So we're now using 192.168.0.10 IP. 216 00:18:38,940 --> 00:18:42,780 And therefore our man in the middle relay command is going to be slightly different here as well. 217 00:18:43,620 --> 00:18:46,360 We're still listening on any IP locally. 218 00:18:47,160 --> 00:18:49,800 But now our client is sending data on port 4000. 219 00:18:50,920 --> 00:18:56,140 We're listening on the 192.168 IP on port 8888. 220 00:18:57,080 --> 00:19:00,960 Burp is also listening on the same IP, but on the same port as before. 221 00:19:01,060 --> 00:19:01,720 So 8081. 222 00:19:03,240 --> 00:19:04,300 As you can see. 223 00:19:06,280 --> 00:19:07,720 If we go ahead and intercept. 224 00:19:09,580 --> 00:19:11,900 We set our server listening as same as before. 225 00:19:14,360 --> 00:19:16,440 We've got our man in the middle relay command going. 226 00:19:17,160 --> 00:19:20,920 And now we are waiting for the message to be sent from our medical device. 227 00:19:21,300 --> 00:19:22,100 And there you go. 228 00:19:22,160 --> 00:19:23,120 We're intercepted. 229 00:19:23,760 --> 00:19:24,440 Same again. 230 00:19:25,080 --> 00:19:25,800 HS7 magic. 231 00:19:25,900 --> 00:19:30,240 And you can see the contents of the message is now in a nice JSON readable format. 232 00:19:35,240 --> 00:19:37,240 Again, if we wanted to prove the impact here. 233 00:19:37,360 --> 00:19:39,080 We might decide to change the contents. 234 00:19:40,300 --> 00:19:41,360 So same as before. 235 00:19:41,520 --> 00:19:43,580 We might decide to change the patient name. 236 00:19:43,960 --> 00:19:45,000 Quite a benign example. 237 00:19:45,500 --> 00:19:47,140 But we might change this from Donald. 238 00:19:47,160 --> 00:19:48,600 Donald Trump to Donald Duck. 239 00:19:51,580 --> 00:19:53,680 But if we wanted to really prove the impact here. 240 00:19:53,860 --> 00:19:57,600 We could change some of the readings like the blood oxygen reading. 241 00:19:58,280 --> 00:20:01,060 And potentially the heart rate reading if we wanted to as well. 242 00:20:01,980 --> 00:20:05,060 Again, we've now converted this back into normal HS7 format. 243 00:20:06,000 --> 00:20:07,060 Go to our server. 244 00:20:07,160 --> 00:20:09,440 And the server has now received our new message. 245 00:20:13,960 --> 00:20:14,400 Okay. 246 00:20:14,460 --> 00:20:15,880 So what can we take away from this? 247 00:20:16,700 --> 00:20:19,740 HS7 is still the most commonly used protocol in the industry. 248 00:20:20,000 --> 00:20:23,500 And as we've seen, it's vulnerable to a number of issues if not securely configured. 249 00:20:24,560 --> 00:20:27,600 HS7 is difficult to test from a security perspective. 250 00:20:28,280 --> 00:20:29,780 It's difficult to read. 251 00:20:30,380 --> 00:20:31,280 Difficult to fingerprint. 252 00:20:31,640 --> 00:20:36,020 And as we've seen, it's difficult to be able to proxy the traffic through existing security tools. 253 00:20:37,560 --> 00:20:43,140 HS7 magic can provide testers with an easy method of testing medical devices using this protocol. 254 00:20:43,140 --> 00:20:48,060 So in future, testers will be able to proxy traffic through BERT. 255 00:20:48,300 --> 00:20:52,960 They'll be able to easily read these messages and also amend messages on the fly as well. 256 00:20:54,080 --> 00:20:59,220 In terms of future plans, I intend to continue researching medical protocols. 257 00:20:59,960 --> 00:21:05,340 I'll also intend to add support to HS7 magic for protocols such as FHIR. 258 00:21:05,860 --> 00:21:08,200 Potentially some fuzzing integration as well. 259 00:21:08,400 --> 00:21:12,260 And I'll also be open sourcing the tool after this conference. 260 00:21:12,260 --> 00:21:17,320 So I'll welcome any collaborations and any potential feedback and improvements to the tool. 261 00:21:19,180 --> 00:21:22,820 I just want to say thank you to anyone that's supported me on this journey. 262 00:21:23,000 --> 00:21:25,760 And thank you very much for joining me here.