Analysis

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

    arch:x64arch:x86image:win10v2004-20240802-enlocale:en-usos:windows10-2004-x64system
  • submitted
    05/08/2024, 01:53

General

  • Target
    d7db753381fdd9779be8db851e3f7a015a6f584ae4a15b546f6bac80ccfe01d7.exe
  • Size 212KB
  • Sample240805-cazlaaxejg
  • SHA256 d7db753381fdd9779be8db851e3f7a015a6f584ae4a15b546f6bac80ccfe01d7
  • 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\d7db753381fdd9779be8db851e3f7a015a6f584ae4a15b546f6bac80ccfe01d7.exe
    "C:\Users\Admin\AppData\Local\Temp\d7db753381fdd9779be8db851e3f7a015a6f584ae4a15b546f6bac80ccfe01d7.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1348
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\dhqrtrcz\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2064
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\trbceadj.exe" C:\Windows\SysWOW64\dhqrtrcz\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1240
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create dhqrtrcz binPath= "C:\Windows\SysWOW64\dhqrtrcz\trbceadj.exe /d\"C:\Users\Admin\AppData\Local\Temp\d7db753381fdd9779be8db851e3f7a015a6f584ae4a15b546f6bac80ccfe01d7.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1692
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description dhqrtrcz "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3176
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start dhqrtrcz
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4376
    • 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:3992
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1348 -s 1036
      2⤵
      • Program crash
      PID:2080
  • C:\Windows\SysWOW64\dhqrtrcz\trbceadj.exe
    C:\Windows\SysWOW64\dhqrtrcz\trbceadj.exe /d"C:\Users\Admin\AppData\Local\Temp\d7db753381fdd9779be8db851e3f7a015a6f584ae4a15b546f6bac80ccfe01d7.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4576
    • 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:4276
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4576 -s 532
      2⤵
      • Program crash
      PID:4168
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 204 -p 1348 -ip 1348
    1⤵
      PID:1856
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 420 -p 4576 -ip 4576
      1⤵
        PID:2164

      Network

            MITRE ATT&CK Enterprise v15

            Replay Monitor

            Loading Replay Monitor...

            Downloads

            trbceadj.exe

            • Path C:\Users\Admin\AppData\Local\Temp\trbceadj.exe
            • Size 10.5MB
            • SHA256 1097c889e94a4a59b76ed1b65654165dbde0bfb275506cbb89be71e240172a88
            • MD5 SHA1 SHA512 SSDEEP

            memory/1348-1-0x0000000000680000-0x0000000000780000-memory.dmp

            memory/1348-2-0x00000000005C0000-0x00000000005D3000-memory.dmp

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

            memory/1348-7-0x0000000000400000-0x0000000000449000-memory.dmp

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

            memory/1348-8-0x00000000005C0000-0x00000000005D3000-memory.dmp

            memory/4276-46-0x0000000000FF0000-0x0000000001000000-memory.dmp

            memory/4276-41-0x0000000000FF0000-0x0000000001000000-memory.dmp

            memory/4276-22-0x0000000002800000-0x0000000002A0F000-memory.dmp

            memory/4276-14-0x0000000000AC0000-0x0000000000AD5000-memory.dmp

            memory/4276-16-0x0000000000AC0000-0x0000000000AD5000-memory.dmp

            memory/4276-17-0x0000000000AC0000-0x0000000000AD5000-memory.dmp

            memory/4276-32-0x0000000000FF0000-0x0000000001000000-memory.dmp

            memory/4276-45-0x0000000000FF0000-0x0000000001000000-memory.dmp

            memory/4276-56-0x0000000001FF0000-0x0000000001FF7000-memory.dmp

            memory/4276-52-0x0000000007700000-0x0000000007B0B000-memory.dmp

            memory/4276-51-0x0000000001FE0000-0x0000000001FE5000-memory.dmp

            memory/4276-48-0x0000000001FE0000-0x0000000001FE5000-memory.dmp

            memory/4276-47-0x0000000000FF0000-0x0000000001000000-memory.dmp

            memory/4276-24-0x0000000002800000-0x0000000002A0F000-memory.dmp

            memory/4276-44-0x0000000000FF0000-0x0000000001000000-memory.dmp

            memory/4276-43-0x0000000000FF0000-0x0000000001000000-memory.dmp

            memory/4276-42-0x0000000000FF0000-0x0000000001000000-memory.dmp

            memory/4276-25-0x0000000000E10000-0x0000000000E16000-memory.dmp

            memory/4276-40-0x0000000000FF0000-0x0000000001000000-memory.dmp

            memory/4276-39-0x0000000000FF0000-0x0000000001000000-memory.dmp

            memory/4276-38-0x0000000000FF0000-0x0000000001000000-memory.dmp

            memory/4276-37-0x0000000000FF0000-0x0000000001000000-memory.dmp

            memory/4276-36-0x0000000000FF0000-0x0000000001000000-memory.dmp

            memory/4276-35-0x0000000000FF0000-0x0000000001000000-memory.dmp

            memory/4276-34-0x0000000000FF0000-0x0000000001000000-memory.dmp

            memory/4276-33-0x0000000000FF0000-0x0000000001000000-memory.dmp

            memory/4276-31-0x0000000000FF0000-0x0000000001000000-memory.dmp

            memory/4276-29-0x0000000000FF0000-0x0000000001000000-memory.dmp

            memory/4276-55-0x0000000007700000-0x0000000007B0B000-memory.dmp

            memory/4576-11-0x0000000000400000-0x0000000000449000-memory.dmp

            memory/4576-12-0x0000000000400000-0x0000000000449000-memory.dmp

            memory/4576-19-0x0000000000400000-0x0000000000449000-memory.dmp

            memory/4576-13-0x0000000000400000-0x0000000000449000-memory.dmp