start	end	text
7460	15000	Hello everyone, I will continue to talk about some of the situations that will occur in other applications.
16320	21860	Another situation is that there will be a loophole in the instant communication software.
21860	31260	Many instant communication software support one user to send a file to another user during the operation.
31260	34800	And this file is not just a picture or audio file.
34800	39440	It can be another kind of document or binary file.
39440	45120	And this kind of file will retain the original file name after it is sent.
45400	51680	If this file name is not fully verified during the download process,
51680	59940	it may save this file to any path after the file is downloaded.
59940	63880	This will cause a loophole and cause some subsequent effects.
64880	69460	How to find such files in the instant communication software?
71000	78900	First, we need to send a file with a malicious file name.
78900	85000	Then we need to ask the target user to click and download this file.
85040	92040	One of the most difficult processes is how to send such a file.
92040	95040	Because in the process of implementing the instant communication software,
95040	100760	it directly takes the relevant file from the file processor or some other components,
102640	105360	and then obtains the file name.
105360	109640	It does not support directly specifying the file name of the target.
109640	115460	So we need to send a file with a malicious file name through some intermediaries or hooks or re-packaging.
123100	127180	It is possible to send such a file through intermediaries.
128080	132680	Because we found that in the process of analyzing a certain instant communication software,
132680	142980	it used some requests to pass the file name through Base64 and some code through HTTPS.
143500	149120	However, we did not find such a case in the actual application process.
149120	153500	So it's just that intermediaries have a possibility.
153500	156060	There may be such a situation in other applications.
158160	164580	Through the way of hooking, we have a relatively rich harvest.
164580	175920	In the whole series of Tencent QQ, whether it is QQ Team or QQ International or Weiliao,
175920	180360	it can all be done through a way of hooking.
180360	188680	When we send a file, there is a file manager entity in the middle.
188680	194360	In such a file entity, we hook this thing down and send a file name to it.
194360	199140	Replace it with a file name that we need to specify with a dot-dot-dot.
199420	201100	Then send it to the end.
201180	203900	The end will display such a file.
203900	209060	After it is downloaded, it will be stored in one of the paths we specified.
211260	218400	However, there will be some limitations in the process of using this loophole.
219160	225240	This limitation is due to some problems with the Java API itself.
225240	232200	When it downloads, it downloads to a temporary folder on the SD card.
232380	234360	A temporary path below.
234360	239730	After downloading, use the RenameTo API to make a copy.
239730	245490	However, this RenameTo API is a very strange API.
245490	250210	It can be said to be an incomplete API.
250210	257010	When it copies from one file system to another file system, it will cause a return false.
257710	259870	So the copy is unsuccessful.
259870	265290	If the target file exists or the target folder does not exist, it may also return false.
265290	271890	When Tencent QQ is in this code, it does not perform the operation of tolerance.
271890	276350	After it fails to copy, it will throw an abnormality directly.
276350	282870	Then say this abnormality is RenameFileFail, RenameFileError such a situation.
282870	288730	If it has the means of tolerance to ensure that this file can be copied normally,
288730	291590	this is actually an opportunity.
292770	296650	But we can't say that this loophole can't be used.
296650	299590	Although it can only be traversed under the SD card,
300750	304790	for example, in M.2.0 2017,
305370	311050	MWR has already used such a loophole in their use of Samsung phones.
312350	316550	It is to rewrite an INI configuration file on the SD card,
316550	323170	and then change the HTTP of the server in this file to point to their own,
323170	324930	and then do a middleman attack,
324930	329950	which achieves the effect of being able to install a malicious application.
330750	337150	So although this looks very fierce,
337150	341610	but it is also possible to produce some beneficial effects.
341610	347190	Then, what do we need to pay attention to in the process of hooking to modify this file name?
348610	354990	In fact, the most important thing is to find a suitable location to place such a hook.
355890	361510	Such a suitable location may usually be a class of a definition.
362010	367670	This class includes some relevant information about the file that needs to be transmitted,
367670	371430	such as the file name, file size, etc.
374330	379250	However, such a class requires us to manually,
379250	385810	for example, how to get this file when it starts,
385810	390870	and then store it and read it to what data structure to do some analysis.
390870	392350	There is another way,
392350	400170	it may store these files in a data structure such as a standard map in Java,
400170	405270	and then take it out when it is sent and put it in the corresponding request.
407470	414130	We can complete the entire analysis process through a manual trace.
414930	419570	Of course, we have also explored a process related to automating this process,
419570	424310	that is, it may be possible to do such a method through 5-point analysis.
425310	428050	There are some problems with static 5-point analysis.
428610	431770	For example, there are some problems with the hidden call,
431770	435430	such as the multi-line of this bind.
436850	440110	For dynamics, we have a simpler way,
440110	443510	which is to hook up the relevant file name.
443510	449430	For example, we want to send a file name 1,
449430	452450	and then we can hook up all the files to read and write,
452450	454670	and then print out the return number.
455850	459030	Through this multi-stage binding,
459030	465550	we can reproduce the entire process and find some points of such a hook.
467730	469470	In addition to this hook,
469470	473730	there may also be a method of re-packaging or re-producing.
473950	476870	If this application is not mixed very seriously,
476870	481370	we can use reverse analysis to specify its relevant source code.
481370	484470	In the process of sending files,
484470	486830	maybe its file name is already specified in a certain function,
486830	489510	in a certain amount of power.
489650	493350	For example, CVE-2017-17715.
493410	499370	This is a loophole found by Project Zero in Telegram Messenger,
500070	501690	which is also a pass-through.
501730	506710	When sending files to other users or in the group,
508470	510710	a file with a dot-dot-bar can be sent.
510710	513950	When the file is downloaded, it will also be affected.
514170	519990	This loophole is re-packaged or re-produced by Natalia.
520090	522710	It is directly specified in the APK,
523410	526490	and then re-packaged and modified.
526490	530970	When running, a malicious file name is sent.
533030	536230	Of course, in addition to the above scenario,
536230	539090	there may also be a cloud disk.
539090	542050	When the cloud disk file is downloaded, there will be some problems.
542050	544990	For example, when the cloud disk is stored,
544990	548190	the existing file name must not be stored in the server.
548190	551110	It should be in the form of a hash file.
551630	554290	Then, through some searches,
554290	557250	the actual file name is unzipped.
557490	564330	Then, this file name may not be very standardized
564330	567770	or filtered by some dot-dot-bar.
567770	570330	Then we also have a chance.
570390	576150	There are also some manual backups or restores.
576250	578530	This may also happen.
579850	582890	Then let's talk about the third link,
582890	585390	which is some useful skills.
585410	588610	Next, we will talk about some actual loopholes.
592380	596380	Before using, we need to figure out a few problems.
596380	601320	One of them is what kind of loopholes we can classify as.
603200	605320	I have divided it into three categories.
605320	613300	The first category is a single cross-path loophole.
613300	619400	In this kind of loophole, most of it is caused by the output of the component plus some logical loopholes.
619400	623960	For example, this container provider and this file copy.
625020	631480	The second category is a cross-path loophole that can directly cover any file.
632320	634920	This is widely used.
634920	637700	In the last year's Mobile Pong Tournament,
637700	641460	there were two cases like this.
641460	645280	This is also the most commonly used one.
645280	647980	There may be a cross-path loophole in Zip.
648260	653800	The third category is some other categories.
653800	657460	We can download something.
657460	659070	But in the process of downloading,
660500	662560	due to some business needs,
662560	665480	it will check whether this file exists.
665480	668740	If this file exists, it will be renamed.
668740	673560	In this case, it will not cause a copy of any file.
674340	678280	In this case, it is usually difficult to use,
678280	680620	but there is no way.
680620	682740	We will have a related introduction later.
683900	690160	This is a classic code that is renamed after the file is downloaded.
691400	698460	It usually adds some extra characters before the original file is traced.
698600	704260	In addition to this loophole classification,
704380	707960	we also need to figure out
707960	710420	which files are used in the application.
710420	713380	In the process, which files are used?
713540	717080	The first category is a very general file.
717520	719820	Basically, all applications will have it.
719820	722120	It is Share Preference.
723040	725480	There are many configurations in XML files.
725480	727780	These configurations may have some related information.
727780	730480	Then there is Circulate Database.
730980	734680	This type of file contains some related data,
734680	736580	such as contacts, etc.
740280	742920	In recent years,
744700	747680	Android applications on the market are getting bigger and bigger.
747680	750280	They have more and more functions.
750280	756940	In order to ensure that the size of the initial package is small enough,
756940	759700	some complex functions,
759700	762860	such as video playback and image analysis,
763140	764920	will be loaded as a plug-in.
764920	767860	It will be loaded dynamically.
768320	770940	It will even be dynamically updated.
770940	772680	Then there is the Rippedin mechanism.
772680	777240	There are many Rippedin frameworks developed in China.
777240	778920	Because there is no Google Play,
778920	781920	it produces such a relatively...
785750	789770	Then there may be some binary files such as WatchServer.
790430	795890	Such binary files will have some protection process, etc.
795890	799150	In addition, there will also be some configuration files,
799150	802010	such as the INI file mentioned earlier,
802010	805670	or some files on the SD card outside the sandbox.
806990	809270	We all have the opportunity to use these files.
809430	813770	First, let's look at a case like CVE-2018-8084.
814010	816870	This is a path traversal on a domestic browser.
818010	820350	It is in the process of decompression,
820350	821930	which is to download a zip package,
821930	823750	and then manually decompress it.
823750	827650	There is no correct verification of the content in this zip package.
827650	829650	Then it will lead to...
829650	832070	It can travel to any path.
832070	836250	At the same time, this app is a browser app.
836250	837510	So it supports...
837510	839870	It supports some video files.
840110	843950	It supports playing some videos online.
844110	848810	So it has a lot of SO files that exist in the form of inserted keys.
850510	852510	For example, this libvplayer.so
852510	854810	is a very good coverage target.
854810	856050	We pass...
856050	858510	We pass this...
859270	860550	libvplayer.so
860550	863210	gni-onload function rewrite.
863210	864290	Then in this...
864290	866610	Just download one of our...
867370	867850	a shell.
867850	869570	And then execute it.
869570	872030	We can...
872030	874170	When it plays a video,
874170	876150	to get a shell.
876150	877970	The interesting thing is that this loophole...
877970	880810	After replacing this libvplayer,
880810	883650	This app can still run normally.
883650	885830	That is, the user has no perception.
886010	889090	And in the process of decompression of this app,
889090	891350	It also can't see this kind of loophole.
891350	893730	So this loophole is still quite good.
894110	896090	The second case is...
896090	897350	It also uses a plugin.
897350	898670	But it is...
899670	900250	This...
900250	901570	It can't...
901570	903570	Directly cover these files.
903670	906330	This loophole is in the web browser master.
906330	907750	A path...
907750	909470	When it downloads the plugin,
909470	910970	There is a loophole.
910970	913750	That is, a user sends to another user...
914770	918070	When sending an app with a malicious file name,
918070	919310	A malicious plugin,
919310	921650	If it clicks to download,
921650	924190	So when it downloads the next time,
924190	924830	No...
924830	927830	When it re-opens the app next time,
927830	929330	There is a possibility that it will cause...
929330	931270	An attack on RCE.
931270	933550	The specific situation of this loophole is like this.
933550	935710	That is...
935710	936410	Well...
937950	940010	In the process of forcing use,
940010	942490	Because when we are in the file hook,
942490	943630	We will find...
943630	945630	It has a file called FinalCore.java.
946130	948950	Then before this FinalCore.java,
948950	950810	It will first detect this...
950810	951710	NewCore.java...
951710	952950	Such a file.
954990	955550	Well...
955550	958030	Let's confirm this...
958030	959270	Related logic code.
959270	961790	It depends on where these two files are read.
962190	963570	There are two ways.
963570	965330	Because the application of NetEase Mailbox Master,
965330	966190	It is...
966190	968250	It has some mixed encryption.
968250	970890	That is, its string of characters is at least mixed.
970890	972970	For example, this A.C.
973150	975110	Through some static methods,
975110	976030	You can...
979230	980010	Decrypt this algorithm.
980010	982570	This is not a simple Base64 decode.
982570	984570	It has some other steps.
986810	987430	Then...
987430	990270	You can also directly hook this A.C.
990270	992390	Give its related results to...
992390	994670	The return value.
994670	996430	It can be dynamically decrypted.
996430	997470	Anyway, we end up...
997470	999670	Located here.
999830	1002310	The general logic is...
1002310	1005650	Before loading this FinalCore.java,
1005650	1006690	It will first check...
1006990	1008710	Does this NewCore.java exist?
1008710	1011190	If this NewCore.java exists,
1011190	1012630	Rename it.
1012630	1014890	Rename to this FinalCore.java.
1014910	1016390	This business...
1016910	1020050	When NetEase Mailbox Master first opened the screen,
1020050	1021350	It has an ad.
1021350	1023910	This ad has an update function.
1024070	1025450	The update of this ad...
1025450	1028010	Of course, it is not possible to download it every time.
1028130	1030010	Reinstall such an application.
1030010	1031650	And then update it.
1031650	1032670	It can be dynamic.
1032670	1034250	Push something.
1034610	1036670	So it led to this loophole.
1037070	1037610	We...
1038630	1041450	Therefore, although we are in the process of re-downloading,
1041450	1042870	It will be re-named.
1042870	1044670	So we don't have this...
1044670	1046670	The right to cover any file.
1046930	1049370	But we can put such a NewCore.java.
1049370	1051830	Then when it is downloaded next time,
1051830	1054930	You may get a share.
1055390	1058190	In order to ensure the normal operation of this application,
1058190	1061510	That is, to ensure that this exploit is good enough,
1061510	1068190	We need to do some follow-up operations on the downloaded file.
1068190	1068890	For example,
1068890	1071430	If we want to ensure its function,
1071430	1075430	We can only insert some Smarty codes in it.
1076230	1078270	Then get a share.
1078270	1080270	The usual method is...
1081990	1083110	Generally speaking,
1083110	1086050	We generate such a share through Joseph or Metasploit.
1087470	1090090	Then extract a share code from it.
1090090	1092650	Finally, insert it into this related code.
1092650	1095910	In the process of loading this DexPlusLoader,
1095910	1097290	In the process of this hook,
1097290	1101230	We can tell which types are being loaded.
1101230	1104070	Then in these types of structure functions,
1104070	1106470	Or some with context functions,
1106470	1110550	We can insert this related payload star code.
1110550	1113790	To get a remote reverse share.
1116030	1117950	In addition to the plug-in,
1117950	1122810	Maybe the application itself also has some related codes.
1122810	1123850	There is a loophole.
1123850	1125030	For example,
1125030	1127670	Natali found this...
1128230	1131250	There is such a loophole in the traversal code in Telegram.
1131250	1134370	It can't cause any file coverage.
1134370	1138430	However, it is in this KGNet structure.
1138430	1141830	KGNet is a network related structure that manages Telegram.
1143550	1145310	It has a configuration file.
1145310	1147150	In the process of loading the configuration file,
1147150	1149630	It has a back-up mechanism.
1149750	1150950	That is to say,
1150950	1154710	It will first check if this .bak file exists.
1154710	1156570	If this .bak file exists,
1156570	1157970	Restore it.
1158070	1160560	This is usually due to...
1160560	1161100	This...
1161100	1163400	In order to co-operate,
1164380	1166800	Some related logic is set.
1168380	1169400	Therefore,
1169400	1172240	In the process of exploring this loophole,
1172240	1175880	Found that if you write to this .bak file,
1175880	1178520	It may lead to this...
1178520	1180720	The file is in the process of analysis.
1180720	1182520	Because of some format problems.
1182520	1184680	Because there are also some loopholes in it.
1184680	1185680	Such a loophole.
1185680	1187560	It will lead to a crash.
1187560	1188520	So...
1189500	1191520	So there will be some impact.
1191520	1192440	Then it also...
1193100	1195720	In this KGNet.dat file,
1195720	1196580	It also...
1197280	1198620	Set this...
1198620	1200540	Related to Telegram...
1201400	1202780	An IP port of the server.
1202780	1204680	So there is a potential possibility.
1204680	1206940	If this Telegram protocol is...
1206940	1208160	After you figure it out,
1208160	1211100	It may be possible to make a session hijack.
1211220	1212260	But in this case,
1212260	1215100	Some more in-depth analysis may be needed.
1216040	1218880	But if such a loophole is used,
1218880	1220740	Specific applications are needed.
1220740	1222040	To analyze in detail.
1222240	1222920	And...
1222920	1224720	It may be difficult to have some...
1224720	1226920	It is difficult to have some output.
1227020	1228680	We found...
1228680	1231200	A more universal way of use.
1231600	1234420	In AOSP's original...
1234420	1236040	Share preference.
1236040	1237100	Such a very universal...
1237760	1239920	A file type in the middle.
1240060	1241440	It also has...
1241440	1243300	Similar to this KGNet module.
1243300	1245560	A backup mechanism.
1245940	1247160	That is to say...
1247160	1249120	Before it loads each...
1249120	1250040	Share preference...
1251060	1252540	XML file.
1252540	1255060	It will first check this related...
1255060	1256820	Does BAK exist?
1256820	1258820	If it exists, it is RESTORE.
1258820	1261100	After RESTORE, it can cause...
1261100	1262800	An indirect write-in.
1262800	1265300	That is to say, although we can't cover...
1266140	1267740	Cover this XML.
1267740	1269660	But we can write an XML...
1269660	1270720	To BAK.
1270720	1272800	In this way, when it loads...
1272800	1275100	This loadSharePreference...
1275100	1276860	It will also work.
1276860	1278640	It is equivalent to...
1278640	1280320	Covering this XML.
1280320	1283400	Causing any share preference to be covered.
1285340	1286720	In the case of Telegram...
1287880	1289400	We can see...
1289400	1291400	There is an XML called UserConfig.
1292220	1295620	There is an XML called UserConfig.
1297320	1299940	There is an XML called UserConfig.
1299940	1300360	There is an XML called UserConfig.
1300360	1300700	There is an XML called UserConfig.
1300700	1302990	There will be its ID...
1303660	1304380	FirstName...
1305340	1306080	PhoneNumber...
1306080	1307340	These things.
1308570	1310360	After we cover this file...
1310360	1311660	What effect can it cause?
1311820	1315120	After covering TGNet and UserConfig at the same time...
1315120	1318700	Can make this target user's...
1318700	1319000	Account...
1319000	1320600	Replace it with our own account.
1320600	1321420	That is to say...
1321420	1323480	It is like a...
1323480	1326380	When other users send a file...
1326380	1329180	We can see it here in real time.
1329180	1332920	It creates a session hijack effect.
1332920	1333520	Then...
1333520	1336660	It also has a device binding effect.
1336660	1337500	That is to say...
1337500	1338680	It logs in there.
1338680	1340600	Then I re-log in here.
1340600	1342280	It can no longer...
1342280	1344420	It can no longer forcibly...
1344420	1345720	A offline.
1346060	1349220	No matter whose account it logs in later...
1349220	1350960	Because we have implemented...
1350960	1352560	A device binding operation.
1352560	1354660	As long as we forcibly log in here...
1354660	1355760	It will offline there.
1355760	1357720	No matter whose account it logs in.
1359340	1361380	We can take a look at this...
1361380	1362520	It is a common...
1362520	1364080	Replacement of SharedPreference.
1364080	1365780	What effect can it cause?
1367400	1368120	This...
1368120	1370240	In SharedPreference...
1370240	1372400	Usually there will be some...
1372400	1373420	Very important effects.
1373420	1376520	For example, some links of HTTP.
1376520	1378260	It may contain some...
1378260	1379580	Download address of the plug-in.
1379580	1380620	Update address.
1380620	1381680	There will be some updates.
1381680	1382500	There will be some...
1382500	1385300	Some links of APK.
1386380	1388500	If we change these places...
1388500	1390940	It may cause RCE.
1390940	1391520	Or...
1391520	1393240	There is a way to fish.
1393300	1396320	Then it may specify some plug-ins.
1396680	1397280	Or...
1397280	1399440	A version code itself.
1399440	1401760	If we lower it...
1401760	1402840	That is to say...
1402840	1403800	It was originally 6.1.
1403800	1404980	You change it to 6.0.
1404980	1406960	Then in the next check update...
1406960	1408540	There will be an update.
1408540	1409960	Then according to...
1409960	1412320	Some links of HTTP.
1412680	1414120	It may...
1414120	1416140	Implement this attack.
1417080	1417500	That is to say...
1417500	1420820	Run the update logic.
1422880	1424300	There are some related...
1424880	1426000	Hashi files.
1426800	1428620	You want to download an...
1428620	1429800	SO.
1429800	1432480	But it may be through an HTTPS.
1432480	1434640	It has already downloaded the SO MD5.
1434860	1436400	Even if you replace it...
1436400	1437300	It is also...
1437300	1440360	In the process of complete verification...
1440360	1442040	It will fail.
1442660	1443840	So if we...
1443840	1445700	After replacing all these things...
1445700	1448120	You can implement the whole attack.
1448620	1449580	And then...
1449580	1452020	There may be some server-related codes.
1452020	1453460	For example, in some browsers...
1453460	1455440	It will have some DNS cache.
1455480	1457440	Some IP port.
1457440	1459100	Even some proxy.
1459100	1460600	After modifying these things...
1460600	1461620	It can also achieve...
1462740	1465320	Some cool effects.
1467080	1468420	The third...
1468420	1471320	One point we can pay attention to is...
1471320	1473060	Android's Rebooting.
1473060	1474160	That is...
1474970	1477080	In the middle of the path traversal loop...
1477080	1478340	This kind of loop...
1478340	1480200	This kind of file also has...
1480200	1481760	A great opportunity.
1483260	1484900	Rebooting is...
1484900	1486100	In the application...
1486100	1487920	When you don't need to reinstall...
1487920	1490560	It can be very fast and convenient...
1490560	1492300	Put this resource file...
1492300	1493460	Even...
1493780	1495320	Dex files, SO files...
1495320	1496960	Some updates...
1496960	1499680	It can be used to quickly repair...
1499680	1501260	Some emergency booting...
1501260	1502500	In some cases...
1502500	1505300	It is widely used in large applications.
1507420	1508780	In China...
1508780	1512380	All major manufacturers have some related frameworks.
1512380	1513660	For example, Tencent...
1513660	1514380	There are many...
1514380	1515620	For example, Tink...
1518060	1518780	SuperHardPrint...
1518780	1519500	And...
1519500	1521520	WeChat Reading...
1522360	1523080	Ali...
1524480	1525200	Meituan...
1526620	1529100	Rebooting will introduce some new problems.
1529100	1530060	That is...
1530060	1531860	It is difficult for us to guarantee...
1531860	1534160	The completeness of the downloaded code...
1534160	1536340	We can control it.
1536400	1537480	That is...
1537480	1539220	It may be tampered with...
1539220	1540660	Or it may load some...
1541210	1542980	Some codes that we can't control.
1543020	1543940	In this case...
1543940	1547140	It may lead to the execution of arbitrary codes.
1547140	1548940	This is a very dangerous effect.
1550320	1551480	In our...
1552400	1552980	For...
1552980	1555220	In our process of debugging the mailbox application...
1556320	1557540	We also found that...
1557540	1558760	In the QQ mailbox...
1558760	1560080	There are also related...
1560950	1562520	Related path traversal loopholes.
1562520	1564960	It can't cause arbitrary files to be covered.
1564960	1567060	But it has a Rebooting mechanism.
1567060	1569520	Let's take a look at a related implementation of its Rebooting mechanism.
1570500	1572320	When it is updated...
1572320	1573420	It will download this...
1573420	1575340	Download this link.
1575340	1577960	Then do some signature verification.
1577960	1579280	After the signature verification...
1579280	1581100	There may be some MD5 verification.
1581100	1582260	In the middle of these processes...
1582260	1583800	There is no problem.
1584060	1586360	Then it will put this...
1586360	1587640	The DEX file inside...
1587640	1589880	To a specific folder.
1590040	1591540	This specific folder...
1591540	1593180	Is specified in an XML.
1593180	1596060	Up to this point...
1596060	1596840	There is no problem.
1596840	1599420	Because we can't control all of these.
1599820	1601280	But when it is...
1603120	1603480	Rebooting...
1603840	1605680	It has some...
1605680	1607480	Very dangerous operations.
1607480	1609660	It uses a list file operation.
1609660	1611180	That is to say, it will put this...
1612660	1614320	Under the Rebooting path...
1614320	1615620	All the DEX files...
1615620	1617600	List them all.
1617600	1619240	Then download them one by one.
1619360	1621120	There is no way to do this.
1622180	1623460	Because a lot of...
1623460	1625120	Now this kind of...
1626100	1626760	DEX files...
1626760	1628520	There are some shortcomings.
1629780	1632340	The number of methods supported by DEX files...
1632340	1633800	Is limited.
1633800	1635380	So it needs...
1635380	1637200	Multi-DEX support.
1637200	1638000	Such a mechanism.
1638000	1639920	So there will be a lot of DEX.
1639920	1642420	In order to integrate this change...
1643120	1644320	The way they came up with...
1644320	1646300	Is to use such a list file...
1646300	1648900	To make a list.
1648900	1650840	Then make an attack.
1650840	1652340	And make a download.
1652340	1655100	At the same time, at the level of DEX...
1655100	1656800	There is no way to do...
1656800	1658460	Signature verification.
1658460	1660100	Because in this file...
1660100	1662580	There is no information related to the application signature.
1664040	1666920	So we can...
1666920	1669320	Like this...
1669320	1669720	DEX...
1669720	1670900	DEX is...
1671740	1673400	M-O-A-I patch...
1673400	1674720	Under this path...
1674720	1677220	Write a DEX of any kind.
1677220	1678360	That is to use...
1678360	1680900	The method we introduced in the online email master...
1680900	1683020	This kind of SMARTY input method.
1683020	1684020	Input a file.
1684020	1685640	Then write it in.
1685800	1687820	When it is executed next time...
1687820	1690020	You can get a reverse email.
1690280	1691900	The reverse file of the mailbox...
1691900	1694020	I think the effect of the application is still great.
1694020	1696580	Not only can you do this...
1697200	1698080	Dragon attack.
1698080	1698960	That is to say...
1698960	1703100	Copy all his mails at the same time.
1703120	1705340	So that we can see all his emails.
1705340	1707820	You can fake his identity and send emails.
1707820	1709900	It can even cause insect effects.
1709900	1710920	That is...
1710920	1712520	For each contact person...
1713120	1715020	Each such contact person...
1715020	1717060	Send more such files...
1717060	1719560	There is still a certain range of influence.
1721080	1722780	But we just mentioned...
1722780	1724900	This is a problem with the hot pudding mechanism.
1725860	1726580	So...
1726580	1729760	Will only this old version be affected?
1729760	1731700	Because there is no pudding in the new version.
1731700	1734020	So there is no pudding path.
1734020	1736020	We found in the middle of the analysis...
1736020	1737240	He has such a...
1737240	1739480	A pudding-specific XML file.
1739920	1740400	Inside...
1741940	1742900	This...
1743920	1745840	When to hit the pudding...
1745840	1747420	Pudding link...
1747420	1750000	What path will pudding be placed under?
1750760	1751800	And this...
1751800	1752840	Related...
1752840	1754160	Such a patch key...
1754160	1758440	If you replace this file...
1758440	1759060	That is...
1759060	1761420	Can reach this...
1761420	1762680	Multi-stage...
1764240	1765920	Requires more...
1765920	1767240	An interaction of cycles...
1767240	1769660	But it can eventually reach such a...
1769660	1770720	In the middle of the new version...
1771060	1772520	Can also be used...
1775060	1777600	Finally, let's talk about...
1777600	1779840	How to do a fix.
1780200	1781420	Before that...
1781420	1783420	We just talked about this...
1784340	1785580	Some common files...
1785580	1787100	For example, the SQLite database...
1787100	1789460	This file can actually...
1789460	1791380	In a situation where it cannot be covered...
1791380	1792340	To be covered...
1792340	1793660	Because we can...
1796580	1798040	Write a journal file...
1798040	1798480	Under the db path...
1798480	1801060	When it rolls back in time...
1801060	1802660	It will have a...
1802660	1804200	The effect of rolling back...
1804200	1805940	Can put this...
1806700	1808320	A change in the database...
1808320	1810480	Is to modify it back...
1810480	1812300	Indirectly create a...
1812300	1814340	Any coverage of a db file...
1814340	1816820	And finally, let's talk about how to fix it.
1816820	1819120	Fix, in fact...
1819120	1820840	The most critical step is...
1820840	1822760	To do a...
1822760	1824660	To do a...
1824660	1825600	A bit of a test...
1825600	1828780	First of all, we have to ensure that this file name...
1828780	1829620	It is...
1829620	1831220	To standardize it...
1831220	1834940	Use this...
1837000	1838480	Use this...
1839520	1840260	Or...
1840260	1841820	Such a standardized file...
1841820	1843040	Read it out...
1843040	1843680	And then...
1843680	1846380	See if its db path...
1846380	1847460	Is it...
1847460	1851420	Under the path we need to write...
1851420	1852880	If it exceeds...
1852880	1854580	It is a path...
1854580	1856260	A process that may exist...
1856260	1858580	If we add this line of code...
1858580	1860680	Is to be able to...
1860680	1861940	Can cancel this path...
