Analysis

  • max time kernel
    148s
  • max time network
    158s
  • 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, 20:31

General

  • Target
    0336c926f2f7d19338895e234b2eceac.exe
  • Size 12.1MB
  • Sample231229-za5hvsgca3
  • SHA256 8ea2b0614c9be2a43e43043cf1ffab9ffc209521a47483f80ddd3fadf09b24fd
  • 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\0336c926f2f7d19338895e234b2eceac.exe
    "C:\Users\Admin\AppData\Local\Temp\0336c926f2f7d19338895e234b2eceac.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:2540
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\kofvydpi\
      2⤵
        PID:1372
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\lccvlklz.exe" C:\Windows\SysWOW64\kofvydpi\
        2⤵
          PID:1512
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create kofvydpi binPath= "C:\Windows\SysWOW64\kofvydpi\lccvlklz.exe /d\"C:\Users\Admin\AppData\Local\Temp\0336c926f2f7d19338895e234b2eceac.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:5004
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description kofvydpi "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:2636
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start kofvydpi
          2⤵
          • Launches sc.exe
          PID:1904
        • 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:3648
      • C:\Windows\SysWOW64\kofvydpi\lccvlklz.exe
        C:\Windows\SysWOW64\kofvydpi\lccvlklz.exe /d"C:\Users\Admin\AppData\Local\Temp\0336c926f2f7d19338895e234b2eceac.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:4020
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          PID:2872

      Network

            MITRE ATT&CK Enterprise v15

            Replay Monitor

            Loading Replay Monitor...

            Downloads

            lccvlklz.exe

            • Path C:\Users\Admin\AppData\Local\Temp\lccvlklz.exe
            • Size 13.6MB
            • SHA256 513f34335f65a3649b83b6080de9eafb0de67cfcdd924565114caf7ea3c0feda
            • MD5 SHA1 SHA512 SSDEEP

            memory/2540-15-0x0000000000400000-0x000000000046E000-memory.dmp

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

            memory/2540-2-0x0000000002070000-0x0000000002083000-memory.dmp

            memory/2540-22-0x00000000004B0000-0x00000000005B0000-memory.dmp

            memory/2540-1-0x00000000004B0000-0x00000000005B0000-memory.dmp

            memory/2872-14-0x00000000012B0000-0x00000000012C5000-memory.dmp

            memory/2872-11-0x00000000012B0000-0x00000000012C5000-memory.dmp

            memory/2872-16-0x00000000012B0000-0x00000000012C5000-memory.dmp

            memory/2872-17-0x00000000012B0000-0x00000000012C5000-memory.dmp

            memory/2872-26-0x00000000012B0000-0x00000000012C5000-memory.dmp

            memory/4020-9-0x00000000006E0000-0x00000000006F3000-memory.dmp

            memory/4020-10-0x0000000000400000-0x000000000046E000-memory.dmp

            memory/4020-19-0x0000000000400000-0x000000000046E000-memory.dmp

            memory/4020-8-0x0000000000770000-0x0000000000870000-memory.dmp