Analysis

  • max time kernel
    148s
  • max time network
    149s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20231215-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20231215-enlocale:en-usos:windows10-2004-x64system
  • submitted
    29/12/2023, 22:05

General

  • Target
    0525c45598e788b467687fdd0685f3ec.exe
  • Size 13.3MB
  • Sample231229-1zzvcaafgn
  • SHA256 15ea9633ebefcd0ff1de7ca53915f940e98fde85c3621124f3798dabb80b04ba
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • tofsee

C2
  • defeatwax.ru

  • refabyd.info

Signatures

  • Tofsee

    Backdoor/botnet which carries out malicious activities based on commands from a C2 server.

  • Creates new service(s) 1 TTPs
  • Modifies Windows Firewall 1 TTPs 1 IoCs
  • Sets service image path in registry 2 TTPs 1 IoCs
  • Checks computer location settings 2 TTPs 1 IoCs

    Looks up country code configured in the registry, likely geofence.

  • Executes dropped EXE 1 IoCs
  • Suspicious use of SetThreadContext 1 IoCs
  • Launches sc.exe 3 IoCs

    Sc.exe is a Windows utlilty to control services on the system.

  • Enumerates physical storage devices 1 TTPs

    Attempts to interact with connected storage/optical drive(s).

  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\0525c45598e788b467687fdd0685f3ec.exe
    "C:\Users\Admin\AppData\Local\Temp\0525c45598e788b467687fdd0685f3ec.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:4016
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\yllmrlv\
      2⤵
        PID:1224
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\vqfpuzrp.exe" C:\Windows\SysWOW64\yllmrlv\
        2⤵
          PID:2916
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create yllmrlv binPath= "C:\Windows\SysWOW64\yllmrlv\vqfpuzrp.exe /d\"C:\Users\Admin\AppData\Local\Temp\0525c45598e788b467687fdd0685f3ec.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:4080
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description yllmrlv "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:1796
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start yllmrlv
          2⤵
          • Launches sc.exe
          PID:1888
        • C:\Windows\SysWOW64\netsh.exe
          "C:\Windows\System32\netsh.exe" advfirewall firewall add rule name="Host-process for services of Windows" dir=in action=allow program="C:\Windows\SysWOW64\svchost.exe" enable=yes>nul
          2⤵
          • Modifies Windows Firewall
          PID:3252
      • C:\Windows\SysWOW64\yllmrlv\vqfpuzrp.exe
        C:\Windows\SysWOW64\yllmrlv\vqfpuzrp.exe /d"C:\Users\Admin\AppData\Local\Temp\0525c45598e788b467687fdd0685f3ec.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:4516
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          PID:4128

      Network

            MITRE ATT&CK Enterprise v15

            Replay Monitor

            Loading Replay Monitor...

            Downloads

            vqfpuzrp.exe

            • Path C:\Users\Admin\AppData\Local\Temp\vqfpuzrp.exe
            • Size 93KB
            • SHA256 3002e954facfcfbb0d1d1bf380d07f8898ad21674b4768dcfc9805f08892a154
            • MD5 SHA1 SHA512 SSDEEP

            memory/4016-14-0x0000000000400000-0x000000000046E000-memory.dmp

            memory/4016-3-0x0000000000400000-0x000000000046E000-memory.dmp

            memory/4016-1-0x0000000000580000-0x0000000000680000-memory.dmp

            memory/4016-23-0x0000000000580000-0x0000000000680000-memory.dmp

            memory/4016-2-0x0000000000540000-0x0000000000553000-memory.dmp

            memory/4128-15-0x0000000000D90000-0x0000000000DA5000-memory.dmp

            memory/4128-13-0x0000000000D90000-0x0000000000DA5000-memory.dmp

            memory/4128-10-0x0000000000D90000-0x0000000000DA5000-memory.dmp

            memory/4128-16-0x0000000000D90000-0x0000000000DA5000-memory.dmp

            memory/4128-25-0x0000000000D90000-0x0000000000DA5000-memory.dmp

            memory/4516-9-0x0000000000400000-0x000000000046E000-memory.dmp

            memory/4516-17-0x0000000000400000-0x000000000046E000-memory.dmp

            memory/4516-21-0x0000000000D30000-0x0000000000D43000-memory.dmp

            memory/4516-8-0x0000000000690000-0x0000000000790000-memory.dmp