Software silent uninstallation device, method, computing equipment and storage medium

By encrypting and storing the keywords of silent uninstall tasks in memory, and using multiple encryption protection, the security problems existing in existing silent uninstall technologies are solved, ensuring the security and expectation of silent uninstall tasks.

CN114281366BActive Publication Date: 2025-03-11QI AN XIN TECHNOLOGY GROUP INC +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111601461.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-24
Publication Date
2025-03-11
Estimated Expiration
2041-12-24

AI Technical Summary

Technical Problem

The existing silent uninstallation technology has security problems and is easily cracked by malicious users, resulting in the software being uninstalled unexpectedly.

Method used

By generating the corresponding storage name in memory, encrypting and storing the keywords of the silent uninstall task, using multiple encryption protection to avoid writing key information to the command line or registry, thereby ensuring the security of the silent uninstall task.

Benefits of technology

Effectively prevent the critical information of the silent uninstall task from being cracked, avoid the software being maliciously and illegally uninstalled, and ensure the security and expectation of the silent uninstall process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114281366B_ABST
    Figure CN114281366B_ABST
Patent Text Reader

Abstract

The embodiment of the present invention discloses a software silent uninstallation device, method, computing equipment and storage medium, the device comprising: a receiving process, used to receive a silent uninstallation task issued, generate a corresponding memory storage name for the silent uninstallation task according to a preset generation rule, and encrypt and store the keyword of the silent uninstallation task in the memory storage name; an uninstallation process, used to generate a memory storage name according to the preset generation rule to obtain the encrypted keyword stored in the memory storage name; decrypt the encrypted keyword, and if the decryption is successful, execute the silent uninstallation task. With this solution, through multiple encryption protections, the silent uninstallation task does not land in the memory, and the key information of the silent uninstallation is prevented from being cracked due to writing into the command line or writing into the local registry / file, etc., resulting in the problem of malicious and illegal uninstallation of the software.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to the field of Internet technology, and specifically to a software silent uninstallation device, method, computing equipment and storage medium. Background Art

[0002] When a user uninstalls a program normally, there is usually a display box showing the progress of the uninstallation and requesting further user action when necessary. Silent uninstallation allows the software program to be uninstalled without displaying the progress or indication of the uninstallation process to the user, and the user may not be aware that the software is being uninstalled.

[0003] Existing silent uninstallation technology performs terminal uninstallation by passing uninstallation parameters into the command line or writing them into the local registry / file, which is easy to obtain or crack, and there is a security issue that the software may be uninstalled unexpectedly by other malicious users. Summary of the invention

[0004] In view of the above problems, embodiments of the present invention are proposed to provide a method and device for silently uninstalling software that overcomes the above problems or at least partially solves the above problems.

[0005] According to one aspect of an embodiment of the present invention, a software silent uninstallation device is provided, comprising:

[0006] A receiving process, used for receiving a sent silent uninstallation task, generating a corresponding memory storage name for the silent uninstallation task according to a preset generation rule, and encrypting a keyword of the silent uninstallation task and storing it in the memory storage name;

[0007] The uninstallation process is used to generate a memory storage name according to the preset generation rule to obtain an encrypted keyword stored in the memory storage name; decrypt the encrypted keyword, and if the decryption is successful, execute the silent uninstallation task.

[0008] According to another aspect of an embodiment of the present invention, a method for silently uninstalling software is provided, which includes:

[0009] Receive the issued silent uninstallation task, generate a corresponding memory storage name for the silent uninstallation task according to a preset generation rule, and encrypt a keyword of the silent uninstallation task and store it in the memory storage name;

[0010] Initiating an uninstallation process so as to generate a memory storage name according to the preset generation rule to obtain an encrypted keyword stored in the memory storage name;

[0011] The encrypted keyword is decrypted, and if the decryption is successful, the silent uninstallation task is executed.

[0012] According to another aspect of an embodiment of the present invention, there is provided a computing device, comprising: a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other via the communication bus;

[0013] The memory is used to store at least one executable instruction, and the executable instruction enables the processor to execute operations corresponding to the above-mentioned software silent uninstallation method.

[0014] According to another aspect of the embodiments of the present invention, a computer storage medium is provided, wherein at least one executable instruction is stored in the storage medium, and the executable instruction enables a processor to perform operations corresponding to the above-mentioned software silent uninstallation method.

[0015] According to the software silent uninstallation device and method provided in the embodiments of the present invention, multiple encryption protections are used to prevent the silent uninstallation task from being implemented in the memory, thereby preventing the key information of the silent uninstallation from being cracked due to being written into the command line or the local registry / file, etc., resulting in malicious and illegal uninstallation of the software.

[0016] The above description is only an overview of the technical solution of the embodiment of the present invention. In order to more clearly understand the technical means of the embodiment of the present invention, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the embodiment of the present invention more obvious and easy to understand, the specific implementation method of the embodiment of the present invention is specifically listed below. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the embodiments of the present invention. Moreover, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings:

[0018] Figure 1 A schematic diagram showing the structure of a software silent uninstallation device according to an embodiment of the present invention is shown;

[0019] Figure 2 A flowchart of a method for silently uninstalling software according to an embodiment of the present invention is shown;

[0020] Figure 3 A schematic diagram of the structure of a computing device according to an embodiment of the present invention is shown. DETAILED DESCRIPTION

[0021] The exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present invention are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided in order to enable a more thorough understanding of the present invention and to enable the scope of the present invention to be fully communicated to those skilled in the art.

[0022] Figure 1 FIG. 4 shows a schematic diagram of a structure of a software silent uninstallation device according to an embodiment of the present invention. Figure 1 As shown, the device includes: a receiving process 110 and an uninstalling process 120.

[0023] Among them, the silent uninstallation task can be selected by the administrator on the server side for the terminal that needs to be silently uninstalled, and the silent uninstallation task is issued to the selected terminal. The silent uninstallation task is a silent uninstallation of software. In this embodiment, the software is security software, including various types of software such as anti-virus software, system tools and anti-rogue software. It is a software tool that can remove all known program codes that are harmful to the terminal, such as viruses and Trojans. The uninstallation of security software will affect the security protection of the terminal. Therefore, the silent uninstallation of security software is particularly important to avoid problems such as protection vulnerabilities in the terminal caused by unexpected uninstallation. In addition, the software can also be software installed by any other terminal to avoid unexpected software uninstallation.

[0024] The receiving process 110 is started after receiving the silent uninstallation task issued by the server, and generates a corresponding memory storage name for the silent uninstallation task according to the preset generation rules. The preset generation rules can be set according to the implementation situation, such as generating according to the silent uninstallation task name, time, terminal information, etc., which are not limited here. The keywords of the silent uninstallation task are encrypted, and then the encrypted keywords are stored in the memory storage name, thereby forming a double encryption of the memory storage name and keywords of the silent uninstallation task, ensuring that the information of the silent uninstallation task does not fall to the ground when it is stored in the memory, thereby ensuring that the silent uninstallation task occurs as expected. Here, the keywords of the silent uninstallation task can be information such as task id, task name, etc., which are set according to the implementation situation. Encryption can use any encryption algorithm, such as DES, RSA, SHA, AES, ECC and other encryption algorithms, which are not limited here.

[0025] After the receiving process 110 receives the silent uninstallation task and stores it, the uninstallation process 120 is started. The uninstallation process 120 generates a memory storage name according to the same preset generation rule as the receiving process 110, so as to obtain an encrypted keyword from the memory according to the memory storage name. The encrypted keyword is decrypted. If the decryption is successful, it means that the acquired silent uninstallation task is expected to occur and is not maliciously executed. The silent uninstallation task is executed to realize the silent uninstallation of the software. Further, when the uninstallation process 120 generates a memory storage name, it can be further determined whether the generated memory storage name exists in the memory. If not, there may be a risk. The software uninstallation interface pops up and uses a normal uninstallation method to remind the user whether to uninstall the software. If it is determined that the generated memory storage name exists in the memory, the encrypted keyword is obtained from it and decrypted. If the decryption of the uninstallation process 120 fails, it means that there may be a risk. The software uninstallation interface pops up to remind the user to confirm whether to uninstall. Through the above multiple judgments, the possible risk of the silent uninstallation task is further reduced, the silent uninstallation task is guaranteed to be executed as expected, and malicious illegal uninstallation is avoided. After the silent uninstallation task is completed, the uninstallation process 120 terminates and exits.

[0026] Furthermore, in this embodiment, the memory adopts shared memory, which is a large-capacity memory that can be accessed by different central processing units (CPUs) in a multi-processor terminal system. Shared memory allows multiple processes to access the same memory space, greatly reducing memory consumption during large-scale data processing, and also meeting the needs of the receiving process 110 and the unloading process 120 to access the shared memory according to the memory storage name.

[0027] According to the software silent uninstallation device provided in the embodiment of the present invention, multiple encryption protections are used to prevent the silent uninstallation task from being implemented in the memory, thereby preventing the key information of the silent uninstallation from being cracked due to being written into the command line or the local registry / file, etc., resulting in the software being maliciously and illegally uninstalled.

[0028] Figure 2 FIG. 4 shows a flowchart of a method for silently uninstalling software according to an embodiment of the present invention. Figure 2 As shown, the method comprises the following steps:

[0029] Step S201, receiving a sent silent uninstallation task, generating a corresponding memory storage name for the silent uninstallation task according to a preset generation rule, and encrypting a keyword of the silent uninstallation task and storing it in the memory storage name.

[0030] In this embodiment, the silent uninstallation task is assigned by the administrator on the server side to the terminal that needs to be silently uninstalled. The silent uninstallation task is a silent uninstallation of software. In this embodiment, the software is security software, including various types of software such as anti-virus software, system tools and anti-rogue software. It is a software tool that can remove all known program codes that are harmful to the terminal, such as viruses and Trojans. The uninstallation of security software will affect the security protection of the terminal. Therefore, the silent uninstallation of security software is particularly important to avoid problems such as protection vulnerabilities in the terminal caused by unexpected uninstallation. In addition, the software can also be software installed by any other terminal to avoid unexpected software uninstallation.

[0031] After receiving the silent uninstallation task sent by the server, the corresponding memory storage name can be generated for the silent uninstallation task according to the preset generation rules. The preset generation rules can be set according to the implementation situation, such as generating according to the silent uninstallation task name, time, terminal information, etc., which are not limited here. The keywords of the silent uninstallation task are encrypted, and then the encrypted keywords are stored in the memory storage name, thereby forming a double encryption of the memory storage name and keywords of the silent uninstallation task, ensuring that the information of the silent uninstallation task is not lost when stored in the memory, thereby ensuring that the silent uninstallation task occurs as expected. Here, the keywords of the silent uninstallation task can be information such as task id, task name, etc., which are set according to the implementation situation. Encryption can use any encryption algorithm, such as DES, RSA, SHA, AES, ECC and other encryption algorithms, which are not limited here.

[0032] Furthermore, the server sends a silent uninstallation task, triggering the start of a receiving process, which executes this step and stores and encrypts the silent uninstallation task.

[0033] Step S202, starting the uninstall process to generate a memory storage name according to a preset generation rule to obtain an encrypted keyword stored in the memory storage name.

[0034] After step S201 is executed, the receiving process triggers the start of the uninstall process. Here, the uninstall process generates a memory storage name using the same preset generation rule as step S201, so as to obtain the encrypted keyword from the memory according to the memory storage name.

[0035] Furthermore, when the uninstall process generates a memory storage name, it can be further determined whether the generated memory storage name exists in the memory. If not, there may be risks. The software uninstall interface pops up and a normal uninstall method is used to remind the user whether to uninstall the software.

[0036] Step S203, decrypting the encrypted keyword, if the decryption is successful, executing the silent uninstallation task.

[0037] The obtained encrypted keyword is decrypted. If the decryption is successful, it means that the obtained silent uninstallation task is expected and is not executed maliciously. The silent uninstallation task is executed to achieve silent uninstallation of the software.

[0038] Furthermore, if the encrypted keyword is obtained and decrypted but fails, indicating that there may be risks, a software uninstallation interface will pop up to remind the user to confirm whether to uninstall.

[0039] Furthermore, through multiple judgments, the possible risk of silent uninstallation tasks can be further reduced, ensuring that silent uninstallation tasks are executed as expected, and avoiding malicious illegal uninstallation. After the silent uninstallation task is completed, the uninstallation process terminates and exits.

[0040] Furthermore, in this embodiment, the memory adopts shared memory, which is a large-capacity memory that can be accessed by different central processing units (CPUs) in a multi-processor terminal system. Shared memory allows multiple processes to access the same memory space, greatly reducing memory consumption during large-scale data processing, and also meeting the needs of receiving processes and unloading processes to access shared memory according to memory storage names.

[0041] According to the software silent uninstallation method provided by the embodiment of the present invention, multiple encryption protections are used to prevent the silent uninstallation task from being implemented in the memory, thereby preventing the key information of the silent uninstallation from being cracked due to being written into the command line or the local registry / file, etc., resulting in the software being maliciously and illegally uninstalled.

[0042] An embodiment of the present invention further provides a non-volatile computer storage medium, wherein the computer storage medium stores at least one executable instruction, and the executable instruction can execute the software silent uninstallation method in any of the above method embodiments.

[0043] Figure 3 A schematic diagram of the structure of a computing device according to an embodiment of the present invention is shown, and the specific implementation of the embodiment of the present invention does not limit the specific implementation of the computing device.

[0044] like Figure 3 As shown, the computing device may include: a processor (processor) 302 , a communication interface (Communications Interface) 304 , a memory (memory) 306 , and a communication bus 308 .

[0045] in:

[0046] The processor 302 , the communication interface 304 , and the memory 306 communicate with each other via the communication bus 308 .

[0047] The communication interface 304 is used to communicate with other devices such as clients or other servers.

[0048] The processor 302 is used to execute the program 310, and specifically can execute the relevant steps in the above-mentioned software silent uninstallation method embodiment.

[0049] Specifically, the program 310 may include program codes, which include computer operation instructions.

[0050] The processor 302 may be a central processing unit (CPU), or an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present invention. The one or more processors included in the computing device may be processors of the same type, such as one or more CPUs; or processors of different types, such as one or more CPUs and one or more ASICs.

[0051] The memory 306 is used to store the program 310. The memory 306 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.

[0052] The program 310 can be specifically used to enable the processor 302 to execute the software silent uninstallation method in any of the above-mentioned method embodiments. The specific implementation of each step in the program 310 can refer to the corresponding description in the corresponding steps and units in the above-mentioned software silent uninstallation embodiment, which will not be repeated here. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working process of the above-described devices and modules can refer to the corresponding process description in the above-mentioned method embodiment, which will not be repeated here.

[0053] The algorithm or display provided herein is not inherently related to any particular computer, virtual system or other device. Various general purpose systems can also be used together with the teachings based on this. According to the above description, it is obvious that the structure required for constructing such systems. In addition, the embodiment of the present invention is not directed to any specific programming language either. It should be understood that various programming languages ​​can be utilized to realize the content of the embodiment of the present invention described herein, and the description of the above specific language is to disclose the preferred implementation of the embodiment of the present invention.

[0054] In the description provided herein, a large number of specific details are described. However, it is understood that embodiments of the present invention can be practiced without these specific details. In some instances, well-known methods, structures and techniques are not shown in detail so as not to obscure the understanding of this description.

[0055] Similarly, it should be understood that in order to streamline the embodiments of the present invention and to aid in understanding one or more of the various inventive aspects, in the above description of the exemplary embodiments of the present invention, the various features of the embodiments of the present invention are sometimes grouped together into a single embodiment, figure, or description thereof. However, the disclosed method should not be interpreted as reflecting the following intention: that the claimed embodiments of the present invention require more features than the features explicitly recited in each claim. More specifically, as reflected in the claims below, the inventive aspects lie in less than all the features of the single embodiment disclosed above. Therefore, the claims that follow the specific embodiment are hereby expressly incorporated into the specific embodiment, wherein each claim itself serves as a separate embodiment of the present invention.

[0056] Those skilled in the art will appreciate that the modules in the devices in the embodiments may be adaptively changed and arranged in one or more devices different from the embodiments. The modules or units or components in the embodiments may be combined into one module or unit or component, and in addition they may be divided into a plurality of submodules or subunits or subcomponents. Except that at least some of such features and / or processes or units are mutually exclusive, all features disclosed in this specification (including the accompanying claims, abstracts and drawings) and all processes or units of any method or device disclosed in this manner may be combined in any combination. Unless otherwise expressly stated, each feature disclosed in this specification (including the accompanying claims, abstracts and drawings) may be replaced by an alternative feature providing the same, equivalent or similar purpose.

[0057] In addition, those skilled in the art will appreciate that, although some embodiments herein include certain features included in other embodiments but not other features, the combination of features of different embodiments is meant to be within the scope of the present invention and form different embodiments. For example, in the claims below, any one of the claimed embodiments may be used in any combination.

[0058] The various component embodiments of the present invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. It should be understood by those skilled in the art that a microprocessor or digital signal processor (DSP) may be used in practice to implement some or all of the functions of some or all of the components according to the embodiments of the present invention. The embodiments of the present invention may also be implemented as a device or apparatus program (e.g., a computer program and a computer program product) for executing part or all of the methods described herein. Such a program implementing an embodiment of the present invention may be stored on a computer-readable medium, or may have the form of one or more signals. Such a signal may be downloaded from an Internet website, or provided on a carrier signal, or provided in any other form.

[0059] It should be noted that the above embodiments illustrate rather than limit the present invention, and that those skilled in the art may devise alternative embodiments without departing from the scope of the appended claims. In the claims, any reference symbol between brackets shall not be construed as a limitation on the claims. The word "comprising" does not exclude the presence of elements or steps not listed in the claims. The word "one" or "an" preceding an element does not exclude the presence of a plurality of such elements. The present invention may be implemented by means of hardware comprising a number of different elements and by means of a suitably programmed computer. In a unit claim listing a number of devices, several of these devices may be embodied by the same hardware item. The use of the words first, second, and third, etc. does not indicate any order. These words may be interpreted as names. The steps in the above embodiments, unless otherwise specified, should not be understood as limitations on the order of execution.

Claims

1. A software silent uninstallation device, comprising: A receiving process, used for receiving a sent silent uninstallation task, generating a corresponding memory storage name for the silent uninstallation task according to a preset generation rule, and encrypting a keyword of the silent uninstallation task and storing it in the memory storage name; An uninstall process, used to generate a memory storage name according to the preset generation rule to obtain an encrypted keyword stored in the memory storage name; The encrypted keyword is decrypted, and if the decryption is successful, the silent uninstallation task is executed.

2. The device according to claim 1, wherein: After the receiving process encrypts the keyword of the silent uninstallation task and stores it in the memory storage name, it triggers and starts the uninstallation process.

3. The device according to claim 1 or 2, wherein: The uninstall process is further used to: Determine whether the generated memory storage name exists; If not, the software uninstallation interface will pop up to remind the user to confirm whether to uninstall.

4. The device according to any one of claims 1 to 3, wherein: The uninstall process is further used to: The encrypted keyword is decrypted. If the decryption fails, a software uninstallation interface is popped up to remind the user to confirm whether to uninstall.

5. The device according to any one of claims 1 to 4, wherein: The uninstall process is further used to: After the silent uninstallation task is completed, the uninstallation process is terminated and exited.

6. The device according to any one of claims 1 to 5, wherein: The memory is a shared memory; the software is a terminal security software.

7. A method for silently uninstalling software, comprising: Receive the issued silent uninstallation task, generate a corresponding memory storage name for the silent uninstallation task according to a preset generation rule, and encrypt a keyword of the silent uninstallation task and store it in the memory storage name; Initiating an uninstallation process so as to generate a memory storage name according to the preset generation rule to obtain an encrypted keyword stored in the memory storage name; The encrypted keyword is decrypted, and if the decryption is successful, the silent uninstallation task is executed.

8. The method according to claim 7, wherein: The received silent uninstallation task triggers the start of a receiving process, and the receiving process generates a corresponding memory storage name for the silent uninstallation task according to a preset generation rule, and encrypts the keyword of the silent uninstallation task and stores it in the memory storage name.

9. The method according to claim 7 or 8, wherein: After generating a corresponding memory storage name for the silent uninstallation task according to the preset generation rule, the method further includes: Determine whether the generated memory storage name exists; If not, the software uninstallation interface will pop up to remind the user to confirm whether to uninstall.

10. The method according to any one of claims 7 to 9, wherein: The method further comprises: The encrypted keyword is decrypted. If the decryption fails, a software uninstallation interface is popped up to remind the user to confirm whether to uninstall.

11. The method according to any one of claims 7 to 10, wherein: The method further comprises: After the silent uninstallation task is completed, the uninstallation process is terminated and exited.

12. The method according to any one of claims 7 to 11, wherein: The memory is a shared memory; the software is a terminal security software.

13. A computing device comprising: A processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other via the communication bus; The memory is used to store at least one executable instruction, and the executable instruction enables the processor to perform operations corresponding to the software silent uninstallation method according to any one of claims 7 to 12.

14. A computer storage medium, wherein at least one executable instruction is stored in the storage medium, and wherein the executable instruction enables a processor to execute operations corresponding to the method for silently uninstalling software according to any one of claims 7 to 12.

Citation Information

Patent Citations

  • Software clearing method and software clearing device

    CN103927198A

  • Method and device for silently uninstalling software

    CN112162763A