start	end	text
8680	21860	Hello everyone. Today I'm going to be talking about Windows Kernel and how it's, from a security research perspective, how it changed in the past years and how we need to adapt.
22900	32160	And so it will be mainly in the view of memory corruptions, not because I think that's most important, but just because I like them, as I like the Kernel and the risers.
33820	43320	So, at first, we can start with a small introduction of who I am. I'm Peter Zierman. I'm working currently for KeyLab at Ensys.
43320	57820	I'm a former team employee, a team member, and I was also ranked in MSS since 108 several times and also on 1.1 with my team, with our team several times, and this is my focus.
57820	75400	It's on Windows Kernel. The risers, basically, are not too much about machine learning. It's understanding how it works, every kind of internals, but mainly about fuzzing and the machine learning to understand how to fuzz it in a good way.
76220	82580	And also I like to apply the mitigations, understand them, correct them, and hopefully improve them.
82580	90660	And also sometimes you can see me talking somewhere, for example, at home, or during the night, or somewhere else.
91000	100760	And because I'm Chinese, I also like Wushu, but I don't particularly like it.
101800	117860	So when it comes to security research and you ask somebody, some security researcher, to get code execution targets, first what comes to his mind is what is sandbox.
119160	126180	It's basically some set of policies which tell you what you can and what you cannot do.
126180	134240	For example, when you want to attack some target and get code execution into it, first you need to find a vulnerability.
134240	137900	For this one, it's essential how easy it is to attack your place.
137900	148200	But when your sandbox policies tell you that you are not allowed to call a lot of functionality, that means it's bad news for you.
148200	154280	Because you have harder times to find a vulnerability because you don't have so many options.
154280	161020	And on the other hand, even if you find a vulnerability, you may not be able to exploit it.
161020	174620	Because exploitation and finding vulnerabilities, maybe you need to have two different resources, which overlap, but it can happen that you find a vulnerability but you cannot exploit it.
174620	191400	And except for syscalls, I mean, also intactly depending on sys, everything about syscalls, but explicitly disabling some syscalls, it's very important to restrict those access to file system or registry.
191420	202760	Because registry is basically configuration of your computer, and when you are able to configure someone else's computer to register you, and the same applies for file access.
202760	211340	Basically, because when you are able to read and write any file on the user system, you won't anyway, because that's what you really want to do.
211860	221700	And another thing is that it's really important to also restrict how some processes can communicate with some other processes.
221800	224660	Why? And that's exactly because of sandbox.
224660	230080	Because sandbox policies can restrict you to something, and it can be really restrictive in your targets.
230200	243680	But when you can access different processes, then you may be able to escape and get code execution to the process, and that process has a less restricted sandbox.
243760	249940	And you can access more on the surface and use more options how to call the system.
250920	256100	And as I just mentioned, there are different kinds of sandboxes and different input levels.
258800	261240	Less restrictive means more problems for you.
262160	271220	But still, even when you have a sandbox, it can look like, okay, it can be... I mean, it's tougher, definitely, but it's not game over.
271220	279160	Because still, for example, somebody develops an application, you want the targets.
279160	283600	But that application essentially needs to interact with the system.
283740	288440	For example, it may need to store some files on the disk.
288840	297140	But this is dangerous, because even if sandbox allows you to store some files in some new directory just for you,
297140	301360	there are some other entities, some other processes, which can scan this file.
301720	306040	And as well, in this scanning process, there can be some vulnerabilities.
306040	312780	And you can end up dropping files, and by that file you are dropping a different process, which is usually less restricted.
313880	318040	And another thing, as I mentioned, is inter-process communication.
319760	321780	Processes need to communicate.
321780	328660	And especially with an application, it can be said, okay, I want to apply sandbox policies to this application.
328900	332460	Because I know that, for example, some parts can just compute something,
332460	338040	other parts may just pop up some nice windows and graphics,
338040	340540	and some other parts doing some network communication.
340660	347120	So for every part, I can have different sandboxes, and these can be different policies applied to different parts.
347120	353560	Some of them can have restricted access to some parts, and some of them will be restricted to other parts.
353640	358880	But at the end, all of them cooperate to achieve the same goal of the application.
358880	360940	So they need somehow to communicate.
361360	366460	And you can most likely also attack this infrastructure.
366700	373180	That means when in your application, you communicate with other components, different processes in your application,
373180	379220	but, for example, when in one application you cannot access, for example, certain syscalls,
379220	385940	you may extend to the second process, which may be semi-technical at all,
385940	389860	but there are some different restrictions, and it does have some limitations.
390200	393980	It's a better background for you to start building exploits.
395320	405000	And I said that Windows Kernel syscalls, but when you access any resource on machines, everything is about syscalls.
407440	415860	So when it comes to Windows Kernel, I'm focusing on Windows Kernel, not because I think it's most important, but because I like it.
416120	422820	And in the past, in fact, it was probably one of the most important parts, because all these sandbox policies
424240	428080	not all, but a lot of crucial ones are decided in the kernel.
428080	434740	So once you get some read-write in the kernel, with some control over the kernel, you can change the policy.
436000	437740	And it's pretty neat.
438420	443240	So when it comes to finding vulnerabilities and exploitation in kernel,
443240	452220	then usually by sandboxes, for example, like C++, there are a few different categories of Windows Kernel,
452220	453980	where you want to look for.
453980	455420	It's top priority.
455640	459420	I would suggest Swing. It's OK, because it's really huge.
459440	466240	It's really old code, and I mean, they have more than 1,000 syscalls.
466360	469520	It's a lot of things that are going to happen wrong.
470280	475960	But recently they are going to refactor it, and we'll change the way we're talking later on.
476220	479060	But the other thing, another part is ntusk kernel.
479060	485680	It's also big, but on the other side, when you look at the CVs published by Microsoft,
485680	491580	you cannot see too much, at least for memory corruption, too much memory corruption related to this part.
491660	494400	And why? It's also really big.
494400	496380	It's hundreds of syscalls.
496380	506760	But the reason is that in this component, it's heavily used access-privileged checks and tokens,
506760	515700	and it's restricted to not only what kind of syscall you can access, but what you can do.
515700	522540	And it's checking, OK, you are not allowed to access this resource, so it just denies it.
522540	532540	And the other thing is that logic that you can alter from via syscalls for these components,
532540	537800	it's not so heavy for the work that they need to do, it's not so complicated.
537800	542860	You can alter, for example, allocating memory, you free memory, you protect memory.
542860	546600	Yeah, it's complex, but what you can alter, it's not so much.
546600	552320	And also some lock or unlock mechanics, not so heavy logic you can play with.
553320	555600	At least not for memory protection.
555600	558940	You can find this, but it's hard, at least for int2k.
559940	565340	But today it's not only about core components like MQS kernel or graphics subsystem,
565340	573560	but there are a lot of different drivers, the windows kernel, but fortunately or unfortunately,
573560	579680	it depends how you look at it, for our sandbox, usually you don't have access to it,
579680	585840	at least most of the parts. But still, there are some interesting drivers which you can access.
586440	591680	And when you're doing security research, you should be able to look further
591680	595380	and to be more creative to find your different targets.
595380	600660	Because when you find some links, some way how to attack some new attack surface,
600660	604160	it's not like a jackpot for you, because it's probably not so well researched,
604160	605660	it's not so well protected.
607980	614320	So, taking interconnection with int2k, as I said, it's a really huge codebase and it's really old.
614780	621760	So, at least for example, 4 years ago, when I started with exploitation, multi-networking,
621760	627540	and hinting, I was really disappointed when I got my hands on int2k,
627540	633840	because I got from my colleague a PDF bug, and OK, make exploitation.
633840	638940	So I spent, I think, maybe one or two weeks just for understanding of how PDF works
638940	642380	and basically analyzing the root cause of the bug.
642660	648460	But then I get somehow, OK, I can inspect it once, so I can do some memory write or something.
648540	653400	Then it takes me only, for example, two days to finish full exploit with code execution.
653400	659560	And it was pretty much disappointing, because it was not my challenge.
660320	664680	But it's changing, and it's very good.
665020	670440	I mean, from my perspective, because I enjoy it more, and from security perspective, because it's becoming harder.
671140	676940	And some changes that was introduced was that because, for example, 4 years ago, as I mentioned,
676940	683500	I was working on TTF exploitation. But for now, TTF bugs, it's not so prominent now.
683500	693760	Because they put it from the kernel mode, from custom foams to user modes, they get into some fairly restricted sandbox.
693820	701900	So it means even if you can somehow find the vulnerabilities, for example, system foams,
701900	707360	where you can't load your custom, if you can't load your custom foams, and you try to exploit,
707360	712120	even if you exploit successfully, you end up in fairly restricted environments,
712120	715780	most likely more restricted than you begin with.
716000	718240	And that's the problem of 4 years exploiting.
719200	722760	And also then, there is still Mint2K.
723300	727940	For example, I mostly have Mint2K for several of my parts.
727980	730860	A few of them are user parts and GTF parts.
730920	737460	GTF part is responsible for driving a lot of some pretty nice things on screen.
737940	741020	And the magic of this part is that you have a lot of objects.
741020	747520	You have Bitmap, you have PC, you have Region, you have Palette, you have a lot of different objects.
747840	751780	And the joy of this is that you can actually interact with each other.
751780	753980	And the interaction is a problem.
754060	762740	Because even if there will be no such complex code behind, it's still, when you say OK,
762740	767100	for some object, OK, do this thing, but it incorporates this second object,
767100	768480	it introduces a lot of problems.
768480	771360	Because it needs, it has some connection.
771360	773820	It can have some reference counting to each other.
773820	777340	It can have some members dependent on the other members.
777340	779460	And it can cause different problems.
779460	782780	Like user-to-preset confusions, even overflows.
783120	790220	But fortunately, Microsoft started to link this one some years ago.
790220	793060	And they introduced, they started refactoring the code.
793060	799560	And it's adding some filter sets, which basically tell you, OK, you cannot access these Ciscos,
799560	801860	but you can access most of the Ciscos.
801860	804100	Depends how you set your filter.
804580	808980	But it's even better, you can even prohibit all of the big 2K Ciscos.
808980	810240	That's pretty nice.
810240	815100	But at the end, when the application is basically working, interactive user, you need it.
815100	817960	So at some point your application, some process, will have access.
817960	821620	But this filter set is meant for this one.
821620	826440	And it's access only to the necessary functionality of this 3G 2K.
828180	830240	And of course, there's the user part.
830240	833080	And the user part is a huge thing.
833080	837700	Actually, it was about 10 years ago, 15 years ago,
837700	843420	there were some nice researches about using more callbacks.
843460	847340	Basically, you decide, OK, I will call to Kernel.
847340	851060	But Kernel will decide, OK, no, no, no, I need some more information.
851060	854880	So what it will do, it will just stop and call back to user modes.
854940	857800	But without exiting actual Cisco.
857800	862640	And this is actually a big problem, because it's basically your state is pending,
862640	872720	and you can involve some other threads to do something with the states of the country that this object is behind.
874060	876000	It's hard to mitigate.
876000	879040	But, as I said, with filter sets, it's harder to...
880140	882800	It should be harder, to be true.
882800	887140	But unfortunately, filter set allows all of this, user mode callbacks.
887340	889000	And this is still a big issue.
892140	896440	So, as I said, they're starting with filtering Cisco's.
896440	897920	And it's the shortest request.
897920	905820	I think this is the most efficient way how to protect some crucial parts of anything.
906480	914440	And then, they don't stop here, but they go further for, OK, user vulnerability.
914480	915760	That's the techniques.
915760	918440	But now, can you somehow use this vulnerability?
918600	922660	And that's, for example, this tag installation I will tell you about later.
922660	927780	And as well, for target no mitigations, basically telling you, OK, you're using your vulnerability,
927780	933120	you managed to somehow work with it, but can you actually use it for something meaningful?
933120	937220	Like, read the rights to your targets, to get them.
938040	941300	And also, the other thing is that excessive mitigations.
942220	946120	Since Microsoft started to pay attention to this one,
946120	953160	and they introduced a lot of programs like MS-DACI, Tobana, JIT, they need to decide their bounties.
953580	959360	And all of this somehow encouraged researchers to publish, to report the more bugs.
959360	961020	And you can see on the...
961460	967380	For example, when I was fuzzing, when I was fuzzing the Mint 2.0 game,
968640	973500	before, I found some bugs, some shallow bugs, but it can survive.
973500	975520	One year, no problem.
976280	982280	I don't make POC because I want to do more work, for example, on fuzzer itself.
982540	985440	And I can come back to the bug, I think, one year later,
985440	989040	and then I can make POC and make it useful, for example, on different competitions.
989040	995540	But last year, I said, I still work on improving fuzzer,
995540	1001420	but then I see, OK, I have some bunch of bugs, but three months later, it was fixed.
1001420	1007020	It was OK for some other bugs instead, but those bugs were fixed already.
1007020	1008340	And it was really unexpected.
1008480	1013340	So it seems that this is helping that security researchers are reporting bugs,
1013340	1018000	and that they should probably do some internal fuzzing, which is really good for security.
1018960	1023900	But on the other side, still, if it's OK, it's still alive.
1024080	1032200	Why? It's because even when you have a more explicit filter set,
1032200	1035260	still, you can access a lot of DirectX syscalls.
1035620	1041380	And DirectX is pretty much a huge part,
1041380	1047180	and still, it's, for example, the main component, which handles Microsoft itself.
1047180	1052420	It's not so heavy logic, because it's only some allocations behind,
1052420	1055180	but still, it's about four or five different objects,
1055180	1057540	and you can interact, so you can find the bugs there.
1057840	1062640	It's not promising as a user-oriented API, but still, good address interface.
1062920	1065420	And in addition, when you're able to reach some bugs,
1065420	1070380	which is not coded by Microsoft, but third-party vendors, like graphic vendors,
1070380	1074580	they usually do some data parsing in Kernel, and this is probably the best.
1075800	1080680	And as I mentioned, user-mode callbacks, still there, even with big filter sets,
1081680	1086320	so this is also a problem, but probably they will somehow change it, maybe.
1086320	1090880	Let's see. For now, it can be good source of bugs, and we'll care for it.
1092100	1094880	And still, yes, it's still a smart part of GDR,
1094880	1100800	but it's early, less and less, that you can attack, which is good.
1101820	1104560	But still, even when you have applied, for example,
1104580	1109520	all of these filter sets and lockdowns on IP2K,
1109520	1112780	still it's possible that you can, as I said,
1112780	1117340	your IPP can have more processes connected to each other,
1117340	1121280	and some of them can have less restrictions on this IP2K.
1121280	1126060	And so it's just a matter of getting it to get to those different processes,
1126060	1130920	which you can use to call more systems. It's possible.
1132080	1135800	So, coming to the next part, it's about the end-use kernel.
1136240	1140840	This end-use kernel is also big, but it's harder to find a buyer for that.
1140840	1146200	Why? The reason why is that, because this core component,
1146200	1151920	as I heard from Max's guys, they put a lot of effort to review the code,
1151920	1155160	it's a long time, and that's STL,
1155160	1160160	and they take pretty much care that the things that you can use
1160920	1165960	that you can access from low privilege level, it's well-reviewed.
1166460	1171160	And that's for attacker, it's really bad, because, I mean,
1171160	1174680	when you have logic like a lock, unlock, allocate,
1174680	1178080	it's free of using the pipe or using the LPC,
1178080	1181140	and it's really without defense.
1182220	1185260	You can have a hard time to find that bug.
1185420	1188140	And even, for example, LPC, LPC is quite big,
1188140	1190460	and it's good features and documenting,
1190460	1194480	so you can hope that you can find more bugs there.
1194480	1197080	I think you can find bugs there, but, for example,
1197080	1202420	when Windows exploits some bugs using LPC mechanism,
1202420	1207000	I can see from the code that it's really written with some security perspective in mind.
1207000	1209940	There's a lot of security checks that I didn't expect.
1210160	1211880	And it's pretty nice to see.
1212660	1217200	And also, when you look at NQS, sometimes you might lack luck,
1217200	1219800	like we had before, one or two years ago,
1219800	1222760	when we discovered some new attacker interface,
1222760	1226520	well, new for community, because not too many people know about it, this one.
1226680	1229120	And it was TN driver and CLT driver,
1229420	1232260	which, for them, basically, you can access some goods
1232740	1236960	that are passing by in kernel with low privileges.
1237320	1239640	But that's almost gone for CLTs,
1239640	1242880	because it's now locked down from low-privileged processes.
1244940	1248100	And that's LPC. LPC is pretty cool.
1248100	1250940	It also communicates between processes,
1250940	1254120	or between different processes.
1254420	1259120	And when you strip apart, OK, my target may not be necessarily the kernel,
1259120	1262840	but it can be some other process, which has more privileges,
1262840	1264660	and you're looking for it,
1264660	1269420	so LPC can be a good way to go for it,
1269640	1271580	because, against that concept,
1271580	1274220	you may target not the kernel part, or the mechanism,
1274220	1277500	but you may target the parts where the different processes
1278900	1281420	basically process your packet you send to them.
1282400	1285480	And good news, not news, but good things,
1285480	1290820	is that, I think, every process has to open at least one LPC port.
1291340	1293740	And with some part of luck,
1293740	1295960	you may find that some of your processes
1295960	1299000	that you can open, or you have already opened,
1299000	1300540	if that thing works,
1300540	1304460	and open a few different and promising attack circuits.
1304940	1307620	But it's based on LPCs that are undocumented,
1307620	1310780	so it means that you can have a hard time to understand it.
1310860	1313560	But fortunately, there was some good research by Alex Yunescu,
1313560	1316440	which brings more light to this area.
1316660	1319000	And also, there were recent papers
1319000	1324140	about the attacking of Vista,
1324140	1325400	and it was pretty nice.
1326960	1330760	But ok, let's assume we have known everything.
1331360	1334200	But it's game over, it's easy to explain.
1334560	1336120	Well, let's see.
1337580	1340360	Before freeze, yes, it was quite straightforward,
1340360	1343460	it was easy.
1343480	1344820	But now we're changing it.
1344820	1348260	I'm not saying that it's impossible, or it's really hard.
1348280	1351820	But definitely it's a bit harder, at least.
1351820	1355020	And sometimes it can be not possible,
1355020	1356740	in some corner cases.
1357660	1360580	For example, as I mentioned,
1360580	1363260	you have the filter sets,
1363260	1366640	that restrict you some part of the syscode that you can use.
1366760	1369040	Then you have lockdowns, which was applied for graphics,
1369040	1370480	and also for CLFS.
1370960	1375520	Before freeze, we find that CLFS is very dangerous,
1375520	1376680	from under the level.
1376780	1378920	And this year we see that, ok, there are lockdowns,
1381920	1383300	it's nice.
1384060	1386420	And then you have, ok,
1386420	1388880	that's the first thing,
1388880	1391140	if you have a vulnerability,
1391140	1394740	you think, can I use it?
1394740	1397820	Can I really trigger that vulnerability and use it somehow?
1397820	1400280	That's for its tactical mitigations,
1400280	1404340	and some kind of time isolation and other things.
1404420	1407840	But even after, ok, I achieved the rights,
1407840	1409980	now I want to do some code execution,
1411820	1412740	and data flow control.
1413840	1416800	Data flow control is still, somehow,
1416800	1418880	not so well mitigated.
1419460	1421700	I mean, probably not at all.
1421780	1424160	But about the code execution,
1424160	1427540	it's starting to be more challenging.
1427540	1432060	There are a lot of bugs, as you can see on the right side.
1432500	1434200	It's a lot of bugs.
1434360	1436200	So what are these bugs for?
1436200	1440100	If you don't know about them, I recommend those two articles.
1441820	1443460	Those are pretty much essential.
1443500	1448740	They finally open the priorities,
1448740	1450920	what are they doing,
1450920	1452460	what they are doing,
1452460	1454620	what are plans,
1455740	1458380	what are the problems with my implementation,
1458380	1459720	and some weaknesses.
1462300	1465400	I mean, it's pretty much informative,
1465400	1466600	those two articles.
1467400	1469780	And especially for you when you want to apply
1474900	1477160	some public APIs.
1478540	1480620	So for process mitigation,
1480620	1481380	it's CFG.
1481380	1484380	Probably most of you guys already know about this one,
1484380	1485760	so just pay attention.
1485980	1490360	Basically, when you freight writes to your targets,
1490360	1493320	one pretty much common technique was just,
1493320	1495200	OK, I know that, for example,
1495200	1498280	it's C++ code, and you still need toggles.
1498280	1501540	So my target is, OK, I just find the input table,
1501820	1503840	I change it, and next time,
1503840	1506300	when there will be some object which I can invoke
1506300	1508440	in the virtual world,
1508440	1511500	basically it will just use this address
1511500	1515720	and jump to where I want, and I get code execution for free.
1515980	1517560	But with CFG,
1517560	1521580	basically before this toggle appears,
1521580	1523400	it's just checking if it's
1523400	1527660	destination address is relatively correct,
1527660	1528960	or not.
1531820	1533000	It's just some approximation.
1533080	1534940	But how can they do it?
1534940	1539840	Actually, when you compile your process,
1539840	1542400	your application, the CFG,
1542400	1544840	it adds some information to its header,
1544840	1547980	and at runtime, they can restore those information
1547980	1549440	in an efficient way.
1550200	1555100	To do a quick check, as quick as possible,
1555100	1556640	and to do some approximation
1556640	1560820	of what is valid and what is not valid,
1561820	1563740	it's a little bit error-free.
1563740	1566540	I mean, it's not so effective when you have, for example,
1566540	1569640	you're working with a target which has
1569640	1572520	JavaScript inside or some scripting engine,
1572520	1575080	because simply you don't need to use this technique
1575680	1577860	to generate some input table.
1578100	1581240	But for some remote attacks, for example,
1581240	1585660	if you want to attack through SMB or through Hyper-V,
1585660	1587200	it can be a real issue.
1587720	1591800	And that's the only thing for mitigations.
1591820	1594980	To make it harder for execution.
1597990	1598490	And so...
1599170	1602410	But this is some fatal flaw,
1602410	1605670	because you protect only from forward edges,
1605670	1609470	only from when you want to invoke some call.
1609510	1611230	And so it means backward edges,
1611230	1614630	like changing the return address,
1614630	1616830	it's still heavily unprotected.
1616830	1619530	So what you will do,
1619530	1621850	changing the input table, if you can just
1623190	1625290	make it easy, at least in JavaScript,
1626350	1629310	and just on this tag invite the return address.
1629590	1632770	That is true, but I mean that for quite a reason,
1632770	1635110	because there are a lot of terrible things.
1635590	1637430	And Neo4j was pretty nice.
1637510	1639530	I mean, it was a nice idea,
1639530	1643410	because they introduced new memory,
1643410	1646450	and what they're doing, when you do a call,
1646450	1650030	they basically, at the beginning of the function,
1650030	1652150	which is protected by this technology,
1653190	1654830	this special region,
1654830	1656890	the same return address.
1657450	1660370	And at the return, they will check if the return address
1660370	1662950	still matches with this one you've already saved.
1662950	1664770	And if it doesn't match, it's failed.
1664970	1669350	But if it matches, it means you should be safe.
1669550	1674910	You should be safe, because it has some weaknesses.
1676450	1678710	At first, I need to emphasize that
1678710	1680270	I think it's a splendid idea,
1680270	1682590	because it means that through this
1683190	1685350	kind of methods, you can,
1685350	1688130	for example, for Compound Logging Microsoft,
1688130	1690110	I believe it can be hard to develop
1690610	1692450	mitigation on large scale, because you need to
1692450	1694690	deal with a lot of legacy stuff.
1695130	1697110	And this way was very genius, I think,
1697110	1700830	because you just compile, for example, your DLL
1700830	1703770	with this technology, and you can just load it
1703770	1707830	to unprotected process, and it will work.
1707830	1710890	And you can load it to protected process, RNG,
1713570	1715770	so it's pretty nice, doesn't break legacy,
1715770	1718990	it's fast, only about 5 instructions, it's pretty neat.
1719390	1722510	But the key weakness is that it's,
1722510	1724370	as you can see on the previous slides,
1724370	1726850	it has base conditions, I will show them in a moment.
1727130	1729770	And the other thing is that it's backward-based.
1729810	1733070	I mean, for this one, for example,
1733070	1735230	for the shadow stack, it's in user mode,
1735230	1736990	so it means you can write for this one.
1737530	1741570	So, it's a problem. Now, what's the point
1743190	1746190	that you can write, if you're already writing in Vue?
1746190	1748290	You need to just find and rewrite it.
1748350	1752470	But that's the key. The whole idea behind RNG
1752470	1755050	was that we have no memory-pointed leaks
1755050	1758030	to this region, and as you have terabytes
1758030	1762790	of memory space, basically, if you hit the bed,
1762790	1765370	then your process can be down and be killed.
1765770	1768390	So, it's cool, it's just inefficient to search for it,
1768390	1770450	because it's no memory leaks.
1770450	1772250	But, what is the problem here?
1772250	1775650	Because we have CPUs, which are not properly designed
1775650	1778710	for security, and we have all those sidechannels.
1778710	1782110	So, it means, second, this protection doesn't work.
1783510	1786370	And, as I mentioned, first,
1786370	1787630	those are base conditions.
1787630	1790190	As you can see in the prologue and the epilogue,
1790190	1793030	you can raise instructions, because,
1793030	1796730	when you do call, the instruction will just
1797650	1799650	redirect us to a normal stack.
1800450	1803930	And the software can emulate it,
1803930	1806730	so it will load it to your shadow stack.
1806730	1809410	It basically cannot emulate, it just can wait
1809410	1811950	until it's called, then it can read from the stack
1811950	1813890	when it was original stored, and then put it
1813890	1815430	on the shadow stack.
1815910	1819270	And this is a bit of a risk condition.
1821490	1823890	I believe that's... I think that's...
1823890	1826030	There was people thinking that's OK,
1826030	1827770	of course they know about this risk condition,
1830450	1832410	but it's been in some reasonable manner.
1832650	1835590	But in fact, as this happened, some submission,
1835590	1838890	successfully, it was able, and was able to
1839270	1840430	safely to do it.
1842990	1846710	But, if allergies do some,
1846710	1847890	at least, for example, it's for this
1847890	1850050	to be consistent, it's cooled down,
1850050	1852210	so it's, again, it's not protected by allergies,
1852210	1855110	but no worries, it will go to your back,
1855110	1857290	and maybe in three years, five, I don't know
1860450	1863050	and that will mean that it will be protected
1863050	1866990	calls and returns by half itself,
1866990	1868910	which is always pretty neat.
1868910	1871790	It will be not probably 100% secure
1872130	1874930	for attacks against hijacking
1875210	1877390	counterflow, but it's built pretty much
1877390	1882350	by boundary for you to bypass.
1884010	1886630	And, but, let's say that OK,
1886630	1890070	forward and backward edges is still important,
1890070	1892250	but it seems they don't stop there.
1892250	1896390	Why? Simply because before, and also nowadays,
1896390	1899530	when you have, for example, CFG and whites,
1899530	1901290	and you start with error ping.
1901290	1903770	Error ping is pretty nice, but it can
1903770	1907050	be problematic when you need to do all payloads,
1907050	1909210	just by error ping, call all the syscalls,
1909210	1912830	all the arguments, and that's why
1912830	1916530	the people usually just allocate
1916530	1919550	new memory, put their codes,
1920070	1921250	into the executable, and then just
1921250	1924690	jump this one, for example,
1924690	1928230	through changing the return address.
1928830	1931370	And that's where CAG, ACG,
1931370	1933250	and the other codes come to play.
1935030	1937890	To prevent this kind of execution,
1937890	1939990	your own codes inside your targets.
1940050	1942690	So first, CAG, Code Integrated Guards,
1942690	1944950	is linked to be, OK, it will be a trivial,
1944950	1946850	then you can just, through error ping,
1950070	1952050	and that's it, because the library can be
1952050	1954630	wrong if you before drop the file,
1954630	1957250	and basically, you won already.
1957710	1960330	But CAG says, OK, no, no, you cannot do it,
1960330	1962930	because it's not a valid signature,
1962930	1965210	and as an attacker, it probably shouldn't
1965210	1968730	be easy for you to get a valid signature.
1970670	1973190	But still, OK, we can unload the library,
1973190	1975430	but OK, we can go for allocating memory
1975430	1978790	and making an executable, so OK,
1980250	1983270	Arbitrary Code Guards say, OK, no, you cannot do it,
1983270	1985750	because once memory is breakable,
1985750	1987750	you can't change it to executable anymore.
1988090	1990950	And then, wow, but this is interesting.
1991290	1994230	Then when it comes to browsers, like Niche,
1994230	1997070	they have JIT, JIT Engine,
1997070	1999010	and what they really need is,
1999010	2003470	but OK, and this is also a pretty nice design,
2003470	2004910	so how do they deal with this one?
2004910	2006870	So they just say, OK, we don't need it,
2010070	2011810	because in your own process,
2011810	2015290	you cannot disable Arbitrary Code Guards,
2015290	2017950	but what you can do, is that different processes
2017950	2019250	can do it for you.
2019570	2023290	So they basically introduce another process,
2023290	2025470	which basically unpacks an idiom,
2025470	2028890	injects the code inside your target process,
2028890	2031510	and makes it executable.
2031910	2034630	And of course, there are CRG and these kind of things for it.
2035170	2038190	So it's also a neat design, but on the other side,
2040390	2041450	there's a problem, because there's a problem,
2041450	2045230	OK, what about framing the memory in my own process,
2045230	2047870	when the different processes allocate bits,
2047870	2050390	and getting or rewrite the memory?
2050890	2053530	There are lots of tricky things to do,
2053530	2057210	but I guess they will handle it step by step.
2058030	2060250	So it's very nice to see that Microsoft
2060250	2063330	is doing this kind of challenging thing for us.
2064530	2066270	And another thing, OK, this is not
2066270	2067810	the native code execution piece,
2071870	2074890	but before you can get native code execution,
2074890	2079410	or data boning, and just rewriting some data,
2079410	2081070	I think it's pretty much equal, by the way,
2081070	2084290	to data tricks and code selection attacks.
2084350	2086150	It just depends on the viewer.
2086370	2088590	But even before you can do this one,
2088590	2091430	you need to get good control of your room already.
2092010	2094910	And that one was the next point,
2094910	2097690	how to mitigate those kind of things.
2097930	2099730	And one of these interesting things was
2100070	2102070	how isolation algorithms were used.
2102870	2106150	And, for example, before we have some technique
2106150	2111370	that we have some object in Kata,
2111370	2112830	which have some header and other,
2112830	2114610	and they are really putting together.
2114730	2117850	But the problem with this one is this,
2117850	2120670	that when you can from those data overflow,
2120670	2123870	when you have some bug in handling your object,
2123870	2126070	and you can overflow to different objects,
2126730	2129070	and then you can alter this data,
2130070	2134410	so that's when comes type selection in.
2134410	2137850	This separates different objects,
2137850	2140650	headers and data, different chunks.
2141050	2143890	Not all of them, but I guess pretty much this one.
2144230	2145950	Even if you have overflow,
2145950	2149890	it will be hard for you to attack the critical structures.
2150150	2152450	And even if you have some result-free,
2152450	2155930	it will be very difficult to,
2155930	2157830	or maybe impossible,
2157830	2162110	it will be difficult to get the different objects
2162110	2164250	that were originally supposed to be there.
2164910	2166530	That's a bit nice.
2167070	2169710	But, for example, when it comes to overflows,
2169710	2176450	if you have some crucial thing,
2176450	2177670	that it will tell, for example,
2178170	2180610	about the tactical mitigations.
2182990	2183470	Because...
2183470	2187370	I mean, about tactical mitigations,
2187830	2189490	there is another thing that's OK,
2189490	2191170	that you can get another control
2192570	2194090	of your vulnerability,
2194090	2196730	that you can somehow put it in a good object
2196730	2201010	or it would get a lot of different objects.
2201150	2203370	And now we can start working with it.
2203390	2205510	And it was some known techniques,
2205510	2210530	like BND or BigMap attacks.
2210790	2211990	And if I get attacks,
2211990	2213850	and they use the same pattern,
2217870	2219350	that's our pointer.
2220610	2222890	And that's why I was focusing on...
2224750	2226490	it's not some generic approach,
2226490	2228430	it's approach one by one.
2228750	2230450	But it kind of helps, because when you know
2230450	2232110	that a lot of people are using this technique
2232110	2234250	and blocks it, eventually maybe
2234250	2237070	it will get out of the arsenal.
2237790	2242250	But what's going on here is that basically
2242250	2246830	when before you do some manipulation over,
2247830	2248730	for example, a pointer,
2248730	2251930	index or some buffer, they will check it at first.
2251930	2255010	OK, is this buffer, is this index inside
2256210	2257690	some outer edges?
2257690	2260250	If it's a buffer, it's quite cool.
2260950	2263590	And that's what's called tactical mitigation.
2263610	2266710	And it somehow helps to at least bank some techniques,
2266710	2268810	or at least to make them harder.
2268850	2271350	But what's crucial for this mitigation is that
2272590	2275390	you should not be able to...
2277990	2280310	you can have some limited safe writes
2280660	2283230	in some boundaries, but being inside those boundaries
2283230	2285950	has an important structure, which basically
2285950	2288830	checks after those boundaries,
2289710	2292330	and if it affects that one, it won't.
2292330	2294270	And that was happened...
2294270	2297870	at that article, I referenced it a lot,
2297870	2299990	it's by Mortensen, and you can read it,
2299990	2302150	it was, I think, a pretty nice bypass
2304610	2307810	of one particular tactical mitigation.
2308450	2310050	Targeting the BND.
2311830	2313510	So, how it looks like.
2313750	2316730	For example, on one of our bugs,
2316730	2318950	I was checking, OK, it can be used,
2318950	2322190	because it looks like a write, only primitive.
2322190	2325770	So I try to check if it can be used also as a write primitive.
2325790	2329230	So I'm going through the code, some different branches,
2329230	2331850	and then in one branch, I see this kind of check.
2331850	2333910	At the beginning, you see,
2334510	2336530	B19 is less than B20,
2336530	2338470	and B4 is bigger than B13,
2338470	2341430	it just doesn't cross it more.
2341550	2343730	And this kind of checks are usually
2344470	2346630	not in place when you code, because
2346630	2349290	as a developer, you will write some code,
2349290	2351530	and you build, for example, some objects,
2351530	2354010	and you will use index to index the memory,
2354010	2358250	because this should be correct, this should be valid.
2358510	2360910	But when an attacker can change it,
2363990	2366210	and that's why you have this kind of checks,
2366210	2368530	but as a normal developer, when developing code,
2368530	2369830	you will not think of this one.
2369830	2373410	But when you do some mitigations, like static ones,
2373410	2376170	you will check for this education.
2377250	2379930	Because if it's not this check,
2379930	2382430	we can use it to write anywhere in the kernel,
2382430	2386330	but this checks if it's a good full boundary,
2386330	2387830	and goes a bit troublesome.
2389490	2392630	So in fact, in theory,
2393910	2397050	because Windows is developing these mitigations
2398330	2399510	pretty much fast,
2399510	2400890	I would say you have, I don't know,
2400890	2405070	maybe 80 or more native code execs mitigations,
2405070	2408430	and you have this type of static mitigations,
2408430	2410790	type of isolations, and different kind of things,
2410790	2412050	which is pretty nice.
2412050	2414770	So in theory, it should be pretty nice strongholds,
2414770	2420030	so you cannot do any more to re-write the memory,
2420030	2422050	you cannot load arbitrary modules,
2424730	2425630	RIPs,
2425630	2428030	and also even overflows,
2428030	2431710	there will be some limits that you cannot touch anywhere in the kernel,
2431710	2433510	but just in some parts.
2433510	2435910	But it's some kind of suggestions in theory.
2436490	2439390	It certainly makes it a little bit harder,
2439390	2441170	but it's not game over,
2441170	2444390	because it's still a lot of legacy,
2444390	2448970	so it's hard to do it in large scale properly,
2448970	2452910	and also there's a lot of,
2455550	2457630	then you have some...
2457630	2459650	Recently, for example, in mitigation,
2459650	2463390	when you can see mitigation rules,
2463390	2464890	mitigation mappable rules,
2464890	2467850	you can see that it's out of scope for some categories,
2467850	2470170	race conditions, and it's a butterfuck.
2470170	2472970	Race conditions, I mean, when you write race conditions,
2472970	2476290	it's like saying, OK, we have a really big problem,
2476290	2478250	because we cannot defend against them,
2478250	2482910	but it's still a big problem, because you have process,
2483910	2484950	you have a lot of environments.
2486190	2488830	But it looks like it's really hard to protect
2489670	2492110	against some race conditions.
2494430	2496410	But at least, I want to say that
2496410	2500630	in Windows, what I like from past years, from now,
2500630	2501990	that's the way changing,
2502810	2505910	looking at the early shift towards security,
2506550	2508470	and that at least makes for me,
2508470	2511990	it's a bit more challenging, I can more use my brain,
2511990	2515410	it's not like, OK, I just sit one or two days,
2515410	2517710	and it's done. But now I need to, OK,
2517710	2520530	be more creative. So for me, it's good.
2520770	2522710	And also for normal users, it's good,
2522710	2526310	because it makes for all the people
2526310	2527690	to work harder.
2529330	2533730	So, we have sandbox, we have native code executions,
2533730	2535910	we have some tactical mitigations,
2535910	2539050	but what else? Still, a lot of bugs,
2539050	2541650	and still people bypass it,
2541990	2543610	and introduce some new thing,
2543610	2546290	I mean, it's not new thing, but it's coming to life,
2546290	2548250	that you see,
2549270	2551390	make use of virtualization.
2551710	2554230	And virtualization is pretty neat, because as I said before,
2554230	2557070	I enjoy Kernel, because I like it,
2557070	2561190	but also because, before, you own Kernel,
2561190	2563550	you own, but now you own Kernel,
2563550	2568230	and it can be just one point in your checkbox,
2568230	2569390	in your to-do list.
2572730	2575850	And it's limited,
2575850	2577210	you can link the data,
2578690	2580770	and that's not all what you want,
2580770	2582050	you want less data.
2582630	2587250	And that's what virtualization is about.
2587450	2590030	And really good is that they are using Hyper-V,
2590030	2593950	because Hyper-V is well designed,
2593950	2595090	when you look inside,
2595830	2598750	you see that also a lot of security perspective
2598750	2601970	applied to this module.
2601990	2604790	And you can see that it's a lot of C++,
2604790	2607630	I mean, I enjoy C++, but on the side,
2607630	2610770	it can be bad because C++ is really hard to do it good,
2610770	2614550	it's really easy to make mistakes, and bad mistakes.
2614650	2618510	But when you look at these components,
2618510	2619810	it's not C++ is good,
2619810	2623950	it's code, it's pointers, they are pretty much separation of logic,
2623950	2625810	it's clean design.
2626290	2627990	So it's... I like it.
2627990	2631430	I mean, it's challenging, when you want to find bugs there,
2631990	2633450	it's a big challenge,
2633450	2637090	and when you go on the kernel,
2637090	2640410	and these are the applied, you may have problems.
2642510	2644290	So, for example,
2644290	2647750	about Hyper-V, one of the core components is VNVP.
2647750	2648770	And what's VNVP?
2649630	2651630	It's a virtual machine order process.
2651630	2654170	It's basically the process in the host,
2654170	2656470	which manages the virtual machine.
2657490	2658870	Now this you can maybe,
2658870	2663410	when you try to hyper-application guards,
2663410	2665530	so you can try it.
2665530	2667570	But you can see that it's not so useful,
2667570	2670630	because you can maybe go to Twitter or watch porn sites,
2670630	2674070	but it's not so useful for real applications,
2674070	2677790	for real life, because all those data are just inside the container.
2678150	2680910	But in the future, it will be a bit more and more applicable.
2682730	2683170	And...
2685070	2687410	this VNVP will be more crucial.
2687970	2689230	And when you look
2690430	2693090	on the virtual machine that's going inside,
2693090	2694790	for example, about the emulates,
2694790	2697210	you will see that it's not a lot of things,
2697210	2700170	it's relatively clean,
2701210	2703170	and you have minimal...
2703770	2705530	you don't have too much legacy,
2705530	2707530	you don't have a drag-and-drop,
2707530	2709430	you have basic sessions by default,
2713170	2713850	so it's...
2715730	2717270	it's not a big attack surface,
2717270	2720190	as some other virtual machines maybe.
2720790	2723710	And it can be good, but as I use it,
2723710	2725670	as I try to use it sometimes,
2725670	2727450	as for example for browsing,
2727450	2729850	I don't feel it too much,
2729850	2735650	so I don't think it's a virtualization as boundaries right now here,
2735650	2738030	but I think maybe soon will be.
2738030	2740470	So for this one, the reference
2741030	2744410	type of VNVP can be pretty good.
2745590	2747230	So in the future,
2747230	2749430	what it looks like, maybe the attack,
2749430	2754290	it can be composed from many small parts,
2754290	2755810	because you need, at first,
2755810	2758810	to get back in your target, which can be browser,
2758810	2763250	it can be some ADP, like Skype or whatever,
2763250	2765170	and then it's OK, you get back.
2765170	2767750	Then you need to get the remote code execution,
2767750	2770350	so you need to bypass some net code execution bugs,
2770350	2774150	and before, maybe you need to handle the tag isolation,
2774150	2775110	this kind of things.
2775290	2777770	Then, OK, I get the remote code execution,
2777770	2780870	but I need to escape from the sandbox. And why?
2782190	2784550	Because I'm inside the virtualization,
2784550	2786650	so I need to attack the cadena, the improviser.
2786650	2788890	But the improviser can attack only from the cadena,
2788890	2791830	so even, for example, I got out from the sandbox,
2795170	2798230	then it's true, be sure to look for the cadena,
2798650	2801330	or at least, I have no need, maybe,
2801330	2803790	in code execution there, but at least it writes.
2804290	2807670	And from that point, you need to find the bug in virtualization,
2807670	2809310	and then you have the bug in virtualization,
2809310	2812010	and to be able to exploit it, and when you have exploited it,
2812010	2815190	so in that host, when you are in cadena, it's OK,
2815190	2817830	but when you are in user mode, then you still need to find
2817830	2821230	where it was also in virtualization, it's locked down.
2821790	2824890	So it can be... it's promising,
2825170	2826710	it can be a good challenge in the future.
2827350	2831050	They are not there, but I believe that they will be,
2831050	2833390	at one point, and it will be interesting.
2833910	2837050	At least, for me, it will be a nice challenge.
2839210	2842790	So, but still, before all of this,
2842790	2846150	when you want to exploit, make use of sandbox,
2846150	2847690	you need first to find them.
2848110	2849330	So how to do it?
2850510	2853090	Actually, before, it was more troublesome,
2853090	2854910	because you don't have too much open source tools,
2854910	2857290	you need to create your own clusters,
2857290	2860550	and by creating the things, I mean,
2860550	2862890	it's nice to create it and everything,
2862890	2866870	but it can be a little over-engineered.
2867350	2869710	And at first, for example now,
2869710	2871990	you have pretty much a lot of open source tools,
2871990	2873650	you have syscaller, you have key,
2873650	2877690	you have hypervisors, which you can utilize,
2877690	2880330	which you have also, you have qm, kvm,
2883090	2885310	which is not just for debugging,
2885310	2888150	and you have the technologies for debugging.
2888150	2890730	You can use all of these,
2891890	2894270	and it will help you, and you have all the resources.
2894270	2896410	But I don't recommend to start, for example,
2896410	2899470	to make it faster from the scratch.
2899610	2901450	At first, I guess you need to understand
2901450	2905830	how the state-of-the-art tools work.
2906190	2908830	Those are, for example, KFL,
2908830	2912650	and when you want to work in the kernel,
2913090	2915810	you can use an adaptation in the form of KFL,
2915810	2918930	which you can also use for Windows or for other platforms,
2918930	2920670	and the same applies for syscaller.
2920670	2925330	KFL is for data-fuzzing, and syscaller is for state-fuzzing.
2926090	2927730	And so at first,
2927730	2930570	when you understand the square root of tools,
2930570	2933150	and you know how to work with them,
2934450	2936090	what their weaknesses are,
2936090	2937590	and what you want to improve,
2937590	2940210	then I suppose you should go further
2943090	2944450	with your own tool.
2944830	2947190	Depends. Depends case by case.
2947190	2951170	But at first, I think it's not a good idea
2951170	2954110	to rely on this wheel again and again.
2954110	2956050	At first, understand, and then see
2956050	2959650	if you really need to do something new,
2959650	2961810	and if yes, then do it good.
2963570	2966250	And then the really common question,
2966870	2969510	maybe not a question, but it's there to approaches.
2969530	2972950	People are a lot of times just looking for bugs.
2976750	2979510	But what I would like to do
2979510	2981290	is combine those two approaches.
2981450	2983550	Why? Because who's fuzzing?
2983750	2986190	It's fuzzing super easy.
2986190	2987810	I mean, you can write a program,
2987810	2989150	and you can call it fuzzer.
2989410	2991950	And it's okay, because it does something,
2991950	2994270	but it depends if it does something reasonable.
2994270	2996610	Because it's really easy to do just fuzzer,
2996610	2997990	which does nothing.
3003090	3004770	If you tell him exactly what to do,
3004770	3006270	or limit him too much,
3006270	3008890	it will not be random enough,
3008890	3012010	or will not do enough house and interesting behavior.
3012150	3014630	Because people just look at some
3015430	3017350	some predefinite paths.
3018170	3022090	On the other side, when you're looking just by eyes,
3022090	3024270	well, it can be really tiring for you.
3025650	3027070	You can find...
3027070	3030590	you can easily sleep some easy bug
3033270	3035270	or, on that side,
3035890	3039330	it's really hard to comprehend some complex connections.
3039370	3042390	For example, some race conditions,
3042390	3045410	or some connection five lives ago,
3045410	3047670	some connections, two things together.
3048170	3052230	And this can be really hard to comprehend,
3052230	3054610	really, to see the bug there.
3054970	3056850	And also, the same applies for the fuzzer.
3056850	3061450	It's not so easy for the fuzzer to go for some deep bugs,
3061450	3063070	but on that side,
3063090	3065190	when you combine these two approaches together,
3065190	3067310	it can have a good effect.
3067510	3071330	You will just see a lot of random fuzzer,
3071330	3072630	and then you will improve.
3072630	3076210	OK, I get a deep bug, for example, I cover these parts,
3076210	3078670	but I know that this part seems more interesting,
3078670	3079950	so I want to go more deep.
3079950	3083150	So I will shift the fuzzer, for example, templates,
3083150	3086870	and some logic in the fuzzer, to go with that part finally.
3087310	3090370	And maybe to provide some callbacks,
3093090	3094850	and enhance the fuzzing.
3095590	3097670	It's a lot of things, what you can do.
3100530	3102090	And also, the other thing,
3103530	3105670	is choosing about the targets.
3106890	3109570	As you see, I'm not just about the browsers.
3109570	3112710	Browsers are just one thing,
3112710	3116130	which is really dangerous, if it's done wrong.
3116270	3117850	But there are a lot of applications,
3117850	3120610	which basically communicate with the Internet.
3120610	3122150	So when you are using Skype,
3122150	3124090	when you are using Slack,
3124830	3127330	emails, or different applications,
3127330	3129690	a lot of things communicate with the Internet.
3130250	3132070	And so when you know that your target
3132070	3134890	is using this program,
3134890	3137490	and you know, for example, this is weaker than some browser,
3137490	3140170	then you probably go for that one. Why not?
3141690	3143330	And this is also SMB.
3145350	3147110	Because there were some bugs,
3151510	3152630	not so easy bugs,
3152630	3155430	but for me it's unbelievable that those kinds of bugs exist.
3155430	3157150	Non-authenticated bugs.
3159310	3161470	But when you run some simple dummy fuzzing,
3161470	3163910	you can find a lot of those bugs.
3164310	3167970	I mean, not dummy fuzzing,
3167970	3171010	but for example, more efficient, like APM,
3171010	3173190	that has some strategy approach to find them.
3173290	3175630	But when you just apply, I think, baseline,
3175630	3176830	you will find them.
3180610	3182450	I mean, internally, from Microsoft, as I hear.
3182990	3184690	And from where you see from CVs,
3184690	3188250	they follow CVs to Microsoft for critical stuff about SMB.
3189230	3191090	And so I check it also.
3191750	3194310	And it's hard to find now. I think non-authentication bugs
3195050	3196970	will be a good lag, or
3197810	3199830	that would be a good way to find it.
3200190	3203170	But now, for example, authentication bugs
3203170	3206490	are really also important, but it can be hard to find.
3207530	3210510	And also, when you look in the windows,
3211350	3212970	it's not about...
3212970	3215650	you can find different things also in the kernel,
3215650	3217490	because they introduced some new technologies.
3217490	3219930	For example, Ubuntu on Windows, which is pretty nice,
3219930	3222230	but it needs a whole new subsystem.
3222830	3226730	And it depends on good facets, good reviews,
3226730	3229690	it all depends. And maybe you can start looking at it,
3229690	3231650	you can find more and more stuff.
3232510	3235710	And you'll find, for example, SMB, MDP,
3235710	3238250	and other things to look for.
3243450	3245030	It's more and more challenging
3245030	3246710	from the perspective of...
3246710	3249530	you need to use more RAM to exploit something.
3249890	3252750	And you have a lot of targets to exercise on.
3254750	3256650	So, to think about the conclusions,
3257410	3259930	the single most important thing about mitigation
3259930	3261810	is attack-to-fat reduction.
3261810	3264290	If you reduce me to... I can do nothing,
3264290	3265690	then I just can do nothing.
3267430	3269970	Then, sandboxing is very important.
3270890	3273690	Because when you're living with only some small parts
3273690	3276750	that I need to jump from one processor to another,
3276750	3278710	I need to change multiple vulnerabilities.
3279230	3282310	And that can be really annoying at this,
3282310	3284230	and sometimes making it impossible.
3285070	3286850	And it's also not difficult execution.
3286910	3291030	I mean, it's public bypasses for them, usually.
3291490	3294530	But still, for example, in the remote case,
3294530	3296550	it can play a big role.
3296910	3299910	And also in normal case, at least it will say,
3299910	3303130	OK, but we need to bypass this one at first.
3303530	3304970	Nobody will say that's impossible,
3304970	3307050	but you will need to think about this one.
3307330	3311310	So at least it's good. You can be more creative.
3311950	3313470	Enjoy more, let's say.
