天堂国产午夜亚洲专区-少妇人妻综合久久蜜臀-国产成人户外露出视频在线-国产91传媒一区二区三区

基于控制混淆和布局混淆的代碼混淆系統(tǒng)

發(fā)布時間:2018-03-19 19:54

  本文選題:代碼混淆 切入點:布局混淆 出處:《中國科學技術大學》2017年碩士論文 論文類型:學位論文


【摘要】:隨著互聯(lián)網(wǎng)技術和計算機軟件產(chǎn)業(yè)的快速發(fā)展,軟件的獲取和使用變的更加容易。現(xiàn)階段,大量的付費軟件被攻擊者破解,并發(fā)布到網(wǎng)絡上供人們免費使用。而軟件被破解后,攻擊者可能會竊取軟件中的核心代碼或重要信息,使軟件的知識產(chǎn)權很難得到保障,限制了軟件產(chǎn)業(yè)的快速發(fā)展。近年來,由于Python語言的語法簡潔清晰,擁有功能強大而豐富的類庫,可以大幅提高軟件開發(fā)人員的開發(fā)效率,越來越多的代碼開始使用Python語言來編寫,而Python的字節(jié)碼很容易被現(xiàn)有的反編譯工具破解,導致其中的關鍵信息被竊取。為了解決上述問題,在調(diào)研了現(xiàn)有的代碼混淆技術的基礎上,本文基于布局混淆和控制混淆設計實現(xiàn)了一個Python代碼混淆系統(tǒng),該混淆系統(tǒng)可以增加攻擊者破解Python代碼的難度。主要工作如下:(1)對代碼混淆技術進行分析。首先,介紹代碼混淆中包含的布局混淆、數(shù)據(jù)混淆、預防性混淆、控制混淆,并給出了每種混淆下面包括的具體的混淆方法。然后,描述了代碼混淆的四個評價標準,后面將使用這四個標準來對本文設計的Python代碼混淆系統(tǒng)進行評價。(2)分析本文采用的控制混淆中需要用到的不透明謂詞和壓扁控制流算法。首先,分析了 Logistic和En_Logistic兩個混沌映射中存在的問題,給出了本文設計的代碼混淆系統(tǒng)中將會使用的分段Logistic混沌映射,它克服了前兩個映射中存在的對初始值不夠敏感和容易產(chǎn)生小區(qū)域聚集現(xiàn)象的缺點。然后,介紹了不透明謂詞的定義,給出了一種使用混沌映射構造混沌不透明謂詞的方法。最后,分析了現(xiàn)有的壓扁控制流算法中存在的缺陷。(3)實現(xiàn)本文設計的Python代碼混淆系統(tǒng)。首先,介紹了該系統(tǒng)中使用到的布局混淆。其次,提出并實現(xiàn)了該系統(tǒng)中需要用到的基于同余方程構造的不透明謂詞算法和基于分段Logistic混沌映射構造的N態(tài)不透明謂詞算法,并分析了如何在代碼中插入基于同余方程構造的不透明謂詞。然后,提出了一種改進的壓扁控制流算法,該算法克服了現(xiàn)有的壓扁控制流算法中存在的缺陷。最后,在該代碼混淆系統(tǒng)中實現(xiàn)了控制混淆和布局混淆的算法。(4)對本文設計的Python代碼混淆系統(tǒng)進行實驗與分析。使用開源的測試用例在提出的實驗平臺上對本文設計的代碼混淆系統(tǒng)進行了實驗,并在正確性、安全性、有效性方面對其進行了分析。實驗結果表明,本文使用布局混淆和控制混淆算法設計的Python代碼混淆系統(tǒng)能夠保證混淆后代碼的正確性,并且與現(xiàn)有的不透明謂詞生成算法相比具有更好的均衡性,計算不透明謂詞輸出時帶來的額外時間開銷更低,同時具有很高的安全性、強度、耐受力、隱蔽性,能夠有效地增加攻擊者破解代碼的難度,同時也存在一定的時間開銷和空間開銷。
[Abstract]:With the rapid development of Internet technology and computer software industry, the acquisition and use of software becomes easier. At this stage, a large number of paid software has been cracked by attackers and released to the network for free. Attackers can steal core code or important information from software, making it difficult to secure intellectual property rights and limiting the rapid growth of the software industry. Having powerful and rich class libraries can greatly improve the development efficiency of software developers. More and more code is being written in the Python language, and the bytecode of Python can be easily cracked by existing decompilation tools. In order to solve the above problems, this paper studies the existing code confusion technology, and implements a Python code confusion system based on layout confusion and control confusion design. This confusion system can make it more difficult for an attacker to crack Python code. The main work is as follows: 1) analyze the code confusion technology. First, introduce the layout confusion, data confusion, prevention confusion, control confusion, which are included in code confusion. Then, the four evaluation criteria of code confusion are described. The following four criteria will be used to evaluate the Python code confusion system designed in this paper.) the opaque predicates and flattening control flow algorithms used in this paper will be analyzed. The problems in Logistic and En_Logistic chaotic maps are analyzed, and the piecewise Logistic chaotic maps that will be used in the code confusion system designed in this paper are given. It overcomes the shortcomings of the first two mappings, which are insensitive to initial values and easy to produce small region aggregation. Then, the definition of opaque predicates is introduced. A method of constructing chaotic opaque predicates using chaotic mapping is presented. Finally, the defects in the existing flattening control flow algorithms are analyzed to implement the Python code confusion system designed in this paper. The layout confusion used in the system is introduced. Secondly, the opaque predicate algorithm based on congruence equation and the N-state opaque predicate algorithm based on piecewise Logistic chaotic mapping are proposed and implemented. Then, an improved flattening control flow algorithm is proposed, which overcomes the defects of the existing flattening control flow algorithms. The algorithm of controlling confusion and layout confusion is implemented in the code confusion system. The experiment and analysis of the Python code confusion system designed in this paper are carried out. The code confusion system is experimented with, The experimental results show that the Python code confusion system designed by using layout confusion and control obfuscation algorithm can ensure the correctness of the obfuscation code. Compared with the existing algorithms, it has better balance, lower extra time cost when calculating the output of opaque predicates, and has high security, strength, endurance and concealment. It can effectively increase the difficulty of the attacker to break the code, at the same time, there is a certain amount of time and space overhead.
【學位授予單位】:中國科學技術大學
【學位級別】:碩士
【學位授予年份】:2017
【分類號】:TP311.5;TP309

【參考文獻】

相關期刊論文 前5條

1 吳偉民;林水明;林志毅;;一種基于混沌不透明謂詞的壓扁控制流算法[J];計算機科學;2015年05期

2 陳代梅;范希輝;朱靜;汪玉美;;基于同余方程和中國剩余定理的混淆算法[J];計算機應用研究;2015年02期

3 蘇慶;吳偉民;李忠良;李景j;陳為德;;混沌不透明謂詞在代碼混淆中的研究與應用[J];計算機科學;2013年06期

4 楊樂;周強強;薛錦云;;基于垃圾代碼的控制流混淆算法[J];計算機工程;2011年12期

5 范九倫;張雪鋒;;分段Logistic混沌映射及其性能分析[J];電子學報;2009年04期

,

本文編號:1635765

資料下載
論文發(fā)表

本文鏈接:http://sikaile.net/shoufeilunwen/xixikjs/1635765.html


Copyright(c)文論論文網(wǎng)All Rights Reserved | 網(wǎng)站地圖 |

版權申明:資料由用戶9e502***提供,本站僅收錄摘要或目錄,作者需要刪除請E-mail郵箱bigeng88@qq.com
五月激情五月天综合网| 日韩一级毛一欧美一级乱| 黄色三级日本在线观看| 日韩中文字幕有码午夜美女| 日本女优一区二区三区免费| 在线免费观看黄色美女| 欧美成人免费一级特黄| 东北女人的逼操的舒服吗| 老司机精品国产在线视频| 久久午夜福利精品日韩| 在线精品首页中文字幕亚洲| 九九热国产这里只有精品| 欧美日韩精品视频在线| 韩国激情野战视频在线播放| 人妻内射精品一区二区| 在线欧美精品二区三区| 亚洲夫妻性生活免费视频| 日本视频在线观看不卡| 欧美亚洲美女资源国产| 99热九九热这里只有精品| 五月天综合网五月天综合网| 日本一本不卡免费视频| 综合久综合久综合久久| 99一级特黄色性生活片| 亚洲欧美日韩中文字幕二欧美| 欧美精品久久一二三区| 大香蕉久久精品一区二区字幕| 九九热在线视频精品免费| 中日韩美女黄色一级片| 国产一级片内射视频免费播放| 国产麻豆精品福利在线| 国产午夜精品福利免费不| 国产一区欧美午夜福利| 亚洲女同一区二区另类| 国产一区麻豆水好多高潮| 国产一区二区三区免费福利| 日本欧美视频在线观看免费| 日本人妻丰满熟妇久久| 国产精品欧美激情在线| 久久中文字幕中文字幕中文| 国产剧情欧美日韩中文在线|