Analysis

  • max time kernel
    142s
  • max time network
    150s
  • platform
    windows7_x64
  • resource
    win7-20240220-en
  • resource tags

    arch:x64arch:x86image:win7-20240220-enlocale:en-usos:windows7-x64system
  • submitted
    17/04/2024, 13:34

General

  • Target
    d171d38b6205dd0a4b69004e182eb2d5bfaa7f97fff4aa622c491f383833de03.exe
  • Size 298KB
  • Sample240417-qt23eabc7x
  • SHA256 d171d38b6205dd0a4b69004e182eb2d5bfaa7f97fff4aa622c491f383833de03
  • 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.

  • Windows security bypass 2 TTPs 1 IoCs
  • Creates new service(s) 1 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).

  • Modifies data under HKEY_USERS 3 IoCs
  • Suspicious use of WriteProcessMemory 30 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\d171d38b6205dd0a4b69004e182eb2d5bfaa7f97fff4aa622c491f383833de03.exe
    "C:\Users\Admin\AppData\Local\Temp\d171d38b6205dd0a4b69004e182eb2d5bfaa7f97fff4aa622c491f383833de03.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:2008
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\jnasvsge\
      2⤵
        PID:2192
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\kwinkqpd.exe" C:\Windows\SysWOW64\jnasvsge\
        2⤵
          PID:3004
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create jnasvsge binPath= "C:\Windows\SysWOW64\jnasvsge\kwinkqpd.exe /d\"C:\Users\Admin\AppData\Local\Temp\d171d38b6205dd0a4b69004e182eb2d5bfaa7f97fff4aa622c491f383833de03.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:2676
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description jnasvsge "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:2656
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start jnasvsge
          2⤵
          • Launches sc.exe
          PID:2464
        • 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
          PID:2692
      • C:\Windows\SysWOW64\jnasvsge\kwinkqpd.exe
        C:\Windows\SysWOW64\jnasvsge\kwinkqpd.exe /d"C:\Users\Admin\AppData\Local\Temp\d171d38b6205dd0a4b69004e182eb2d5bfaa7f97fff4aa622c491f383833de03.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:2572
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Windows security bypass
          • Sets service image path in registry
          • Deletes itself
          • Drops file in System32 directory
          • Modifies data under HKEY_USERS
          PID:2452

      Network

            MITRE ATT&CK Enterprise v15

            Replay Monitor

            Loading Replay Monitor...

            Downloads

            kwinkqpd.exe

            • Path C:\Users\Admin\AppData\Local\Temp\kwinkqpd.exe
            • Size 10.6MB
            • SHA256 cb2ec6a074d7b8b600068c9025b5bac0317551ea7451bcbe894d87ca6f60e857
            • MD5 SHA1 SHA512 SSDEEP

            memory/2008-3-0x0000000000230000-0x0000000000243000-memory.dmp

            memory/2008-1-0x0000000000900000-0x0000000000A00000-memory.dmp

            memory/2008-4-0x0000000000400000-0x00000000007D3000-memory.dmp

            memory/2008-7-0x0000000000400000-0x00000000007D3000-memory.dmp

            memory/2452-11-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

            memory/2452-13-0x0000000000080000-0x0000000000095000-memory.dmp

            memory/2452-10-0x0000000000080000-0x0000000000095000-memory.dmp

            memory/2452-19-0x0000000000080000-0x0000000000095000-memory.dmp

            memory/2452-20-0x0000000000080000-0x0000000000095000-memory.dmp

            memory/2452-22-0x0000000000080000-0x0000000000095000-memory.dmp

            memory/2572-9-0x0000000000230000-0x0000000000330000-memory.dmp

            memory/2572-15-0x0000000000400000-0x00000000007D3000-memory.dmp

            memory/2572-17-0x0000000000400000-0x00000000007D3000-memory.dmp