Ransom.Win32.BITPAYMER.TGACAN


 ALIASES:

Ransom:Win32/Bitpaymer.SA!MSR (Microsoft); RDN/Generic.rp (McAfee); Trojan.Win32.DelShad.bjz (Kaspersky)

 PLATFORM:

Windows

 OVERALL RISK RATING:
 DAMAGE POTENTIAL:
 REPORTED INFECTION:

  • Threat Type: Ransomware

  • Destructiveness: No

  • Encrypted:

  • In the wild: Yes

  OVERVIEW


This Ransomware arrives on a system as a file dropped by other malware or as a file downloaded unknowingly by users when visiting malicious sites.

It deletes itself after execution.

  TECHNICAL DETAILS

File Size:

139,264 bytes

File Type:

EXE

Memory Resident:

Yes

Initial Samples Received Date:

09 Nov 2019

Arrival Details

This Ransomware arrives on a system as a file dropped by other malware or as a file downloaded unknowingly by users when visiting malicious sites.

Installation

This Ransomware drops the following copies of itself into the affected system:

  • %Application Data%\GCH53G~1:bin
  • %Application Data%\EjbX1Pr:bin
  • %Windows%\ehome\ehrecvr.exe

(Note: %Application Data% is the current user's Application Data folder, which is usually C:\Documents and Settings\{user name}\Application Data on Windows 2000(32-bit), XP, and Server 2003(32-bit), or C:\Users\{user name}\AppData\Roaming on Windows Vista, 7, 8, 8.1, 2008(64-bit), 2012(64-bit) and 10(64-bit).. %Windows% is the Windows folder, where it usually is C:\Windows on all Windows operating system versions.)

It adds the following processes:

  • %Application Data%\EjbX1Pr:bin %User Temp%\18D11E~1.EXE
  • %System%\vssadmin.exe Delete Shadows /All /Quiet
  • %System%\diskshadow.exe /s %User Temp%\fiEABB.tmp
  • %System%\takeown.exe /F %System%\wbem\WmiApSrv.exe
  • %System%\icacls.exe %System%\wbem\WmiApSrv.exe /reset
  • %System%\takeown.exe /F %System%\SearchIndexer.exe
  • %System%\icacls.exe %System%\SearchIndexer.exe /reset
  • %System%\takeown.exe /F %Windows%\ehome\ehRecvr.exe
  • %System%\icacls.exe %Windows%\ehome\ehRecvr.exe /reset
  • %Windows%\ehome\ehRecvr.exe
  • %Application Data%\GCH53G~1:bin
  • %System%\diskshadow.exe /s %Windows%\TEMP\bZ94BCE.tmp
  • %System%\arp.exe -a
  • %System%\nslookup.exe 192.168.45.1
  • %System%\nslookup.exe 192.168.45.2
  • %System%\nslookup.exe 192.168.45.255
  • %System%\nslookup.exe 224.0.0.22
  • %System%\nslookup.exe 224.0.0.252
  • %System%\nslookup.exe 239.255.255.250
  • %System%\net.exe view igmp.mcast.net

(Note: %User Temp% is the current user's Temp folder, which is usually C:\Documents and Settings\{user name}\Local Settings\Temp on Windows 2000(32-bit), XP, and Server 2003(32-bit), or C:\Users\{user name}\AppData\Local\Temp on Windows Vista, 7, 8, 8.1, 2008(64-bit), 2012(64-bit) and 10(64-bit).. %System% is the Windows system folder, where it usually is C:\Windows\System32 on all Windows operating system versions.. %Windows% is the Windows folder, where it usually is C:\Windows on all Windows operating system versions.)

Autostart Technique

This Ransomware registers itself as a system service to ensure its automatic execution at every system startup by adding the following registry entries:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
services\wmiApSrv
ImagePath = "%System%\wbem\WmiApSrv.exe"

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
services\WSearch
ImagePath = "%System%\SearchIndexer.exe /Embedding"

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
services\WSearch
ImagePath = "%System%\SearchIndexer.exe"

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
services\ehRecvr
ImagePath = "%Windows%\ehome\ehRecvr.exe"

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
services\ehRecvr
ImagePath = "%Windows%\ehome\ehRecvr.exe"

Other System Modifications

This Ransomware modifies the following file(s):

  • %Windows%\Temp\JG97C9.tmp
  • %Windows%\Temp\qBa9AD8.tmp
  • %Windows%\Temp\Wh8397.tmp
  • %Windows%\Temp\bZ94BCE.tmp
  • %Windows%\Temp\ZQs8DB7.tmp
  • %Windows%\Temp\F53FA.tmp
  • %Windows%\Temp\L97CA.tmp
  • %Windows%\Temp\YM38398.tmp

(Note: %Windows% is the Windows folder, where it usually is C:\Windows on all Windows operating system versions.)

It adds the following registry entries:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
services\wmiApSrv
RequiredPrivileges = "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
services\wmiApSrv
RequiredPrivileges = ""

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
services\wmiApSrv
ObjectName = "localSystem"

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
services\wmiApSrv
DependOnService = ""

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
services\WSearch
RequiredPrivileges = "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
services\WSearch
RequiredPrivileges = "\x00\x00\x00\x00\x00\x00"

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
services\WSearch
ObjectName = "LocalSystem"

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
services\WSearch
ObjectName = "LocalSystem"

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
services\WSearch
DependOnService = "rpcss"

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
services\WSearch
DependOnService = "RPCSS"

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
services\ehRecvr
RequiredPrivileges = "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
services\ehRecvr
RequiredPrivileges = "\x00\x00\x00"

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
services\ehRecvr
ObjectName = "LocalSystem"

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
services\ehRecvr
ObjectName = "NT AUTHORITY\networkService"

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
services\ehRecvr
DependOnService = "rpcss"

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
services\ehRecvr
DependOnService = "RPCSS"

It modifies the following registry entries:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
services\wmiApSrv
ObjectName = "LocalSystem"

(Note: The default value data of the said registry entry is LocalSystem.)

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
services\wmiApSrv
DependOnService = "rpcss"

(Note: The default value data of the said registry entry is {random values}.)

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
services\wmiApSrv
ImagePath = "%System%\wbem\WmiApSrv.exe"

(Note: The default value data of the said registry entry is {random values}.)

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
RFC1156Agent\CurrentVersion\Parameters
TrapPollTimeMilliSecs = "15000"

(Note: The default value data of the said registry entry is 3a98.)

Dropping Routine

This Ransomware drops the following files:

  • %Windows%\Temp\g8DB8.tmp
  • %Windows%\Temp\Ao2824F.tmp
  • %Windows%\Temp\qBa9AD8.tmp
  • %Windows%\ehome\ehRecvr.exe:0
  • %Windows%\Temp\bZ94BCE.tmp
  • %Windows%\Temp\Nv53FB.tmp
  • %Windows%\Temp\AfW71B9.tmp
  • %Windows%\Temp\gP0824E.tmp
  • %Windows%\Temp\L97CA.tmp
  • %Windows%\Temp\q9058.tmp
  • %Application Data%\GCH53G~1
  • %Application Data%\EjbX1Pr
  • %Windows%\Temp\JG97C9.tmp
  • %Windows%\Temp\Wh8397.tmp
  • %Application Data%\gch53ggbCCQwUx6
  • %Windows%\Temp\ZQs8DB7.tmp
  • %Windows%\Temp\C71B8.tmp
  • %Windows%\Temp\t9AD7.tmp
  • %Windows%\Temp\F53FA.tmp
  • %Windows%\Temp\a9068.tmp
  • %Windows%\Temp\YM38398.tmp

(Note: %Windows% is the Windows folder, where it usually is C:\Windows on all Windows operating system versions.. %Application Data% is the current user's Application Data folder, which is usually C:\Documents and Settings\{user name}\Application Data on Windows 2000(32-bit), XP, and Server 2003(32-bit), or C:\Users\{user name}\AppData\Roaming on Windows Vista, 7, 8, 8.1, 2008(64-bit), 2012(64-bit) and 10(64-bit).)

Other Details

This Ransomware connects to the following possibly malicious URL:

  • http://255.{BLOCKED}5.168.192.in-addr.arpa
  • http://22.{BLOCKED}0.{BLOCKED}0.224.in-addr.arpa
  • http://250.{BLOCKED}5.{BLOCKED}5.239.in-addr.arpa

It deletes itself after execution.

This report is generated via an automated analysis system.

  SOLUTION

Minimum Scan Engine:

9.850

Step 1

Before doing any scans, Windows 7, Windows 8, Windows 8.1, and Windows 10 users must disable System Restore to allow full scanning of their computers.

Step 2

Identify and terminate files detected as Ransom.Win32.BITPAYMER.TGACAN

[ Learn More ]
  1. Windows Task Manager may not display all running processes. In this case, please use a third-party process viewer, preferably Process Explorer, to terminate the malware/grayware/spyware file. You may download the said tool here.
  2. If the detected file is displayed in either Windows Task Manager or Process Explorer but you cannot delete it, restart your computer in safe mode. To do this, refer to this link for the complete steps.
  3. If the detected file is not displayed in either Windows Task Manager or Process Explorer, continue doing the next steps.

Step 3

Delete this registry value

[ Learn More ]

Important: Editing the Windows Registry incorrectly can lead to irreversible system malfunction. Please do this step only if you know how or you can ask assistance from your system administrator. Else, check this Microsoft article first before modifying your computer's registry.

  • In HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\wmiApSrv
    • RequiredPrivileges = "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
  • In HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\wmiApSrv
    • RequiredPrivileges = ""
  • In HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\wmiApSrv
    • ObjectName = "localSystem"
  • In HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\wmiApSrv
    • DependOnService = ""
  • In HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\WSearch
    • RequiredPrivileges = "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
  • In HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\WSearch
    • RequiredPrivileges = "\x00\x00\x00\x00\x00\x00"
  • In HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\WSearch
    • ObjectName = "LocalSystem"
  • In HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\WSearch
    • ObjectName = "LocalSystem"
  • In HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\WSearch
    • DependOnService = "rpcss"
  • In HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\WSearch
    • DependOnService = "RPCSS"
  • In HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\ehRecvr
    • RequiredPrivileges = "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
  • In HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\ehRecvr
    • RequiredPrivileges = "\x00\x00\x00"
  • In HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\ehRecvr
    • ObjectName = "LocalSystem"
  • In HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\ehRecvr
    • ObjectName = "NT AUTHORITY\networkService"
  • In HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\ehRecvr
    • DependOnService = "rpcss"
  • In HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\ehRecvr
    • DependOnService = "RPCSS"

Step 4

Restore these modified registry values

[ Learn More ]

Important:Editing the Windows Registry incorrectly can lead to irreversible system malfunction. Please do this only if you know how to or you can seek your system administrator's help. You may also check out this Microsoft article first before modifying your computer's registry.

  • In HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\wmiApSrv
    • From: ObjectName = "LocalSystem"
      To: ObjectName = ""LocalSystem""
  • In HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\wmiApSrv
    • From: DependOnService = "rpcss"
      To: DependOnService = ""{random values}""
  • In HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\wmiApSrv
    • From: ImagePath = "%System%\wbem\WmiApSrv.exe"
      To: ImagePath = ""{random values}""
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\RFC1156Agent\CurrentVersion\Parameters
    • From: TrapPollTimeMilliSecs = "15000"
      To: TrapPollTimeMilliSecs = ""3a98""

Step 5

Search and delete these components

[ Learn More ]
There may be some components that are hidden. Please make sure you check the Search Hidden Files and Folders checkbox in the "More advanced options" option to include all hidden files and folders in the search result.
  • %Windows%\Temp\g8DB8.tmp
  • %Windows%\Temp\Ao2824F.tmp
  • %Windows%\Temp\qBa9AD8.tmp
  • %Windows%\ehome\ehRecvr.exe:0
  • %Windows%\Temp\bZ94BCE.tmp
  • %Windows%\Temp\Nv53FB.tmp
  • %Windows%\Temp\AfW71B9.tmp
  • %Windows%\Temp\gP0824E.tmp
  • %Windows%\Temp\L97CA.tmp
  • %Windows%\Temp\q9058.tmp
  • %Application Data%\GCH53G~1
  • %Application Data%\EjbX1Pr
  • %Windows%\Temp\JG97C9.tmp
  • %Windows%\Temp\Wh8397.tmp
  • %Application Data%\gch53ggbCCQwUx6
  • %Windows%\Temp\ZQs8DB7.tmp
  • %Windows%\Temp\C71B8.tmp
  • %Windows%\Temp\t9AD7.tmp
  • %Windows%\Temp\F53FA.tmp
  • %Windows%\Temp\a9068.tmp
  • %Windows%\Temp\YM38398.tmp

Step 6

Scan your computer with your Trend Micro product to delete files detected as Ransom.Win32.BITPAYMER.TGACAN. If the detected files have already been cleaned, deleted, or quarantined by your Trend Micro product, no further step is required. You may opt to simply delete the quarantined files. Please check the following Trend Micro Support pages for more information:

Step 7

Restore encrypted files from backup.

Step 8

Restore deleted/modified files and/or registry entries from backup

*Note: Only Microsoft-related files/keys/values will be restored. If this malware/grayware also deleted registry keys/values related to programs that are not from Microsoft, please reinstall those programs on your computer.

    • %Windows%\Temp\JG97C9.tmp
    • %Windows%\Temp\qBa9AD8.tmp
    • %Windows%\Temp\Wh8397.tmp
    • %Windows%\Temp\bZ94BCE.tmp
    • %Windows%\Temp\ZQs8DB7.tmp
    • %Windows%\Temp\F53FA.tmp
    • %Windows%\Temp\L97CA.tmp
    • %Windows%\Temp\YM38398.tmp


Did this description help? Tell us how we did.