Analysis

  • max time kernel
    146s
  • max time network
    149s
  • platform
    windows11-21h2_x64
  • resource
    win11-20240802-en
  • resource tags

    arch:x64arch:x86image:win11-20240802-enlocale:en-usos:windows11-21h2-x64system
  • submitted
    04/09/2024, 07:49

General

  • Target
    5df0c9e0e30e449d746c096a467d5217396a79a877be2081b7876af2a072fece.exe
  • Size 191KB
  • Sample240904-jn4wgswfml
  • SHA256 5df0c9e0e30e449d746c096a467d5217396a79a877be2081b7876af2a072fece
  • 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
  • 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 6 IoCs
  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\5df0c9e0e30e449d746c096a467d5217396a79a877be2081b7876af2a072fece.exe
    "C:\Users\Admin\AppData\Local\Temp\5df0c9e0e30e449d746c096a467d5217396a79a877be2081b7876af2a072fece.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1940
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ildcsoyb\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4036
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\gafdybya.exe" C:\Windows\SysWOW64\ildcsoyb\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3852
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create ildcsoyb binPath= "C:\Windows\SysWOW64\ildcsoyb\gafdybya.exe /d\"C:\Users\Admin\AppData\Local\Temp\5df0c9e0e30e449d746c096a467d5217396a79a877be2081b7876af2a072fece.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2724
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description ildcsoyb "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4944
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start ildcsoyb
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4332
    • 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:4556
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1940 -s 1104
      2⤵
      • Program crash
      PID:1684
  • C:\Windows\SysWOW64\ildcsoyb\gafdybya.exe
    C:\Windows\SysWOW64\ildcsoyb\gafdybya.exe /d"C:\Users\Admin\AppData\Local\Temp\5df0c9e0e30e449d746c096a467d5217396a79a877be2081b7876af2a072fece.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4756
    • 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:3692
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4756 -s 540
      2⤵
      • Program crash
      PID:1988
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 436 -p 1940 -ip 1940
    1⤵
      PID:4184
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 420 -p 4756 -ip 4756
      1⤵
        PID:3152

      Network

            MITRE ATT&CK Enterprise v15

            Replay Monitor

            Loading Replay Monitor...

            Downloads

            gafdybya.exe

            • Path C:\Users\Admin\AppData\Local\Temp\gafdybya.exe
            • Size 13.2MB
            • SHA256 85c08fed107220b9a8fb5f43d2c3ec9c0b772599537e8c94f95b99f46302b3de
            • MD5 SHA1 SHA512 SSDEEP

            memory/1940-1-0x0000000000660000-0x0000000000760000-memory.dmp

            memory/1940-2-0x0000000002290000-0x00000000022A3000-memory.dmp

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

            memory/1940-7-0x0000000000400000-0x0000000000437000-memory.dmp

            memory/1940-8-0x0000000002290000-0x00000000022A3000-memory.dmp

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

            memory/3692-43-0x0000000001D30000-0x0000000001D40000-memory.dmp

            memory/3692-39-0x0000000001D30000-0x0000000001D40000-memory.dmp

            memory/3692-14-0x00000000008A0000-0x00000000008B5000-memory.dmp

            memory/3692-20-0x0000000002600000-0x000000000280F000-memory.dmp

            memory/3692-18-0x0000000002600000-0x000000000280F000-memory.dmp

            memory/3692-29-0x0000000001D30000-0x0000000001D40000-memory.dmp

            memory/3692-48-0x0000000007540000-0x000000000794B000-memory.dmp

            memory/3692-47-0x0000000002BD0000-0x0000000002BD5000-memory.dmp

            memory/3692-53-0x0000000002BE0000-0x0000000002BE7000-memory.dmp

            memory/3692-51-0x0000000007540000-0x000000000794B000-memory.dmp

            memory/3692-44-0x0000000002BD0000-0x0000000002BD5000-memory.dmp

            memory/3692-11-0x00000000008A0000-0x00000000008B5000-memory.dmp

            memory/3692-42-0x0000000001D30000-0x0000000001D40000-memory.dmp

            memory/3692-41-0x0000000001D30000-0x0000000001D40000-memory.dmp

            memory/3692-40-0x0000000001D30000-0x0000000001D40000-memory.dmp

            memory/3692-13-0x00000000008A0000-0x00000000008B5000-memory.dmp

            memory/3692-38-0x0000000001D30000-0x0000000001D40000-memory.dmp

            memory/3692-37-0x0000000001D30000-0x0000000001D40000-memory.dmp

            memory/3692-36-0x0000000001D30000-0x0000000001D40000-memory.dmp

            memory/3692-35-0x0000000001D30000-0x0000000001D40000-memory.dmp

            memory/3692-34-0x0000000001D30000-0x0000000001D40000-memory.dmp

            memory/3692-33-0x0000000001D30000-0x0000000001D40000-memory.dmp

            memory/3692-32-0x0000000001D30000-0x0000000001D40000-memory.dmp

            memory/3692-31-0x0000000001D30000-0x0000000001D40000-memory.dmp

            memory/3692-30-0x0000000001D30000-0x0000000001D40000-memory.dmp

            memory/3692-28-0x0000000001D30000-0x0000000001D40000-memory.dmp

            memory/3692-27-0x0000000001D30000-0x0000000001D40000-memory.dmp

            memory/3692-24-0x0000000001D30000-0x0000000001D40000-memory.dmp

            memory/3692-21-0x0000000000E00000-0x0000000000E06000-memory.dmp

            memory/4756-15-0x0000000000400000-0x0000000000437000-memory.dmp