• Home
  • Blog
  • Online Scan
  • Update History
  • Online Scan: Analyze knsc689.tmp file and fix runtime errors, Fix System Error
    Welcome to my blog. I found a malicious code that was added into the knsc689.tmp file. Due to infection by malicious code, the file contents changed. The MD5 value of the infected file is: e85b459c57091d88d4fbeb47c7c82878, and the file size is: 311 K ( 318,976 bytes )
    Risk level of malicious code
     
     
     
     
     
    ( 3 stars by 128 users )
    Behavior of malicious code ( 242 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
    14.88% (36)
    2. Intentionally destroy data
    11.16% (27)
    3. Steal personal privacy
    14.88% (36)
    4. Infect other computers through the Internet
    11.98% (29)
    5. Install the backdoor program so that the computer is controlled remotely
    13.22% (32)
    6. Cheat or threaten users to buy something
    8.68% (21)
    7. Download and install other programs without permission in the background
    9.92% (24)
    8. Pop up various advertisements and induce users to click
    15.29% (37)
    Binary Code Analysis:
    When the program runs, the PE loader will try to load the file to 0x00400000 in the virtual address space, Address Of Entry Point: 0x00018165. This file has 7 SECTION.
    DOS Header
    DOS Stub
    ...
     
    NT File Signature
    NT HEADER
    FILE HEADER
     
    OPTIONAL HEADER
    Data Directory
    .text SECTION #1
    .rdata SECTION #2
    .data SECTION #3
    .gfids SECTION #4
    .tls SECTION #5
    .rsrc SECTION #6
    .reloc SECTION #7
    About this malicious code
    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:

    • knsc689.tmp
    • kns5ea0.tmp

    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:\program files\53983e7e-ee42-4f90-bce9-57c20e6574661489752190\
    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 knsc689.tmp file that is infected with malicious code:
    knsc689.tmp running statusTake up memory 994K
    Occupy CPU resources between 42% - 57%
    Run the program with the Administrator permissions.
    At runtime, 8 Windows system files, 0 external files (not owned by the Windows system), are called
    Windows system files
  • File name
  • Number of calling functions
  • WININET.dll
  • 8
  • WINHTTP.dll
  • 1
  • USERENV.dll
  • 2
  • WTSAPI32.dll
  • 4
  • KERNEL32.dll
  • 102
  • CRYPT32.dll
  • 2
  • SHLWAPI.dll
  • 2
  • ADVAPI32.dll
  • 23
  • 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.
    knsc689.tmp runtime behavior analysis
    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. )
  • WaitForSingleObject: Waits until the specified object is in the signaled state or the time-out interval elapses.
  • CreateThread: Creates a thread to execute within the virtual address space of the calling process.
  • VerSetConditionMask: Sets the bits of a 64-bit value to indicate the comparison operator to use for a specified operating system version attribute.
  • SetErrorMode: Controls whether the system will handle the specified types of serious errors or whether the process will handle them.
  • GetSystemInfo: Retrieves information about the current system.
  • GetProcAddress: Retrieves the address of an exported function or variable from the specified dynamic-link library (DLL).
  • LoadLibraryW: Loads the specified module into the address space of the calling process. The specified module may cause other modules to be loaded.
  • VerifyVersionInfoW: Compares a set of operating system version requirements to the corresponding values for the currently running version of the system. This function is subject to manifest-based behavior. For more information, see the Remarks section.
  • SetEvent: Sets the specified event object to the signaled state.
  • CreateEventW: Creates or opens a named or unnamed event object and returns a handle to the object.
  • GetTickCount: Retrieves the number of milliseconds that have elapsed since the system was started, up to 49.7 days.
  • GetModuleFileNameW: Retrieves the fully qualified path for the file that contains the specified module.
  • GetLastError: Retrieves the calling thread's last-error code value.
  • WriteConsoleW: Writes a character string to a console screen buffer beginning at the current cursor location.
  • GetEnvironmentStringsW: Retrieves the environment variables for the current process.
  • FreeEnvironmentStringsW: Frees a block of environment strings.
  • GetConsoleMode: Retrieves the current input mode of a console's input buffer or the current output mode of a console screen buffer.
  • FlushFileBuffers: Flushes the buffers of a specified file and causes all buffered data to be written to a file.
  • 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.
  • TlsAlloc: Allocates a thread local storage (TLS) index. Any thread of the process can subsequently use this index to store and retrieve values that are local to the thread, because each thread receives its own slot for the index.
  • TlsGetValue: Retrieves the value in the calling thread's thread local storage (TLS) slot for the specified TLS index. Each thread of a process has its own slot for each TLS index.
  • TlsSetValue: Stores a value in the calling thread's thread local storage (TLS) slot for the specified TLS index. Each thread of a process has its own slot for each TLS index.
  • GetSystemTimeAsFileTime: Retrieves the current system date and time. The information is in Coordinated Universal Time (UTC) format.
  • GetModuleHandleW: Retrieves a module handle for the specified module. The module must have been loaded by the calling process.
  • IsDebuggerPresent: Determines whether the calling process is being debugged by a user-mode debugger.
  • UnhandledExceptionFilter: An application-defined function that passes unhandled exceptions to the debugger, if the process is being debugged.
  • SetUnhandledExceptionFilter: Enables an application to supersede the top-level exception handler of each thread of a process.
  • GetStartupInfoW: Retrieves the contents of the STARTUPINFO structure that was specified when the calling process was created.
  • GetCurrentProcessId: Retrieves the process identifier of the calling process.
  • GetCurrentThreadId: Retrieves the thread identifier of the calling thread.
  • GetCurrentProcess: Retrieves a pseudo handle for the current process.
  • TerminateProcess: Ends the calling process and all its threads.
  • RtlUnwind: Initiates an unwind of procedure call frames.
  • ExitProcess: Ends the calling process and all its threads.
  • GetModuleHandleExW: Retrieves a module handle for the specified module. The module must have been loaded by the calling process.
  • GetStdHandle: Retrieves a handle to the specified standard device (standard input, standard output, or standard error).
  • 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\ )
  • 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.
  • RegQueryValueExW: Retrieves the data associated with the default or unnamed value of a specified registry key.
  • RegOpenKeyExW: Opens the specified registry key. Note that key names are not case sensitive.
  • The following files have been identified as malicious files. Some files are variants of knsc689.tmp; some files are another type of malicious file, but use the same file name as knsc689.tmp.

    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 knsc689.tmp

    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 knsc689.tmp is running, end this program.
    knsc689.tmp running status

    • 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 [  knsc689.tmp, kns5ea0.tmp  ]

    • c:\program files\53983e7e-ee42-4f90-bce9-57c20e6574661489752190\

    • Finally, restart your computer.

    Method 2: Automatic Removal Using Tools (Recommended)

    1. Download Removal Tool

    2. Save it into your computer and install it step by step.

    3. During the installation process, the user interface is available in multiple languages and is easy to use.

    4. The installation process is an online installation, so after the installation is complete, the software version and virus database are up-to-date.

    5. After the installation is complete, run the antivirus software and click the "Scan Computer Now!" button to scan the whole system.

    6. Tick "Select all" and then Remove to delete all threats. Reboot 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 knsc689.tmp

    If you don't know if knsc689.tmp 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:
    ckewisreasise.dll file analysis
    contentpush.exe file analysis
    kns5ea0.tmp file analysis
    pro367b.tmp file analysis
    pro5aaa.tmp file analysis
    pro9e37.tmp file analysis
    dopdf.exe file analysis
    intel_opencl_icd32.dll file analysis
    ocl_cpu_intelopencl32.dll file analysis
    Copyright statement: The above data is obtained by my analysis, and without authorization, you may not copy or reprint it.
    Leave a Reply

    Your email address will not be published. Required fields are marked *
    If you need help, please leave a message, try to match the picture, and I will reply as soon as possible to each question.

    Name *

    Email

      Comment
      ToolBar:
    Preview, Read Only, Click here Edit Post.

    Copyright © 2016-2019 mygoodtools.com All rights reserved.