Analysis

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

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

General

  • Target
    57f6dbc4d6b680cfc1efb711e71be666540572c77e93555a246239227d463367.exe
  • Size 414KB
  • Sample240903-v92h2ascnp
  • SHA256 57f6dbc4d6b680cfc1efb711e71be666540572c77e93555a246239227d463367
  • 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\57f6dbc4d6b680cfc1efb711e71be666540572c77e93555a246239227d463367.exe
    "C:\Users\Admin\AppData\Local\Temp\57f6dbc4d6b680cfc1efb711e71be666540572c77e93555a246239227d463367.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2016
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\sddnpwer\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:116
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\pnxyawzf.exe" C:\Windows\SysWOW64\sddnpwer\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:912
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create sddnpwer binPath= "C:\Windows\SysWOW64\sddnpwer\pnxyawzf.exe /d\"C:\Users\Admin\AppData\Local\Temp\57f6dbc4d6b680cfc1efb711e71be666540572c77e93555a246239227d463367.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4640
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description sddnpwer "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1464
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start sddnpwer
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3652
    • 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:3872
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2016 -s 1028
      2⤵
      • Program crash
      PID:2168
  • C:\Windows\SysWOW64\sddnpwer\pnxyawzf.exe
    C:\Windows\SysWOW64\sddnpwer\pnxyawzf.exe /d"C:\Users\Admin\AppData\Local\Temp\57f6dbc4d6b680cfc1efb711e71be666540572c77e93555a246239227d463367.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4600
    • 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:2348
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4600 -s 528
      2⤵
      • Program crash
      PID:2332
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 2016 -ip 2016
    1⤵
      PID:1476
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 440 -p 4600 -ip 4600
      1⤵
        PID:2224

      Network

            MITRE ATT&CK Enterprise v15

            Replay Monitor

            Loading Replay Monitor...

            Downloads

            pnxyawzf.exe

            • Path C:\Users\Admin\AppData\Local\Temp\pnxyawzf.exe
            • Size 13.6MB
            • SHA256 b3ed2c43e08823ccd779f023f26d6af62a9400e8033620bbddde18df03960ef4
            • MD5 SHA1 SHA512 SSDEEP

            memory/2016-1-0x0000000000750000-0x0000000000850000-memory.dmp

            memory/2016-2-0x0000000002340000-0x0000000002353000-memory.dmp

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

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

            memory/2016-8-0x0000000002340000-0x0000000002353000-memory.dmp

            memory/2016-7-0x0000000000400000-0x00000000005FB000-memory.dmp

            memory/2348-50-0x0000000007580000-0x000000000798B000-memory.dmp

            memory/2348-45-0x0000000001D70000-0x0000000001D80000-memory.dmp

            memory/2348-13-0x00000000007A0000-0x00000000007B5000-memory.dmp

            memory/2348-15-0x00000000007A0000-0x00000000007B5000-memory.dmp

            memory/2348-16-0x00000000007A0000-0x00000000007B5000-memory.dmp

            memory/2348-54-0x0000000002BE0000-0x0000000002BE7000-memory.dmp

            memory/2348-42-0x0000000001D70000-0x0000000001D80000-memory.dmp

            memory/2348-31-0x0000000001D70000-0x0000000001D80000-memory.dmp

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

            memory/2348-26-0x0000000001D70000-0x0000000001D80000-memory.dmp

            memory/2348-23-0x0000000001D60000-0x0000000001D66000-memory.dmp

            memory/2348-22-0x0000000002600000-0x000000000280F000-memory.dmp

            memory/2348-53-0x0000000007580000-0x000000000798B000-memory.dmp

            memory/2348-49-0x0000000002BD0000-0x0000000002BD5000-memory.dmp

            memory/2348-46-0x0000000002BD0000-0x0000000002BD5000-memory.dmp

            memory/2348-29-0x0000000001D70000-0x0000000001D80000-memory.dmp

            memory/2348-44-0x0000000001D70000-0x0000000001D80000-memory.dmp

            memory/2348-43-0x0000000001D70000-0x0000000001D80000-memory.dmp

            memory/2348-41-0x0000000001D70000-0x0000000001D80000-memory.dmp

            memory/2348-40-0x0000000001D70000-0x0000000001D80000-memory.dmp

            memory/2348-39-0x0000000001D70000-0x0000000001D80000-memory.dmp

            memory/2348-38-0x0000000001D70000-0x0000000001D80000-memory.dmp

            memory/2348-37-0x0000000001D70000-0x0000000001D80000-memory.dmp

            memory/2348-36-0x0000000001D70000-0x0000000001D80000-memory.dmp

            memory/2348-35-0x0000000001D70000-0x0000000001D80000-memory.dmp

            memory/2348-34-0x0000000001D70000-0x0000000001D80000-memory.dmp

            memory/2348-33-0x0000000001D70000-0x0000000001D80000-memory.dmp

            memory/2348-32-0x0000000001D70000-0x0000000001D80000-memory.dmp

            memory/2348-30-0x0000000001D70000-0x0000000001D80000-memory.dmp

            memory/4600-11-0x0000000000400000-0x00000000005FB000-memory.dmp

            memory/4600-12-0x0000000000400000-0x00000000005FB000-memory.dmp

            memory/4600-17-0x0000000000400000-0x00000000005FB000-memory.dmp