Analysis

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

    arch:x64arch:x86image:win10v2004-20231215-enlocale:en-usos:windows10-2004-x64system
  • submitted
    15/01/2024, 08:28

General

  • Target
    5c992d65f6bd11e548f836f1121d11dd.exe
  • Size 12.9MB
  • Sample240115-kc8wqsdeb9
  • SHA256 ca7daa04cff8ceabef6dfdb5fcc5fefc3fc457f16aa21e50b75d99450f23c53c
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • tofsee

C2
  • 43.231.4.7

  • lazystax.ru

Signatures

  • Tofsee

    Backdoor/botnet which carries out malicious activities based on commands from a C2 server.

  • Creates new service(s) 1 TTPs
  • Modifies Windows Firewall 1 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
  • 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).

  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\5c992d65f6bd11e548f836f1121d11dd.exe
    "C:\Users\Admin\AppData\Local\Temp\5c992d65f6bd11e548f836f1121d11dd.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:3596
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\mfzjmsib\
      2⤵
        PID:4736
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ihtpueob.exe" C:\Windows\SysWOW64\mfzjmsib\
        2⤵
          PID:2716
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create mfzjmsib binPath= "C:\Windows\SysWOW64\mfzjmsib\ihtpueob.exe /d\"C:\Users\Admin\AppData\Local\Temp\5c992d65f6bd11e548f836f1121d11dd.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:1984
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description mfzjmsib "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:1044
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start mfzjmsib
          2⤵
          • Launches sc.exe
          PID:948
        • 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:2256
      • C:\Windows\SysWOW64\mfzjmsib\ihtpueob.exe
        C:\Windows\SysWOW64\mfzjmsib\ihtpueob.exe /d"C:\Users\Admin\AppData\Local\Temp\5c992d65f6bd11e548f836f1121d11dd.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:1576
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Deletes itself
          PID:692

      Network

            MITRE ATT&CK Enterprise v15

            Replay Monitor

            Loading Replay Monitor...

            Downloads

            ihtpueob.exe

            • Path C:\Users\Admin\AppData\Local\Temp\ihtpueob.exe
            • Size 14.7MB
            • SHA256 1484acd3753f7781033748755b41356e64378299e7d995c8b7fd8e49ad8c2d97
            • MD5 SHA1 SHA512 SSDEEP

            memory/692-11-0x0000000000400000-0x0000000000415000-memory.dmp

            memory/692-18-0x0000000000400000-0x0000000000415000-memory.dmp

            memory/692-17-0x0000000000400000-0x0000000000415000-memory.dmp

            memory/692-16-0x0000000000400000-0x0000000000415000-memory.dmp

            memory/692-15-0x0000000000400000-0x0000000000415000-memory.dmp

            memory/1576-14-0x0000000000400000-0x000000000041E000-memory.dmp

            memory/1576-9-0x0000000000CE0000-0x0000000000CE1000-memory.dmp

            memory/1576-8-0x0000000000400000-0x000000000041E000-memory.dmp

            memory/3596-0-0x0000000000400000-0x000000000041E000-memory.dmp

            memory/3596-6-0x0000000000400000-0x000000000041E000-memory.dmp

            memory/3596-1-0x0000000002160000-0x0000000002161000-memory.dmp

            memory/3596-3-0x0000000002170000-0x0000000002171000-memory.dmp

            memory/3596-2-0x0000000000400000-0x000000000041E000-memory.dmp