start	end	text
0	3400	Alright, hello everyone and thanks for coming to our talk today. We're pretty
3400	6880	excited to be speaking in the ICS village for the first time. We're going
6880	11600	to talk about an ODE that we found in an ICS system. This is actually going to be
11600	15500	somewhat of a redo of our talk in track 2 yesterday, but we're going to
15500	21800	focus a lot more on challenges we faced specific to ICS systems. So first of all,
21800	25700	who are the two crazy guys standing in front of you? My name is Doug McKee. I
25700	28820	work for McAfee's Advanced Threat Research Team. I've got a little over
28820	32780	eight years of experience in vulnerability research and pen testing.
32780	37920	And I'm Mark. I'm also a researcher at McAfee's ATR team and I have a little
37920	41940	over eight months of experience in vulnerability research and pen testing.
43020	47640	Alright, so first what are we here to talk about today? Obviously it's going to
47640	53500	be an ICS system. And for this it's Delta Controls and Telebus Manager. And this
53500	56420	is a building controller. So what building controllers do is they're
56420	61260	installed in commercial and industrial buildings to manage things like HVAC,
61260	66120	access control, pressure rooms, and hospitals. And they do this largely over
66520	70720	a networking protocol called BACnet. And that stands for Building Access Control
70720	75260	Network. And this is not proprietary to this Delta system. It's
75260	79340	actually the same across the industry. And so when we started looking at this
79340	83740	system specifically, we kind of ran into what we like to call the perfect storm.
83740	87800	And that's also why we started looking at it more heavily. One, it's
87800	91120	network connected and these are connected to the Internet. So we
91120	94740	always like to look for vulnerabilities that are network accessible because they
94740	97440	tend to have a higher impact. And they give us a really good place to start
97440	101760	from an attack surface. Also when we started looking at the device, we found
101760	105360	that it had an active UART header on the board that did not require any
105360	109520	authentication. And it dropped us right into a root shell, which allowed us
109520	113300	easily to extract the firmware and to start debugging. And when we extract the
113300	116340	firmware, we also found that the developers had left symbols in the
116340	119820	binaries, which again made things easier for us to move forward. And I'll
119820	123420	reference this throughout the presentation. And last but definitely not
123420	127680	least, as most ICS systems do, that run Linux anyway, they have a busy box
127680	131320	installed. And in this instance of busy box, Netcat was left installed on the
131320	135640	box, which became extremely useful when we get to our post-exploitation phase.
136200	140260	So I'm going to give you a really short, high-level understanding of the
140260	143900	vulnerability and the exploit. And then we're going to focus on some of the
143900	148020	challenges. So first, what is the vulnerability? We found using broadcast
148020	152400	packets, BACnet broadcast packets, that we were able to find a buffer overflow.
152400	156180	We were able to turn that buffer overflow into a write-what-where condition and use
156180	160600	it to gain control of execution. So once we gained control of execution, we were
160600	165180	able to redirect execution to shellcode, which we were able to put on the heap
165180	169700	because of the buffer overflow. So a little bit more about the
169700	173340	vulnerability. This is what it looks like in code using the IDD compilers.
173340	177960	I've got it condensed here. The simplest way to look at it is we have a standard
177960	182300	buffer size mismatch. So in the top diagram, you've got a buffer that I've
182300	187020	labeled source, and it's being set to 1732 bytes, and it's being read directly
187020	191760	from the wire. A little bit later down in the code, we have a second buffer being
191760	196380	allocated to 1476 bytes. As you can tell, those sizes are not the same. It's
196380	200920	eventually used for a mem copy, and therefore we have a buffer overflow. And
200920	206020	in order to get that and to use to gain control of execution, we used the
206020	209800	write-what-where condition to do something called a GOT overwrite. So if
209800	215020	you're not familiar in Linux, the GOT stands for global offset table. This is a
215020	219580	table which is populated at runtime, therefore it's generally writable, and it
219580	225000	basically is a match between function name and address. So in our case, one of
225000	229240	the functions in memory was scdcodebacknet UDP, and this function was
229240	233060	very close to where we found the vuln. And so therefore, by overwriting the
233060	236980	address for that function, we were able to redirect that function pointer to
236980	242440	shellcode, which was stored in memory. So the shellcode, as I said, we controlled a
242440	246220	very small amount of memory on the heap, which made shellcode slightly difficult,
246220	250580	but we were able to do a little bit of hopscotch in memory to jump around and
250580	254640	actually get our shellcode to work in memory. We did a classic return-to-lib C
254640	258600	attack and leveraged the netcat that was already installed on the system to
258600	262320	gain a reverse shell. And with that reverse shell is kind of the basis of
262320	266260	where everything starts, and from there we're able to further
266260	272420	infect and exploit the system. So I said, one of the things we want to focus
272420	276820	on in here is the challenges we face during our process for ICS specific
276820	281580	systems. And so like most people, static analysis is great, but we would really
281580	285480	rather use dynamic analysis as much as possible in the exploitation process.
285480	291060	It's just simply easier. So in order to do that, we compiled GDB server for the
291060	295220	appropriate architecture, and we dropped it on the system. Now as soon as we
295220	298760	started using GDB, we were instantly messed with a bunch of error messages,
298760	302840	and then the system rebooted. Now the error messages have been redacted here
302840	306520	at the request of the vendor, but the gist of the error messages were that
306520	309880	there was a watchdog timer that failed, kicked the system, and therefore the
309880	314200	system reboots. For those not familiar, in ICS systems, watchdog timers are
314200	319140	typically used in order to ensure that if the system hangs for any period of
319140	323660	time, an action is taken to stop it, to get it back going again. And in this case,
323660	327640	the action is rebooting. Well that's obviously going to be not not good for
327640	333500	dynamic debugging, but because we had symbols and because we were able to use
333500	337040	those error messages, it's actually pretty simple for us to find in software
337040	341500	where this is taking place. Here you can see that there's three areas where a
341500	346480	counter is being decremented by five, and and when the counter hits zero, it reboots
346480	350940	the device. Well from a software research perspective, this is actually not a hard
350940	354860	problem to solve. All we have to do is a technique called binary patching, and we
354860	359080	only need to patch one single byte in the entire binary. So what we did is we
359080	362880	changed that five to a zero, and by changing that five to a zero, the code
362880	366060	still executed, but it effectively didn't do anything. In fact, you can see up here
366060	369140	on the screen on the right-hand side that IDA doesn't even recognize that
369140	373320	that line exists anymore, because it's completely ineffective. So we did this
373320	376900	and started debugging again, and we were successful for an entirely total of
376900	380460	three minutes. And then the system rebooted again, and the watchdog got its
380460	384660	revenge. And Mark and I are trying to figure out, we just washed the watchdog.
384660	389720	Why is the system rebooting? Well again, something specific to ICS systems is
389720	393420	there wasn't just a software watchdog, but there was a hardware watchdog, which
393420	396720	is very common in ICS systems, and we had forgotten to handle the hardware
396720	400380	watchdog. And so you can see that here on the UART screen, that the hardware
400380	405520	watchdog is being set every 180, for up to 480 seconds every time on boot, and
405520	410280	otherwise three minutes. So the important thing about hardware watchdogs is that
410280	414060	if we have to deal with them as security researchers, the developers also have to
414060	417020	deal with them. Which means if the developers have to deal with them,
417020	420720	there's already code on the device to handle this problem. You just have to
420720	424680	find a way to get access to it. Well in our instance, the developers had exported
424680	428880	all of their functions to all of their SOs, meaning that all we had to do was
428880	433140	write a very small C program, import their libraries, and call their functions,
433140	436780	and have that boot up on start. And now we were able to kick the watchdog in the
436780	440580	exact same manners that the developers did to prevent the device from rebooting.
440780	444480	So by employing both of these two methods to handle the software and the
444480	447880	hardware watchdog, we were able to debug the system dynamically, which was
447880	451240	extremely helpful for the rest of our research. So we faced a couple more
451240	453980	challenges, and to explain these I'm going to hand this over to my
453980	461740	co-worker Mark. Thanks Doug. So yeah, the next challenge we encountered is that we
461740	464880	wanted to get this exploit to work remotely. Up until this point, we had been
464880	468240	conducting the attack on the same network the device lives on using
468240	471560	broadcast traffic, which was nice because we didn't need to know the IP address of
471560	477860	the device, but ultimately we wanted to expand the impact to be worldwide. Okay,
477860	482820	so how would we go about doing this? As you may or may not know, the attack as it
482820	485680	stands uses broadcast traffic, which normally does not travel over the
485680	489780	internet. Well thankfully, a certain BACnet technology came to save the day.
490640	496860	And that BACnet technology was BBMD, or Broadcast IP, or sorry, BACnet IP
496860	500400	Broadcast Management Device, which is sort of a mouthful, but suffice it to
500400	506040	say, it allows for the communication of BACnet broadcast traffic, the exact kind
506040	510440	we're using, to travel over the internet. And so in the diagram on the right, you
510440	514000	see two such BACnet networks connected over the internet, and each of them have
514140	519100	a BBMD system. So the way this works is that traffic intended for a foreign
519100	523800	network is first sent to the source network's BBMD. It uses unicast traffic
523800	528380	to send it to the destination network's BBMD, whose job is then to rebroadcast
528380	532220	that traffic. That's all well and good, but how does this help us? Well,
532220	536100	ultimately, by using this technology, we discovered, through testing, that this
536100	539140	actually gets our exploit to work entirely over the internet. I want to
539140	543020	reiterate, at the time of this writing, any EBMGR device connected to the
543020	546160	internet with its default network settings could be pwned 100% remotely
546160	551840	using this exploit. Now, this is not the end of our challenges, not by a long shot,
551840	555220	because after all, up until this point, all we have is a root shell to the device
555220	559280	and persistence. This is very nice, but ultimately we're more interested, from an
559280	563300	impact perspective, from controlling the hardware on the other end of this device.
563300	566940	Whether this be HVAC systems in a data center, access control in a government
566940	572040	building, or pressure rooms in a hospital, that's where the real impact lies. We
572040	576440	need to gain control of those. So our initial hypothesis was to use the
576440	579560	programming already on the device and see if we can get that code to work for
579560	584440	us. The first approach we used was to try and look at the database files located
584440	588260	on the device's file system, and these contain some information about the state
588260	591660	of the I.O. hardware. The first thing that jumped out at us when we looked at
591660	595440	these database files is that I had no idea what the hell I was looking at. This
595440	599540	was too complicated, so we decided to keep looking. The next thing we tried to
599540	602860	look at is controlling the I.O. state directly from the touchscreen as you
602860	606960	would in normal operation. And then this actually generates loopback traffic, and
606960	610180	we decided that if we could investigate how these packets are structured and
610180	613880	maybe replay them, we could get it to work for us. And those paying close
613880	617400	attention might notice that the packet structure is actually very similar to
617400	621560	the database files and that I still have no idea what I'm looking at. So we
621560	626480	tried something else again. And what we ended up, what ended up working for us
626480	631180	is actually hooking to the functions that control I.O. natively. And you see
631180	636280	one of these functions in front of you from GDB output. And once again, symbols
636280	640260	being left in proved invaluable here since names like can I.O. write output
640260	646000	proved to be a huge, you know, indicator this is a good place to start since we
646000	651100	knew that all the I.O. modules are handled through the CAN bus. Now through
651100	653860	some further reversing of these I.O. control functions, we discover there's
653860	657300	actually different functions for handling all the different categories of
657300	663640	I.O. And there are six such categories for the EBMGR. You have inputs, outputs,
663640	669520	variables, and any of these can be either analog or binary. Now the idea would be
669520	672520	to alter the parameters going to these functions in order to get the code to
672520	676140	work for us. But the question is which parameters do we alter and how do we do
676140	680520	it? Well for that, we did find one key commonality between all these various
680520	684740	functions and that's the first parameter being sent. The first parameter, as we
684740	688140	discovered, is actually a data structure that describes the hardware being
688140	692220	altered. In particular, this data structure for the first four bytes are
692220	696720	the ID or the fingerprint of the device and this is unique to each one. At a 12
696720	700200	byte offset, we also discovered the holds the current state of the device, which
700200	704140	is the most crucial component. But additionally, at a varying offset, you
704140	707640	could also find a descriptive string of that device, which is how we know this
707640	711840	one is responsible for monitoring room temperature. So using this information is
711840	714820	actually pretty straightforward to alter these data structures coming into these
714820	720600	functions and thus get control of I.O., at least in theory. So using this
720600	724240	information, we were able to craft malware that took advantage of this
724240	728380	hooking method in order to control the I.O., but ultimately we had another
728380	732020	challenge in front of us. And that challenge was that, unlike the watchdog
732020	735460	kicking code, which we could just throw some C code onto the device and have it
735460	739780	run, execute some functions that exist in memory, the handles to the I.O. hardware
739780	744160	were trapped inside the program space of the existing programming. It could not be
744160	748400	accessed normally from an external program. Somehow our malware had to be
748400	752420	inserted into the memory space of the existing programming to do its job. How
752420	756820	would we do it? Well, the solution ended up being something called LD preload. And
756820	760680	for those that don't know, LD preload is a Linux environment variable. And
760680	764580	the shared objects it points to are loaded first by a dynamic linker when a
764580	769020	binary is executed. Now this is not a new or novel concept. We've not come up
769020	773180	with this. It's actually a pretty common strategy in this field for inserting
773180	775900	code into the existing program's memory space, which is exactly what we wanted
775900	781260	to do. So in our case, we used persistence on the device in order to set this
781260	785700	variable to point to our malware and thus we could insert it into the device's
785700	790700	programming. But then the next challenge was, where do we put it? Well, here are
790700	796620	our options. So this is a rough overview of the programming startup routine. And
796620	800300	through some further reversing, we decided that the best place to put it would be
800300	804860	this function called canioinit, highlighted in yellow. The reason being is,
804860	808760	as Doug mentioned previously, this is a vastly multi-threaded application. It
808760	812320	runs many threads in parallel. And in order to avoid race conditions or
812320	814880	inconsistent behavior, we wanted a function that was called early
814880	819660	initialization, called once, and called by a single thread. And this function met
819660	824380	all those criteria. So what does it look like once our baby malware is inserted
824380	829780	here? Well, once this function is executed, our malware starts up and it runs a
829780	832600	thread in the background that listens for commands sent over the network by
832600	837840	the attacker. It listens on a TCP port. And depending on the content of these
837840	843140	commands, the malware will then intercept the corresponding calls to the IL
843140	847240	control functions, alter the parameters, as I mentioned previously, thus granting
847240	852300	us control of the hardware. Now, we were getting close to the end here, but we
852300	855980	still had one and possibly the most important challenge in front of us. And
855980	860540	that was, I couldn't afford my mortgage. Now hackers, we got to eat just like
860540	864400	anyone else. So we wanted to see if we can make any money off this thing. Now
864400	868900	obviously on stage, I would not try and sell any kind of malware. But purely
868900	873560	hypothetically, if I was going to, I might mention that it does give you
873560	877420	automatic discovery of all the hardware. You know, sit back and relax, it does
877420	883100	all the recon for you. Hypothetically, of course. Another thing I might mention is
883100	887380	that you get remote control through an interactive TCP session. A quick aside,
887380	892500	how many of you here, show of hands, saw our original talk yesterday? Okay, that's
892500	897800	not many. I'm going to recycle my jokes. Good. All right, so my therapist always
897800	901320	told me that two-way communication is key to any healthy relationship. And so
901320	904500	we decided to let you communicate with the malware through an interactive TCP
904500	909000	session. Now am I saying this malware is going to fix your marriage? Yes, that's
909000	912480	exactly what I'm saying. Okay, next, you can actually see the state of all the
912480	915960	hardware in real time. So you can see exactly how much damage you're causing.
916460	919940	And last but not least, send a single command and you revert the device to
919940	924580	its original, unhacked state, wiping out any traces the malware is ever there.
925100	929500	Best of all, if you call in the next 30 minutes, hypothetically, you could get all
929500	934720	this and more for 30,000 easy payments of $19.95, shipping and handling not
934720	938900	included. And if you're still not convinced, be sure to walk over 10 feet
938900	943060	that way after the talk is over to check out our presentation. You can see this
943060	949080	bad boy in action. But to show you a quick overview of how this looks in the
949080	955200	real world, I'm going to hand it back to Doug. Thanks, Mark. And just to be clear,
955200	958480	we're having some fun joking around, but we are in no way releasing the exploit
958480	963600	code, malware code, or selling anything. I don't want to get fired and my boss is
963600	969000	sitting right here. So, okay, so now that we've gone through a little bit of the
969000	972100	challenges and a really high overview of how this works, what does this really
972100	977320	look like? And one of our missions at McAfee's ATR team is we really want to
977320	981100	demonstrate these in some means that it's really easy for everyone to see
981100	984820	what the impact is. And because of that, we actually took the time to build a
984820	988240	fully working demo unit, which as Mark said, is literally 10 feet over there
988240	991300	afterwards if you want to see it in action. But I'll show you the demos as
991300	996740	videos right now since they won't let us will it over. So what we built was a
996740	1002480	fully functional HVAC unit that's cooling a simulated data center. Because
1002620	1005920	why a data center? Because this is one of the uses that this exact model is used
1005920	1010560	for. We actually hired an installer that installs these on a regular basis to
1010560	1013980	build this, and one of the main things they install it in is in data centers.
1013980	1018020	Again, we're going for as realistic as possible. So if we take a look at what
1018020	1022160	this unit looks like, excuse me, on the backhand side you see all the components
1022160	1026860	of a normal working HVAC system. So we've got the valves, we've got fans, we've got
1026860	1032240	pumps, and all this is doing is taking cold water from a cold water bin and
1032240	1036520	using that to send cold air into our simulated data unit. You might say
1036520	1039920	there's not usually cold water in a real unit, but again my boss was too cheap to
1039920	1043940	buy an actual condenser, so that's what we were working with. On the other side
1043940	1048800	we have a glassed-in simulated data center. We've got all this again HVAC
1048800	1052100	equipment that you'd see in a data center, and we even have a raised floor
1052100	1055640	with a server sitting on it generating heat. For a moment I'll bring your
1055640	1059240	attention to one of the sensors. It's the independent temperature sensor. This is
1059240	1063360	the only component not hooked up to the Delta system because it gives us
1063360	1066460	ground truth for what the temperature is regardless of how much we mess the
1066460	1071260	system up. On the top we have some simple LEDs indicating different states of the
1071260	1075200	equipment. Again mostly just so it's visually easy to see, but the most
1075200	1079400	important one is the alarm. And the alarm is an interesting one because in real
1079400	1083900	life the alarm could be done one of two ways. It could simply be an LED, it could
1083900	1087780	also be a siren, but more frequently the alarm is used for like email
1087780	1092420	notification so that somebody knows this system's in distress. So anytime we
1092420	1095600	talk about the alarm, that covers all of those. The attacker would be able to
1095600	1100160	manipulate that as well. So I'm going to show you what this would actually look
1100160	1104000	like if someone attacks it using our premium malware which will help pay for
1104000	1109480	Mark's mortgage. On the upper right hand side of the screen you
1109480	1113880	see the attacker running the exploit script that we ran. On the top right hand
1113880	1118900	side of the screen you see the Delta controller picture-in-picture. As the
1118900	1123100	attacker launches the exploit, leverages the vulnerability, it downloads our
1123100	1126860	malware and a few other fun images and this reboots the system to leverage that
1126860	1130920	LD preload method that Mark talked about. Here you can see we've replaced the
1130920	1135080	images just to prove that it's hacked. No one would ever actually do this in
1135080	1138580	the real world, but we're just going for a visual representation. Also we're
1138580	1142540	logging in to follow along, but no one actually needs to touch or log in the
1142540	1146880	system. So what are some of the things the attacker might do once they got to
1146880	1150420	this point on the system? Well one thing they might do is control the outputs of
1150420	1153900	the system. The system takes input and based on those inputs have a reaction
1153900	1158300	to the outputs. So here what you're seeing is the attacker manually override
1158300	1162680	several of the outputs on the screen one at a time. In the bottom right hand
1162680	1167080	corner of the screen you will also see that the system is reacting
1167080	1171220	accordingly. So the pump shutting off, the alarms turning off, etc. On the top
1171220	1174560	right hand of this part of the screen you'll notice that the Delta screen is
1174560	1178520	not reacting. In fact it's still staying in its previous state. This is because
1178520	1182920	our premium malware has the ability to adjust or not adjust the screen based on
1182920	1186780	the attacker's will. And if we start talking about alerting or
1186780	1191740	whether the user is aware, this is a very important feature. So what you just saw
1191740	1195720	turning stuff on and off, that's binary outputs. These systems typically have
1195720	1199920	both analog and binary outputs. And all analog means is they're set to some
1199920	1204780	floating point value instead of just on or off. So to manipulate those the
1204780	1208420	attacker can do that as well through the same interface. This time that you will
1208420	1211440	see the Delta screen update because we're going to have the attacker choose
1211440	1215080	to update the screen. So they're going to change the fan speed in the valve and
1215080	1218240	you can again see the component reacting appropriately in the bottom right hand
1218240	1222680	corner of the screen. Also what we've done in this malware is provide a reset
1222680	1226500	function which sets everything back to its original programming without
1226500	1229760	removing the malware's presence. So it kind of gives the attacker a way to put
1229760	1235040	things back and still have persistence on the device. So controlling outputs are
1235040	1238220	fun but it would be a lot of work for an attacker to have to manipulate all the
1238220	1241840	outputs in order to get the outcome that they wanted. Remember I mentioned that
1241840	1246300	these systems are designed to take input and based on that input perform some
1246300	1250820	action. So instead of controlling the outputs if we manipulated the
1250820	1255320	incoming data then the the rest of the system would just function as normally.
1255520	1259660	So in the world of HVAC if the system thought it was reading 30 and 40
1259660	1263280	degrees from the data center what would it do? It would do the same thing your house
1263280	1266900	HVAC would do. It would turn itself off because it has no need to cool. That's
1266900	1270280	exactly what we have going on here and you can see our independent temperature
1270280	1274380	sensor in the bottom right hand corner the temperature is rising. Alarms are not
1274380	1277560	going to trigger because the system doesn't think it's in distress. You know
1277560	1281060	all the valves or dampers and stuff they're going to close on their own
1281060	1284040	without the attacker doing anything because that's how the system's
1284040	1287840	programmed to react when it thinks it's only 30 or 40 degrees inside the data
1287840	1291440	center. So this is actually a more impactful scenario controlling the
1291440	1296440	inputs than the outputs. And a data center again is just one example of how
1296440	1301100	this how these would work in the real world but think about you know a major
1301100	1305260	corporation insert your favorite name cloud provider and if their data center
1305260	1309800	was to lose HVAC for a couple days without their technicians knowing being
1309800	1313140	any of the wiser we could probably impact a pretty large portion of the
1313140	1317900	internet. But we want to highlight that data centers are not the only thing
1317900	1322160	because this is a building controller and it's not agnostic to one industry
1322160	1326760	these are installed across a very wide range of industries and I'm
1326760	1329420	going to highlight a couple of examples in those industries just so we
1329420	1334320	understand the impact beyond melting down a data center. So the first one I'm
1334320	1337620	going to talk about is the health care industry and the health care is slightly
1337620	1340540	unique in the fact that building controllers control pressure in
1340540	1344540	individual rooms throughout a hospital. And what do I mean by controlling
1344540	1349060	pressure? Well by setting the pressure in different rooms, I'm sorry, by setting the
1349060	1353500	pressure in different rooms to different degrees, it prevents the spread of
1353500	1356940	disease. So by having a positive pressure in one room and negative pressure in the
1356940	1361080	other room, disease can't travel from one side of the hospital to the other side.
1361080	1364560	The other unique thing about controlling pressure is it's just a very very small
1364560	1368280	change in pressure. Unlike temperature you might walk into a room and say hey
1368280	1371860	it's kind of hot in here. If you walk into a room you're not going to say hey
1371860	1376280	the pressure is kind of low in here. So the humans not going to notice that
1376280	1380080	change, it's a very small change. And if an attacker was to get on one of these
1380080	1384000	systems, make it so the hospital pressure was even throughout everything, I'm
1384000	1387820	talking the OR, you know the quarantine room, the rooms where the housing
1387820	1392060	critical diseases or samples, all of a sudden all that stuff would be able to
1392060	1395740	travel airborne throughout the hospital. And that could actually affect human
1395740	1400700	life. That's a pretty interesting scenario. If we talk about the
1400700	1403680	government sector for a moment, I only bring up this one because we did some
1403680	1407600	online open-source intelligence research and found that these systems are
1407600	1411160	actually being used in certain government buildings, state governments,
1411160	1415580	for access control. Well if you think about that impact, if we were able to
1415580	1418980	access one of these systems in a state government building for access control, I
1418980	1422080	don't think I have to go into too much detail at a hacker conference of
1422080	1425820	what that would provide, right? We would be able to access maybe sensitive data
1425820	1430680	that we weren't supposed to get to, social our way, engineer our way in. And
1430680	1434160	last but not least, I'll take a moment just to highlight education just because
1434160	1437400	I think it's a one that people are probably asking yourself, why do I care
1437400	1442380	if you can affect the HVAC system in my kids preschool? And what I would argue is
1442380	1446980	we often forget that because this system is completely accessible over the
1446980	1451080	internet and remotely exploitable, it's not only about the system itself.
1451080	1454460	Unfortunately, we find that a lot of times these are not air gaps and there's
1454460	1457880	other systems on the network and being able to control a system that's on the
1457880	1462020	network in a hundred percent capacity will allow us to potentially view video
1462020	1465560	feeds that are going over the network or compromise other systems on
1465560	1468200	the network, which all of a sudden you might care a little bit more about than
1468200	1473740	just the temperature. But don't worry, no one would actually connect these systems
1473740	1476740	to the network so we really have nothing to worry about from a network
1476740	1480900	perspective. Oh, I forgot about that. Shodan does show us this a little
1480900	1484840	different than the optimal version. So at the time that we originally did this, the
1484840	1491360	exact model that we exploited that has the vulnerable firmware, there was
1491360	1496300	about 500 of these on the internet at the given time. And the thing was, where
1496300	1499900	we discovered this vulnerability is pretty low on the
1500980	1504680	stack and it's because it digests the BACnet protocol, it's actually used
1504680	1508160	across multiple Delta Controls devices. It's not specific to this Delta Control
1508160	1512120	unit. And if we look at those numbers connected to the internet, all of a
1512120	1516200	sudden we get to about 1,700 connected to the internet that has the potential to be
1516200	1519900	vulnerable to this vulnerability. Give or take 10% or so for honeypots that we
1519900	1524540	found on the internet as well. So with that said, I think we've
1524540	1530060	covered just about all of the impact and the details of the vulnerability. I want
1530060	1533880	to take a moment to highlight the vendor for this. Per McAfee's responsible
1533880	1538560	disclosure policy, we disclosed to the vendor that we found this bug and
1538560	1542980	everything that we were able to do with it in late 2018. A CVE number was
1542980	1546360	generated and then we worked very closely with the vendor. And in
1546360	1552280	June of 2019, the vendor released a patch. ATR has tested the patch and is happy to
1552280	1557000	confirm the patch fully does mitigate this issue. And I also want to take a
1557000	1561000	moment just to say that Delta was awesome to work with and they were kind
1561000	1563680	of what I'd like to see as the gold standard going forward for security
1563680	1568060	researchers releasing bugs. A lot of times, I've been in the industry for
1568060	1571320	almost 10 years and there's a lot of bad blood sometimes between security
1571320	1575100	vendors or security researchers and vendors. These guys were extremely
1575100	1578340	receptive to the information we provided them with. They worked with us very
1578340	1581700	closely to make sure the system has been patched. And this is really what we want
1581700	1584740	to see from all the vendors in the industry. We're not trying to do anything
1584740	1587540	negative. We're actually trying to help you and find these bugs before the bad
1587540	1591820	guys do. And this is really a good example on how effective that can be if
1591820	1594580	you can get a good relationship with the vendor because they're actively
1594580	1597560	patching these systems right now. We've actually already seen the patch being
1597560	1601900	applied and less of these systems vulnerable on the internet. So thank you
1601900	1606480	for your time. Mark and I will be here at the our demo station which is again
1606480	1609940	literally 10 or 20 feet over there. We're happy to answer any questions you might
1609940	1614320	have further or and I think we're probably we're gonna get off stage here.
1614320	1617260	So any questions you have please come to our station. Thank you.
