Analysis

  • max time kernel
    114s
  • max time network
    125s
  • platform
    windows7_x64
  • resource
    win7-20241010-en
  • resource tags

    arch:x64arch:x86image:win7-20241010-enlocale:en-usos:windows7-x64system
  • submitted
    20-12-2024 01:41

General

  • Target

    b31a4fce3073218756ef0c2ebce409288bba3d9dca83a47476cc38316d90a5b8N.exe

  • Size

    320KB

  • MD5

    e0cf01f8e4d92943522cd69b01dcf100

  • SHA1

    e47238b98f51c0384fea167f3054e63c48cee720

  • SHA256

    b31a4fce3073218756ef0c2ebce409288bba3d9dca83a47476cc38316d90a5b8

  • SHA512

    ceb3aa49012c565f3657eb78cc94e2e95a5bce72b8ad361a2e7d2cadcd6ad1869bda22db784034219af80ed9e9cd09268f938c1049fd26b34a288b66c3a899ba

  • SSDEEP

    6144:08FOumLCE/jANU0VSaimnpnv9/2Hh5Sao2JUjJUrecECM:08FdmOE/y7QaimlF2UR2JMJUrq

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.

  • Tofsee family
  • Windows security bypass 2 TTPs 1 IoCs
  • Creates new service(s) 2 TTPs
  • Modifies Windows Firewall 2 TTPs 1 IoCs
  • Sets service image path in registry 2 TTPs 1 IoCs
  • 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.

  • 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 30 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\b31a4fce3073218756ef0c2ebce409288bba3d9dca83a47476cc38316d90a5b8N.exe
    "C:\Users\Admin\AppData\Local\Temp\b31a4fce3073218756ef0c2ebce409288bba3d9dca83a47476cc38316d90a5b8N.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2864
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\mwlhcasg\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2792
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\kdjphely.exe" C:\Windows\SysWOW64\mwlhcasg\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2816
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create mwlhcasg binPath= "C:\Windows\SysWOW64\mwlhcasg\kdjphely.exe /d\"C:\Users\Admin\AppData\Local\Temp\b31a4fce3073218756ef0c2ebce409288bba3d9dca83a47476cc38316d90a5b8N.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2796
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description mwlhcasg "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2952
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start mwlhcasg
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2772
    • 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:2640
  • C:\Windows\SysWOW64\mwlhcasg\kdjphely.exe
    C:\Windows\SysWOW64\mwlhcasg\kdjphely.exe /d"C:\Users\Admin\AppData\Local\Temp\b31a4fce3073218756ef0c2ebce409288bba3d9dca83a47476cc38316d90a5b8N.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1780
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Windows security bypass
      • 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:2196

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

  • C:\Users\Admin\AppData\Local\Temp\kdjphely.exe

    Filesize

    13.9MB

    MD5

    c9d10ceac8d2730c5e9b5e55e79de363

    SHA1

    325f0d9669a06e2bcb8bb773c0789fb0e4f8835e

    SHA256

    71f904339db96b1b4d692b5f59cb9b7428b4d3f6b3363038b0074d69e72b74ea

    SHA512

    69cede8acea0dd5a08d5a2f1920d23f836ae4819fab40b65afb4a8947b18a72384a2d6235e5ea3ac463bbd3891586bce4d4d53b89d8c6eba8e66a7d409d89db4

  • memory/1780-16-0x0000000000400000-0x0000000000457000-memory.dmp

    Filesize

    348KB

  • memory/2196-36-0x0000000000230000-0x0000000000240000-memory.dmp

    Filesize

    64KB

  • memory/2196-22-0x00000000019D0000-0x0000000001BDF000-memory.dmp

    Filesize

    2.1MB

  • memory/2196-50-0x00000000055A0000-0x00000000059AB000-memory.dmp

    Filesize

    4.0MB

  • memory/2196-35-0x0000000000230000-0x0000000000240000-memory.dmp

    Filesize

    64KB

  • memory/2196-54-0x0000000000290000-0x0000000000297000-memory.dmp

    Filesize

    28KB

  • memory/2196-43-0x0000000000230000-0x0000000000240000-memory.dmp

    Filesize

    64KB

  • memory/2196-15-0x00000000000C0000-0x00000000000D5000-memory.dmp

    Filesize

    84KB

  • memory/2196-13-0x00000000000C0000-0x00000000000D5000-memory.dmp

    Filesize

    84KB

  • memory/2196-44-0x0000000000230000-0x0000000000240000-memory.dmp

    Filesize

    64KB

  • memory/2196-10-0x00000000000C0000-0x00000000000D5000-memory.dmp

    Filesize

    84KB

  • memory/2196-45-0x0000000000230000-0x0000000000240000-memory.dmp

    Filesize

    64KB

  • memory/2196-17-0x00000000000C0000-0x00000000000D5000-memory.dmp

    Filesize

    84KB

  • memory/2196-42-0x0000000000230000-0x0000000000240000-memory.dmp

    Filesize

    64KB

  • memory/2196-41-0x0000000000230000-0x0000000000240000-memory.dmp

    Filesize

    64KB

  • memory/2196-40-0x0000000000230000-0x0000000000240000-memory.dmp

    Filesize

    64KB

  • memory/2196-39-0x0000000000230000-0x0000000000240000-memory.dmp

    Filesize

    64KB

  • memory/2196-38-0x0000000000230000-0x0000000000240000-memory.dmp

    Filesize

    64KB

  • memory/2196-37-0x0000000000230000-0x0000000000240000-memory.dmp

    Filesize

    64KB

  • memory/2196-12-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

    Filesize

    4KB

  • memory/2196-53-0x00000000055A0000-0x00000000059AB000-memory.dmp

    Filesize

    4.0MB

  • memory/2196-29-0x0000000000230000-0x0000000000240000-memory.dmp

    Filesize

    64KB

  • memory/2196-33-0x0000000000230000-0x0000000000240000-memory.dmp

    Filesize

    64KB

  • memory/2196-32-0x0000000000230000-0x0000000000240000-memory.dmp

    Filesize

    64KB

  • memory/2196-31-0x0000000000230000-0x0000000000240000-memory.dmp

    Filesize

    64KB

  • memory/2196-30-0x0000000000230000-0x0000000000240000-memory.dmp

    Filesize

    64KB

  • memory/2196-34-0x0000000000230000-0x0000000000240000-memory.dmp

    Filesize

    64KB

  • memory/2196-26-0x0000000000230000-0x0000000000240000-memory.dmp

    Filesize

    64KB

  • memory/2196-23-0x0000000000220000-0x0000000000226000-memory.dmp

    Filesize

    24KB

  • memory/2196-46-0x0000000000240000-0x0000000000245000-memory.dmp

    Filesize

    20KB

  • memory/2196-19-0x00000000019D0000-0x0000000001BDF000-memory.dmp

    Filesize

    2.1MB

  • memory/2196-49-0x0000000000240000-0x0000000000245000-memory.dmp

    Filesize

    20KB

  • memory/2864-2-0x0000000000400000-0x0000000000415000-memory.dmp

    Filesize

    84KB

  • memory/2864-1-0x0000000000260000-0x0000000000273000-memory.dmp

    Filesize

    76KB

  • memory/2864-0-0x0000000000220000-0x000000000024B000-memory.dmp

    Filesize

    172KB

  • memory/2864-6-0x0000000000400000-0x0000000000457000-memory.dmp

    Filesize

    348KB

  • memory/2864-7-0x0000000000260000-0x0000000000273000-memory.dmp

    Filesize

    76KB

  • memory/2864-8-0x0000000000220000-0x000000000024B000-memory.dmp

    Filesize

    172KB

  • memory/2864-9-0x0000000000400000-0x0000000000415000-memory.dmp

    Filesize

    84KB