Analysis

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

    arch:x64arch:x86image:win10v2004-20240802-enlocale:en-usos:windows10-2004-x64system
  • submitted
    14/09/2024, 17:50

General

  • Target
    264492f5a3848a5b5939368dceb63ed0N.exe
  • Size 387KB
  • Sample240914-we1tpaxcqe
  • SHA256 9e63a0b8cee81a6872621af7656f617a6c31bb1dedb7647e45bfc36ad8b4fcac
  • 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\264492f5a3848a5b5939368dceb63ed0N.exe
    "C:\Users\Admin\AppData\Local\Temp\264492f5a3848a5b5939368dceb63ed0N.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:5104
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\xveighsl\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2632
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\vlhwrjhp.exe" C:\Windows\SysWOW64\xveighsl\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:404
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create xveighsl binPath= "C:\Windows\SysWOW64\xveighsl\vlhwrjhp.exe /d\"C:\Users\Admin\AppData\Local\Temp\264492f5a3848a5b5939368dceb63ed0N.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2448
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description xveighsl "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1308
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start xveighsl
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2960
    • 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:2068
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 5104 -s 1032
      2⤵
      • Program crash
      PID:2920
  • C:\Windows\SysWOW64\xveighsl\vlhwrjhp.exe
    C:\Windows\SysWOW64\xveighsl\vlhwrjhp.exe /d"C:\Users\Admin\AppData\Local\Temp\264492f5a3848a5b5939368dceb63ed0N.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2120
    • 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:2468
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2120 -s 560
      2⤵
      • Program crash
      PID:2504
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 448 -p 5104 -ip 5104
    1⤵
      PID:2452
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 528 -p 2120 -ip 2120
      1⤵
        PID:736

      Network

            MITRE ATT&CK Enterprise v15

            Replay Monitor

            Loading Replay Monitor...

            Downloads

            vlhwrjhp.exe

            • Path C:\Users\Admin\AppData\Local\Temp\vlhwrjhp.exe
            • Size 10.6MB
            • SHA256 f0392f9851949e9eccaad91e0a02a472ca30f61d1269669d9921fb1edebde492
            • MD5 SHA1 SHA512 SSDEEP

            memory/2120-15-0x0000000000400000-0x000000000247A000-memory.dmp

            memory/2468-40-0x0000000002560000-0x0000000002570000-memory.dmp

            memory/2468-39-0x0000000002560000-0x0000000002570000-memory.dmp

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

            memory/2468-32-0x0000000002560000-0x0000000002570000-memory.dmp

            memory/2468-42-0x0000000002560000-0x0000000002570000-memory.dmp

            memory/2468-13-0x00000000010A0000-0x00000000010B5000-memory.dmp

            memory/2468-11-0x00000000010A0000-0x00000000010B5000-memory.dmp

            memory/2468-14-0x00000000010A0000-0x00000000010B5000-memory.dmp

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

            memory/2468-51-0x0000000007C80000-0x000000000808B000-memory.dmp

            memory/2468-52-0x00000000031D0000-0x00000000031D7000-memory.dmp

            memory/2468-48-0x0000000007C80000-0x000000000808B000-memory.dmp

            memory/2468-47-0x00000000025F0000-0x00000000025F5000-memory.dmp

            memory/2468-44-0x00000000025F0000-0x00000000025F5000-memory.dmp

            memory/2468-43-0x0000000002560000-0x0000000002570000-memory.dmp

            memory/2468-41-0x0000000002560000-0x0000000002570000-memory.dmp

            memory/2468-21-0x0000000002550000-0x0000000002556000-memory.dmp

            memory/2468-24-0x0000000002560000-0x0000000002570000-memory.dmp

            memory/2468-38-0x0000000002560000-0x0000000002570000-memory.dmp

            memory/2468-37-0x0000000002560000-0x0000000002570000-memory.dmp

            memory/2468-36-0x0000000002560000-0x0000000002570000-memory.dmp

            memory/2468-35-0x0000000002560000-0x0000000002570000-memory.dmp

            memory/2468-34-0x0000000002560000-0x0000000002570000-memory.dmp

            memory/2468-33-0x0000000002560000-0x0000000002570000-memory.dmp

            memory/2468-31-0x0000000002560000-0x0000000002570000-memory.dmp

            memory/2468-30-0x0000000002560000-0x0000000002570000-memory.dmp

            memory/2468-29-0x0000000002560000-0x0000000002570000-memory.dmp

            memory/2468-28-0x0000000002560000-0x0000000002570000-memory.dmp

            memory/2468-27-0x0000000002560000-0x0000000002570000-memory.dmp

            memory/5104-1-0x0000000002760000-0x0000000002860000-memory.dmp

            memory/5104-3-0x0000000000400000-0x0000000000415000-memory.dmp

            memory/5104-2-0x0000000002720000-0x0000000002733000-memory.dmp

            memory/5104-7-0x0000000000400000-0x000000000247A000-memory.dmp

            memory/5104-8-0x0000000002720000-0x0000000002733000-memory.dmp

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