Analysis

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

    arch:x64arch:x86image:win10v2004-20240709-enlocale:en-usos:windows10-2004-x64system
  • submitted
    27/07/2024, 01:48

General

  • Target
    a5f35b4f8933e0106c7743eaadbd3b883f61552add7ff17aca237450b3aa4168.exe
  • Size 268KB
  • Sample240727-b8kdkssclc
  • SHA256 a5f35b4f8933e0106c7743eaadbd3b883f61552add7ff17aca237450b3aa4168
  • 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
  • Looks up external IP address via web service 2 IoCs

    Uses a legitimate IP lookup service to find the infected system's external IP.

  • 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\a5f35b4f8933e0106c7743eaadbd3b883f61552add7ff17aca237450b3aa4168.exe
    "C:\Users\Admin\AppData\Local\Temp\a5f35b4f8933e0106c7743eaadbd3b883f61552add7ff17aca237450b3aa4168.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4848
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\pmpbnykg\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1484
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\jhwexnie.exe" C:\Windows\SysWOW64\pmpbnykg\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2064
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create pmpbnykg binPath= "C:\Windows\SysWOW64\pmpbnykg\jhwexnie.exe /d\"C:\Users\Admin\AppData\Local\Temp\a5f35b4f8933e0106c7743eaadbd3b883f61552add7ff17aca237450b3aa4168.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3548
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description pmpbnykg "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3556
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start pmpbnykg
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2360
    • 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:3960
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4848 -s 1036
      2⤵
      • Program crash
      PID:5084
  • C:\Windows\SysWOW64\pmpbnykg\jhwexnie.exe
    C:\Windows\SysWOW64\pmpbnykg\jhwexnie.exe /d"C:\Users\Admin\AppData\Local\Temp\a5f35b4f8933e0106c7743eaadbd3b883f61552add7ff17aca237450b3aa4168.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3868
    • 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:1588
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3868 -s 512
      2⤵
      • Program crash
      PID:1240
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 4848 -ip 4848
    1⤵
      PID:1540
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 536 -p 3868 -ip 3868
      1⤵
        PID:2148

      Network

            MITRE ATT&CK Enterprise v15

            Replay Monitor

            Loading Replay Monitor...

            Downloads

            jhwexnie.exe

            • Path C:\Users\Admin\AppData\Local\Temp\jhwexnie.exe
            • Size 12.7MB
            • SHA256 fbc1eb5550f70dca996a8e28b8e06329ed3a6b670340eed8bdb11110e1701ae8
            • MD5 SHA1 SHA512 SSDEEP

            memory/1588-52-0x0000000007200000-0x000000000760B000-memory.dmp

            memory/1588-36-0x0000000001990000-0x00000000019A0000-memory.dmp

            memory/1588-28-0x0000000001990000-0x00000000019A0000-memory.dmp

            memory/1588-29-0x0000000001990000-0x00000000019A0000-memory.dmp

            memory/1588-30-0x0000000001990000-0x00000000019A0000-memory.dmp

            memory/1588-44-0x0000000001990000-0x00000000019A0000-memory.dmp

            memory/1588-31-0x0000000001990000-0x00000000019A0000-memory.dmp

            memory/1588-12-0x00000000003C0000-0x00000000003D5000-memory.dmp

            memory/1588-14-0x00000000003C0000-0x00000000003D5000-memory.dmp

            memory/1588-16-0x00000000003C0000-0x00000000003D5000-memory.dmp

            memory/1588-32-0x0000000001990000-0x00000000019A0000-memory.dmp

            memory/1588-18-0x0000000002200000-0x000000000240F000-memory.dmp

            memory/1588-22-0x0000000001980000-0x0000000001986000-memory.dmp

            memory/1588-25-0x0000000001990000-0x00000000019A0000-memory.dmp

            memory/1588-21-0x0000000002200000-0x000000000240F000-memory.dmp

            memory/1588-49-0x0000000007200000-0x000000000760B000-memory.dmp

            memory/1588-53-0x00000000019F0000-0x00000000019F7000-memory.dmp

            memory/1588-33-0x0000000001990000-0x00000000019A0000-memory.dmp

            memory/1588-34-0x0000000001990000-0x00000000019A0000-memory.dmp

            memory/1588-45-0x00000000019E0000-0x00000000019E5000-memory.dmp

            memory/1588-35-0x0000000001990000-0x00000000019A0000-memory.dmp

            memory/1588-43-0x0000000001990000-0x00000000019A0000-memory.dmp

            memory/1588-42-0x0000000001990000-0x00000000019A0000-memory.dmp

            memory/1588-41-0x0000000001990000-0x00000000019A0000-memory.dmp

            memory/1588-40-0x0000000001990000-0x00000000019A0000-memory.dmp

            memory/1588-39-0x0000000001990000-0x00000000019A0000-memory.dmp

            memory/1588-38-0x0000000001990000-0x00000000019A0000-memory.dmp

            memory/1588-37-0x0000000001990000-0x00000000019A0000-memory.dmp

            memory/1588-48-0x00000000019E0000-0x00000000019E5000-memory.dmp

            memory/3868-15-0x0000000000400000-0x000000000245B000-memory.dmp

            memory/4848-9-0x00000000041C0000-0x00000000041D3000-memory.dmp

            memory/4848-1-0x0000000000400000-0x000000000245B000-memory.dmp

            memory/4848-3-0x00000000041C0000-0x00000000041D3000-memory.dmp

            memory/4848-8-0x0000000000400000-0x000000000245B000-memory.dmp

            memory/4848-10-0x0000000000400000-0x0000000000415000-memory.dmp

            memory/4848-2-0x0000000002570000-0x0000000002670000-memory.dmp

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