Patent
Python code obfuscation method based on control flow and appearance obfuscation
Gu Naijie,Wang Yan,Chen Wu,Wang Xiaoqiang +3 more
- 31 May 2017
6
TL;DR: In this article, a Python code obfuscation method based on control flow and appearance obfuscation is described, which includes: dividing Python codes in each function into corresponding basic blocks by taking the function as a unit; numbering the basic blocks in each functions; using a secret key generation algorithm based on sectional Logistic chaotic mapping to generate two sects of secret keys corresponding to the numbers; disorganizing a sequence of the basic block in each functional function, using a control sentence for control, packaging and controlling control variable of an execution sequence of basic blocks, and using the two sets
read more
Abstract: The invention discloses a Python code obfuscation method based on control flow and appearance obfuscation. The method includes: dividing Python codes in each function into corresponding basic blocks by taking the function as a unit; numbering the basic blocks in each function; using a secret key generation algorithm based on sectional Logistic chaotic mapping to generate two sects of secret keys corresponding to the numbers; disorganizing a sequence of the basic blocks in each function, using a control sentence for control, packaging and controlling control variable of an execution sequence of the basic blocks, and using the two sets of the secret keys as condition variables for generating numbers of the basic blocks needing to be executed and in if sentence; performing appearance obfuscation on the codes after control flow obfuscation is performed, and replacing the codes with meaningless character strings. By the method, intellectual property of software developed by using Python language can be protected.
read more
Chat with Paper
AI Agents for this Paper
Find similar papers on Google Scholar, PubMed and Arxiv
Write a critical review of this paper
Analyze citations of this paper to find unaddressed research gaps
Citations
Patent
Code obfuscation method and device based on chaotic opaque predicates
Su Qing,Sun Jintian +1 more
- 05 Dec 2017
TL;DR: In this paper, a code obfuscation method and a device based on chaotic opaque predicates is described, where the capability of resisting static analysis is strong through a chaotic opaque expression of a complicated structure mapped chaotically.
2
Patent
Method for protecting Python program
Wang Ying
- 03 Nov 2017
TL;DR: In this article, a method for protecting a Python program is proposed, which includes a parallel step and a non-parallel step after the parallel step, wherein the parallel steps include a parallel substep A: based on the arbitrarily-preset relationship corresponding to operation codes, exchanging a first operation code in opcode.h, and then exchanging a second preset operation code.
2
Patent
A structure flattening method and system for mobile code
Hu Wenjun
- 21 May 2019
TL;DR: In this paper, a structure flattening method for mobile code is presented, which comprises the following steps of: performing cutting by taking a function as an operation object and taking an instruction as granularity, and combining into a new basic block; disorganizing the up-down sequence of the new basic blocks and replacing the skip through the condition instruction and the skip instruction.
2
Patent
Source code protection method and apparatus
Chen Hua
- 09 Oct 2018
TL;DR: In this paper, the authors proposed a source code protection method, which comprises the steps of obtaining to-be-protected source codes; performing messy code conversion on function names of the source code, and/or hiding specific function codes in the source codes, thereby realizing protective processing of the to be-protected codes; and applying the source coded subjected to the protective processing to a client.
1
Patent
A plug-in-based iOS security compiler and a security compiling method
Liu Yonghui,Yang Yan,Gao Zhengwei +2 more
- 03 May 2019
TL;DR: Wang et al. as mentioned in this paper proposed an iOS security compiler based on plug-in, which comprises a code splitting processing module, a code out-of-order processing module and a code flattening processing module.
1
References
Patent
Securing accessible systems using cross-linking
Harold Johnson,Yuan Xiang Gu,Michael Wiener +2 more
- 28 Mar 2013
TL;DR: In this article, the authors present a system and techniques for securing accessible computer-executable program code and systems, where one or more base functions may be generated and blended with existing program code, such that it may be difficult or impossible for a potential attacker to distinguish the base functions from the existing code.
11
Patent
Method for implementing code obfuscation by Markov chain
Zhang Xiaosong,Song Jun,Niu Weina,Zhuo Zhongliu,Chen Ruidong,Wang Dong,Ting Chen,Xu Yunqing,Huang Jin,Dai Zhongyin +9 more
- 28 Oct 2015
TL;DR: In this article, a method for implementing code obfuscation by a Markov chain is proposed, which can effectively realize obfuscation of constant strings and function addresses and greatly enhance the difficulty of reverse engineering analysis programs.
10
Patent
Control flow flattening for code obfuscation
Michiels Wilhelmus Petrus Adrianus Johannus,Philippe Teuwen,Jan Hoogerbrugge +2 more
- 02 Dec 2015
TL;DR: In this paper, a method of obscuring software code including a plurality of basic blocks wherein the basic blocks have an associated identifier (ID), including first-and first-previous basic blocks, was proposed.
4