Analysis

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

    arch:x64arch:x86image:win10v2004-20240709-enlocale:en-usos:windows10-2004-x64system
  • submitted
    23/07/2024, 15:17

General

  • Target
    TFQFym2NF9.exe
  • Size 301KB
  • Sample240723-sn1cqszapg
  • SHA256 d99e41c304f50b2548a79f43cfea1de5d96ceb38b254ed8057b59ae190916200
  • 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 7 IoCs
  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\TFQFym2NF9.exe
    "C:\Users\Admin\AppData\Local\Temp\TFQFym2NF9.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:880
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\fxwsnyyz\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3040
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\eyyqtdht.exe" C:\Windows\SysWOW64\fxwsnyyz\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3408
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create fxwsnyyz binPath= "C:\Windows\SysWOW64\fxwsnyyz\eyyqtdht.exe /d\"C:\Users\Admin\AppData\Local\Temp\TFQFym2NF9.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2204
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description fxwsnyyz "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4120
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start fxwsnyyz
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4104
    • 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:2292
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 880 -s 1028
      2⤵
      • Program crash
      PID:4824
  • C:\Windows\SysWOW64\fxwsnyyz\eyyqtdht.exe
    C:\Windows\SysWOW64\fxwsnyyz\eyyqtdht.exe /d"C:\Users\Admin\AppData\Local\Temp\TFQFym2NF9.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1304
    • 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:1860
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1304 -s 516
      2⤵
      • Program crash
      PID:4848
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 448 -p 880 -ip 880
    1⤵
      PID:3520
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 488 -p 1304 -ip 1304
      1⤵
        PID:5068

      Network

            MITRE ATT&CK Enterprise v15

            Replay Monitor

            Loading Replay Monitor...

            Downloads

            eyyqtdht.exe

            • Path C:\Users\Admin\AppData\Local\Temp\eyyqtdht.exe
            • Size 12.4MB
            • SHA256 096553a679655ebeefbc1f9267881510e1594fed2ca6a9aa1545416ba8510d5b
            • MD5 SHA1 SHA512 SSDEEP

            memory/880-2-0x0000000004070000-0x0000000004083000-memory.dmp

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

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

            memory/880-8-0x0000000004070000-0x0000000004083000-memory.dmp

            memory/880-7-0x0000000000400000-0x0000000002464000-memory.dmp

            memory/880-1-0x0000000002690000-0x0000000002790000-memory.dmp

            memory/1304-15-0x0000000000400000-0x0000000002464000-memory.dmp

            memory/1860-42-0x0000000000DF0000-0x0000000000E00000-memory.dmp

            memory/1860-37-0x0000000000DF0000-0x0000000000E00000-memory.dmp

            memory/1860-13-0x0000000000A10000-0x0000000000A25000-memory.dmp

            memory/1860-18-0x0000000002600000-0x000000000280F000-memory.dmp

            memory/1860-48-0x0000000007600000-0x0000000007A0B000-memory.dmp

            memory/1860-52-0x0000000002BD0000-0x0000000002BD7000-memory.dmp

            memory/1860-51-0x0000000007600000-0x0000000007A0B000-memory.dmp

            memory/1860-47-0x0000000001DF0000-0x0000000001DF5000-memory.dmp

            memory/1860-43-0x0000000000DF0000-0x0000000000E00000-memory.dmp

            memory/1860-44-0x0000000001DF0000-0x0000000001DF5000-memory.dmp

            memory/1860-11-0x0000000000A10000-0x0000000000A25000-memory.dmp

            memory/1860-41-0x0000000000DF0000-0x0000000000E00000-memory.dmp

            memory/1860-40-0x0000000000DF0000-0x0000000000E00000-memory.dmp

            memory/1860-39-0x0000000000DF0000-0x0000000000E00000-memory.dmp

            memory/1860-38-0x0000000000DF0000-0x0000000000E00000-memory.dmp

            memory/1860-14-0x0000000000A10000-0x0000000000A25000-memory.dmp

            memory/1860-36-0x0000000000DF0000-0x0000000000E00000-memory.dmp

            memory/1860-35-0x0000000000DF0000-0x0000000000E00000-memory.dmp

            memory/1860-34-0x0000000000DF0000-0x0000000000E00000-memory.dmp

            memory/1860-33-0x0000000000DF0000-0x0000000000E00000-memory.dmp

            memory/1860-32-0x0000000000DF0000-0x0000000000E00000-memory.dmp

            memory/1860-31-0x0000000000DF0000-0x0000000000E00000-memory.dmp

            memory/1860-30-0x0000000000DF0000-0x0000000000E00000-memory.dmp

            memory/1860-29-0x0000000000DF0000-0x0000000000E00000-memory.dmp

            memory/1860-28-0x0000000000DF0000-0x0000000000E00000-memory.dmp

            memory/1860-27-0x0000000000DF0000-0x0000000000E00000-memory.dmp

            memory/1860-20-0x0000000002600000-0x000000000280F000-memory.dmp

            memory/1860-24-0x0000000000DF0000-0x0000000000E00000-memory.dmp

            memory/1860-21-0x0000000000C00000-0x0000000000C06000-memory.dmp