Online Scan: Analyze svchost.exe file and fix runtime errors, Fix System Error
Welcome to my blog. I found a malicious code that was added into the svchost.exe file. Due to infection by malicious code, the file contents changed. The MD5 value of the infected file is: 00736e316cb27de5a6e606895e28b470, and the file size is: 41 K ( 41,984 bytes )
Risk level of malicious code

( 3 stars by 273 users )
Behavior of malicious code ( 539 votes ) If you know more this malicious code, please vote. We sincerely hope you may share your information with other computer users and help them.
1. Infect file
12.24% (66)
2. Intentionally destroy data
14.66% (79)
3. Steal personal privacy
13.73% (74)
4. Infect other computers through the Internet
10.58% (57)
5. Install the backdoor program so that the computer is controlled remotely
10.2% (55)
6. Cheat or threaten users to buy something
15.58% (84)
11.5% (62)
11.5% (62)
Binary Code Analysis:
When the program runs, the PE loader will try to load the file to 0x01000000 in the virtual address space, Address Of Entry Point: 0x0000BE0D. This file has 4 SECTION.
DOS Stub
...

NT File Signature

Data Directory
.text SECTION #1
.data SECTION #2
.rsrc SECTION #3
qjdudpn SECTION #4
This malicious code is a 32-bit program that infects an EXE file. When the file is run or the file is loaded, the malicious code in the file is run first. Later, this malicious code also infects the following files:

• svchost.exe
• svchost.png.exe

Tip: There is something I must emphasize. The file names listed above are infected by malicious code. It does not mean that all files named by these names are malicious files. It is inaccurate to determine whether a file is a malicious program based on its file name.

The malicious code also infects files on the following path:

• c:\windows\system32\migwiz\replacementmanifests\windowssearchengine\
• c:\windows\syswow64\com\it-it\
• c:\windows\syswow64\oneroof\
• c:\windows\$hf_mig$\kb958470\sp2qfe\ger\
• c:\windows\resources\themes\led2\shell\corbel2\
Tip: The code of most malicious files is fixed, rarely changed, which means, this type of malicious files regardless of which computer they are in, will copy themselves into the pre-set path, so we can go to the path listed above to find this file, and there is a great chance to find it.
Are all the files with the same file name listed above and with the same path malicious files?
Of course not. The file name is just the identification of the file. Strictly speaking, the file is modified by malicious code.

The following are methods commonly used by malicious code in order to confuse users:

• Deliberately modify their own file name to some system file name, or some well-known software name.
• Generate malicious files in the system folder or in the installation folder of some well-known software, and even name their own folder with an antivirus software name (actually the user did not install this antivirus software). In fact, these malicious files are not system files, nor part of the famous software.

For example, one of the most common system file names is: explorer.exe, and under normal circumstances, the system only has an explorer.exe process. When you open the Task Manager and find that there are two or more explorer.exe processes, it is likely the camouflage of some malicious viruses. As shown in the following figure, there are two explorer.exe processes in Task Manager.

When I find the path where the file is located, it will be clear that the real explorer.exe system file is located under "C:\ Windows\", and the malicious file that pretends to be system process is under the other path.

The running status of the svchost.exe file that is infected with malicious code:
Take up memory 459K
Occupy CPU resources between 47% - 58%
Run the program with the Administrator permissions.
At runtime, 4 Windows system files, 0 external files (not owned by the Windows system), are called
Windows system files
• File name
• Number of calling functions
• 14
• KERNEL32.dll
• 36
• ntdll.dll
• 20
• RPCRT4.dll
• 9
• Not owned by the windows system
• File name
• Number of calling functions
• In general, the most accurate way to determine if a file is a malicious file is to analyze its code and see what happens when these functions are called while the program is running. Does it have malicious behavior (destroying data or stealing data)? I have listed the functions called by this file and some internal data, but there is too much data, I can't show them all here. →Click here← to see the full binary code analysis page.
svchost.exe runtime behavior analysis
The ADVAPI32.dll dynamic link library is loaded and the functions in the file are called: ( Advapi32.dll is part of a high-level API application interface service library that contains functions related to object security, registry manipulation, and event logging. It is generally located in the system directory: \WINDOWS\system32\ )
• RegQueryValueExW: Retrieves the data associated with the default or unnamed value of a specified registry key.
• GetTokenInformation: This function retrieves a specified type of information about an access token. The calling process must have appropriate access rights to obtain the information.
• OpenProcessToken: This function opens the access token associated with a process.
• RegOpenKeyExW: Opens the specified registry key. Note that key names are not case sensitive.
• The KERNEL32.dll dynamic link library is loaded and the functions in the file are called: ( Kernel32.dll is a very important 32-bit dynamic link library file in the Windows operating system. It is a kernel-level file. It controls the system's memory management, data input and output operations and interrupt handling. When the Windows operating system starts, kernel32.dll resides in a specific write-protected area of memory, so that other programs cannot occupy this memory area. )
• GetLastError: Retrieves the calling thread's last-error code value.
• GetCurrentProcess: Retrieves a pseudo handle for the current process.
• GetProcAddress: Retrieves the address of an exported function or variable from the specified dynamic-link library (DLL).
• ExitProcess: Ends the calling process and all its threads.
• SetErrorMode: Controls whether the system will handle the specified types of serious errors or whether the process will handle them.
• SetUnhandledExceptionFilter: Enables an application to supersede the top-level exception handler of each thread of a process.
• InterlockedCompareExchange: Performs an atomic compare-and-exchange operation on the specified values.
• LoadLibraryA: Loads the specified module into the address space of the calling process. The specified module may cause other modules to be loaded.
• QueryPerformanceCounter: Retrieves the current value of the performance counter, which is a high resolution (<1us) time stamp that can be used for time-interval measurements.
• GetTickCount: Retrieves the number of milliseconds that have elapsed since the system was started, up to 49.7 days.
• GetCurrentProcessId: Retrieves the process identifier of the calling process.
• GetSystemTimeAsFileTime: Retrieves the current system date and time. The information is in Coordinated Universal Time (UTC) format.
• TerminateProcess: Ends the calling process and all its threads.
• UnhandledExceptionFilter: An application-defined function that passes unhandled exceptions to the debugger, if the process is being debugged.
• The following files have been identified as malicious files. Some files are variants of svchost.exe; some files are another type of malicious file, but use the same file name as svchost.exe.

It is a simple and effective way to determine whether a file is a malicious file by a hash value, which has lower false detection rate than the "static signature" method. So, if the MD5 value of a file on the computer is the same as the MD5 value listed below, then it is sure that the file is a malicious file.

This is my analysis results to the code of each malicious below, mainly provided to industry professionals who engage in the maintenance of computer security. If you are interested, you can also have a view, but it may require certain computer knowledge.
• File Md5
• File Size
• File Bit
• File Type
• Binary Code Analysis

# How to repair or remove svchost.exe

Method 1: Manual Removal

• Reboot the system and then enter safe mode (Click here to see how each Windows version (XP/Vista/7/8/10) goes into safe mode)

• Open Task Manager and if svchost.exe is running, end this program.

• Show all hidden files.
Step: "My Computer" -> "Floder Options" ->"View" -> "Show hidden files, folders, and drives"

• Malicious code used to generate or infect files on the following paths, so you need to one by one go into the following path, and delete all files [  svchost.exe, csrss.exe, svchost.png.exe  ]

• c:\windows\system32\migwiz\replacementmanifests\windowssearchengine\
• c:\windows\syswow64\com\it-it\
• c:\windows\syswow64\oneroof\
• c:\windows\$hf_mig$\kb958470\sp2qfe\ger\
• c:\windows\resources\themes\led2\shell\corbel2\

Method 2: Automatic Removal Using Tools (Recommended)

This is free virus detection software, and it can be well compatible with many well-known anti-virus software, so users do not have to uninstall anti-virus software on the computer.

It is "environmentally friendly" for computers. After downloading, it can be used by decompression and without installation. In the process of running, it will not write any information to the registry, nor create any new files to the Windows folder of the system disk. When you do not need it, you can delete it. It will not leave any spam information on your computer.

When you find your operating system is abnormal, and the file name listed above appears in the Task Manager, or there are several processes in running with the same name as the core file name, it is best to download the anti-virus software to check your system.

# Online detection of svchost.exe

If you don't know if svchost.exe is infected with malicious code on your computer, you may also use online scan tool.

• Use the following online detection function to check the file.
• • Enter the file name, or file MD5, for the query.
• • You can also scan a file online. Click the "Upload File" button, and then click the "submit" button, to immediately detect whether the file is a virus. (Tip: The maximum size of the file uploaded cannot exceed 8MB)
• How do I use the T21 engine for online scanning?

T21 can detect unknown files online, mainly using "behavior-based" judgment mechanism. It is very simple to use T21.

1. Click the "Upload File" button, select the file you want to detect, and then click "Submit".
2. The next step is to wait for the system to check, which may take a little time, so please be patient.
3. When the T21 scan engine finishes detection, the test results are immediately fed back, as shown below:

• If you suspect that there are malicious files on your computer, but you cannot find where they are, or if you want to make a thorough check on your computer, you can download the automatic scanning tool.

If you want to know what kind of T21 system is, you can click here to view the introduction of T21. You can also go to the home page to read the original intention and philosophy of my development of T21 system.

Other captured malicious files:
counerlybecapy.dll file analysis
swinit.exe file analysis
rundll32.exe file analysis
ktpop3.exe file analysis
vacipbommggpvaqxyllshojxydxfdsjj.back file analysis
ckewisreasise.dll file analysis
ocl_cpu___ocl_svml_n8.dll file analysis
ocl_cpu_clang_compiler32.dll file analysis
igdfcl32.dll file analysis
Copyright statement: The above data is obtained by my analysis, and without authorization, you may not copy or reprint it.

Name *

Email

ToolBar: