Analysis

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

    arch:x64arch:x86image:win10v2004-20240226-enlocale:en-usos:windows10-2004-x64system
  • submitted
    21/03/2024, 08:13

General

  • Target
    db22aa00095fe6ac933c8efe27296316.exe
  • Size 14.2MB
  • Sample240321-j4ld3sfb46
  • SHA256 2f8c0ad9a9dc215d5179a8b28a0a61ae022e842085c35862e994be3c517ca6ce
  • 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 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
  • 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\db22aa00095fe6ac933c8efe27296316.exe
    "C:\Users\Admin\AppData\Local\Temp\db22aa00095fe6ac933c8efe27296316.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:1896
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\dozpynft\
      2⤵
        PID:1120
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\uqkqwyqh.exe" C:\Windows\SysWOW64\dozpynft\
        2⤵
          PID:4520
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create dozpynft binPath= "C:\Windows\SysWOW64\dozpynft\uqkqwyqh.exe /d\"C:\Users\Admin\AppData\Local\Temp\db22aa00095fe6ac933c8efe27296316.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:2776
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description dozpynft "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:1868
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start dozpynft
          2⤵
          • Launches sc.exe
          PID:4212
        • 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:2156
      • C:\Windows\SysWOW64\dozpynft\uqkqwyqh.exe
        C:\Windows\SysWOW64\dozpynft\uqkqwyqh.exe /d"C:\Users\Admin\AppData\Local\Temp\db22aa00095fe6ac933c8efe27296316.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:3296
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Deletes itself
          PID:3232

      Network

            MITRE ATT&CK Enterprise v15

            Replay Monitor

            Loading Replay Monitor...

            Downloads

            uqkqwyqh.exe

            • Path C:\Users\Admin\AppData\Local\Temp\uqkqwyqh.exe
            • Size 12.4MB
            • SHA256 dbb1d8b49bc7eabcb73d05122f74589dcd34e4fe70b12dd65987e48f34dabbaa
            • MD5 SHA1 SHA512 SSDEEP

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

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

            memory/1896-3-0x0000000000500000-0x0000000000501000-memory.dmp

            memory/1896-1-0x00000000004F0000-0x00000000004F1000-memory.dmp

            memory/1896-15-0x0000000000400000-0x000000000041E000-memory.dmp

            memory/3232-14-0x0000000000180000-0x0000000000195000-memory.dmp

            memory/3232-10-0x0000000000180000-0x0000000000195000-memory.dmp

            memory/3232-16-0x0000000000180000-0x0000000000195000-memory.dmp

            memory/3232-17-0x0000000000180000-0x0000000000195000-memory.dmp

            memory/3232-18-0x0000000000180000-0x0000000000195000-memory.dmp

            memory/3296-13-0x0000000000400000-0x000000000041E000-memory.dmp

            memory/3296-9-0x0000000000570000-0x0000000000571000-memory.dmp

            memory/3296-7-0x0000000000400000-0x000000000041E000-memory.dmp