Analysis

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

    arch:x64arch:x86image:win10v2004-20240704-enlocale:en-usos:windows10-2004-x64system
  • submitted
    08/07/2024, 08:40

General

  • Target
    f37f32eb1c859541773f55297fb1e05bbfc2874851fc7bbd4e185d3a6a1b6583.exe
  • Size 229KB
  • Sample240708-kk7cwatcjc
  • SHA256 f37f32eb1c859541773f55297fb1e05bbfc2874851fc7bbd4e185d3a6a1b6583
  • 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.

  • 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.

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

Processes

  • C:\Users\Admin\AppData\Local\Temp\f37f32eb1c859541773f55297fb1e05bbfc2874851fc7bbd4e185d3a6a1b6583.exe
    "C:\Users\Admin\AppData\Local\Temp\f37f32eb1c859541773f55297fb1e05bbfc2874851fc7bbd4e185d3a6a1b6583.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:3664
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\mvesqaa\
      2⤵
        PID:1876
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\hkdooxyy.exe" C:\Windows\SysWOW64\mvesqaa\
        2⤵
          PID:5100
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create mvesqaa binPath= "C:\Windows\SysWOW64\mvesqaa\hkdooxyy.exe /d\"C:\Users\Admin\AppData\Local\Temp\f37f32eb1c859541773f55297fb1e05bbfc2874851fc7bbd4e185d3a6a1b6583.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:4404
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description mvesqaa "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:2700
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start mvesqaa
          2⤵
          • Launches sc.exe
          PID:4436
        • 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
          PID:1936
      • C:\Windows\SysWOW64\mvesqaa\hkdooxyy.exe
        C:\Windows\SysWOW64\mvesqaa\hkdooxyy.exe /d"C:\Users\Admin\AppData\Local\Temp\f37f32eb1c859541773f55297fb1e05bbfc2874851fc7bbd4e185d3a6a1b6583.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:964
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Drops file in System32 directory
          • Modifies data under HKEY_USERS
          PID:2820

      Network

            MITRE ATT&CK Enterprise v15

            Replay Monitor

            Loading Replay Monitor...

            Downloads

            hkdooxyy.exe

            • Path C:\Users\Admin\AppData\Local\Temp\hkdooxyy.exe
            • Size 12.0MB
            • SHA256 a4a5be31674f5e2e53bc33ae72fa5dda17511e583d3bec0b39f57c799df54865
            • MD5 SHA1 SHA512 SSDEEP

            memory/964-11-0x0000000000400000-0x0000000002820000-memory.dmp

            memory/2820-39-0x0000000001F50000-0x0000000001F60000-memory.dmp

            memory/2820-29-0x0000000001F50000-0x0000000001F60000-memory.dmp

            memory/2820-8-0x0000000000990000-0x00000000009A5000-memory.dmp

            memory/2820-17-0x0000000002800000-0x0000000002A0F000-memory.dmp

            memory/2820-28-0x0000000001F50000-0x0000000001F60000-memory.dmp

            memory/2820-12-0x0000000000990000-0x00000000009A5000-memory.dmp

            memory/2820-13-0x0000000000990000-0x00000000009A5000-memory.dmp

            memory/2820-51-0x0000000007780000-0x0000000007B8B000-memory.dmp

            memory/2820-52-0x0000000001FF0000-0x0000000001FF7000-memory.dmp

            memory/2820-48-0x0000000007780000-0x0000000007B8B000-memory.dmp

            memory/2820-47-0x0000000001FE0000-0x0000000001FE5000-memory.dmp

            memory/2820-44-0x0000000001FE0000-0x0000000001FE5000-memory.dmp

            memory/2820-43-0x0000000001F50000-0x0000000001F60000-memory.dmp

            memory/2820-42-0x0000000001F50000-0x0000000001F60000-memory.dmp

            memory/2820-41-0x0000000001F50000-0x0000000001F60000-memory.dmp

            memory/2820-40-0x0000000001F50000-0x0000000001F60000-memory.dmp

            memory/2820-38-0x0000000001F50000-0x0000000001F60000-memory.dmp

            memory/2820-30-0x0000000001F50000-0x0000000001F60000-memory.dmp

            memory/2820-22-0x0000000001F40000-0x0000000001F46000-memory.dmp

            memory/2820-36-0x0000000001F50000-0x0000000001F60000-memory.dmp

            memory/2820-35-0x0000000001F50000-0x0000000001F60000-memory.dmp

            memory/2820-34-0x0000000001F50000-0x0000000001F60000-memory.dmp

            memory/2820-33-0x0000000001F50000-0x0000000001F60000-memory.dmp

            memory/2820-32-0x0000000001F50000-0x0000000001F60000-memory.dmp

            memory/2820-31-0x0000000001F50000-0x0000000001F60000-memory.dmp

            memory/2820-20-0x0000000002800000-0x0000000002A0F000-memory.dmp

            memory/2820-27-0x0000000001F50000-0x0000000001F60000-memory.dmp

            memory/2820-24-0x0000000001F50000-0x0000000001F60000-memory.dmp

            memory/2820-37-0x0000000001F50000-0x0000000001F60000-memory.dmp

            memory/3664-1-0x0000000002AE0000-0x0000000002BE0000-memory.dmp

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

            memory/3664-2-0x0000000004580000-0x0000000004593000-memory.dmp

            memory/3664-10-0x0000000000400000-0x0000000002820000-memory.dmp

            memory/3664-61-0x0000000002AE0000-0x0000000002BE0000-memory.dmp

            memory/3664-62-0x0000000004580000-0x0000000004593000-memory.dmp

            memory/3664-63-0x0000000000400000-0x0000000000415000-memory.dmp