Analysis

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

    arch:x64arch:x86image:win10v2004-20240709-enlocale:en-usos:windows10-2004-x64system
  • submitted
    22/07/2024, 14:35

General

  • Target
    c264ab30c3deb7cb5bf54ec5d80c5b8aa369f94ff82f565fbbfaa0600c55d85c.exe
  • Size 180KB
  • Sample240722-ryaz6asdph
  • SHA256 c264ab30c3deb7cb5bf54ec5d80c5b8aa369f94ff82f565fbbfaa0600c55d85c
  • 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
  • Modifies data under HKEY_USERS 6 IoCs
  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\c264ab30c3deb7cb5bf54ec5d80c5b8aa369f94ff82f565fbbfaa0600c55d85c.exe
    "C:\Users\Admin\AppData\Local\Temp\c264ab30c3deb7cb5bf54ec5d80c5b8aa369f94ff82f565fbbfaa0600c55d85c.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:3972
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\hlgefzpx\
      2⤵
        PID:1396
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\qkkcfptf.exe" C:\Windows\SysWOW64\hlgefzpx\
        2⤵
          PID:2052
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create hlgefzpx binPath= "C:\Windows\SysWOW64\hlgefzpx\qkkcfptf.exe /d\"C:\Users\Admin\AppData\Local\Temp\c264ab30c3deb7cb5bf54ec5d80c5b8aa369f94ff82f565fbbfaa0600c55d85c.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:3192
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description hlgefzpx "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:2892
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start hlgefzpx
          2⤵
          • Launches sc.exe
          PID:3328
        • 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
          PID:1552
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 3972 -s 892
          2⤵
          • Program crash
          PID:4748
      • C:\Windows\SysWOW64\hlgefzpx\qkkcfptf.exe
        C:\Windows\SysWOW64\hlgefzpx\qkkcfptf.exe /d"C:\Users\Admin\AppData\Local\Temp\c264ab30c3deb7cb5bf54ec5d80c5b8aa369f94ff82f565fbbfaa0600c55d85c.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:4440
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Deletes itself
          • Drops file in System32 directory
          • Modifies data under HKEY_USERS
          PID:3548
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 4440 -s 528
          2⤵
          • Program crash
          PID:4884
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 3972 -ip 3972
        1⤵
          PID:4292
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 492 -p 4440 -ip 4440
          1⤵
            PID:1748

          Network

                MITRE ATT&CK Enterprise v15

                Replay Monitor

                Loading Replay Monitor...

                Downloads

                qkkcfptf.exe

                • Path C:\Users\Admin\AppData\Local\Temp\qkkcfptf.exe
                • Size 12.6MB
                • SHA256 6728b8a0159c09fff3b8b94511605a499ba7e5fa14c7b7d99fe2f8e7ef66204e
                • MD5 SHA1 SHA512 SSDEEP

                memory/3548-50-0x0000000007140000-0x000000000754B000-memory.dmp

                memory/3548-46-0x00000000019F0000-0x00000000019F5000-memory.dmp

                memory/3548-22-0x0000000002200000-0x000000000240F000-memory.dmp

                memory/3548-26-0x0000000001920000-0x0000000001930000-memory.dmp

                memory/3548-29-0x0000000001920000-0x0000000001930000-memory.dmp

                memory/3548-30-0x0000000001920000-0x0000000001930000-memory.dmp

                memory/3548-32-0x0000000001920000-0x0000000001930000-memory.dmp

                memory/3548-13-0x0000000000360000-0x0000000000375000-memory.dmp

                memory/3548-15-0x0000000000360000-0x0000000000375000-memory.dmp

                memory/3548-45-0x0000000001920000-0x0000000001930000-memory.dmp

                memory/3548-16-0x0000000000360000-0x0000000000375000-memory.dmp

                memory/3548-33-0x0000000001920000-0x0000000001930000-memory.dmp

                memory/3548-54-0x00000000027D0000-0x00000000027D7000-memory.dmp

                memory/3548-31-0x0000000001920000-0x0000000001930000-memory.dmp

                memory/3548-19-0x0000000002200000-0x000000000240F000-memory.dmp

                memory/3548-23-0x0000000001910000-0x0000000001916000-memory.dmp

                memory/3548-53-0x0000000007140000-0x000000000754B000-memory.dmp

                memory/3548-34-0x0000000001920000-0x0000000001930000-memory.dmp

                memory/3548-35-0x0000000001920000-0x0000000001930000-memory.dmp

                memory/3548-49-0x00000000019F0000-0x00000000019F5000-memory.dmp

                memory/3548-36-0x0000000001920000-0x0000000001930000-memory.dmp

                memory/3548-44-0x0000000001920000-0x0000000001930000-memory.dmp

                memory/3548-43-0x0000000001920000-0x0000000001930000-memory.dmp

                memory/3548-42-0x0000000001920000-0x0000000001930000-memory.dmp

                memory/3548-41-0x0000000001920000-0x0000000001930000-memory.dmp

                memory/3548-40-0x0000000001920000-0x0000000001930000-memory.dmp

                memory/3548-39-0x0000000001920000-0x0000000001930000-memory.dmp

                memory/3548-38-0x0000000001920000-0x0000000001930000-memory.dmp

                memory/3548-37-0x0000000001920000-0x0000000001930000-memory.dmp

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

                memory/3972-1-0x0000000000800000-0x0000000000900000-memory.dmp

                memory/3972-8-0x0000000000730000-0x0000000000743000-memory.dmp

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

                memory/3972-7-0x0000000000400000-0x00000000004BD000-memory.dmp

                memory/3972-2-0x0000000000730000-0x0000000000743000-memory.dmp

                memory/4440-11-0x0000000000400000-0x00000000004BD000-memory.dmp

                memory/4440-17-0x0000000000400000-0x00000000004BD000-memory.dmp

                memory/4440-12-0x0000000000400000-0x00000000004BD000-memory.dmp