Analysis

  • max time kernel
    142s
  • max time network
    147s
  • platform
    windows7_x64
  • resource
    win7-20240221-en
  • resource tags

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

General

  • Target
    bf1da149d7e5da9a8a4908039856414e838db0a32129dcad45b6c737ec92d408.exe
  • Size 290KB
  • Sample240417-qtp3vabc5v
  • SHA256 bf1da149d7e5da9a8a4908039856414e838db0a32129dcad45b6c737ec92d408
  • 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\bf1da149d7e5da9a8a4908039856414e838db0a32129dcad45b6c737ec92d408.exe
    "C:\Users\Admin\AppData\Local\Temp\bf1da149d7e5da9a8a4908039856414e838db0a32129dcad45b6c737ec92d408.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:1752
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\kscnzkbi\
      2⤵
        PID:2928
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\uxqbbkll.exe" C:\Windows\SysWOW64\kscnzkbi\
        2⤵
          PID:3040
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create kscnzkbi binPath= "C:\Windows\SysWOW64\kscnzkbi\uxqbbkll.exe /d\"C:\Users\Admin\AppData\Local\Temp\bf1da149d7e5da9a8a4908039856414e838db0a32129dcad45b6c737ec92d408.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:2644
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description kscnzkbi "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:2260
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start kscnzkbi
          2⤵
          • Launches sc.exe
          PID:2840
        • 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:2660
      • C:\Windows\SysWOW64\kscnzkbi\uxqbbkll.exe
        C:\Windows\SysWOW64\kscnzkbi\uxqbbkll.exe /d"C:\Users\Admin\AppData\Local\Temp\bf1da149d7e5da9a8a4908039856414e838db0a32129dcad45b6c737ec92d408.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:2460
        • 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:2468

      Network

            MITRE ATT&CK Enterprise v15

            Replay Monitor

            Loading Replay Monitor...

            Downloads

            uxqbbkll.exe

            • Path C:\Users\Admin\AppData\Local\Temp\uxqbbkll.exe
            • Size 14.2MB
            • SHA256 503ca386be5c7abb64b852c242f955158486a332b7c8d955e80cc856121c03b3
            • MD5 SHA1 SHA512 SSDEEP

            memory/1752-1-0x00000000008F0000-0x00000000009F0000-memory.dmp

            memory/1752-2-0x0000000000220000-0x0000000000233000-memory.dmp

            memory/1752-4-0x0000000000400000-0x00000000007D1000-memory.dmp

            memory/1752-7-0x0000000000400000-0x00000000007D1000-memory.dmp

            memory/1752-8-0x0000000000220000-0x0000000000233000-memory.dmp

            memory/2460-16-0x0000000000400000-0x00000000007D1000-memory.dmp

            memory/2460-11-0x0000000000400000-0x00000000007D1000-memory.dmp

            memory/2460-10-0x00000000002F0000-0x00000000003F0000-memory.dmp

            memory/2468-15-0x00000000000C0000-0x00000000000D5000-memory.dmp

            memory/2468-13-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

            memory/2468-19-0x00000000000C0000-0x00000000000D5000-memory.dmp

            memory/2468-12-0x00000000000C0000-0x00000000000D5000-memory.dmp

            memory/2468-20-0x00000000000C0000-0x00000000000D5000-memory.dmp

            memory/2468-21-0x00000000000C0000-0x00000000000D5000-memory.dmp

            memory/2468-23-0x00000000000C0000-0x00000000000D5000-memory.dmp