Analysis

  • max time kernel
    149s
  • max time network
    152s
  • 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, 17:08

General

  • Target
    dc2a8e230e864fc3e8a9526cc1a9776e.exe
  • Size 12.8MB
  • Sample240321-vn1dvaee7s
  • SHA256 48485d0834ca169757ffe096c89f791f4a5335b00966c10180c70e0e95934894
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • tofsee

C2
  • defeatwax.ru

  • refabyd.info

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.

  • 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\dc2a8e230e864fc3e8a9526cc1a9776e.exe
    "C:\Users\Admin\AppData\Local\Temp\dc2a8e230e864fc3e8a9526cc1a9776e.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:2184
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\njbipdhi\
      2⤵
        PID:3380
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ycfbnwtp.exe" C:\Windows\SysWOW64\njbipdhi\
        2⤵
          PID:4504
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create njbipdhi binPath= "C:\Windows\SysWOW64\njbipdhi\ycfbnwtp.exe /d\"C:\Users\Admin\AppData\Local\Temp\dc2a8e230e864fc3e8a9526cc1a9776e.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:4928
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description njbipdhi "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:724
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start njbipdhi
          2⤵
          • Launches sc.exe
          PID:2220
        • 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:2392
      • C:\Windows\SysWOW64\njbipdhi\ycfbnwtp.exe
        C:\Windows\SysWOW64\njbipdhi\ycfbnwtp.exe /d"C:\Users\Admin\AppData\Local\Temp\dc2a8e230e864fc3e8a9526cc1a9776e.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:1448
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          PID:3644

      Network

            MITRE ATT&CK Enterprise v15

            Replay Monitor

            Loading Replay Monitor...

            Downloads

            ycfbnwtp.exe

            • Path C:\Users\Admin\AppData\Local\Temp\ycfbnwtp.exe
            • Size 12.8MB
            • SHA256 faeb0da3077ebcac4a8717172738b810f8c4fae38ecda0ac85ed3de494f6ba41
            • MD5 SHA1 SHA512 SSDEEP

            memory/1448-9-0x00000000004F0000-0x0000000000503000-memory.dmp

            memory/1448-18-0x0000000000400000-0x000000000046E000-memory.dmp

            memory/1448-11-0x0000000000400000-0x000000000046E000-memory.dmp

            memory/1448-8-0x0000000000550000-0x0000000000650000-memory.dmp

            memory/2184-15-0x0000000000400000-0x000000000046E000-memory.dmp

            memory/2184-3-0x0000000000400000-0x000000000046E000-memory.dmp

            memory/2184-1-0x0000000000850000-0x0000000000950000-memory.dmp

            memory/2184-2-0x00000000007D0000-0x00000000007E3000-memory.dmp

            memory/2184-23-0x0000000000850000-0x0000000000950000-memory.dmp

            memory/3644-10-0x00000000009A0000-0x00000000009B5000-memory.dmp

            memory/3644-14-0x00000000009A0000-0x00000000009B5000-memory.dmp

            memory/3644-16-0x00000000009A0000-0x00000000009B5000-memory.dmp

            memory/3644-17-0x00000000009A0000-0x00000000009B5000-memory.dmp

            memory/3644-25-0x00000000009A0000-0x00000000009B5000-memory.dmp