Analysis

  • max time kernel
    149s
  • max time network
    153s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240704-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240704-enlocale:en-usos:windows10-2004-x64system
  • submitted
    25/07/2024, 02:00

General

  • Target
    d99e41c304f50b2548a79f43cfea1de5d96ceb38b254ed8057b59ae190916200.exe
  • Size 301KB
  • Sample240725-cfdk1a1hkm
  • SHA256 d99e41c304f50b2548a79f43cfea1de5d96ceb38b254ed8057b59ae190916200
  • 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 6 IoCs
  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\d99e41c304f50b2548a79f43cfea1de5d96ceb38b254ed8057b59ae190916200.exe
    "C:\Users\Admin\AppData\Local\Temp\d99e41c304f50b2548a79f43cfea1de5d96ceb38b254ed8057b59ae190916200.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2216
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\iygjlqtc\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3008
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\cjmhgaau.exe" C:\Windows\SysWOW64\iygjlqtc\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:436
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create iygjlqtc binPath= "C:\Windows\SysWOW64\iygjlqtc\cjmhgaau.exe /d\"C:\Users\Admin\AppData\Local\Temp\d99e41c304f50b2548a79f43cfea1de5d96ceb38b254ed8057b59ae190916200.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2560
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description iygjlqtc "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2852
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start iygjlqtc
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1484
    • 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:4492
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2216 -s 1256
      2⤵
      • Program crash
      PID:1632
  • C:\Windows\SysWOW64\iygjlqtc\cjmhgaau.exe
    C:\Windows\SysWOW64\iygjlqtc\cjmhgaau.exe /d"C:\Users\Admin\AppData\Local\Temp\d99e41c304f50b2548a79f43cfea1de5d96ceb38b254ed8057b59ae190916200.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4300
    • 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:4072
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4300 -s 532
      2⤵
      • Program crash
      PID:3240
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 448 -p 2216 -ip 2216
    1⤵
      PID:1920
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 416 -p 4300 -ip 4300
      1⤵
        PID:4448

      Network

            MITRE ATT&CK Enterprise v15

            Replay Monitor

            Loading Replay Monitor...

            Downloads

            cjmhgaau.exe

            • Path C:\Users\Admin\AppData\Local\Temp\cjmhgaau.exe
            • Size 11.4MB
            • SHA256 5b56de7eab4de904e6de4a5e185d4d26f54efac737565ec9fbbafeec9f37c9b6
            • MD5 SHA1 SHA512 SSDEEP

            memory/2216-1-0x0000000002690000-0x0000000002790000-memory.dmp

            memory/2216-2-0x0000000002610000-0x0000000002623000-memory.dmp

            memory/2216-4-0x0000000000400000-0x0000000000415000-memory.dmp

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

            memory/2216-8-0x0000000002610000-0x0000000002623000-memory.dmp

            memory/2216-7-0x0000000000400000-0x0000000002464000-memory.dmp

            memory/4072-41-0x0000000002D20000-0x0000000002D30000-memory.dmp

            memory/4072-37-0x0000000002D20000-0x0000000002D30000-memory.dmp

            memory/4072-14-0x0000000000E50000-0x0000000000E65000-memory.dmp

            memory/4072-21-0x0000000002D10000-0x0000000002D16000-memory.dmp

            memory/4072-52-0x0000000007F50000-0x0000000007F57000-memory.dmp

            memory/4072-51-0x0000000007A00000-0x0000000007E0B000-memory.dmp

            memory/4072-48-0x0000000007A00000-0x0000000007E0B000-memory.dmp

            memory/4072-47-0x0000000002FF0000-0x0000000002FF5000-memory.dmp

            memory/4072-44-0x0000000002FF0000-0x0000000002FF5000-memory.dmp

            memory/4072-42-0x0000000002D20000-0x0000000002D30000-memory.dmp

            memory/4072-43-0x0000000002D20000-0x0000000002D30000-memory.dmp

            memory/4072-11-0x0000000000E50000-0x0000000000E65000-memory.dmp

            memory/4072-40-0x0000000002D20000-0x0000000002D30000-memory.dmp

            memory/4072-39-0x0000000002D20000-0x0000000002D30000-memory.dmp

            memory/4072-38-0x0000000002D20000-0x0000000002D30000-memory.dmp

            memory/4072-13-0x0000000000E50000-0x0000000000E65000-memory.dmp

            memory/4072-36-0x0000000002D20000-0x0000000002D30000-memory.dmp

            memory/4072-35-0x0000000002D20000-0x0000000002D30000-memory.dmp

            memory/4072-34-0x0000000002D20000-0x0000000002D30000-memory.dmp

            memory/4072-33-0x0000000002D20000-0x0000000002D30000-memory.dmp

            memory/4072-32-0x0000000002D20000-0x0000000002D30000-memory.dmp

            memory/4072-30-0x0000000002D20000-0x0000000002D30000-memory.dmp

            memory/4072-29-0x0000000002D20000-0x0000000002D30000-memory.dmp

            memory/4072-28-0x0000000002D20000-0x0000000002D30000-memory.dmp

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

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

            memory/4072-31-0x0000000002D20000-0x0000000002D30000-memory.dmp

            memory/4072-27-0x0000000002D20000-0x0000000002D30000-memory.dmp

            memory/4072-24-0x0000000002D20000-0x0000000002D30000-memory.dmp

            memory/4300-15-0x0000000000400000-0x0000000002464000-memory.dmp