Analysis

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

    arch:x64arch:x86image:win10v2004-20231215-enlocale:en-usos:windows10-2004-x64system
  • submitted
    30/12/2023, 02:43

General

  • Target
    0c0f69661eb5becb5318bb41e2ad65ef.exe
  • Size 14.2MB
  • Sample231230-c716dahcd8
  • SHA256 a454169bb25a19e29b67c899b5c1817a19a33767d57a2f256fbd81482859009b
  • 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.

  • Deletes itself 1 IoCs
  • 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).

  • Program crash 2 IoCs
  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\0c0f69661eb5becb5318bb41e2ad65ef.exe
    "C:\Users\Admin\AppData\Local\Temp\0c0f69661eb5becb5318bb41e2ad65ef.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:4144
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\vjoisxvq\
      2⤵
        PID:4320
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\kcltqdpj.exe" C:\Windows\SysWOW64\vjoisxvq\
        2⤵
          PID:2252
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create vjoisxvq binPath= "C:\Windows\SysWOW64\vjoisxvq\kcltqdpj.exe /d\"C:\Users\Admin\AppData\Local\Temp\0c0f69661eb5becb5318bb41e2ad65ef.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:544
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description vjoisxvq "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:4016
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start vjoisxvq
          2⤵
          • Launches sc.exe
          PID:3620
        • 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:2100
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 4144 -s 1180
          2⤵
          • Program crash
          PID:3508
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 432 -p 4144 -ip 4144
        1⤵
          PID:4520
        • C:\Windows\SysWOW64\vjoisxvq\kcltqdpj.exe
          C:\Windows\SysWOW64\vjoisxvq\kcltqdpj.exe /d"C:\Users\Admin\AppData\Local\Temp\0c0f69661eb5becb5318bb41e2ad65ef.exe"
          1⤵
          • Executes dropped EXE
          • Suspicious use of SetThreadContext
          • Suspicious use of WriteProcessMemory
          PID:3312
          • C:\Windows\SysWOW64\svchost.exe
            svchost.exe
            2⤵
            • Sets service image path in registry
            • Deletes itself
            PID:4684
          • C:\Windows\SysWOW64\WerFault.exe
            C:\Windows\SysWOW64\WerFault.exe -u -p 3312 -s 516
            2⤵
            • Program crash
            PID:3544
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 512 -p 3312 -ip 3312
          1⤵
            PID:2896

          Network

                MITRE ATT&CK Enterprise v15

                Replay Monitor

                Loading Replay Monitor...

                Downloads

                kcltqdpj.exe

                • Path C:\Users\Admin\AppData\Local\Temp\kcltqdpj.exe
                • Size 10.0MB
                • SHA256 634e7d1b8911b35ab7bc8a8ce509f729dc1cd36427ec7c5a49e93f003f994957
                • MD5 SHA1 SHA512 SSDEEP

                memory/3312-24-0x0000000000400000-0x000000000046D000-memory.dmp

                memory/3312-19-0x0000000000400000-0x000000000046D000-memory.dmp

                memory/3312-18-0x00000000005B0000-0x00000000006B0000-memory.dmp

                memory/4144-5-0x0000000000400000-0x000000000046D000-memory.dmp

                memory/4144-3-0x0000000000400000-0x000000000046D000-memory.dmp

                memory/4144-8-0x0000000000400000-0x000000000046D000-memory.dmp

                memory/4144-9-0x00000000021B0000-0x00000000021C3000-memory.dmp

                memory/4144-1-0x0000000000470000-0x0000000000570000-memory.dmp

                memory/4144-17-0x0000000000400000-0x000000000046D000-memory.dmp

                memory/4144-4-0x0000000000400000-0x000000000046D000-memory.dmp

                memory/4144-7-0x0000000000470000-0x0000000000570000-memory.dmp

                memory/4144-2-0x00000000021B0000-0x00000000021C3000-memory.dmp

                memory/4684-23-0x0000000000AD0000-0x0000000000AE5000-memory.dmp

                memory/4684-20-0x0000000000AD0000-0x0000000000AE5000-memory.dmp

                memory/4684-26-0x0000000000AD0000-0x0000000000AE5000-memory.dmp

                memory/4684-27-0x0000000000AD0000-0x0000000000AE5000-memory.dmp

                memory/4684-28-0x0000000000AD0000-0x0000000000AE5000-memory.dmp