[go: up one dir, main page]

WO2008005536A2 - Malware automated removal system and method - Google Patents

Malware automated removal system and method Download PDF

Info

Publication number
WO2008005536A2
WO2008005536A2 PCT/US2007/015580 US2007015580W WO2008005536A2 WO 2008005536 A2 WO2008005536 A2 WO 2008005536A2 US 2007015580 W US2007015580 W US 2007015580W WO 2008005536 A2 WO2008005536 A2 WO 2008005536A2
Authority
WO
WIPO (PCT)
Prior art keywords
shell
computer
malware removal
malware
application
Prior art date
Application number
PCT/US2007/015580
Other languages
French (fr)
Other versions
WO2008005536A3 (en
Inventor
Michael Wenzinger
Michael Sherwood
Original Assignee
Best Buy Enterprise Services, Inc.
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Best Buy Enterprise Services, Inc. filed Critical Best Buy Enterprise Services, Inc.
Publication of WO2008005536A2 publication Critical patent/WO2008005536A2/en
Publication of WO2008005536A3 publication Critical patent/WO2008005536A3/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/50Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems
    • G06F21/55Detecting local intrusion or implementing counter-measures
    • G06F21/56Computer malware detection or handling, e.g. anti-virus arrangements
    • G06F21/568Computer malware detection or handling, e.g. anti-virus arrangements eliminating virus, restoring damaged files
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/50Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems
    • G06F21/55Detecting local intrusion or implementing counter-measures
    • G06F21/56Computer malware detection or handling, e.g. anti-virus arrangements
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2221/00Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/21Indexing scheme relating to G06F21/00 and subgroups addressing additional information or applications relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/2105Dual mode as a secondary aspect

Definitions

  • the present invention relates to software for the removal of computer viruses, worms, Trojan horses, spy ware, dishonest ad ware, and other malicious and unwanted software ("malware").
  • the present invention automates the operation of multiple malware removal software products.
  • the present system improves the performance of these software products by operating them in a "Custom Safe Mode" shell.
  • the Custom Safe Mode prevents malware from functioning that ties itself to the normal computer shell, such as the Windows Explorer shell.
  • the Custom Safe Mode allows the automation of tasks beyond that which is available under the standard command line shell.
  • Figure 1 is a schematic drawing of operating modes in a personal computer.
  • Figure 2 is a schematic drawing of the Custom Safe Mode used by the present invention.
  • Figure 3 is a schematic drawing of a computer system used by the present invention.
  • Figure 4 is a schematic drawing showing a summary of the steps used by the present invention along with the operating modes used by each step.
  • Figure 5 is a flow chart showing the method of the present invention.
  • the present invention automates proven manual malware removal processes in order to minimize the total time and maximize the success rate of removal.
  • the automation allows multiple third-party malware removal software programs to be run in a fraction of the time normally required.
  • the present invention operates by transitioning between two different operating modes of a personal computer system.
  • FIG 1 shows three standard modes available to a personal computer operating a Windows-type operating system provided by Microsoft Corporation.
  • the Normal Mode 10 uses the Windows Explorer.exe shell to provide the user interface. This is the mode used for normal operation of the computer system. As part of this mode, the system operates with a full complement of drivers and services 14, include those services necessary for network and Internet connectivity. In some circumstances, a computer system can be infected with malware 16. It is possible to run malware removal software in the Normal Mode and successfully remove the malware infestation. Unfortunately, however, it can often be difficult to remove malware that is currently operating or running. Thus, many malware programs 16 are designed to operate whenever the normal drivers and services are loaded in the normal operating mode. Consequently, these malware programs are running whenever the computer is in Normal Mode 10, thereby confounding the malware removal programs.
  • Safe Mode 20 As a consequence, many malware removal program developers recommend that their software be run while the computer is in Safe Mode 20. In this mode 20, the computer starts with only a minimum set of drivers and services 14. This reduces the functionality of the computer, eliminating capabilities such as network and Internet connectivity. As a result, Safe Mode 20 is not appropriate for normal computer operation. The benefit of Safe Mode is that it is easier to isolate problems because many non-core services and drivers are disabled.
  • Safe Mode 20 By limiting the number of components operating in conjunction with the Explorer shell 12, Safe Mode 20 reduces the number of malware programs 16 that are operating. As a consequence, malware removal programs will have an easier time of removing these malware programs 16. Unfortunately, some malware programs 16 are triggered off of the operation of the Explorer.exe shell 12 itself, thereby starting whenever that shell 12 starts up. Since this shell 12 is run whenever the computer operates in either Normal Mode 10 or Safe Mode 20, the malware 16 will also always be running in these modes 10, 20.
  • a third mode 30 is known as Safe Mode with Command Prompt, or Command Mode 30.
  • the same minimum set of drivers and services 22 are operating.
  • the Command Mode 30 uses the Cmd.exe shell 32.
  • This shell 32 provides a simplified, command line user interface for users. Although this shell is more difficult for users to use, the Cmd.exe 32 shell has the benefit of not launching malware programs 16 that are programmed to automatically launch along with Explorer.exe 12.
  • malware developers can trigger their malware 16 to launch along with the Cmd.exe shell 32.
  • FIG 2 shows a fourth operating mode known as the Custom Safe Mode 50 that is used by the present invention.
  • This mode operates with a custom shell 52 that is designed to operate the method set forth below.
  • This mode 50 operates with a minimum set of drivers and services 54 that is created by starting with the Safe Mode set 22 and then systematically killing all operating processes that are not found in a white list of allowed processes.
  • this mode 50 prevents the loading of those malware programs 16 that are triggered upon the loading of a known shell. All that is required is that the safe shell 52 has a name that is different than the known names of the shells 12, 32 provided with the operating system.
  • the Custom Safe Mode 50 further prevents the loading and operation of malware programs 16 that are loaded using other mechanisms (such as by alteration of the system registry values).
  • the present invention operates on a computer system 60 such as that shown in Figure 3.
  • the computer system 60 has a processor 62, volatile random access memory 64, an optical drive 65, a display 66, and one or more input devices 68, as are commonly used by all computer systems 60.
  • the computer system 60 has nonvolatile memory or storage 70 such as a computer hard drive or flash memory.
  • the storage 70 is used to store applications and other programs such as the three shell programs 12, 32, and 52 described in Figures 1 and 2.
  • Storage 70 also contains user files and data (not shown), and system data such as the registry 72 used by modern Windows operating systems.
  • the storage 70 also contains the boot.ini file 74, which is used by some Windows operating systems to configure the boot loader program (such as the NTLDR program used by Windows NT and XP). Other operating system store boot configuration data separately, such as the Boot Configuration Data (or BCD) database used in the Windows Vista operating system.
  • the boot configuration data 74 is used to store information about how the computer system 60 should boot. To change boot behavior, the boot configuration system can be altered. However, to prevent accidental changes to the boot configuration, the configuration data 74 is generally protected in some way. In systems using the boot.ini file 74, the file is stored using the following file attributes: system, hidden, read-only. Before the file 74 can be altered, the attributes must be changed so that the file 74 is no longer read-only.
  • the present invention is initiated by running a malware removal process application program 76 that is also stored in storage 70.
  • This application program 76 is generally initiated in Normal Mode 10 through the Explorer shell 12.
  • the application 76 is designed to automate the process of running multiple, third-party malware removal programs 78 in the customer Safe Mode 50 of the computer system 60.
  • These applications 78 are also stored in the storage 70 of computer system 60.
  • the applications 76 and 78 are generally run from storage 70, they can be copied to storage 70 from a removable optical disk found in drive 65, as explained below. After use, these applications 76, 78 can then be deleted from storage 70 as desired by the user of the present invention. It is possible to program the custom shell 52 to operate both as the custom shell 52 and the malware removal process application 76, thereby allowing a single file /program to perform the functions of both components 52, 76.
  • FIG. 4 A summary of the overall operation of the process triggered by running application program 76 is shown in Figure 4.
  • the first step 80 is to update these malware programs while the computer 60 still has the Internet access that is available in Normal Mode 10. This updating generally occurs by contacting web sites or ftp sites maintained by the developer of the malware program.
  • the application 76 at step 82 configures the boot data (such as boot.ini 74) so that the system will reboot into the Custom Safe Mode 50.
  • the application 76 then triggers a reboot (step 84) to re-start the computer system 60 in Custom Safe Mode 50.
  • the custom shell 52 is initiated. The purpose of the shell is to automate the running of multiple malware removal programs 78 in Safe Mode 50.
  • the shell 52 need not be a general-purpose user interface allowing the launching of any program, but can instead directly contain the programming necessary for the operation of these removal programs 78.
  • the custom shell 52 and the malware removal process application 76 can be portions of the same code.
  • the shell 52 can be set up to automatically launch a separate application that contains this programming.
  • the present invention will next (step 86) configure the boot data so that the system will return to Normal Mode 10 at the next reboot.
  • the present invention ensures that a user or technician will not be caught in Custom Safe Mode 50 if a problem or error prevents the completion of the present invention process.
  • the third-party malware removal applications are run. The results generated by the operation of these removal applications are reported in step 90.
  • the custom shell 52 then triggers a reboot 92, and the computer system 60 then returns to Normal Mode 10.
  • the process 100 is initiated by a technician or user opening the malware removal process application 76.
  • Most of the following steps occur automatically under the control of application 76 and shell 52 without any user intervention. More specifically, only those steps below that specifically mention user interaction require any user input whatsoever.
  • step 110 checks the current boot mode and opens a page with the option to either continue the operation in the current mode or restart the computer in "Custom Safe Mode" after downloads are complete.
  • the technician will select to restart the computer in the Custom Safe Mode 50.
  • this option can be skipped altogether and the application 76 can assume that the computer system 60 should restart in the Custom Safe Mode 50.
  • this step 110 may also present other options to the user, including the ability to cancel the operation of the process and application 76, to check system restore, or to check when the third-party malware definition files were last downloaded to the cache.
  • the malware removal process application 76 determines the third-party malware removal applications 78 that need to be run. In the preferred embodiment, the user is asked to select from the available applications 78. In addition, the user can be asked whether this application 78 should run a registry only scan or a full scan. Alternatively, the process application 76 can select the plurality of malware removal applications 78 automatically.
  • This step 130 is performed only if temp files exist or system restore is on.
  • System restore is a component of Windows operating systems that allow for the rolling back of certain system settings in case of problems or errors. If temps exist, this step would prompt the user as to whether the temps should be deleted and then deletes the temps as appropriate. These temp files are capable of containing malicious code. If system restore is on, this step will provide a prompt to initiate backing up the copies of the registry in the restore points before disabling system restore.
  • this step 130 will provide the user with options or prompts to perform the following functions: turn off system restore (if restore is on), enable termination of any process not on the "white list” of approved processes that are necessary for the functioning of the present invention, and enable MSI service (the Microsoft Windows Installer service)— if already in Safe Mode AND at least one app selected above uses an MSI based installer).
  • MSI service the Microsoft Windows Installer service
  • the process application 76 will automatically download updates and definition updates for the selected malware removal applications 78.
  • This download occurs in the Explorer shell 12 because Internet services will not be available in the Custom Safe Mode 50 in which the applications 78 themselves will be operated.
  • the malware updates are stored in a local cache so that multiple copies of the same update /definition file need not be downloaded from the Internet.
  • the items in the cache may be valid for only a short period (such as twelve hours) so that the latest updates are not missed. It is also possible to run crypto fix and do IP /Proxy checking.
  • the present invention automatically (i.e., without user interaction or intervention) performs some preparatory functions, such as deleting temporary files, backing up system restore registry hive backups, disabling System Restore, and enabling MSI Service.
  • the present invention completes the establishment of the Custom Safe Mode by terminating EVERY process in the system that is not flagged as critical, i.e. found on a white list of allowed processes.
  • this step 180 terminates all processes in Windows XP except system idle, system, winlogon, smss, lsass, csrss, svchost, services.exe, msiexec.exe (if necessary) and the Custom Safe Mode shell 52. These processes will vary depending on the actual operating system used.
  • the present invention will automatically perform the malware removal process by operating the selected malware removal applications 78. For each application 78, the same process is completed.
  • the process begins at step 200, which simple selects a single application 78 for the following steps.
  • Install Application 210
  • the present invention will skip the installation step and simply copy the files to the computer's hard drive 70. Otherwise it will be necessary to install the application 78. To do so, the present invention will first detect any already installed versions of the applications on the computer system 60. If the application 78 is not already installed, the present invention will silently install the software 78. If a silent install is not supported by the application 78, this step 21 will launch a manual installer that requires input by the user.
  • the installation files for applications 78 are found on a removable optical disk that used by the present invention.
  • This disk preferably contains all the information necessary to load the custom shell 52 and the malware removal process application 76 into storage 70 as well as the third-party malware removal applications 78.
  • the present invention installs the application 78 from an optical disk, it is vital to ensure that all licensing obligations that are owed to the copyright owner of the application 78 are fulfilled.
  • This step 210 can detect if the selected application 78 already exists in storage 70, and whether that copy of the application 78 is a trial version or a full version. After making this determination, application installation is handled appropriately. For instance, if a trial version of the selected application 78 is already installed in storage 70, step 210 can reinstall it or install over it. If the present invention cannot definitively determine whether it is a trial version that is installed, all available information is presented to the user, who is then able to determine whether to run the existing version, to install over the existing version, or to skip the application entirely.
  • Step 220 copies these latest malware definitions to the directory used by the selected malware removal application 78. If no definitions for this application 78 exist in the cache (which would indicate that no definitions were downloaded in step 140), the present invention checks the optical disc and copies the definitions stored there instead.
  • the present invention will automatically configure the registry keys /etc that make the application scan only the registry. If a Full Scan was selected, the system will set registry keys to enable maximum scanning power (scan archives, scan for rootkits, etc). Any other tweaks that make for a more optimal scanning experience will also be implemented automatically.
  • the present invention will open the malware removal application's main executable in step 240. If the application supports switches' to automatically begin a scan, those switches will be passed automatically to the application. If that fails, the present invention will use a custom script to press the buttons for each application. If this also fails, the user will have to manually press "Scan.” One possibility is to run the application as a service, or run it as the LocalService user account (to give it the ability to get around most permissions). After the application performs its scan, the user chooses what malware items to remove (if any), presses "remove", and closes application.
  • the present invention will monitor the computer system 60 waiting for the launched malware removal application 78 to close. Once it does close, the present invention "wakes up" at step 250 and displays a dialog box to the user. This box is pre-populated with the scan time, start and stop times, user account, system restore state, and the user's initials (if they've been input to the application at any previous time). The user must enter the malware traces found /removed, and any comments they may have on the operation of the application 78. These scan results are then stored automatically to the registry.
  • step 260 the present invention will remove or not remove the malware application 78 from the computer system 60, as appropriate. If the application 78 was run from the optical disk, then the files copied to storage 70 will be deleted. If the application was run by running a copy already on the computer system 60, the application 78 will be left intact. If the application was installed, it will be removed silently. This last option is accomplished either by deleting the application or running the application's uninstaller.
  • step 270 the present invention will determine whether there are any more malware applications 78 that were selected by the user in step 120. If so, the next malware application 78 will be selected at step 200, and steps 210-260 will be repeated. If not, the method 100 will go on to step 280.
  • the present invention will display all the results stored in the multiple iterations of step 250 as a report of the entire process. This report can be stored to the hard drive for later reporting after rebooting out of the Custom Safe Mode. Reboot to Original Mode 290

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Virology (AREA)
  • General Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The present invention automates the operation of multiple malware removal software products [figure 3, 76, 78] using a computerized system that systematically operates the multiple selected software products. These products are operated them in a customized 'Safe Mode' using a shell that is different than the computer's other shell environments. Unlike the ordinary Safe Modes shells, the Custom Safe Mode prevents malware from functioning that ties itself to the normal shell, such as the Windows Explorer shell. In addition, the Custom Safe Mode allows the automation of tasks beyond that which is available under the standard command line shell.

Description

MALWARE AUTOMATED REMOVAL SYSTEM AND METHOD
Field of the Invention lOOOl] The present invention relates to software for the removal of computer viruses, worms, Trojan horses, spy ware, dishonest ad ware, and other malicious and unwanted software ("malware").
Background of the Invention
[0002] While many programs exist that can remove malware, none of these programs is capable of removing as many malware infestations as a combination of products. Consequently, the best industry practice requires the operation of multiple malware removal software products. This is currently a difficult, time-consuming process, which is often rendered ineffective by failure to prevent malware from being active during the malware removal process.
Summary of the Invention
[0003] The present invention automates the operation of multiple malware removal software products. In addition, the present system improves the performance of these software products by operating them in a "Custom Safe Mode" shell. Unlike the ordinary safe modes, the Custom Safe Mode prevents malware from functioning that ties itself to the normal computer shell, such as the Windows Explorer shell. In addition, the Custom Safe Mode allows the automation of tasks beyond that which is available under the standard command line shell.
Brief Description of the Drawings
[0004] Figure 1 is a schematic drawing of operating modes in a personal computer.
[0005] Figure 2 is a schematic drawing of the Custom Safe Mode used by the present invention.. [0006] Figure 3 is a schematic drawing of a computer system used by the present invention.
[0007] Figure 4 is a schematic drawing showing a summary of the steps used by the present invention along with the operating modes used by each step.
[0008] Figure 5 is a flow chart showing the method of the present invention.
Detailed Description of the Invention
Operating Modes
[0009] The present invention automates proven manual malware removal processes in order to minimize the total time and maximize the success rate of removal. The automation allows multiple third-party malware removal software programs to be run in a fraction of the time normally required. The present invention operates by transitioning between two different operating modes of a personal computer system.
[0010] Figure 1 shows three standard modes available to a personal computer operating a Windows-type operating system provided by Microsoft Corporation. The Normal Mode 10 uses the Windows Explorer.exe shell to provide the user interface. This is the mode used for normal operation of the computer system. As part of this mode, the system operates with a full complement of drivers and services 14, include those services necessary for network and Internet connectivity. In some circumstances, a computer system can be infected with malware 16. It is possible to run malware removal software in the Normal Mode and successfully remove the malware infestation. Unfortunately, however, it can often be difficult to remove malware that is currently operating or running. Thus, many malware programs 16 are designed to operate whenever the normal drivers and services are loaded in the normal operating mode. Consequently, these malware programs are running whenever the computer is in Normal Mode 10, thereby confounding the malware removal programs.
[0011] As a consequence, many malware removal program developers recommend that their software be run while the computer is in Safe Mode 20. In this mode 20, the computer starts with only a minimum set of drivers and services 14. This reduces the functionality of the computer, eliminating capabilities such as network and Internet connectivity. As a result, Safe Mode 20 is not appropriate for normal computer operation. The benefit of Safe Mode is that it is easier to isolate problems because many non-core services and drivers are disabled. By limiting the number of components operating in conjunction with the Explorer shell 12, Safe Mode 20 reduces the number of malware programs 16 that are operating. As a consequence, malware removal programs will have an easier time of removing these malware programs 16. Unfortunately, some malware programs 16 are triggered off of the operation of the Explorer.exe shell 12 itself, thereby starting whenever that shell 12 starts up. Since this shell 12 is run whenever the computer operates in either Normal Mode 10 or Safe Mode 20, the malware 16 will also always be running in these modes 10, 20.
[0012] A third mode 30 is known as Safe Mode with Command Prompt, or Command Mode 30. In this mode 30, the same minimum set of drivers and services 22 are operating. Instead of operating the Explorer.exe shell 12 to provide the user interface, the Command Mode 30 uses the Cmd.exe shell 32. This shell 32 provides a simplified, command line user interface for users. Although this shell is more difficult for users to use, the Cmd.exe 32 shell has the benefit of not launching malware programs 16 that are programmed to automatically launch along with Explorer.exe 12. Of course, because the Cmd.exe shell 32 is well known, it is possible that malware developers can trigger their malware 16 to launch along with the Cmd.exe shell 32.
[0013] Figure 2 shows a fourth operating mode known as the Custom Safe Mode 50 that is used by the present invention. This mode operates with a custom shell 52 that is designed to operate the method set forth below. This mode 50 operates with a minimum set of drivers and services 54 that is created by starting with the Safe Mode set 22 and then systematically killing all operating processes that are not found in a white list of allowed processes. By creating a new shell 52, this mode 50 prevents the loading of those malware programs 16 that are triggered upon the loading of a known shell. All that is required is that the safe shell 52 has a name that is different than the known names of the shells 12, 32 provided with the operating system. Furthermore, by eliminating all processes that are not found in the white list of needed processes 54, the Custom Safe Mode 50 further prevents the loading and operation of malware programs 16 that are loaded using other mechanisms (such as by alteration of the system registry values).
Computer System
[0014] The present invention operates on a computer system 60 such as that shown in Figure 3. The computer system 60 has a processor 62, volatile random access memory 64, an optical drive 65, a display 66, and one or more input devices 68, as are commonly used by all computer systems 60. In addition, the computer system 60 has nonvolatile memory or storage 70 such as a computer hard drive or flash memory. The storage 70 is used to store applications and other programs such as the three shell programs 12, 32, and 52 described in Figures 1 and 2. Storage 70 also contains user files and data (not shown), and system data such as the registry 72 used by modern Windows operating systems. The storage 70 also contains the boot.ini file 74, which is used by some Windows operating systems to configure the boot loader program (such as the NTLDR program used by Windows NT and XP). Other operating system store boot configuration data separately, such as the Boot Configuration Data (or BCD) database used in the Windows Vista operating system. The boot configuration data 74 is used to store information about how the computer system 60 should boot. To change boot behavior, the boot configuration system can be altered. However, to prevent accidental changes to the boot configuration, the configuration data 74 is generally protected in some way. In systems using the boot.ini file 74, the file is stored using the following file attributes: system, hidden, read-only. Before the file 74 can be altered, the attributes must be changed so that the file 74 is no longer read-only.
[0015] The present invention is initiated by running a malware removal process application program 76 that is also stored in storage 70. This application program 76 is generally initiated in Normal Mode 10 through the Explorer shell 12. When run, the application 76 is designed to automate the process of running multiple, third-party malware removal programs 78 in the customer Safe Mode 50 of the computer system 60. These applications 78 are also stored in the storage 70 of computer system 60. Although the applications 76 and 78 are generally run from storage 70, they can be copied to storage 70 from a removable optical disk found in drive 65, as explained below. After use, these applications 76, 78 can then be deleted from storage 70 as desired by the user of the present invention. It is possible to program the custom shell 52 to operate both as the custom shell 52 and the malware removal process application 76, thereby allowing a single file /program to perform the functions of both components 52, 76.
Overall Process
[0016] A summary of the overall operation of the process triggered by running application program 76 is shown in Figure 4. The first step 80 is to update these malware programs while the computer 60 still has the Internet access that is available in Normal Mode 10. This updating generally occurs by contacting web sites or ftp sites maintained by the developer of the malware program. Once updated, the application 76 at step 82 configures the boot data (such as boot.ini 74) so that the system will reboot into the Custom Safe Mode 50. The application 76 then triggers a reboot (step 84) to re-start the computer system 60 in Custom Safe Mode 50. [0017] Once in this mode, the custom shell 52 is initiated. The purpose of the shell is to automate the running of multiple malware removal programs 78 in Safe Mode 50. Consequently, the shell 52 need not be a general-purpose user interface allowing the launching of any program, but can instead directly contain the programming necessary for the operation of these removal programs 78. In fact, it is possible for the custom shell 52 and the malware removal process application 76 to be portions of the same code. Alternatively, the shell 52 can be set up to automatically launch a separate application that contains this programming. Either way, the present invention will next (step 86) configure the boot data so that the system will return to Normal Mode 10 at the next reboot. By reconfiguring the boot data immediately upon restart in Custom Safe Mode 50, the present invention ensures that a user or technician will not be caught in Custom Safe Mode 50 if a problem or error prevents the completion of the present invention process. Next, at step 88, the third-party malware removal applications are run. The results generated by the operation of these removal applications are reported in step 90. The custom shell 52 then triggers a reboot 92, and the computer system 60 then returns to Normal Mode 10.
Detailed Process
[0018] The detailed process 100 used by the present invention in shown in Figure 5. The process 100 is initiated by a technician or user opening the malware removal process application 76. Most of the following steps occur automatically under the control of application 76 and shell 52 without any user intervention. More specifically, only those steps below that specifically mention user interaction require any user input whatsoever.
Initial Checks. Safe Mode UO
[0019] When the application 76 begins, step 110 checks the current boot mode and opens a page with the option to either continue the operation in the current mode or restart the computer in "Custom Safe Mode" after downloads are complete. In most cases where the application 76 is initiated in Normal Mode 10, the technician will select to restart the computer in the Custom Safe Mode 50. In fact, this option can be skipped altogether and the application 76 can assume that the computer system 60 should restart in the Custom Safe Mode 50. In some cases, this step 110 may also present other options to the user, including the ability to cancel the operation of the process and application 76, to check system restore, or to check when the third-party malware definition files were last downloaded to the cache.
Select Malware Removal Apps 120
[0020] In the next step 120, the malware removal process application 76 determines the third-party malware removal applications 78 that need to be run. In the preferred embodiment, the user is asked to select from the available applications 78. In addition, the user can be asked whether this application 78 should run a registry only scan or a full scan. Alternatively, the process application 76 can select the plurality of malware removal applications 78 automatically.
Select Operating System Preparation Options 130
[0021] This step 130 is performed only if temp files exist or system restore is on. System restore is a component of Windows operating systems that allow for the rolling back of certain system settings in case of problems or errors. If temps exist, this step would prompt the user as to whether the temps should be deleted and then deletes the temps as appropriate. These temp files are capable of containing malicious code. If system restore is on, this step will provide a prompt to initiate backing up the copies of the registry in the restore points before disabling system restore. In addition, this step 130 will provide the user with options or prompts to perform the following functions: turn off system restore (if restore is on), enable termination of any process not on the "white list" of approved processes that are necessary for the functioning of the present invention, and enable MSI service (the Microsoft Windows Installer service)— if already in Safe Mode AND at least one app selected above uses an MSI based installer). The user is also allowed to customize the screen resolution in this step.
Download Definitions and Updates 140
[0022] In this step 140, the process application 76 will automatically download updates and definition updates for the selected malware removal applications 78. This download occurs in the Explorer shell 12 because Internet services will not be available in the Custom Safe Mode 50 in which the applications 78 themselves will be operated. The malware updates are stored in a local cache so that multiple copies of the same update /definition file need not be downloaded from the Internet. The items in the cache may be valid for only a short period (such as twelve hours) so that the latest updates are not missed. It is also possible to run crypto fix and do IP /Proxy checking.
Restart Into Safe Mode 150 and Reboot 160
[0023] The following sub-steps are performed by the process application 76 to prepare the computer to reboot into the Custom Safe Mode: i) reboot the computer, ii) back up boot.ini file, iii) set attributes of boot.ini file to System-Hidden (so it can be altered), iv) write boot.ini file to default boot to the Custom Safe Mode shell 52 while leaving the old default boot as a secondary option, v) save bootάni file, vi) set the attributes for boot.ini to System-Hidden-Read-Only, vii) backup the current value (cmd.exe, typically), and viii) write the path to shell 52 to HKLM\System\CurrentControlSet\Control\Safeboot => "AlternateShell" in the Registry 72. At this point, when the computer system 60 reboots, the system will now boot into "Custom Safe Mode". Consequently, the next step is to initiate system reboot (step 160). Start up in Custom Safe Mode 170
[0024] When the system reboots into the Custom Safe Mode, a startup process in the shell 52 will restore the bootini file and HKLM\ ΛSafeboot key. This allows a second reboot to return the computer into its Normal Mode. In addition, this start up process will read the list of malware applications that are to be run and the preferences /settings set in steps 120-130 from, the registry (these values are then deleted).
Perform Operating System Preparation 180
[0025] In this step, the present invention automatically (i.e., without user interaction or intervention) performs some preparatory functions, such as deleting temporary files, backing up system restore registry hive backups, disabling System Restore, and enabling MSI Service. In addition, the present invention completes the establishment of the Custom Safe Mode by terminating EVERY process in the system that is not flagged as critical, i.e. found on a white list of allowed processes. In general, this step 180 terminates all processes in Windows XP except system idle, system, winlogon, smss, lsass, csrss, svchost, services.exe, msiexec.exe (if necessary) and the Custom Safe Mode shell 52. These processes will vary depending on the actual operating system used.
Select Malware Removal Application 200
[0026] At this point, the present invention will automatically perform the malware removal process by operating the selected malware removal applications 78. For each application 78, the same process is completed. The process begins at step 200, which simple selects a single application 78 for the following steps. Install Application 210
[0027] If the application 78 can "run from CD", the present invention will skip the installation step and simply copy the files to the computer's hard drive 70. Otherwise it will be necessary to install the application 78. To do so, the present invention will first detect any already installed versions of the applications on the computer system 60. If the application 78 is not already installed, the present invention will silently install the software 78. If a silent install is not supported by the application 78, this step 21 will launch a manual installer that requires input by the user.
[0028] Ideally, the installation files for applications 78 are found on a removable optical disk that used by the present invention. This disk preferably contains all the information necessary to load the custom shell 52 and the malware removal process application 76 into storage 70 as well as the third-party malware removal applications 78. Of course, to the extent the present invention installs the application 78 from an optical disk, it is vital to ensure that all licensing obligations that are owed to the copyright owner of the application 78 are fulfilled.
[0029] This step 210 can detect if the selected application 78 already exists in storage 70, and whether that copy of the application 78 is a trial version or a full version. After making this determination, application installation is handled appropriately. For instance, if a trial version of the selected application 78 is already installed in storage 70, step 210 can reinstall it or install over it. If the present invention cannot definitively determine whether it is a trial version that is installed, all available information is presented to the user, who is then able to determine whether to run the existing version, to install over the existing version, or to skip the application entirely.
Update Application 220
[0030] In order to update the application, it is not necessary to download any updates over the Internet since this was accomplished in step 140 with the updates being temporarily stored in a cache found - li ¬
on storage 70. Step 220 copies these latest malware definitions to the directory used by the selected malware removal application 78. If no definitions for this application 78 exist in the cache (which would indicate that no definitions were downloaded in step 140), the present invention checks the optical disc and copies the definitions stored there instead.
Configure Application 230
[0031] If a Registry Only scan was desired, the present invention will automatically configure the registry keys /etc that make the application scan only the registry. If a Full Scan was selected, the system will set registry keys to enable maximum scanning power (scan archives, scan for rootkits, etc). Any other tweaks that make for a more optimal scanning experience will also be implemented automatically.
Running Application/RemoOe Malware 240
[0032] At this point, the present invention will open the malware removal application's main executable in step 240. If the application supports switches' to automatically begin a scan, those switches will be passed automatically to the application. If that fails, the present invention will use a custom script to press the buttons for each application. If this also fails, the user will have to manually press "Scan." One possibility is to run the application as a service, or run it as the LocalService user account (to give it the ability to get around most permissions). After the application performs its scan, the user chooses what malware items to remove (if any), presses "remove", and closes application.
Log Results 250
[0033] The present invention will monitor the computer system 60 waiting for the launched malware removal application 78 to close. Once it does close, the present invention "wakes up" at step 250 and displays a dialog box to the user. This box is pre-populated with the scan time, start and stop times, user account, system restore state, and the user's initials (if they've been input to the application at any previous time). The user must enter the malware traces found /removed, and any comments they may have on the operation of the application 78. These scan results are then stored automatically to the registry.
Uninstall 260
[0034] In step 260, the present invention will remove or not remove the malware application 78 from the computer system 60, as appropriate. If the application 78 was run from the optical disk, then the files copied to storage 70 will be deleted. If the application was run by running a copy already on the computer system 60, the application 78 will be left intact. If the application was installed, it will be removed silently. This last option is accomplished either by deleting the application or running the application's uninstaller.
More Applications 270
[0035] At step 270, the present invention will determine whether there are any more malware applications 78 that were selected by the user in step 120. If so, the next malware application 78 will be selected at step 200, and steps 210-260 will be repeated. If not, the method 100 will go on to step 280.
Display Report 280
[0036] When all malware applications have been run, the present invention will display all the results stored in the multiple iterations of step 250 as a report of the entire process. This report can be stored to the hard drive for later reporting after rebooting out of the Custom Safe Mode. Reboot to Original Mode 290
[0037] At this point, the original bootini will already have been restored (in step 180). Consequently, the computer system 60 will reboot and return to the original Normal Mode 10 of the computer.
[0038] The many features and advantages of the invention are apparent from the above description. Numerous modifications and variations will readily occur to those skilled in the art. Since such modifications are possible, the invention is not to be limited to the exact construction and operation illustrated and described. Rather, the present invention should be limited only by the following claims.

Claims

What Is Claimed Is:
1. A computerized method for removing malware from a computer operating a normal shell for providing a user interface with network services, the computerized method comprising: a) initiating a malware removal process application while in the normal shell, the malware removal process application causing the computer to automatically perform the following steps: i) downloading updates for a plurality of malware removal applications; ii) rebooting the computer into a second shell; b) the second shell automatically performing the following steps after starting: i) terminating a plurality of non-critical processes; ii) for each of the malware removal applications,
(1) installing the malware removal application from a removable disk onto storage on the computer,
(2) updating the malware removal applications using the updates previously downloaded,
(3) running the malware removal application in the second shell,
(4) uninstalling the malware removal application; and iii) rebooting the computer back into the normal shell.
2. The computerized method of claim 1, wherein the step of rebooting the computer into a second shell further comprises:
(1) backing up the boot configuration data; (2) altering the boot configuration data so as to cause the computer to reboot into the second shell;
(3) causing the computer to reboot; and further wherein upon startup the second shell automatically restores the boot configuration data to its backed up condition.
3. The computerized method of claim 2, wherein the boot configuration data is found in a bootini file or a boot configuration data database.
4. The computerized method of claim 2, wherein the step of rebooting the computer further comprises storing the path to the second shell in the computer's registry.
5. The computerized method of claim 4, wherein a current path for a standard safe boot shell in the computer's registry is temporarily stored before the path for the second shell is stored in the same place in the registry, and further wherein the temporarily stored path is restored to the computer's registry after the computer is rebooted into the second shell.
6. The computerized method of claim 1, wherein the plurality of malware removal applications are selected from a set of available applications, wherein each of the available applications are stored on the removable disk.
7. The computerized method of claim 6, wherein a user is allowed to select the plurality of malware removal applications.
8. The computerized method of claim 1, wherein the step of terminating a plurality of non-critical processes further comprises:
(1) comparing all processes running on the computer with a white list of allowed processes; and (2) terminating all processes not on the white list of allowed processes.
9. The computerized method of claim 1, wherein the step of installing the malware removal application from a removable disk onto storage on the computer further comprises the sub-step of determining whether the malware removal application is already installed on the storage of the computer and, if so, operating the installed copy of the malware removal application; further wherein the already installed copy is not thereafter uninstalled.
10. The computerized method of claim 1, wherein: the step of installing the malware removal application from a removable disk onto storage on the computer further comprises the sub-step of determining whether the malware removal application is already installed on the storage of the computer and, if so, installing a different version of the malware removal application from the removable disk over the installed version of the malware removal application, further wherein the installed version is not thereafter uninstalled.
11. The computerized method of claim 1, wherein the second shell is
. stored on the storage of the computer system under a name that is different than all of the shells provided as a part of the operating system running on the computer including the normal shell.
12. The computerized method of claim 1, wherein after running each malware removal application the computer presents an input screen for a user to input information concerning the results of running the
. malware removal application.
13. The computerized method of claim 12, wherein the information input for each malware removal application is stored and collected into a single report.
14. A computerized method for removing malware from a computer system comprising: a) booting the computer system into a safe shell, the safe shell having programming to automatically perform the following steps: i) comparing all of the operating processes operating on the computer system against a list of allowed processes; ii) terminating all processes not found on the list of allowed processes; and iii) for each of a plurality of malware removal sof tware applications,
(1) installing the malware removal software application onto storage of the computer system,
(2) running the malware removal software application, and
(3) uninstalling the malware removal software application from the storage.
15. The computerized method of claim 14, wherein the safe shell has a filename different than the filenames of those shells originally provided by an operating system running on the computer.
16. A computer system comprising: a) a processor, random access memory, an input, a display, an optical drive, and non-volatile storage; b) a normal shell existing as programming on the storage, the normal shell having a user interface and a variety of drivers and services, the services including network and Internet services; c) an optical disk within the optical drive; d) a plurality of malware removal applications existing as programming on the optical disk; e) a safe shell existing as programming on the storage, the safe shell not having network and Internet services, the safe shell having programming for: i) terminating a plurality of non-critical processes after starting the second shell; ii) for each of the plurality of malware removal software applications,
(1) installing the malware removal software application onto storage of the computer system,
(2) running the malware removal software application, and
(3) uninstalling the malware removal software application from the storage.
17. The computer system of claim 16, further comprising: f) a white list of allowed processes existing as data comprising names of processes; wherein the programming for terminating a plurality of non-critical processes operates by comparing all processes running on the computer system with a white list of allowed processes and then terminating all processes not on the white list of allowed processes.
18. The computer system of claim 16, wherein the programming for terminating the non-critical processes and the installing, running, and uninstalling the malware removal software is stored on the storage in a file separate from the safe shell and is automatically initiated by the safe shell.
19. The computer system of claim 16, further comprising: f ) a malware removal process application program that can be run from the normal shell, the malware removal process application program having programming for: i) downloading updates over the Internet for the plurality of malware removal software applications; and ii) rebooting the computer into the safe shell by backing up the boot configuration data, altering the boot configuration data so as to cause the computer to reboot into the safe shell, and causing the computer to reboot, wherein the safe shell further contains programming to iii) restore the boot configuration data to its backed up condition so as to return the computer system to the normal shell after reboot; iv) update the malware removal software applications using the previously downloaded updates; and v) reboot the computer system after installing, running, and uninstalling the plurality of malware removal software applications.
20. The computer system of claim 19, wherein the malware removal process application program and the safe shell are part of the same file stored in the non-volatile storage of the computer system.
PCT/US2007/015580 2006-07-05 2007-07-05 Malware automated removal system and method WO2008005536A2 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US81880906P 2006-07-05 2006-07-05
US60/818,809 2006-07-05

Publications (2)

Publication Number Publication Date
WO2008005536A2 true WO2008005536A2 (en) 2008-01-10
WO2008005536A3 WO2008005536A3 (en) 2008-07-03

Family

ID=38895238

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/US2007/015580 WO2008005536A2 (en) 2006-07-05 2007-07-05 Malware automated removal system and method

Country Status (1)

Country Link
WO (1) WO2008005536A2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10452850B2 (en) 2014-08-18 2019-10-22 International Business Machines Corporation Protected shell for risk validation
GB2548700B (en) * 2016-02-12 2021-12-15 Sophos Ltd Virtual machine security
US11232205B2 (en) 2019-04-23 2022-01-25 Microsoft Technology Licensing, Llc File storage service initiation of antivirus software locally installed on a user device
US11232206B2 (en) 2019-04-23 2022-01-25 Microsoft Technology Licensing, Llc Automated malware remediation and file restoration management

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7353428B2 (en) * 2004-05-19 2008-04-01 Lenovo Singapore Pte. Ltd Polled automatic virus fix

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10452850B2 (en) 2014-08-18 2019-10-22 International Business Machines Corporation Protected shell for risk validation
GB2548700B (en) * 2016-02-12 2021-12-15 Sophos Ltd Virtual machine security
US11232205B2 (en) 2019-04-23 2022-01-25 Microsoft Technology Licensing, Llc File storage service initiation of antivirus software locally installed on a user device
US11232206B2 (en) 2019-04-23 2022-01-25 Microsoft Technology Licensing, Llc Automated malware remediation and file restoration management

Also Published As

Publication number Publication date
WO2008005536A3 (en) 2008-07-03

Similar Documents

Publication Publication Date Title
US8601581B2 (en) Malware automated removal system and method
US8234710B2 (en) Malware automated removal system and method using a diagnostic operating system
EP1374017B1 (en) System and method for restoring computer systems damaged by a malicious computer program
US6804774B1 (en) Software image transition aid comprising building a disk image based on identified hardware
CN1304946C (en) Booting and boot code update method and system thereof
US8069343B2 (en) Computer with bootable restoration
US9081639B2 (en) System and method for remotely re-imaging a computer system
US6434744B1 (en) System and method for patching an installed application program
US8181007B2 (en) Electronic device and method for secure operating system update in embedded system
US6427227B1 (en) System, method, and computer-readable medium for repairing an application program that has been patched
JP4842421B2 (en) Methods and systems for automatically uninstalling or reinstalling applications
KR100901903B1 (en) Self-monitoring and updating of firmware over a network
AU2002250453A1 (en) System and method for restoring computer systems damaged by a malicious computer program
US10002251B2 (en) Bootstrap OS protection and recovery
US20060259819A1 (en) Automated Method for Self-Sustaining Computer Security
US20020194533A1 (en) External repair of a computer
US20070277033A1 (en) Method for re-imaging a computer system
WO2008005536A2 (en) Malware automated removal system and method
CN112925549A (en) System application upgrading system based on android frame
US20190147164A1 (en) Novel methodology, process and program for the repair of disabled, badly infected or slow windows computers
US20060112313A1 (en) Bootable virtual disk for computer system recovery
US7395422B2 (en) Method and system of changing a startup list of programs to determine whether computer system performance increases
CN116954673A (en) A method for upgrading and restoring a Linux operating system
KR100860402B1 (en) System upgrade method and method using two-stage boot loader
KR100487717B1 (en) System and method for loading operating system for embedded system

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 07810248

Country of ref document: EP

Kind code of ref document: A2

DPE1 Request for preliminary examination filed after expiration of 19th month from priority date (pct application filed from 20040101)
NENP Non-entry into the national phase

Ref country code: DE

NENP Non-entry into the national phase

Ref country code: RU

122 Ep: pct application non-entry in european phase

Ref document number: 07810248

Country of ref document: EP

Kind code of ref document: A2

DPE1 Request for preliminary examination filed after expiration of 19th month from priority date (pct application filed from 20040101)