Analysis

  • max time kernel
    149s
  • max time network
    155s
  • 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, 03:46

General

  • Target
    0d662b2ddbfc17b911c68a158a85da5c.exe
  • Size 14.7MB
  • Sample231230-eb3enshcf6
  • SHA256 bdd2690165b79faa7e2ed30d7dd85f5cfc681b44a08bb442a4fea2078fb0394b
  • 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\0d662b2ddbfc17b911c68a158a85da5c.exe
    "C:\Users\Admin\AppData\Local\Temp\0d662b2ddbfc17b911c68a158a85da5c.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:2168
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\tykhchop\
      2⤵
        PID:3368
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\fuhdpoht.exe" C:\Windows\SysWOW64\tykhchop\
        2⤵
          PID:1192
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create tykhchop binPath= "C:\Windows\SysWOW64\tykhchop\fuhdpoht.exe /d\"C:\Users\Admin\AppData\Local\Temp\0d662b2ddbfc17b911c68a158a85da5c.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:4020
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description tykhchop "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:1956
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start tykhchop
          2⤵
          • Launches sc.exe
          PID:1080
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 2168 -s 1040
          2⤵
          • Program crash
          PID:3520
        • 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:1228
      • C:\Windows\SysWOW64\tykhchop\fuhdpoht.exe
        C:\Windows\SysWOW64\tykhchop\fuhdpoht.exe /d"C:\Users\Admin\AppData\Local\Temp\0d662b2ddbfc17b911c68a158a85da5c.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:1760
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 1760 -s 520
          2⤵
          • Program crash
          PID:640
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Deletes itself
          PID:2376
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 2168 -ip 2168
        1⤵
          PID:1092
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 404 -p 1760 -ip 1760
          1⤵
            PID:4716

          Network

                MITRE ATT&CK Enterprise v15

                Replay Monitor

                Loading Replay Monitor...

                Downloads

                fuhdpoht.exe

                • Path C:\Users\Admin\AppData\Local\Temp\fuhdpoht.exe
                • Size 92KB
                • SHA256 2a0643731248d106e904e69323bf45aa89be5aac81d3e571271da3381031499a
                • MD5 SHA1 SHA512 SSDEEP

                fuhdpoht.exe

                • Path C:\Windows\SysWOW64\tykhchop\fuhdpoht.exe
                • Size 381KB
                • SHA256 daec1208930ea40db5768ec465d9fc87ee38ff824d87a0ac0616cba1a2a594a9
                • MD5 SHA1 SHA512 SSDEEP

                memory/1760-10-0x0000000001FF0000-0x00000000020F0000-memory.dmp

                memory/1760-15-0x0000000000400000-0x0000000001D85000-memory.dmp

                memory/2168-8-0x0000000000400000-0x0000000001D85000-memory.dmp

                memory/2168-9-0x0000000001F30000-0x0000000001F43000-memory.dmp

                memory/2168-2-0x0000000001F30000-0x0000000001F43000-memory.dmp

                memory/2168-4-0x0000000000400000-0x0000000001D85000-memory.dmp

                memory/2168-1-0x0000000001F50000-0x0000000002050000-memory.dmp

                memory/2376-11-0x0000000000350000-0x0000000000365000-memory.dmp

                memory/2376-16-0x0000000000350000-0x0000000000365000-memory.dmp

                memory/2376-17-0x0000000000350000-0x0000000000365000-memory.dmp

                memory/2376-14-0x0000000000350000-0x0000000000365000-memory.dmp

                memory/2376-19-0x0000000000350000-0x0000000000365000-memory.dmp