start	end	text
0	6080	Sorry, these lights are kind of bright, and I have an aversion to light, but thank you
6080	11660	for coming to the talk. Again, my name is Michael Aguilar. I'm a... oh, perfect. Thank
11660	20440	you so much. Oh, God, now I can see. Hi, everybody. Thank you for coming. Again, my name is Michael
20440	26560	Aguilar. Basically, I'm going to give a talk about dysfunctional unity, and I'll kind of
26560	35120	touch on what that is and kind of what I'm talking about. So, me, myself, I am a principal
35120	40860	consultant for SecureWorks Adversary Group. My specialties range in a lot of different
40860	46540	practices for offensive security. Again, things like physical security, breaking into buildings,
46540	51960	social engineering, basically lying my rear end off to get in that building, adversary
51960	62180	simulations, binary exploitations, web exploitations, and also making medical devices play Doom.
62360	67760	That's kind of my fun thing to do for medical devices, I guess, when you kind of get an
67760	75800	area of privilege. Free time activities. I do like to read a lot. Basically, if my head
75800	81940	is not in a book, it's in another book. I like to practice my offensive coding skills
81940	85920	again. Things like A-B bypasses, A-M-Z bypasses, things that you'll actually be using in the
85920	92620	field that I use pretty much all the time. I like to, again, read constantly. But, again,
92620	97060	free time to pull off stress. A lot of cycling, running, swimming, just basically kind of
97060	102360	gets a heart beating because I like to break into buildings. So, I figure that the better
102360	107440	I take care of myself, the more I can keep doing this as a profession. I also like to
107440	116400	get tattoos. It puts me to sleep. And I am a fan of very fast, loud music. So, going
116400	124120	over... I'm going to take my glasses off. It's actually a first for me. What is dysfunction
124120	127600	that I'm talking about and how it applies to what I'm speaking about with regards to
127600	132800	the medical device typography and vendors and, I should say, medical device manufacturers
132800	137960	and the FDA and the governing people of that. I'm also going to talk about a few wars that
137960	143240	have basically been won through attrition when trying to release CBEs. And also some
143240	146760	of the lurking dangers of interconnected medical devices, some of the things that we kind of
146760	152420	need to be looking at in the future. And my theories on a brighter future of how we can
152420	156500	actually start doing more things to actually be secure with regards to deploying these
156500	166140	items in secured infrastructure. So, when you think about dysfunction, I put this here
166140	170100	because obviously, if you're thinking about dysfunction, this is one of the most dysfunctional
170100	176480	families that we've seen in America. I'm not going to lie, the family that I'm talking
176480	181500	about seems to be one of the most dysfunctional families in America. And this is, again, between
181500	190460	the tester, the MDM, and the federal government in the way that they manage these things.
192480	200600	So according to the Merriam-Webster dictionary, again, what is dysfunction? It can be described
200600	207480	as an abnormal or unhealthy interpersonal behavior and interaction, again, with a group.
207480	212360	So again, the groups that I'm talking about are security researchers, the manufacturers
212360	216640	that make these devices, and the rule makers who actually enforce the rules that are supposed
216640	221260	to be applied to these devices as they're ingested into our internal infrastructure.
222760	233500	Now, basically, these groups are all separated entities that should normally be able to work
233500	240980	cordially together in a standard format. Occasionally, though, the conversations between
240980	246460	researcher and, like, say, the person you're trying to work with to release a vulnerability,
246460	253400	the manufacturer, it turns a little bit different. Again, they have a different idea, an ideology
253900	258700	of how things should work in their topography versus the actual researcher and the nuts
258700	265840	and bolts person who actually does the exploitation on these devices. Again, you know, us as researchers,
265840	269600	when we do these things, we're using techniques and skills that we've, you know, done again
269600	275280	and again with proven track records, you know, to show the range of the exploit that we're
275280	281240	actually deploying on this. But the issue that I'm running into is that the guidelines
281240	287460	that are being set forth by federal governments, the FDA, are namely just recommendations.
287460	291520	They're not really hard rules. The hard rule is that if you have a device with vulnerabilities,
291520	297120	they won't sell it in the domestic market. But in order to get there, they give you guidelines.
297260	302480	You should do this. Not, you need to do this, or we'll, like, you know, cut you out. It's
302480	306800	you should. And a lot of people use this to their advantage because, again, they're not
306800	310540	making the smart choices that they need to make in these devices to deploy them into
310700	318580	a critical infrastructure. Now, the other issue is what happens when there is an impasse
318580	326300	between a researcher and the MDM that you're trying to release the CBE with? Who plays
326300	332300	that neutral third party? A lot of times, the MDMs themselves will actually be their
332300	339280	own CNAs, which makes it so that they actually release their own CBEs. Now, the problem is
339280	343700	that when you're arguing something between somebody who actually does it and, like, the
343700	348500	person who's making it, they can just keep stalling and stalling and stalling. And then
348500	353340	eventually you'll just give up because you don't want to have to wait, like, six months,
353480	359560	a year, two years, three years to put out a CBE. And honestly, to tell you the truth,
359560	363560	I don't even care about the CBE. I'm just trying to get this stuff fixed in the product
363560	369120	because obviously I saw it. I experienced it. I exploited it. And if I can do it, then
369120	373200	somebody else can. And it's, you know, not me who I'm worried about. It's other people
373200	380180	who are going to be attacking our infrastructure that is my main concern. Now, again, my feeling
380180	385260	is that, again, reporting telemetry that I have turned in, again, regarding findings
385260	389260	and stuff that is being ingested by the FDA is not really fully understood to the full
389260	395440	of its capacity. A lot of times, you're turning in a report with some somewhat critical and
395440	400200	questionable flaws, but the project will still be accepted and acknowledged by the
400200	405840	FDA and then later sold in the domestic market. What happens to be able to get to that point,
405840	409520	I have no idea because, again, I don't work for a manufacturer. I'm just a consultant
409520	414540	that does the test. But the main issue that I have is, again, these major vulnerabilities
414540	419640	and these classes of vulnerabilities can potentially kill somebody or the entire hospital are getting
419640	426680	passed through. And I have no idea how this is getting from A, me, B, report, to C, you're
426680	433460	accepted to your 510K. This does not make any sense to me. Also, again, when they read
433460	440280	about a threat, what they're looking at is basically it's just a single device, you know,
440280	445660	in a box. They're not looking how this item is interconnected or using the connections
445660	449960	that they have actually installed on this. You'll notice a lot of medical devices are
449960	456460	almost legacy devices with NESP32 or some other device to allow a networking stack to
456460	462740	be able to transmit this data back and forth. I mean, we're talking about a single device,
462740	469020	right? It's just one device. What's going to happen? And that's the main thing is that
469020	472920	when the companies look at these exploits, these things that I turn in, like, oh, it
472920	478940	just happened on a device. You know, what's going to happen? Again, one is that these
478940	483420	systems, again, are interconnected, meaning that they are connected to a hospital. Now,
483580	488780	a lot of times, again, to get access to that, that means that basically you just, you know,
488780	492560	plug something in. There's just, like, networks everywhere in hospitals and a lot of times
492560	498680	they're just not dead. So, again, they say that it may only affect one device, but again,
498680	504320	this one device is connected to a multiple item or multiple plethora of network nodes
504320	510860	through Active Directory and other means. And many times, again, also the manufacturers
510860	517000	say that you're not supposed to plug in device. The device has an Ethernet port, but it does
517000	521140	not need to be plugged in. But again, if the Ethernet port does not need to be plugged
521140	527300	in, then why does it exist in the device topography? Also, again, you have to understand where
527300	533440	these items are plugged into. They're plugged into probably a hospital network. Now a hospital
533440	538940	network contains what? Active Directory. So that's kind of the problem, is that now you
538940	543000	have a device with a vulnerability that is connected to an Active Directory network that
543000	547340	is able to either utilize NTLM credentials that you may be able to take and exploit and
547340	552160	steal, then point upwards, do things like ADCS flaws and other kinds of Kerberos-ing
552160	555500	stuff to get privilege escalation. Basically, you take over the entire domain from that
555500	561820	one device. Again, these kinds of devices are also prime candidates to jump off from
561820	566400	in the network. Even if it's not AD join, this still gives you the same kind of access
566400	570040	to be able to start doing other attacks, to be able to get those kind of credentials from
570040	573700	within the network. Password sprays and other kinds of things, looking for open shares,
573700	577920	checking for simple passwords, checking for anything that basically will give you stuff.
577920	583300	I've gotten a lot of actual credentials by just utilizing network sniffing and pcreds
583300	588880	and other kinds, or credmaster, I'm sorry, credslayer, to basically analyze PCAP files
588880	594440	and pull off the NTLM credentials from PCAP files, just from listing passively, from the
594440	603920	guise of a medical device. The second thing is that I don't get, again, is when I turn
603920	612500	in a report with a critical flaw, but it's still accepted by the FDA. And these are things
612500	616760	that basically will either kill a patient, take over the entire hospital, or blow up
616760	620980	the hospital. In one instance, basically I turned something that was supposed to clean
620980	627420	items into a makeshift bomb because of the access for field service engineering, a heat
627420	633900	bay that you now can modify the control temperatures for, and the usage of pure oxygen and pure
633900	643440	alcohol in the thing to do the sanitization. Now, this leads to kind of how I expect things
643440	649300	to kind of go in the future, which is I hope that the FDA and CISA is looking towards offering
649300	656580	more and more support by hiring people that actually understand kind of what's going on.
656640	661040	That's kind of like nine-tenths of the problem, is that the people who are reading this don't
661040	665800	understand that NTLM theft is bad, or that you can actually get domain admin from a lower
665800	670100	privilege user. It's just like they look at it and they're like, okay, there's a flaw,
670100	674300	and you quote-unquote remediated it, or you have a justification to say that you should
674300	678680	be passing credentials in clear text or whatever the hell happens that gets them these passes.
678680	682620	What happens, I don't know, because again, I am disconnected from this process. But if
682620	687240	anybody has insight into how that happens, please, I'll be right there. Just let me know
687240	698800	what's going on. Now, a lot of times also, medical device manufacturers will say, this
698800	705460	is in a protected area. So again, as I mentioned, I also lead the physical security assessments
705460	711400	for my firm. So in 2022, basically my entire summer was breaking into protected areas.
711400	718080	So the fact that it's in a protected quote-unquote area, it doesn't really mean anything. Everybody's
718080	725820	been to a hospital, right? They have the double doors you walk in. It senses you, the IR reader,
726280	730520	opens the doors. Do you think you'd really be able to get in just wearing some scrubs,
730640	736140	a badge you cloned, and looking like a general doctor? It's pretty easy. All you have to
736140	740920	do is keep your head down, just nod to people, act like you work there, and then they will
740920	747400	pretty much believe that you do that if you fit in with a certain profile. So again, utilizing
747400	752080	all of that theory, having these devices in these quote-unquote protected areas really
752080	757580	doesn't mean much if you can actually get access to these protected areas. Now again,
758080	763100	the issue is that obviously you need to get into these, but to think that somebody wouldn't
763100	768040	do this if they really needed to affect the topography of a certain area is a fool's game.
769960	779200	And then one time I was challenged by an MDM to basically get into the device under two
779200	785080	minutes to try to get the exploit going because they said that, oh, we have a case, everything's
785080	789740	fine. Cases don't matter. Again, if you have a case, that's fine, but basically you need
789740	795620	an alarm on it to sound if you want to make that protected, and that's as per the FDA.
796420	802080	So my record for actually opening and exploiting a device in a case was less than two minutes.
802080	807060	So basically you open the case, I had a bunch of screws flying everywhere, did the exploit,
807060	812880	got the shell, closed it back up, and then we're all good. In under two minutes. So I
812880	816200	only needed two minutes on door to be able to get that exploit out the door and then
816200	820180	get code execution, and then now I'm system on the thing that's going to be cutting people
820180	832370	up. So again, another layer of the dysfunctional reality of what we have going on with medical
832370	839750	and MDM and researchers is that, again, placing these connected devices onto the hospital
839750	845570	network also increases some level of risk. If it's not meant to be connected onto the
845570	850750	network, then again, I still don't know why they put networking on these. Most of the
850750	855570	time what I hear is that the developers for the boards are just utilizing what's there.
855670	860310	And sometimes that has Wi-Fi. They just don't know how to disable it, or they will just
860310	863850	leave the chip on there. And that's the kind of aspect that I hope to see in the future
863850	867650	change in that, again, if it's not needed and if it's not supposed to be plugged in,
867650	872550	then don't keep the stuff in there. I mean, hell, just put some freaking glue in the port
872550	876450	and then make sure that it won't go in. It's really pretty simple. A soldering iron can
876450	883010	do this. But again, this is the part I don't get where they put in big words in their FAQ,
883010	889630	don't plug this in on the network, but here's a network jack. Also, hospitals themselves
889630	895950	are dealing with a ton of issues right now. Again, you've always seen a lot of ransomware
895950	902270	going off in hospitals, and why do you think that is? And I've been on a lot of adversarial
902270	908310	simulations as well. And again, the security of these places is very down level. Now, my
908310	913290	reason or my theory for this is because, again, the legacy devices, the medical devices that
913290	918990	exist in this topography, don't have the strongest security settings. Other times, they can accept
918990	923790	the strongest security settings. It's an impossibility. Some of these devices can't even have a password
923790	928030	over eight characters because we'll break something. So that's why the level of security
928030	931510	sometimes drops within these infrastructures because of their inclusion of these kinds
931510	935850	of devices and the allowance for them to be able to run. So then we have scenarios
935850	939990	where obviously people who know what they're doing within a network and can actually attack
940170	943910	a system will see all these gaps in security and take advantage of that and then launch
943910	949030	their ransomware payloads against the topography of the hospital. Hospitals used to have a
949030	953290	pass from threat actors against doing actions like this, but that pass has been revoked
953290	958410	as we've been seeing in the recent months with many hospitals again being hit by ransomware
958410	965410	operators, ransomware firms. Now, there is a key point. Again, continuous adversarial
965410	971770	assessments is kind of key. And one thing I always see when I'm on a hospital network,
971770	979650	which is odd, is an OU that says, like, defender or semantic disabled. And then there's a bunch
979650	987710	of systems in there. And they're normally critical. I mean, that's data that you basically
987710	991830	as you're ingesting as a threat actor, you can just take actionable, look it up. If you're
991830	995870	in an internal network for a hospital, look up an OU called disabled. I guarantee you'll
995870	999370	probably find one with devices that aren't running any kind of software. And that's for
999510	1005890	a specific reason. Critical, high target assets. So go ahead and take a look if you do those
1005890	1010010	kind of assessments. But also, again, the gears of these organizations are very slow
1010010	1015710	to move. If anybody's ever worked in the medical field trying to get any kind of change, like,
1015710	1029800	actually accepted, is a constant uphill battle. So again, there is a way out of this. And that's,
1029800	1037120	again, getting good goal-based offensive testers actually doing the tests for these. It's funny
1037120	1043480	to me because a lot of times when I come on to a client site, I will just talk to the client,
1043480	1047860	you know, how did your last pen test go, things you liked about it, things you didn't. A lot of
1047860	1051700	times they'll just show me the report. And I'm like, okay, this is some stuff. But there's some
1052240	1057440	similarities that I'm seeing between the medical testers that I experience, is that they're not
1057440	1065880	too thorough. Key point, one client showed me a report, prior test, they got the reverse shell.
1065880	1072500	Yay! That was it. Basically, that was the pun. They got a reverse shell. That was the same one
1072500	1077560	that I had the POC that basically blew up the hospital. So there was no post-exploitation,
1077560	1081040	there was nothing done to look for configuration files, there was nothing that was actually done
1081040	1085680	as far as cracking passwords, there was nothing done to escalate privileges. They just got a
1085680	1090880	shell, called it a day, probably scanned it with Nessus and that's it. So there's a little bit of
1090880	1098220	a difference that good offensive adversarial testing can give you versus just the general
1098220	1103720	scan and click and Nessus kind of chill thing. I know it's hard as a person who may be purchasing
1103720	1107940	these things. Again, you may be thinking that the sticker shock of a test tube may be $10,000
1107940	1115080	more than your other tester just because they're local is viable for your operation because you may
1115080	1120920	get a pass. But again, is that going to be cheaper in the long run? Think about this. You get a pass
1120920	1127680	for your device as you're putting out in the X widget. The tester did Nessus and map, everything
1127680	1133620	looks good, it runs, you can put it on the market, you can turn in your artifact that says
1133620	1138240	you had a pen test. But is that really going to be cheaper in the long run if that device gets
1138240	1144980	found to have a critical flaw in the field where possibly it could probably kill somebody and then
1144980	1149540	somebody tries to publish that and then you have to take it off with the recall and then you have
1149540	1157540	to put it back on and submit another $5,000, $10,000. The cost again comes up a lot more when
1157540	1161300	you have to do that versus if you just do it right the first time and go with somebody who
1161300	1168300	you know has a valid reputation for testing these things, has a body of work or something.
1168480	1173540	So when you're doing these kinds of choices for your testers, just research what they have as far
1173540	1178060	as skill sets and just make sure that everything is a thorough check versus just a reverse shell
1178060	1187080	and we're done. Also, again, when you are getting these things, obviously we want to help you. So
1187080	1193900	I like to look at myself as a budgetary tool. The harder I hit the system, that's more money
1193900	1200080	that you get in your pocket for budget. So basically, again, I like to look at myself
1200080	1204940	as a kind of a force multiplier. Now, again, wars run through attrition. I've had a lot of
1204940	1210560	open discussions with some medical device vendors, but my hopes are that, again, we can kind of work
1210560	1216400	together in some kind of uniform fashion. I'm kind of tired of people trying to sue me for no
1216400	1221880	reason. So the sooner that they start to wake up and realize that I'm doing this shit for free
1222780	1228340	at like here, they should like, you know, accept these things and actually try to work with us
1228340	1233880	versus trying to sue us with litigation because I don't care about your stupid binaries. Again,
1233880	1240820	case in point, last time I tried to release a CDE, there was group A who, well, there was the
1240820	1245500	first group who was very receptive. Everything worked fine. There was group B. They didn't get
1245500	1249740	anything. We talked. We came back. We talked more. They had no understanding what the physical
1250080	1254940	vulnerabilities were going on. They just basically said like, oh, well, you know, I have one guy was
1254940	1259040	screaming, I have a screwdriver. I can break into fucking anything. I'm like, I don't even know what
1259040	1263820	the hell's going on with you, sir. You must be having a bad day. And then you get an email saying
1263820	1269360	I need you to affirm in writing and certify that X, Y, and Z. That comes from the law department.
1269360	1273700	That's not from the person that wrote it. So again, I know what's coming next in that order.
1273700	1280320	So again, I think that hopefully under some time we can actually work together in a cohesive manner
1280320	1285960	and kind of all get together and maybe have beers afterwards. Also, wars run through attrition. And
1285960	1292300	this is my view of companies that write their own CDEs. Again, it's kind of hard because if you write
1292300	1296780	the CDE and I'm the researcher, who do you think is going to be the neutral ground? Like, there's
1296780	1301860	no neutral ground. I write the CDE, this is what's going to happen. Here's the severity.
1302780	1310800	Nobody's understanding what's actually going on. And again, does this feel like neutral ground?
1310800	1316240	If you make the CDE and you have to argue with the same people that are the owners of this project,
1316240	1322040	and you basically cannot go off of anything. So this is not neutral in my opinion.
1324280	1329960	Again, healthcare is very expensive. So again, we need to make better decisions when we're
1329960	1335600	connecting these devices on the interconnected space. So again, the better we do with making
1335600	1342580	the smart items more secure, the better we'll be in the long run. We'll have less ransomware
1342580	1348940	and less issues kind of plaguing us with regards to severe vulnerabilities in medical devices.
1350280	1355640	Also, one thing of note with genetics, don't go away just handing out your genetic data to all
1355640	1360300	these random places, because it's kind of hard to change your genetic sequence. You can change
1360300	1364860	your driver's license pretty easy. You need like a CRISPR and a lot of time and effort to change
1364860	1374410	your DNA. Again, we can do better. I feel as a group, you know, we can all kind of hopefully
1374410	1379050	come to some kind of agreement that says like, hey, guns down, like, let's just actually start
1379050	1383230	working together. But that's going to be in the future when again, we actually start
1384370	1389150	realizing that these items are critical assets. When you release a CVE for a medical device,
1389150	1395370	guess who also notes the CVE? CISA, because it's critical infrastructure. So the more we start
1395370	1398930	looking at them as critical, the more that these manufacturers hopefully will start actually making
1398930	1402610	the smart decisions. Now mind you, I know that they know that they're critical because they're
1402610	1406990	class two and class three medical devices, but necessarily criticality I think differs in our
1406990	1415610	opinion of things. Let's see. Okay, cool. I got one example. Okay. Okay. Anybody familiar with
1415610	1425310	DICOM? All right, cool. So has anybody heard of Pedicom? Yeah, you have. Nobody else. Okay,
1425310	1430950	cool. So basically, it was a research project released five years ago, somebody made the
1430950	1437890	ability to ingest or execute DICOM images from the command line by stuffing a PE header in the
1437890	1446390	128 byte preamble. So basically now you have 128 bytes of free space to throw malware. So here is
1447850	1456070	something I'm going to show you. All right, cool, cool.
1457870	1465190	All right, so this is a DICOM file. This is an image. Okay, you open with Radiant, you'll see an
1465190	1477660	image. Okay. This is that same DICOM file. This is that same DICOM file running. Let's see. Well,
1477780	1488140	a second ago. Oh, that's why no network, huh? Funny. Damn it. Sorry. So basically, the whole
1488140	1493640	long story is, you can actually execute these images from the command line, and you'll get a
1493640	1499160	reverse shell. I'm not going to tell you how because I have tooling to do this. And the issue
1499160	1505460	is that the researcher who originally did release this did not release a POC. Now the other issue is
1506080	1510720	that enterprise engines have a hard time scanning these types of files. Reason being is again, it
1510720	1515760	looks like an image, it opens like an image. In all purposes, it is an image. If you open it up
1515760	1521020	with a DICOM viewer, it will open up and show you the actual image. So that's the issue,
1521020	1526100	is that you lose no file integrity, the image is still intact, and now you've chucked 128 bytes of
1526100	1530780	malware and you'll get a reverse shell. If you would like to talk more about that kind of thing,
1530780	1536480	I'll be in the biohacking village doing this to multiple people who ingest DICOM files.
1536480	1541960	So it's going to be an interesting time. But necessarily, again, you can take theoretical
1541960	1547240	research and turn it into actionable data. So now I have a project that again, shoves malware
1547240	1552860	into DICOM images, and due to the way that you have to keep these images, they'll now be on disk
1552860	1557740	for about 5 to 10 years because of rules with deletion. Also, there's a worm that will overwrite
1557740	1563060	all of the headers for all the other files that are DICOM in the same directory and basically
1563060	1576890	make them do the same thing. So enjoy that. And other than that, basically, in the end,
1576890	1580130	we can all work together and hopefully we come to some kind of cohesive conclusion
1580670	1585570	where we can actually do things kind of like a family versus apart from each other.
1586150	1589610	And I'll make sure to get these slides online. Sorry, I'm kind of depressed for time and
1589610	1595910	everything. I was going kind of slow initially. Normally I'm pretty spitfire, but tried to talk
1596030	1605610	a little slower. But that's the end. Any questions really quick before we get out? All right, good to go.
