Application obfuscation method, device and computer equipment
By obtaining obfuscated data from different business scenarios and obfuscating the file name, variable name and function name of the target application, the problems of code obfuscating and reflection conflicts and audit failures are solved, and the application security and audit approval rate are improved.
Patent Information
- Application Number
- CN202111228437.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-10-21
- Publication Date
- 2024-12-10
- Estimated Expiration
- 2041-10-21
AI Technical Summary
Code obfuscation can lead to conflicts in languages that support reflection, causing the application to fail to run, and during the Apple App Store auditing process, meaningless data or encrypted encoding may be considered as vest applications, resulting in audit failure.
By determining the business scenarios and information of the target application, obtaining obfuscated data for different business scenarios, using this data to obfuscate the file name, variable name and function name of the target application to make it conform to the human writing habit, thereby increasing the difficulty of cracking and improving the review and approval Rate.
Effectively improve the cracking difficulty and audit approval rate of the application, avoiding being recognized as a vest application, while adding secure code to enhance anti-debugging and preventing resignatures.
Smart Images

Figure CN113885878B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data protection, and in particular to an application obfuscation method, device and computer equipment. Background Art
[0002] Code obfuscation is the process of converting the code of a computer program into a form that is functionally equivalent but difficult to read and understand, such as replacing function names with randomly generated meaningless data, or replacing variable names with encrypted codes after encryption operations, thereby improving the security of computer programs.
[0003] However, code obfuscation also brings some problems. For example, for languages that support reflection, code obfuscation may conflict with reflection, causing the application to fail to run. In the application review process of Apple's App Store, meaningless data or encrypted codes may be identified as vest applications and fail to pass the review. Summary of the invention
[0004] In view of this, the present invention provides an application obfuscation method, device and computer equipment, which are used to improve the current situation where a computer program will be identified as a vest application after executing code obfuscation.
[0005] In a first aspect, an embodiment of the present invention provides an application obfuscation method, comprising:
[0006] Determining a business scenario and target information of a target application, wherein the target information includes at least one of the number of file names, the number of variable names, and the number of function names;
[0007] Obtaining obfuscated data of an application program having a business scenario different from that of the target application program, wherein the obfuscated data includes at least one of a file name, a variable name, and a function name of the application program having a business scenario different from that of the target application program, and the number of file names, the number of variable names, and the number of function names in the obfuscated data respectively matches the number of file names, the number of variable names, and the number of function names in the target information;
[0008] Obfuscate the target application based on the obfuscation data.
[0009] Optionally, in an implementation manner provided by an embodiment of the present invention, before determining the business scenario and target information of the target application, the method further includes:
[0010] Building an application knowledge base, wherein the application knowledge base includes file names, variable names, and function names of applications corresponding to different business scenarios;
[0011] Obtain obfuscated data for applications with business scenarios different from the target application, including:
[0012] Based on the application knowledge base, obfuscated data of applications with business scenarios different from the target application are obtained.
[0013] Furthermore, in an implementation manner provided by an embodiment of the present invention, after building the application knowledge base and before determining the business scenario and target information of the target application, the method further includes:
[0014] According to the application knowledge base, a confusing word generation model is obtained, wherein the confusing word generation model is used to generate at least one of a file name, a variable name, and a function name corresponding to a business scenario;
[0015] Obfuscated data of an application program having a business scenario different from the target application program is obtained based on the application program knowledge base, including:
[0016] The obfuscated word generation model is used to generate obfuscated data for applications with business scenarios different from the target application.
[0017] Furthermore, in an implementation manner provided in an embodiment of the present invention, it also includes:
[0018] After a preset time interval, the application knowledge base is updated to train the confusion word generation model again.
[0019] Optionally, in an implementation manner provided by an embodiment of the present invention, after obfuscating the target application according to the obfuscated data, the method further includes:
[0020] Add security code to the target application, wherein the security code includes at least one of code with anti-debugging function, code with anti-re-signing function, and code with anti-network request proxy function.
[0021] In a second aspect, an embodiment of the present invention provides an obfuscation device for an application, comprising:
[0022] A determination module, used to determine a business scenario and target information of a target application, wherein the target information includes at least one of the number of file names, the number of variable names, and the number of function names;
[0023] an acquisition module, configured to acquire obfuscated data of an application program having a business scenario different from that of the target application program, wherein the obfuscated data includes at least one of a file name, a variable name, and a function name of the application program having a business scenario different from that of the target application program, and the number of file names, the number of variable names, and the number of function names in the obfuscated data respectively match the number of file names, the number of variable names, and the number of function names in the target information;
[0024] The obfuscation module is used to obfuscate the target application according to the obfuscation data.
[0025] Optionally, in an implementation manner provided in an embodiment of the present invention, the method further includes:
[0026] A construction module is used to construct an application knowledge base, wherein the application knowledge base includes file names, variable names, and function names of applications corresponding to different business scenarios;
[0027] The acquisition module is also used to obtain obfuscated data of an application program having a business scenario different from that of the target application program based on the application program knowledge base.
[0028] Furthermore, in an implementation manner provided in an embodiment of the present invention, it also includes:
[0029] A model generation module, used to obtain a confusing word generation model according to an application knowledge base, wherein the confusing word generation model is used to generate at least one of a file name, a variable name, and a function name corresponding to a business scenario;
[0030] The acquisition module is further used to generate obfuscated data of an application program having a business scenario different from that of a target application program by using the obfuscated word generation model.
[0031] In a third aspect, an embodiment of the present invention provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and when the computer program runs on the processor, it executes an obfuscation method for an application program as disclosed in any one of the first aspects.
[0032] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored. When the computer program runs on a processor, it executes an obfuscation method for an application program as disclosed in any one of the first aspects.
[0033] The application obfuscation method provided by the embodiment of the present invention first determines the business scenario and target information of the target application, wherein the target information represents the specific target to be obfuscated, such as at least one of a function name, a variable name, and a file name; then obtains obfuscated data of an application with a business scenario different from the target application, that is, obtains at least one of a file name, a variable name, and a function name of an application in other business scenarios; and then uses the file name, variable name, and function name of the application in other business scenarios, that is, the obfuscated data, to confuse the target application.
[0034] Based on this, the present invention implements at least one of the file names, variable names and function names of applications in other business scenarios to obfuscate the corresponding content in the target application, that is, to replace the corresponding content in the target application with file names, variable names, function names and other contents that conform to human writing habits, so that even if the target application is decompiled, the decompiled file names, variable names, function names and other contents are extremely confusing, thereby increasing the difficulty of cracking the target application; not only that, the file names, variable names, function names and other contents in the obfuscated application are contents that conform to human writing habits, thereby effectively improving the review pass rate of the target application. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] In order to more clearly illustrate the technical solution of the present invention, the following is a brief introduction to the drawings required for use in the embodiments. It should be understood that the following drawings only illustrate certain embodiments of the present invention and should not be regarded as limiting the scope of protection of the present invention. In each of the drawings, similar components are numbered similarly.
[0036] Figure 1 A first flow chart of the obfuscation method for an application provided by an embodiment of the present invention is shown;
[0037] Figure 2 A second flow chart of the obfuscation method for an application provided by an embodiment of the present invention is shown;
[0038] Figure 3 A third flow chart of the obfuscation method for an application provided by an embodiment of the present invention is shown;
[0039] Figure 4 A schematic diagram of the structure of an obfuscation device for an application provided by an embodiment of the present invention is shown. DETAILED DESCRIPTION
[0040] The technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments.
[0041] The components of the embodiments of the present invention generally described and shown in the drawings herein may be arranged and designed in a variety of different configurations. Therefore, the following detailed description of the embodiments of the present invention provided in the drawings is not intended to limit the scope of the claimed invention, but merely represents selected embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.
[0042] Hereinafter, the terms "including", "having" and their cognates, which may be used in various embodiments of the present invention, are intended only to indicate specific features, numbers, steps, operations, elements, components or combinations of the foregoing items, and should not be understood as first excluding the existence of one or more other features, numbers, steps, operations, elements, components or combinations of the foregoing items or adding the possibility of one or more features, numbers, steps, operations, elements, components or combinations of the foregoing items.
[0043] Furthermore, the terms “first”, “second”, “third”, etc. are merely used for distinguishing descriptions and are not to be understood as indicating or implying relative importance.
[0044] Unless otherwise defined, all terms (including technical terms and scientific terms) used herein have the same meanings as those generally understood by those skilled in the art to which the various embodiments of the present invention belong. The terms (such as those defined in generally used dictionaries) will be interpreted as having the same meanings as the contextual meanings in the relevant technical field and will not be interpreted as having idealized meanings or overly formal meanings unless clearly defined in the various embodiments of the present invention.
[0045] Reference Figure 1 , Figure 1 A first flow chart of an obfuscation method for an application provided by an embodiment of the present invention is shown. The obfuscation method for an application provided by an embodiment of the present invention includes:
[0046] S110, determining a business scenario and target information of a target application, wherein the target information includes at least one of the number of file names, the number of variable names, and the number of function names.
[0047] It should be noted that the business scenario can be understood as the main business category of the target application, such as e-commerce, car sales, social networking, etc. It is understandable that the business scenario is also the main basis for coders to name files, functions, variables, etc., that is, after knowing the business scenario of the application, coders will choose nouns associated with the business scenario to name the files, functions, variables, etc. in the target program. For example, if the business scenario is car sales, the file name or variable name may contain words related to cars or sales, such as Car, Sale, Order, etc.
[0048] It should also be noted that the target information may include at least one of the number of file names, the number of variable names, and the number of function names, and may also include the number of method names and / or the number of class names, etc. In the embodiment of the present invention, the target information is used to refer to the content that needs to be obfuscated in the target application, and the specific information included in the target information can be selected according to actual conditions.
[0049] It is also understood that the process of determining the business scenario and target information of the target application may include: the computer device receives the business scenario and target information input by the coder; or the computer device uses a preset program to detect the file name, variable name, function name, etc. in the target application, thereby determining the business scenario and target information of the target application. It should be clear that the process of determining the business scenario and target information of the target application can be specifically set according to needs, and the embodiment of the present invention does not limit this process.
[0050] S120, obtaining obfuscated data of an application with a business scenario different from that of the target application, wherein the obfuscated data includes at least one of a file name, a variable name, and a function name of the application with a business scenario different from that of the target application, and the number of file names, the number of variable names, the number of function names, etc. in the obfuscated data respectively matches the number of file names, the number of variable names, the number of function names, etc. in the target information.
[0051] Specifically, after determining the business scenario and target information of the target application, the embodiment of the present invention will obtain the file name, variable name, function name, etc. of the application that is different from the business scenario of the target application according to the business scenario and target information of the target application, that is, the obfuscated data. It should be understood that each content in the obfuscated data matches each content in the target information. For example, if the target information includes 10 variable names and 15 function names, then the obfuscated data includes 10 variable names and 15 function names.
[0052] It should be noted that the specific process of obtaining obfuscated data may include: the computer device uses a preset program to search for applications of different business scenarios from the open source program platform according to the business scenario of the target application, and obtains the file name, variable name, function name, etc. therein, thereby obtaining obfuscated data; or the computer device stores the file name, variable name, function name, etc. of multiple business scenarios in a database in advance based on a preset program, and then directly extracts the obfuscated data from the database when the obfuscated data is needed. It is understandable that the specific process of obtaining obfuscated data can be set according to actual conditions.
[0053] S130, obfuscating the target application according to the obfuscation data.
[0054] That is, the file name, variable name, function name, etc. in the obfuscated data are used to replace the corresponding data in the target program, thereby completing the obfuscation of the application.
[0055] Based on this, the embodiment of the present invention will replace the relevant content in the target application with data that conforms to human coding habits but is different from the business scenarios of the target application, such as file names, variable names, function names, etc., so that even if the target application is decompiled, the decompiled source code will be extremely confusing, thereby increasing the difficulty of cracking the target application; and, because the obfuscated source code conforms to human coding habits, it can effectively avoid the situation where the target application is identified as a vest application, thereby improving the review pass rate of the target application.
[0056] Optional, reference Figure 2 , Figure 2 A second flow chart of the obfuscation method for an application provided by an embodiment of the present invention is shown, that is, in an implementation manner provided by an embodiment of the present invention, before S110, the method further includes:
[0057] S140, constructing an application knowledge base, wherein the application knowledge base includes file names, variable names, and function names of applications corresponding to different business scenarios;
[0058] Furthermore, S120 includes:
[0059] S121, based on the application knowledge base, obtain obfuscated data of an application program having a business scenario different from the target application program.
[0060] Specifically, in this implementation mode, the file names, variable names, function names, and other contents of applications in various business scenarios are stored in the database in advance, that is, before S110, the application knowledge base is constructed. For example, the data of multiple applications in logistics scenarios, the data of multiple applications in social scenarios, and the data of multiple applications in automobile sales scenarios are stored in the database, thereby completing the construction of the application knowledge base. Therefore, when it is necessary to obtain obfuscated data, the corresponding content is directly extracted from the application knowledge base.
[0061] It is understandable that when storing the file names, variable names and function names of applications for multiple business scenarios in the database, duplicate names can be detected and eliminated for the file names, variable names and function names of applications for different business scenarios, thereby reducing the space occupied by the database.
[0062] Therefore, in this implementation mode, the embodiment of the present invention directly acquires obfuscated data through the application knowledge base, thereby improving the acquisition rate of obfuscated data. Figure 3 , Figure 3A third flow chart of the obfuscation method for an application provided by an embodiment of the present invention is shown, that is, in an implementation manner provided by an embodiment of the present invention, after S140 and before S110, the method further includes:
[0063] S150, obtaining a confusing word generation model according to an application knowledge base, wherein the confusing word generation model is used to generate at least one of a file name, a variable name, and a function name corresponding to a business scenario;
[0064] Furthermore, S121 includes:
[0065] S122, using the obfuscated word generation model to generate obfuscated data of an application program having a business scenario different from that of the target application program.
[0066] Specifically, in this implementation of the embodiment of the present invention, the computer device obtains the obfuscated word generation model through the application knowledge base, and the obfuscated word generation model is used to generate at least one of the file name, variable name, function name, etc. of the corresponding business scenario according to the input business scenario name. Then, when the computer device determines the business scenario and target information of the target application, that is, when it is necessary to obtain obfuscated data, the target information and the business scenario name different from the business scenario of the target application are input into the obfuscated word generation model, and the obfuscated word generation model generates the corresponding file name, variable name, function name, etc. It should be understood that in the process of obtaining the obfuscated word generation model through the application knowledge base, the obfuscated word generation model learns the correspondence between the business scenario and the file name, variable, function name, etc.
[0067] Based on this, the embodiment of the present invention uses the obfuscation word generation model to generate obfuscated data that matches the target information, thereby ensuring that the obfuscated data conforms to human coding habits and avoiding the possibility of decompilers finding the original application corresponding to the obfuscated data, thereby further improving the security of the target application.
[0068] Furthermore, in an implementation manner provided in an embodiment of the present invention, it also includes:
[0069] After a preset time interval, the application knowledge base is updated to train the confusion word generation model again.
[0070] Specifically, after a preset period of time, the application knowledge base automatically searches and saves the variable names, method names, function names, etc. of applications in various application scenarios in various open source platforms, thereby completing the update of the application knowledge base, and re-training the obfuscation word generation model based on the updated application knowledge base, so that the names generated by the obfuscation word generation model can be more and more in line with human coding habits, and the generated names are appropriate to the actual situation, further improving the confusing nature of the application source code.
[0071] In addition, in an implementation manner provided by an embodiment of the present invention, after S130, the method further includes:
[0072] Add security code to the target application, wherein the security code includes at least one of code with anti-debugging function, code with anti-re-signing function, and code with anti-network request proxy function.
[0073] Specifically, security codes are added to increase the difficulty of decompiling and anti-debugging the application, further improving the security of the application.
[0074] It is understandable that the security code can be autonomously generated by a preset program, or search for code with the same function in an open source platform and add it to the target application.
[0075] It can also be understood that in one implementation provided by an embodiment of the present invention, the application knowledge base stores security codes for applications corresponding to different business scenarios, and then when it is necessary to add security codes to the target application, they can be directly extracted from the application knowledge base, thereby further improving the obfuscation of the obfuscated target application and improving the efficiency of adding security codes.
[0076] Corresponding to the obfuscation method of the application provided in the embodiment of the present invention, the embodiment of the present invention also provides an obfuscation device for the application, referring to Figure 4 , Figure 4 The schematic diagram of the structure of the obfuscation device for an application provided by an embodiment of the present invention is shown. The obfuscation device 200 for an application provided by an embodiment of the present invention includes:
[0077] A determination module 210, configured to determine a business scenario and target information of a target application, wherein the target information includes at least one of the number of file names, the number of variable names, and the number of function names;
[0078] an acquisition module 220, configured to acquire obfuscated data of an application program having a business scenario different from that of the target application program, wherein the obfuscated data includes at least one of a file name, a variable name, and a function name of the application program having a business scenario different from that of the target application program, and the number of file names, the number of variable names, and the number of function names in the obfuscated data respectively match the number of file names, the number of variable names, and the number of function names in the target information;
[0079] The obfuscation module 230 is used to obfuscate the target application according to the obfuscation data.
[0080] Optionally, in an implementation manner provided in an embodiment of the present invention, the method further includes:
[0081] A construction module is used to construct an application knowledge base, wherein the application knowledge base includes file names, variable names, and function names of applications corresponding to different business scenarios;
[0082] Furthermore, the acquisition module is also used to obtain obfuscated data of applications with business scenarios different from the target application based on the application knowledge base.
[0083] Furthermore, in an implementation manner provided in an embodiment of the present invention, it also includes:
[0084] A model generation module, used to obtain a confusing word generation model according to an application knowledge base, wherein the confusing word generation model is used to generate at least one of a file name, a variable name, and a function name corresponding to a business scenario;
[0085] Furthermore, the acquisition module is further used to generate obfuscated data of an application program having a business scenario different from that of the target application program by using the obfuscated word generation model.
[0086] Furthermore, in an implementation manner provided in an embodiment of the present invention, it also includes:
[0087] The updating module is used to update the application knowledge base after a preset time interval to train the confusion word generation model again.
[0088] Optionally, in an implementation manner provided in an embodiment of the present invention, the method further includes:
[0089] An adding module is used to add security code to the target application, wherein the security code includes at least one of a code with an anti-debugging function, a code with a function of preventing re-signing, and a code with a function of preventing network request proxy.
[0090] The obfuscation device for an application provided in the embodiment of the present application can achieve Figure 1 The various processes of the obfuscation method of the application in the method embodiment can achieve the same technical effect. To avoid repetition, they will not be described here.
[0091] The embodiment of the present invention also provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and when the computer program is run on the processor, the computer program executes the following steps: Figure 1 The method embodiment discloses a method for obfuscating an application.
[0092] The embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is run on a processor, the computer program executes the following steps: Figure 1 The method embodiment discloses a method for obfuscating an application.
[0093] In several embodiments provided in the present application, it should be understood that the disclosed devices and methods can also be implemented in other ways. The device embodiments described above are merely schematic. For example, the flowcharts and structure diagrams in the accompanying drawings show the possible architecture, functions and operations of the devices, methods and computer program products according to multiple embodiments of the present invention. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of a code, and the module, a program segment or a part of a code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in an alternative implementation, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the structure diagram and / or the flow chart, and the combination of boxes in the structure diagram and / or the flow chart, can be implemented with a dedicated hardware-based system that performs a specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.
[0094] In addition, the functional modules or units in the various embodiments of the present invention may be integrated together to form an independent part, or each module may exist independently, or two or more modules may be integrated to form an independent part.
[0095] If the functions are implemented in the form of software function modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a smart phone, a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0096] The above description is only a specific implementation mode of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be covered by the protection scope of the present invention.
Claims
1. A method for obfuscating an application, characterized in that: include: Determining a business scenario and target information of a target application, wherein the target information includes at least one of the number of file names, the number of variable names, and the number of function names; Obtaining obfuscated data of an application program having a business scenario different from the target application program, wherein the obfuscated data includes at least one of a file name, a variable name, and a function name of the application program having a business scenario different from the target application program, and the number of file names, the number of variable names, and the number of function names in the obfuscated data respectively match the number of file names, the number of variable names, and the number of function names in the target information; obfuscating the target application according to the obfuscation data; Before determining the business scenario and target information of the target application, the method further includes: Building an application knowledge base, wherein the application knowledge base includes file names, variable names, and function names of applications corresponding to different business scenarios; The obtaining of obfuscated data of an application program of a business scenario different from the target application program includes: Obtaining obfuscated data of an application program for a business scenario different from the target application program based on the application program knowledge base; After constructing the application knowledge base and before determining the business scenario and target information of the target application, the method further includes: According to the application knowledge base, a confusing word generation model is obtained, wherein the confusing word generation model is used to generate at least one of a file name, a variable name, and a function name corresponding to a business scenario; The obtaining, based on the application knowledge base, obfuscated data of an application program of a business scenario different from the target application program comprises: Using the obfuscated word generation model, generating obfuscated data of an application program for a business scenario different from the target application program; The method of obtaining a confusing word generation model according to the application knowledge base includes: In the process of obtaining the obfuscated word generation model through the application knowledge base, the obfuscated word generation model learns the correspondence between the business scenario and the file name, variable name and function name; The step of using the obfuscated word generation model to generate obfuscated data of an application program having a business scenario different from that of the target application program includes: Inputting the target information and a business scenario name different from the business scenario of the target application into the obfuscated word generation model, the obfuscated word generation model generating corresponding file names, variable names and function names; Also includes: After a preset time interval, the application knowledge base is updated to train the confusing word generation model again.
2. The method according to claim 1, characterized in that After obfuscating the target application according to the obfuscated data, the method further includes: Add security code to the target application, wherein the security code includes at least one of a code with an anti-debugging function, a code with a re-signing prevention function, and a code with a network request proxy prevention function.
3. An obfuscation device for an application, characterized in that: include: A determination module, used to determine a business scenario and target information of a target application, wherein the target information includes at least one of the number of file names, the number of variable names, and the number of function names; an acquisition module, configured to acquire obfuscated data of an application program of a business scenario different from the target application program, wherein the obfuscated data includes at least one of a file name, a variable name, and a function name of the application program of a business scenario different from the target application program, and the number of file names, the number of variable names, and the number of function names in the obfuscated data respectively match the number of file names, the number of variable names, and the number of function names in the target information; an obfuscation module, configured to obfuscate the target application according to the obfuscation data; A construction module, used to construct an application knowledge base, wherein the application knowledge base includes file names, variable names, and function names of applications corresponding to different business scenarios; The acquisition module is further used to obtain obfuscated data of an application program of a business scenario different from the target application program based on the application program knowledge base; A model generation module, used to obtain a confusing word generation model according to the application knowledge base, wherein the confusing word generation model is used to generate at least one of a file name, a variable name, and a function name corresponding to a business scenario; The acquisition module is further used to generate obfuscated data of an application program of a business scenario different from the target application program by using the obfuscated word generation model; The model generation module is also used for learning the correspondence between business scenarios and file names, variable names and function names in the process of obtaining the obfuscated word generation model through the application knowledge base; The acquisition module is also used to input the target information and the business scenario name different from the business scenario of the target application into the obfuscated word generation model, and the obfuscated word generation model generates corresponding file names, variable names and function names; The updating module is used to update the application knowledge base after a preset time interval to retrain the confusing word generation model.
4. A computer device, characterized in that: The invention comprises a memory and a processor, wherein the memory stores a computer program, and when the computer program is run on the processor, the obfuscation method of the application program as claimed in any one of claims 1 or 2 is executed.
5. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, which, when executed on a processor, executes the method for obfuscating an application program as claimed in any one of claims 1 or 2.
