The invention relates to the technical field of
software security and program protection, in particular to a code
obfuscation method based on a neural arithmetic unit, which comprises the following steps: step 1,
code acquisition and operation
verification; step 2, code deep analysis and detailed solution; step 3, model construction and training export; step 4, extracting and confirming
confusion parameters; 5, generating and replacing obfuscated codes; step 6, running reasoning and
verification; according to the method, an original arithmetic instruction in a program is replaced by a neural arithmetic unit subjected to constraint training, original clear arithmetic
semantics are completely embedded into a high-dimensional and nonlinear neural
network parameter space, and an attacker faces confused codes, so that the
algorithm semantics are completely embedded into the high-dimensional and nonlinear neural
network parameter space; the original calculation intention cannot be recovered through the traditional algebraic simplification or
logical reasoning means, and the essential improvement from grammar
confusion to calculation semantic
confusion constructs a deeper defense barrier, and can effectively cope with various advanced
reverse analysis technologies including intelligent decompilation.