Analysis

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

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

General

  • Target
    c5cd4932ea8f02c3f8af95ab80eb1612329a657b6c1ed35982e3310e4ebd7b03.exe
  • Size 234KB
  • Sample240717-3m2vaavemj
  • SHA256 c5cd4932ea8f02c3f8af95ab80eb1612329a657b6c1ed35982e3310e4ebd7b03
  • 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
  • Modifies data under HKEY_USERS 6 IoCs
  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\c5cd4932ea8f02c3f8af95ab80eb1612329a657b6c1ed35982e3310e4ebd7b03.exe
    "C:\Users\Admin\AppData\Local\Temp\c5cd4932ea8f02c3f8af95ab80eb1612329a657b6c1ed35982e3310e4ebd7b03.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:3240
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ufwznoyl\
      2⤵
        PID:236
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\jvdagtzx.exe" C:\Windows\SysWOW64\ufwznoyl\
        2⤵
          PID:1772
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create ufwznoyl binPath= "C:\Windows\SysWOW64\ufwznoyl\jvdagtzx.exe /d\"C:\Users\Admin\AppData\Local\Temp\c5cd4932ea8f02c3f8af95ab80eb1612329a657b6c1ed35982e3310e4ebd7b03.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:3716
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description ufwznoyl "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:3296
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start ufwznoyl
          2⤵
          • Launches sc.exe
          PID:3368
        • 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:3532
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 3240 -s 1040
          2⤵
          • Program crash
          PID:736
      • C:\Windows\SysWOW64\ufwznoyl\jvdagtzx.exe
        C:\Windows\SysWOW64\ufwznoyl\jvdagtzx.exe /d"C:\Users\Admin\AppData\Local\Temp\c5cd4932ea8f02c3f8af95ab80eb1612329a657b6c1ed35982e3310e4ebd7b03.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:1468
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Deletes itself
          • Drops file in System32 directory
          • Modifies data under HKEY_USERS
          PID:2948
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 1468 -s 508
          2⤵
          • Program crash
          PID:3496
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 3240 -ip 3240
        1⤵
          PID:1196
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 520 -p 1468 -ip 1468
          1⤵
            PID:2128

          Network

                MITRE ATT&CK Enterprise v15

                Replay Monitor

                Loading Replay Monitor...

                Downloads

                jvdagtzx.exe

                • Path C:\Users\Admin\AppData\Local\Temp\jvdagtzx.exe
                • Size 13.1MB
                • SHA256 351bd92f6e6de5fc0fb413445239ee3fd1bf027cccd7bfd359aa82b58df6170d
                • MD5 SHA1 SHA512 SSDEEP

                memory/1468-15-0x0000000000400000-0x0000000002082000-memory.dmp

                memory/2948-42-0x00000000021D0000-0x00000000021E0000-memory.dmp

                memory/2948-40-0x00000000021D0000-0x00000000021E0000-memory.dmp

                memory/2948-20-0x0000000002A00000-0x0000000002C0F000-memory.dmp

                memory/2948-21-0x0000000000BF0000-0x0000000000BF6000-memory.dmp

                memory/2948-24-0x00000000021D0000-0x00000000021E0000-memory.dmp

                memory/2948-11-0x0000000000B10000-0x0000000000B25000-memory.dmp

                memory/2948-13-0x0000000000B10000-0x0000000000B25000-memory.dmp

                memory/2948-14-0x0000000000B10000-0x0000000000B25000-memory.dmp

                memory/2948-27-0x00000000021D0000-0x00000000021E0000-memory.dmp

                memory/2948-41-0x00000000021D0000-0x00000000021E0000-memory.dmp

                memory/2948-18-0x0000000002A00000-0x0000000002C0F000-memory.dmp

                memory/2948-48-0x0000000007900000-0x0000000007D0B000-memory.dmp

                memory/2948-52-0x00000000021F0000-0x00000000021F7000-memory.dmp

                memory/2948-47-0x00000000021E0000-0x00000000021E5000-memory.dmp

                memory/2948-44-0x00000000021E0000-0x00000000021E5000-memory.dmp

                memory/2948-43-0x00000000021D0000-0x00000000021E0000-memory.dmp

                memory/2948-28-0x00000000021D0000-0x00000000021E0000-memory.dmp

                memory/2948-29-0x00000000021D0000-0x00000000021E0000-memory.dmp

                memory/2948-51-0x0000000007900000-0x0000000007D0B000-memory.dmp

                memory/2948-39-0x00000000021D0000-0x00000000021E0000-memory.dmp

                memory/2948-38-0x00000000021D0000-0x00000000021E0000-memory.dmp

                memory/2948-37-0x00000000021D0000-0x00000000021E0000-memory.dmp

                memory/2948-36-0x00000000021D0000-0x00000000021E0000-memory.dmp

                memory/2948-35-0x00000000021D0000-0x00000000021E0000-memory.dmp

                memory/2948-34-0x00000000021D0000-0x00000000021E0000-memory.dmp

                memory/2948-33-0x00000000021D0000-0x00000000021E0000-memory.dmp

                memory/2948-32-0x00000000021D0000-0x00000000021E0000-memory.dmp

                memory/2948-31-0x00000000021D0000-0x00000000021E0000-memory.dmp

                memory/2948-30-0x00000000021D0000-0x00000000021E0000-memory.dmp

                memory/3240-1-0x00000000021D0000-0x00000000022D0000-memory.dmp

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

                memory/3240-2-0x0000000003C90000-0x0000000003CA3000-memory.dmp

                memory/3240-7-0x0000000000400000-0x0000000002082000-memory.dmp

                memory/3240-8-0x0000000003C90000-0x0000000003CA3000-memory.dmp

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