Skip to main content

Worm:W32/Morto.A

Classification

Category:

Malware

Type:

Worm

Aliases:

  • Morto
  • Morto.A
  • Net-worm.win32.morto
  • Net-worm.win32.morto.
  • Net-worm.win32.morto.l

Summary

Worm:W32/Morto.A propagates through Remote Desktop Services on Windows servers by brute-forcing the login credentials of the server.

Removal

Technical Details

Worm:W32/Morto.A can be viewed as having three components: the dropper, the loader, and the payload.

The Dropper

Upon execution, it sets the data of the registry value HKLM\SYSTEM\WPA\ie to its own full path, then deletes the registry key, HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\RunMRU.

It then saves a copy of the embedded encrypted data to the registry value, HKLM\System\Wpa\md. This encrypted data is actually the payload of the malware.

It then drops a DLL component in the Windows directory named clb.dll (which is the loader) and executes regedit in the Windows run command, then terminates.

The Loader

The clb.dll or the loader gets triggered when the regedit command was executed. This happens because regedit normally loads a normal Windows DLL component from the %systemdir% folder named clb.dll. Due to the nature of the Windows DLL loading mechanism, the clb.dll file that was dropped by the malware in the Windows directory gets loaded instead of the one in the %systemdir% directory.

As it is the malicious DLL that gets loaded, the regedit command does not show any graphic user interface (GUI) as it normally does. It decrypts and loads the encrypted payload saved at HKLM\System\Wpa\md registry value. This is when the payload takes control.

It renames clb.dll to clb.dllbak so regedit will execute as normal and will not appear to be suspicious to the user.

When the loader is triggered by rundll32.exe, it tries to read the following file-like objects: \\tsclient\a\moto and \\tsclient\a\RIR1.

The malware also does the following modifications:

Adds files

  • C:\WINDOWS\Offline Web Pages\cache.txt
  • C:\WINDOWS\Offline Web Pages\<Date> <ID>
  • C:\WINDOWS\system32\Sens32.dll - (Overwritten with malware file)
  • C:\WINDOWS\Temp\ntshrui.dll

Adds Registries

  • HKEY_LOCAL_MACHINE\SYSTEM\WPA
  • HKLM\SYSTEM\CurrentControlSet\Control\Windows\NoPopUpsOnBoot
  • HKLM\System\CurrentControlSet\Services\FastUserSwitchingCompatibility\Parameters

Modifies Registries

  • HKLM\SYSTEM\CurrentControlSet\Services\SENS\DependOnService
  • HKLM\SYSTEM\CurrentControlSet\Services\SENS\Group
  • HKLM\SYSTEM\CurrentControlSet\Services\SENS\Parameters

The Payload

The payload contains the worm propagation routine and infect other system using exposed Remote Desktop Protocol (RDP) Services. It will brute force the administrator login using hardcoded password list and proceed with infection after the successful login is achieved.

It does this to the computers connected to the local subnet and publicly exposed RDP services in the internet.

Embedded passwords

  • !@#$%
  • %u%12
  • *1234
  • 000000
  • 111
  • 1111
  • 111111
  • 123
  • 123123
  • 123321
  • 12345
  • 123456
  • 1234567
  • 12345678
  • 123456789
  • 1234567890
  • 1234qwer
  • 168168
  • 1q2w3e
  • 1qaz2wsx
  • 369
  • 520520
  • 654321
  • 666666
  • 888888
  • aaa
  • abc123
  • abcd1234
  • admin
  • admin123
  • letmein
  • pass
  • password
  • server
  • test
  • user

On successful login, it will attempt to copy and execute the loader component and a registry file to the server, with the names \\tsclient\a\a.dll and \\tsclient\a\r.reg, respectively.

The registry file contains these entries:

Windows Registry Editor Version 5.00

  • [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System]
  • [HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers]

Note: <Drive_letter> consists of "C" to "I" drive. eg: C:, D:.

Since the loader is expecting rundll32.exe to trigger itself, this seems to give the rundll32.exe Administrator rights, as well as the loader.

The malware also monitors processes related to antivirus and security software and terminates them if the following strings are found:

  • 360rp
  • a2service
  • ACAAS
  • ArcaConfSV
  • AvastSvc
  • avguard
  • avgwdsvc
  • avpmapp
  • ccSvcHst
  • cmdagent
  • coreServiceShell
  • FortiScand
  • FPAVServer
  • freshclam
  • fsdfwd
  • GDFwSvc
  • K7RTScan
  • knsdave
  • KVSrvXP
  • kxescore
  • mcshield
  • MPSvc
  • MsMpEng
  • NSESVC.EXE
  • PavFnSvr
  • RavMonD
  • SavService
  • scanwscs
  • SpySweeper
  • Vba32Ldr
  • vsserv
  • zhudongfangyu

The malware also attempts to communicate to:

  • ss.qfsl[.]net
  • test.qfsl[.]net:1031
  • 74.125.71[.]104:80
  • ms.jifr[.]co.be

Protect your devices from malware with F‑Secure Total

Protecting your devices from malicious software is essential for maintaining online security. F‑Secure Total makes this easy, helping you to secure your devices in a brilliantly simple way.

  • Award‑winning antivirus and malware protection

  • Online browsing, banking, and shopping protection

  • 24/7 online identity and data breach monitoring

  • Unlimited VPN service to safe­guard your privacy

  • Password manager with private data protection

Choose how many devices you want to protect to get started.

  • Free customer support

  • Cancel anytime

  • The trial does not obligate you to buy the product

After 30 days your subscription will renew automatically for one year at €69.99.

More Support

Community

Ask questions in our Community.

User guides

Check the user guide for instructions.

Contact Support

Chat with with or call an agent.

Submit a Sample

Submit a file or URL for analysis.