start	end	text
660	5220	Welcome to my talk, Where's the Money? Defeating ATM Disk
5220	8940	Encryption. This is a Encore presentation to the MainStage
8940	12560	Act I had just done earlier today. And before I came on
12560	15160	stage you just found out I got a Wired article published. So
16040	22020	all right. So starting off, my name is Matt Birch. I'm an
22020	25060	independent security researcher with a passion for IOT and
25060	28620	hardware devices. I am the developer of several MFA bypass
28620	32240	tools affecting various MDM solutions. I have performed
32240	36740	expert opinion against a major ATM manufacturer. And I've also
36740	40600	had the opportunity of examining cartel designed ATM black box
40600	45380	devices. For today's agenda, we'll take a brief look at the
45380	49120	ATM industry, introduce Diebold Nixdorf's dynamic security
49120	51960	suite, then dive a little bit deeper into the preboot
51960	55620	authentication process of that software. And finally, we'll
55620	59300	wrap up with a little bit of cat and mouse. So starting off,
59300	62740	let's look at the industry. Essentially the ATM market is
62740	66700	constructed of both consumer and financial class systems. The
66700	70460	consumer devices are your standard ATMs that you see at
70460	74360	your grocer, your gas station. Typically they run Windows CE
74360	78700	and they're present everywhere in the market. They also lack a
78700	81660	lot of the enterprise security controls that you typically see
81660	85500	on most systems. However, the financial class systems are the
85500	89520	enterprise ATM. These are the ones at your bank, the
89520	93640	standalone units, through uh through wall units, and they're
93640	97200	typically running Windows Embedded 10, uh some are now
97200	101800	doing 11. And each manufacturer has their own ATM security
101800	105660	stack. That security stack is designed to harden the ATM,
105660	111800	provide endpoint protection and full disk encryption. Yep. So
111800	115620	when you open up the ATM, uh it's essentially constructed
115620	121820	across two hemispheres. You have the top half, which uh contains
121820	125040	all the PC peripherals and computer components. And then
125040	128520	you have the bottom half, aka the vault, which carries the
128520	132080	cash cassettes and all the system's currency. Each halves
132080	135720	are physically isolated from one another. And the physical
135720	139740	security controls between the two vary drastically. The bottom
139740	142700	half requires multi-factor authentication, has a digital
142700	145700	combination lock, and uses an I button for secondary
145700	149240	authorization. It's constructed with about an inch thick steel,
149240	152280	has heavy bolt locking mechanisms. It is also equipped
152280	156620	with seismic uh detection and tamper detection switches.
156620	158980	However, the top half's significantly different. It's
158980	162460	about one-eighth inch thick steel, has tons of vent holes,
162460	166920	syst- uh the systems come with default tubular locks. And those
166920	169640	locks leverage a cantilever locking mechanism where a
169640	172380	cable's hooked up to the cylinder, so when you turn the
172380	175840	key, the cantilevers come up and the front of the ATM will
175840	179940	open. Uh additionally, the front of the ATM usually has a lot of
179940	183580	plastic components, which makes it very easy for uh malicious
183580	186580	entry- entry or destructive entry, maybe just stick a coat
186580	192880	hanger in and pull the wire. Um and when we start looking at the
192880	197600	attack vectors affecting ATMs, uh most of them all require some
197600	201060	level of physical access. And with that, some of the most
201060	204540	common attacks we usually see are black box devices, which are
204540	208780	usually placed inside or outside the ATM, with the objective of
208780	211860	intercepting the communications and getting the ATM to
211860	215360	withdraw or dispense more funds than what was requested. Everyone
215360	217660	knows the card skimmers, you plop those on the front, you
217660	221400	steal people's card information, super interesting. Uh and then
221400	224900	you have the heavy destructive attacks. Uh this involves RAM
224900	227920	raiding. Uh you wrap a chain around an ATM, hook it up to
227920	231120	your fork pickup, just rip the thing right out of the ground.
231120	233740	Or you borrow your local construction company equipment,
233740	236760	rip a hole right through the wall, and run away with the ATM.
236980	239920	Some of the less common attacks we see here in the U.S. are
239920	244580	explosive-derived attacks because our money ha- uh has a
244580	248120	heavy paper consistency. Uh usually when you involve fire,
248120	251220	it ignites and is counterproductive to theft.
251220	254060	However, internationally, uh with the plastic-based currency
254060	256920	that's not necessarily the case, and you see more of these
256920	263940	attacks. Uh the ATM landscape is constructed of thousands of
263940	268160	ATMs, all of which hold very large sums of cash. And despite
268160	271220	the need for physical access, the criminal element against
271220	273940	these systems has grown exponentially over the last few
273940	277320	years. This is mostly associated to the deficiencies within the
277320	281780	logical infrastructure of the ATM. Mainly the use of an
281780	285780	unauthenticated API known as XFS that interacts between the
285780	289000	software and hardware, allowing funds to be dispensed out of the
289000	293160	ATM. Most of the applications on the ATM also are executed in
293160	296760	the context of local admin. And then the ATMs are also designed
296760	301460	with layers of default accounts for system administration, OS
301460	304640	access, and other various activities. All of these have
304640	310140	made the devices very attractive to organized crime. And we can't
310140	313440	necessarily talk about ATMs without briefly mentioning the
313440	317640	ATM network, which is what the ATM must be connected to so you
317640	321980	can save your money from the bank. The ATM network is
321980	325020	essentially a private connection that's restricted from the
325020	329380	hosting provider or gatekeeper. And access to the ATM network
329380	332420	requires some level of certification from that
332420	336340	gatekeeper. And pieces of software and hardware are
336340	339980	individually certified, so in environments where you have
339980	343760	multiple different ATM vendors, it becomes very difficult for a
343760	346760	financial institution to administer those systems. And
346760	349340	usually they'll partner with some kind of managed services
349340	353600	provider to ease that overhead. This all brings us to the
353600	357680	subject of today's talk, which is Diebold Nixdorf and their
357680	361720	proprietary Vynamic Security Suite software. Unlike all the
361720	366300	other ATM security stacks, Vynamic Security has
366300	369360	multi-vendor certification, allowing their software to be
369360	374020	installed on any ATM platform and granting access to the ATM
374020	378380	network. In 2015, they were assumed to represent about 35%
378380	382260	of the ATM market. And in 2018 and 2019, they partnered with
382260	386120	two of the largest financial institutions representing the
386120	391400	U.S. gaming industry. AKA, Vynamic Security is present in
391400	395260	almost every casino in the United States, if not most,
395260	400340	right here on the Vegas Strip. It's cool. So now that we
400340	402960	understand uh the landscape, let's take a look at the
402960	406520	software. So just like all other security stacks, Vynamic
406520	410000	Security has a number of default protections. USB filtering,
410000	413840	firewall policy, delegated access, and disk encryption.
414300	417800	However, it's not full disk encryption, where there's two
417800	421740	partitions that are unencrypted. There's a UEFI partition, which
421740	424240	is pretty common in your corporate image. But then
424240	426940	there's also a Linux partition, which is somewhat of a red
426940	430620	herring in a Windows-designed system. So taking a closer look
430620	433960	of that Linux architecture, it self-identifies itself as
433960	438100	Super's Chaff. Which, doing online reconnaissance didn't
438100	440720	actually re- result in a whole lot of information being
440720	443920	associated with that, but did identify this really cool game
443920	447320	known as Worm's Armageddon. And in this game, you launch sheep
447320	451740	as mobile projectiles against your enemies. The game was a lot
451740	454580	of fun to play, I think we wasted at least 30 minutes on
454580	459460	it, but that has nothing to do with ATMs at all. But what it
459460	462720	did identify, because I'm really bad at foreign language, is
462720	468640	Super's Chaff is actually German for Super Sheep. And Super
468640	472720	Sheep was also an installation directly within the user
473320	476840	directory path. And online reconnaissance of Super Sheep
476840	483360	was much more resourceful. Specifically, in 2016 a
483360	487220	consulting firm known as SecConsult released a blog
487220	490620	article detailing code execution deficiency in a piece of
490620	494840	software known as Cryptware, CryptoPro, and their underlying
494840	498760	Super Sheep operating system. In this blog article there were a
498760	502960	lot of similarities between dynamic security and Super
502960	505940	Sheep, leading us to go back and then take a look at Debulb's
505940	509580	user license agreements. And lo and behold, they specifically
509580	513400	designated CryptoPro as being a third party licensed vendor. But
513400	516440	that was only relevant in version 3.0 and all references
516440	519320	to CryptoPro are removed from all later versions of dynamic
519320	524040	security. So who is CryptoPro? It's a cryptographic spin-off
524040	527440	started in 2002 designed to enhance the functionality of
527440	530620	Microsoft BitLocker through pre-boot authentication. Today
530620	534760	the organization is represented across numerous countries and a
534760	538120	number of different domains, each one having a very unique
538120	542720	and uh different online presence. However despite this
542720	546560	suspicious representation they advertise over half a million
546560	551340	licenses sold and they also uh state that employees love their
551340	556160	encryption. So, you know, they got that going for them. So
557000	560320	let's take a little bit deeper dive into how the pre-boot
560320	564920	authentication function actually works. So powering on
564920	570020	the ATM it executes a dual boot cycle. From UEFI a Linux
570020	574220	partition is bootstrapped aka super sheep, does some black
574220	578220	magic to the disk, shuts down, goes back through UEFI and then
578220	581640	launches Windows. Windows performs an auto logon,
581640	584560	bootstraps all the ATM software and the system comes up and
584560	589120	becomes fully operational. Any attempt to modify the content of
589120	592940	the Linux partition results into an integrity error page to be
592940	596680	presented. But not all files are treated the same and modifying
596680	599380	other directories or files results in a completely different
599380	604360	integrity error uh to be shown. But this one has significantly
604360	607760	more details represented in it and identifies about 253
607760	613300	elements are validated on the desk. Which uh leads us to need
613300	616840	to understand what files are actually being checked. Going
616840	621020	back to the Linux system we then start scouring the drive and
621020	625480	looking to locate any uh hash sum indexes, tables or files
625480	629440	that may have uh a list of what's actually being checked.
629440	633080	Ultimately we found a log directory and in there there
633080	637560	was a sum index of about 2500 files. Significantly larger than
638640	643300	253 however it did give us some indication of what was being
643300	647880	checked. Uh the Linux partition itself had a little under 11,000
647880	652380	files giving us a delta of about 8200 files that needed to be
652380	655820	validated as part of the integrity check. Or that weren't
655820	659500	validated as part of the integrity check. So that's a
659500	662740	whole lot of files to attempt to validate and identify a loophole
662740	668360	in the validation uh process. But what I generally like to do
668360	671780	is go back and take a look at a background image. I mean who
671780	674980	really looks at background images uh and they have a very
674980	679020	high visual representation when anything's modified. So we
679020	684420	randomly pick an image, modify it, reboot the system and uh the
684700	688140	default background is then presented. However just a few
688140	693660	seconds later we got our hacked background. Being able to do
693660	696800	this essentially establishes the foundation that the preboot
696800	700460	authentication process is not completely infallible and there
700460	704700	is an opportunity to redirect the execution workflow of the
704700	709540	system. Ultimately with our modified background we were able
709540	712960	to map out the authentic uh authentication process to occur
712960	717340	across two phases. The first of which is executed within UEFI
717340	721800	across the boot XSA or boot XSA2 system binaries. This is where
721800	725660	the 253 contents of the disk were validated. Upon completing
725660	730340	the UEFI validation uh Linux is then bootstrapped and from
730340	733580	Linux out of root's profile phase two is initialized
733580	738000	scanning the other 2500 files. Those 2500 files are then used
738000	742360	as a seed to unlock the TPM. Unfortunately the ATM is
742360	746480	configured with secure boots and all the binaries on the UEFI
746480	750000	partition are digitally signed with the BIOS. Meaning we can't
750000	752980	actually modify any of that content to gain control of the
752980	756900	system. But what we can do is identify what files are
756900	760800	validated during phase one. Identify anything that might be
760800	764680	overlooked during the Linux initialization process allowing
764680	769660	us to redirect the process of code execution prior to phase
769660	774820	two being initialized. With that, challenge accepted. Let's
774820	780280	play cat and mouse. We'll start off in version 18.X. In version
780280	783640	18.X we have uh the pre-boot authentication process carried
783640	787940	out in UEFI. It's part of boot XSA2. 253 elements are
787940	793020	validated. Uh the system is then initialized through uh the
793020	797540	SysV architecture and several RC initialization scripts. Upon
797540	800760	completing the RC initialization process, root performs an auto
800760	805180	logon and then phase two is launched out of root's profile.
805500	807700	When we take a look at the running environment of the Linux
807700	811220	operating system, it's designed on the back of several temporary
811220	814380	uh mount points. Temporary file system mount points. This is
814380	818840	used to give a pseudo read only perspective of the disk cause
818840	821560	the contents of those temporary file systems are then populated
821560	825860	from tar archives. Again, those tar archives are also validated
825860	830440	as part of phase one and not a valid attack surface. So this
830440	835180	leaves us with a challenge. We know the index of phase one,
835180	838200	what files are being checked and we need to compare that to the
838200	841560	full initialization process of phase two in the SysV
841560	846260	architecture. 253 elements though covers most of the RC
846260	849200	initialization script and there's not a whole lot of uh
849200	852680	attack surface or thread that we can take advantage of. Except
853210	858440	they made one exception. Etsy init tab was overlooked. With
858440	861600	that we have our uh initial foothold to perform code
861600	865620	execution but we still need a staging directory to place uh
865620	869680	things on the disk. Luckily like any good security solution, it
869680	873980	ignores validation of most of its own integrity files and
873980	877920	since the goal of this exercise was code execution, what better
877920	881420	directory to use as a staging directory than super sheep of
881420	887460	Europe. So with that, let's jackpot an ATM. Uh we cloned the
887460	890540	RC initialization process over to our safe directory, patch
890540	894220	global variables, inject uh proof of concept into the call
894220	898260	to X, and then execute our new run level three from the
898260	905260	unexamined Etsy init tab. With that, here's a demo, 2023-24064.
920120	921920	Sorry guys.
936580	949120	Okay. Unfortunately I have some technical difficulties with
949120	954500	that. I apologize. Uh the videos are published as part of uh the
954500	957060	media server. Apparently they don't execute well on this
957060	962480	Macbook. Um anyhow in this video what I was demonstrating is we
962860	967820	power on the virtualized file system. Uh it receives a preboot
967820	972120	authentication error. We shut down the desk. We relocates uh
972120	977940	our initialization files over to the uh staging directory. This
977940	981720	then once root performs its auto log on, we receive code
981720	1001890	execution and a callback shell. So uh having code execution on
1001890	1007550	the system uh essentially just having access to the Linux
1007550	1013390	system itself. Uh the vanilla code execution is actually
1013390	1017290	never enough. And uh the Windows partition is still
1017290	1022410	technically encrypted. Uh however, Super Sheep comes with
1022410	1026590	an app for that uh known as Mount Winpart. Uh Mount Winpart
1026590	1031090	takes the TPM recovered disk encryption key and then passes
1031090	1035890	that as a command line argument decrypting uh the Windows
1035890	1040610	partition and giving it the uh opportunity to then execute a
1040610	1044950	third phase of the integrity validation. So from uh having
1044950	1048110	code execution on the Linux system, essentially all we need
1048110	1053190	to do is uh resume the integrity validation process, monitor the
1053190	1057310	proc command line, and then recover that TPM disk encryption
1057310	1062450	key. From there, uh re-initializing the process just
1062590	1065690	a few seconds later, we're able to recover the TPM disk
1065690	1071710	encryption key, decrypt Windows, and uh load malware onto the
1071710	1076090	system, interacting with the XFS API, giving us the ability to
1076090	1086530	dispense funds from the ATM on demand. So uh doing the research
1086530	1090790	essentially the timeline uh this vulnerability was observed to
1090790	1096330	only impact version 18.X. Uh the vulnerability was identified in
1096330	1100550	December of 21 and then confirmed remediated just a few
1100550	1104230	days later in the next major release. At the time of this
1104230	1109550	discovery, uh version 18 was designated to be end of life and
1109550	1113830	uh Diebold Mixdorf had moved from uh to a new versioning
1113830	1117330	number to introduce minor uh revision updates to their
1117330	1122590	update. That's why it goes from 18 to 3.0. The way the attack
1122590	1127070	surface was mitigated is phase one now validates Etsy and
1127070	1130210	NetApp. So there's no opportunity to redirect code
1130210	1135550	execution for the RC initialization process. However,
1135550	1141030	what they also do is the PBA integrity process is decreased
1141030	1148070	from 253 elements to only 56, about a 20% reduction. Reporting
1148070	1151530	this to Diebold however, they did not designate this as a
1151530	1154770	vulnerability and it indicated it was working by design because
1154770	1160310	of the security protections that IMO provides. So what is IMO?
1160310	1164630	Well IMO is an uh kernel integrity process where uh every
1164630	1167650	binary on the system is digitally signed and that
1167650	1170730	signature's also loaded into the Linux kernel. That signature
1170730	1174370	carries details about the file name, the file path, very I know
1174590	1177690	de- various I know details and that's appended as an extended
1177690	1181590	attribute to every executable on the system. When you go to call
1181590	1186030	those executables in a child or parent child relationship, uh
1186030	1188830	the execution workflow and the signature is validated against
1188830	1191210	the Linux kernel to decide whether or not that's allowed to
1191210	1196390	be executed. However, the one thing that IMO doesn't do is it
1196390	1200550	doesn't validate uh signature script interpretation. For
1200550	1203690	example, if you call the system shell, which is an authorized
1203690	1208370	signed binary, it's able to read uh the interpreted scripts, for
1208370	1212770	example, root's profile script and then carry that execution
1212770	1219410	workflow in the context of an authorized system binary. So
1219410	1224470	let's carry on into service release nine. In service release
1224470	1229910	nine, the Linux architecture is relatively unchanged. Uh however,
1229910	1234050	examining the mountfs initialization script, there's a
1234050	1237010	delete call that's initialized before the architecture of the
1237010	1241410	system is actually mounted. Since the entire architecture of
1241410	1244650	the system is mostly derived around the concept of a temporary
1244650	1251970	file system, uh all we need to do is uh move fs tab to m tab.
1251970	1255290	Then fs tab will be deleted before the mount command is
1255290	1258090	called, removing all the instructions to build a
1258090	1262650	temporary file system, allowing us to regain persistence to
1262650	1266770	root's home directory. We patch the profile script and then
1266770	1273150	again, gain code execution. Um I had a demo for this, uh 2023,
1274190	1277250	24063, uh unfortunately I I it's not playing properly on the
1277250	1282050	Macbook, so I do uh apologize greatly for that. Uh but anyhow
1282050	1289330	in the demo, uh if it were to play, it's uh we patch the
1289330	1294850	offline disk, we uh move fs tab to m tab, uh the system auto
1294850	1298290	boots back up, and then once root logs in, we get code
1298290	1303010	execution and receive a callback to the initialization process.
1306320	1311620	So this time, uh the scope and the timeline, uh this was
1311620	1315400	observed to impact all prior versions of 330 as part of the
1315400	1319160	dynamic security suites. Uh the vulnerability was identified in
1319160	1323040	June of 22, and then confirm remediated the day after
1323040	1329280	magically in uh version or service release 10. In service
1329280	1334320	release 10, the mitigations were enforced by an uh update to
1334320	1337840	the mount fs initialization script, now removing the delete
1337840	1343120	call from uh to etsy m tab. So without etsy m tab there, uh we
1343120	1346760	don't long we no longer have the opportunity to remove fs tab.
1347800	1352860	Carrying on into service release 10. So as part of service
1352860	1358060	release 10, uh we now have init tab validated, m tab does
1358060	1363740	nothing, but what about the mount logic of the architecture?
1364720	1370080	So mount is actually a very interesting command. Uh again,
1370080	1372620	most of the security architecture of the security
1372620	1378920	stack requires building a temporary file system. However,
1378920	1383240	if we're able to use mount to stop uh that architecture from
1383240	1387160	getting mounted, uh we then have an advantage to regain uh
1387160	1391260	persistence to root's home directory. One very interesting
1391260	1395200	limitation to mount is if you happen to execute mount against
1395200	1398400	the mount point that's previously been leveraged, the
1398400	1402820	call to mount will fail. In a Linux architecture, what's the
1403320	1406640	default uh mount point that's used by the system? The root
1406640	1410320	file system. So if we flatten the file system and then
1410320	1415020	redirect root bar and temp to root, uh we're able to regain
1415020	1418340	persistence to root's home directory because when those
1418340	1421520	temporary file systems go to mount, the mount point already
1421520	1424800	exists and that call will fail. This then gives us the
1424800	1429900	opportunity to uh jackpot root's profile and regain code
1429900	1438620	execution on the system. Again, I had a demo uh 2023-24064 uh
1438620	1445020	where we uh flatten the file system and uh are able to
1445020	1449480	redirect code execution powering back on the system uh once root
1449480	1458940	logs in, we receive code execution. So this time going
1458940	1464240	through uh going through the timeline, uh all prior versions
1464240	1467880	of 330 were known to be vulnerable including uh this
1467880	1472500	time 4.0, 4.1 and 4.2. The vulnerabilities were identified
1472500	1476720	in June of 2022 and then confirmed remediated in version
1476720	1483820	in service release 12 immediate uh in December of 22. In service
1483820	1486920	release 12, the mountfs initialization script was then
1486920	1490600	updated with several uh additional delete calls. Now
1490600	1496140	we're moving root bar and temp and mount and uh removing any
1496140	1499700	opportunities for us to do sim links or redirect the execution
1499700	1504200	essentially ensuring those directories are empty. Let's
1504200	1510120	carry on in service release 12. In service release 12, how do
1510120	1514520	you work around a delete call? Well, mount still has some magic
1514520	1518400	logic tied into it where earlier on in the initialization
1518400	1524760	process, uh the kernel uh kernel run space is mounted to specific
1524760	1527700	mount points. And whenever you place a file on a mount point,
1527700	1531020	it no longer becomes accessible. Since all the previous mitigation
1531020	1536280	uh steps were initiated as part of mountfs, uh essentially we
1536280	1541300	just move mountfs to proc. Once the uh kernel initializes, the
1541300	1544600	temporary file systems are built allowing us to regain persistence
1544600	1553600	to root's profile script. Again, this was recognized as CVE-2023-28865
1553600	1560920	uh in the demo if it had played. Uh it would show that um we're
1560920	1566740	able to uh redirect uh the file location uh move that over to
1566740	1570500	proc and once the Linux kernel powers on, we receive code
1570500	1576460	execution and our callback. Just as before, all prior versions
1576460	1578700	of 330 were known to be vulnerable to this attack
1578700	1583920	surface, including uh all versions of 4.0, 4.1, and 4.2.
1583920	1587660	Essentially representing the entire security stack of dynamic
1587660	1591340	security at this time. The vulnerabilities were identified
1591340	1595180	in December of 2022 and then confirmed or mediated in
1595180	1600420	February of 23 as part of service release 15. In service
1600420	1605820	release 15, the uh phase one integrity check was further
1605820	1609680	updated to include a number of null sum values. Essentially
1609680	1613240	validating a number of critical mount points to truly be empty
1613240	1617880	before the Linux partition was allowed to boot. With this, uh
1617880	1622140	we don't have much opportunity to modify the disk and it closes
1622400	1627120	a lot of the previous attack surfaces. So let's carry on with
1627120	1632180	service release 15. So in service release 15, introducing
1632180	1636860	those null sum values, uh I like to come across the idea that the
1636860	1641240	more complex a security control is, the more likely that
1641240	1644720	something is gonna be overlooked as part of that validation
1644720	1649160	process. If we try to create a file or create a sim link to a
1649160	1652780	known file, that produces a hash hash sum as part of the phase
1652780	1656380	one integrity check and the pre-boot authentication process
1656380	1661600	fails. However, if we establish a directory or a tree of uh
1661600	1667680	empty directories, no sum value is created. Additionally, broken
1667680	1673600	sim links also do not produce a hash sum value. However, to take
1673600	1676620	advantage of this, we need this new staging directory. Uh to
1676620	1680160	identify one, we would return to the previous attack surface and
1680160	1684740	look to identify any directory structures that are created once
1684740	1688140	the Linux kernel is initialized, but don't have a presence on the
1688140	1692320	offline disk. Essentially allowing us to establish a
1692320	1698460	transversal point to redirect uh to a new staging directory.
1698600	1701320	Luckily after just a few seconds, we're able to locate
1701320	1705180	dev block, which was a special mount point mod gate or uh
1705180	1709120	associated to the block device of the Linux partition itself.
1709120	1711940	This was also observed to be present in all versions of
1711940	1718600	dynamic security. So, what we need to do is move uh our uh
1718600	1721740	critical mount points over to a new staging location. For
1721740	1725540	example, root to root 2. And then we link to those through
1725540	1729940	our transversal point dev block. Offline on the disk, those sim
1729940	1732960	links are then broken. However, once the Linux kernel
1732960	1737500	initializes, those links then become valid, allowing us to
1737500	1741340	redirect code execution and regain persistence to root's
1741340	1749640	home directory. Uh this was identified as CVE-2023-33206.
1749760	1755440	Again, uh in the demo, had it played uh properly, it would
1755440	1759840	show that we uh create the new staging directories and
1759840	1763360	redirect to our staging points. Once the virtualized system
1763360	1767740	powers on, we would receive code execution and our callback
1767740	1774660	shell. So, just as before and all the previous attacks, this
1774660	1777400	vulnerability impacted all prior versions of dynamic
1777400	1781520	security, including all versions, prior versions of 4.0,
1781520	1786800	4.1, 4.2, and 4.3. The vulnerability was identified in
1786800	1792440	April of 2023 and then confirmed remediated in July of 23 as part
1792440	1798280	of service release 16. In service release 16, the phase 1
1798280	1802060	integrity process was further updated, this time validating
1802600	1807140	uh whether or not sim links were broken or valid uh on the Linux
1807140	1811820	partition. Broken sim links now produce a uh pre-boot
1811820	1815380	authentication failure, disabling the system to boot up.
1815380	1820540	But, interestingly enough, they also, dbold also walked back the
1820540	1823860	previous mitigation strategies that were observed in the mount
1823860	1828240	FS uh initialization script. Although it doesn't necessarily
1828240	1831180	reproduce the same attack surfaces, because now we're
1831180	1836480	doing null sum validation and sim link validation, uh it is
1836480	1841500	interesting that uh mitigation strategies are are backwalked.
1842240	1849540	So, finally, this brings us to service release 16. As part of
1849540	1854340	service release 16, we have sim link validation and null sums.
1854340	1858580	The attack surface of the Linux architecture is relatively
1859120	1864060	reduced. However, the whole architecture of the system is
1864060	1868900	based around the requirement of hash sum values. You know what
1868900	1872220	doesn't change a file's hash sum? The file attributes
1872220	1877380	associated to that hash sum. So, for example, if we remove uh
1877380	1880540	the execute permission of a file, the file still has the
1880540	1885500	hash the same hash sum value. For example, if we just remove
1885500	1889340	the execute permission from IMA, we're able to disable all
1889340	1891940	signature verification processes of the Linux
1891940	1895740	architecture entirely and then obtain the ability to execute
1895740	1901600	any code that we want. This vulnerability was identified as
1901600	1910360	CVE-2023-40261. Again, the video is not playing, um, but
1911500	1915720	in the video, uh, we disabled the execute permissions of IMA
1915720	1920880	and uh power on the virtualized file system. Once root performs
1920880	1925060	its auto logon, we then re-regain code execution and
1925060	1929080	receive our callback shell, essentially defeating the whole
1929080	1936520	system once again. Just as before, this attack surface was
1936520	1941320	observed to impact all prior versions of 330, including all
1941320	1947340	prior versions of 4.0, 4.1, 4.2, and 4.3. Again, representing,
1947340	1951780	uh, an impact against the entire dynamic security suite software.
1951780	1956280	The vulnerability was identified in July of 23, and then
1956280	1959540	DBolt had designated it was patched as part, as a November
1959540	1965740	2023 patch and service release 17. Additionally, version 3.3
1965740	1973140	was designated to be end of life in December of 23. So, with
1973140	1976860	that, uh, through this talk, I've essentially demonstrated
1976860	1981980	that the entire dynamic security suite can be impacted by a
1981980	1985640	single vulnerability, and that attack surface represents a
1985640	1991240	recursive impact against all prior versions. Although, although
1991240	1994840	the system is still patched, the root cause is still derived
1994840	1998800	around the fact that the Linux partition itself is unencrypted.
1998800	2001760	So there is a high likelihood that new vulnerabilities or new
2001760	2006920	attack surfaces are going to be identified. However, uh, you can
2006920	2010500	rest assured because there are still some requirements of
2010500	2013860	physical access in order to take advantage of this attack
2013860	2017100	surface. So, with that, let's discuss some mitigation
2017100	2023900	strategies. Uh, first and foremost, the, uh, ATM software
2023900	2027820	should be patched up to the latest version representing each
2027820	2031380	major version that any environment, uh, is currently
2031380	2034940	running. With the goal of ultimately moving into version
2034940	2040200	4.4. I'm proud to announce as a direct result of the security
2040200	2043900	research and working with Deepold next door, they have
2044700	2049720	redesigned the SuperSheep architecture and now offer full
2049720	2052280	encryption of the Linux partition. This was released
2052280	2057100	this year in April of 24. Additionally, there's a security
2057100	2061440	check known as enable signature check. Disabling this prevents
2061440	2065720	the TPM disk encryption key from being handed over to mount
2065720	2069400	Winpart, essentially reducing the attack surface from Linux to
2069400	2072940	recover the TPM encryption key. Additionally, you could just
2072940	2076620	replace dynamic security with an industry recognized, uh, full
2076620	2080500	disk encryption solution. Several secondary actions are
2080500	2084900	also monitor for any malicious top hat entry, disable u- disable
2084900	2088100	the USB ports, and ensure the hard drive can't be easily
2088100	2090920	removed. There is no business pur- purpose for the hard drive
2090920	2095320	to be able to pull- be pulled out of the system. With that, I
2095320	2099100	apologize, uh, my demo videos weren't great, but, uh, please
2099100	2102480	feel free to reach out to me, uh, via social if there's any
2102480	2104040	comments or questions.
2104180	2104700	...
2105420	2105940	..
2105940	2106060	...
2106900	2107420	...
2108040	2108560	...
2108560	2108740	...
2108740	2108880	...
2108880	2109780	...
2109780	2109820	...
2109820	2109860	...
2109860	2109920	...
