摘要 |
PROBLEM TO BE SOLVED: To provide a program obfuscation method having improved safety for dynamic analysis.SOLUTION: A program obfuscation device T includes: an obfuscation rule storage part 11 for storing an obfuscation rule for obfuscating a program; an analysis processing part 12 for analyzing the input obfuscation object program; and an obfuscation processing part 13 for performing obfuscation processing on the obfuscation object program based on the obfuscation rule stored in the obfuscation rule storage part 11 and the analysis result of the analysis processing part 12, and for outputting the result of the obfuscation processing. With respect to an arithmetic expression included in the input obfuscation target program, a branch using variables included in the arithmetic expression as a conditional expression is generated, and a plurality of dummy codes becoming the same arithmetic result as that before obfuscation are generated by using variables related to the branch, and a program including the plurality of dummy codes in the code section of the branch destination is generated and output as the obfuscation result. |