Analysis

  • max time kernel
    150s
  • max time network
    150s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240802-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240802-enlocale:en-usos:windows10-2004-x64system
  • submitted
    08/08/2024, 04:32

General

  • Target
    e701a875c9805e29b4f58a740ff3d3b61f76efb9337f96e154eee3420132271c.exe
  • Size 316KB
  • Sample240808-e6grfszbnn
  • SHA256 e701a875c9805e29b4f58a740ff3d3b61f76efb9337f96e154eee3420132271c
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • tofsee

C2
  • vanaheim.cn

  • jotunheim.name

Signatures

  • Tofsee

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

  • Creates new service(s) 2 TTPs
  • Modifies Windows Firewall 2 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
  • Drops file in System32 directory 2 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).

  • Event Triggered Execution: Netsh Helper DLL 1 TTPs 3 IoCs

    Netsh.exe (also referred to as Netshell) is a command-line scripting utility used to interact with the network configuration of a system.

  • Program crash 2 IoCs
  • System Location Discovery: System Language Discovery 1 TTPs 9 IoCs

    Attempt gather information about the system language of a victim in order to infer the geographical location of that host.

  • Modifies data under HKEY_USERS 6 IoCs
  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\e701a875c9805e29b4f58a740ff3d3b61f76efb9337f96e154eee3420132271c.exe
    "C:\Users\Admin\AppData\Local\Temp\e701a875c9805e29b4f58a740ff3d3b61f76efb9337f96e154eee3420132271c.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4236
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\xtdbezst\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2716
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\trgohxso.exe" C:\Windows\SysWOW64\xtdbezst\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4136
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create xtdbezst binPath= "C:\Windows\SysWOW64\xtdbezst\trgohxso.exe /d\"C:\Users\Admin\AppData\Local\Temp\e701a875c9805e29b4f58a740ff3d3b61f76efb9337f96e154eee3420132271c.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1180
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description xtdbezst "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1480
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start xtdbezst
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2308
    • 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
      • Event Triggered Execution: Netsh Helper DLL
      • System Location Discovery: System Language Discovery
      PID:1368
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4236 -s 680
      2⤵
      • Program crash
      PID:3128
  • C:\Windows\SysWOW64\xtdbezst\trgohxso.exe
    C:\Windows\SysWOW64\xtdbezst\trgohxso.exe /d"C:\Users\Admin\AppData\Local\Temp\e701a875c9805e29b4f58a740ff3d3b61f76efb9337f96e154eee3420132271c.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4620
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • Drops file in System32 directory
      • System Location Discovery: System Language Discovery
      • Modifies data under HKEY_USERS
      PID:3408
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4620 -s 524
      2⤵
      • Program crash
      PID:2892
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 4236 -ip 4236
    1⤵
      PID:1996
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 504 -p 4620 -ip 4620
      1⤵
        PID:2828

      Network

            MITRE ATT&CK Enterprise v15

            Replay Monitor

            Loading Replay Monitor...

            Downloads

            trgohxso.exe

            • Path C:\Users\Admin\AppData\Local\Temp\trgohxso.exe
            • Size 12.3MB
            • SHA256 17fb98061803cfee6dfe165187875a254a6d77030ae142ce7a616bcec493f81e
            • MD5 SHA1 SHA512 SSDEEP

            memory/3408-41-0x00000000025F0000-0x0000000002600000-memory.dmp

            memory/3408-43-0x00000000025F0000-0x0000000002600000-memory.dmp

            memory/3408-18-0x0000000002E00000-0x000000000300F000-memory.dmp

            memory/3408-20-0x0000000002E00000-0x000000000300F000-memory.dmp

            memory/3408-51-0x0000000007E40000-0x000000000824B000-memory.dmp

            memory/3408-21-0x00000000025E0000-0x00000000025E6000-memory.dmp

            memory/3408-11-0x0000000001270000-0x0000000001285000-memory.dmp

            memory/3408-13-0x0000000001270000-0x0000000001285000-memory.dmp

            memory/3408-14-0x0000000001270000-0x0000000001285000-memory.dmp

            memory/3408-24-0x00000000025F0000-0x0000000002600000-memory.dmp

            memory/3408-29-0x00000000025F0000-0x0000000002600000-memory.dmp

            memory/3408-52-0x00000000033E0000-0x00000000033E7000-memory.dmp

            memory/3408-48-0x0000000007E40000-0x000000000824B000-memory.dmp

            memory/3408-47-0x00000000033D0000-0x00000000033D5000-memory.dmp

            memory/3408-44-0x00000000033D0000-0x00000000033D5000-memory.dmp

            memory/3408-28-0x00000000025F0000-0x0000000002600000-memory.dmp

            memory/3408-27-0x00000000025F0000-0x0000000002600000-memory.dmp

            memory/3408-42-0x00000000025F0000-0x0000000002600000-memory.dmp

            memory/3408-30-0x00000000025F0000-0x0000000002600000-memory.dmp

            memory/3408-39-0x00000000025F0000-0x0000000002600000-memory.dmp

            memory/3408-38-0x00000000025F0000-0x0000000002600000-memory.dmp

            memory/3408-37-0x00000000025F0000-0x0000000002600000-memory.dmp

            memory/3408-36-0x00000000025F0000-0x0000000002600000-memory.dmp

            memory/3408-35-0x00000000025F0000-0x0000000002600000-memory.dmp

            memory/3408-34-0x00000000025F0000-0x0000000002600000-memory.dmp

            memory/3408-33-0x00000000025F0000-0x0000000002600000-memory.dmp

            memory/3408-32-0x00000000025F0000-0x0000000002600000-memory.dmp

            memory/3408-31-0x00000000025F0000-0x0000000002600000-memory.dmp

            memory/3408-40-0x00000000025F0000-0x0000000002600000-memory.dmp

            memory/4236-4-0x0000000000400000-0x0000000000415000-memory.dmp

            memory/4236-1-0x0000000002A70000-0x0000000002B70000-memory.dmp

            memory/4236-7-0x0000000000400000-0x0000000002838000-memory.dmp

            memory/4236-9-0x0000000000400000-0x0000000000415000-memory.dmp

            memory/4236-8-0x00000000029E0000-0x00000000029F3000-memory.dmp

            memory/4236-2-0x00000000029E0000-0x00000000029F3000-memory.dmp

            memory/4620-15-0x0000000000400000-0x0000000002838000-memory.dmp