Analysis

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

    arch:x64arch:x86image:win10v2004-20231215-enlocale:en-usos:windows10-2004-x64system
  • submitted
    11/01/2024, 00:53

General

  • Target
    5219ae8b49d9430de458aca19cd0d490.exe
  • Size 13.3MB
  • Sample240111-a86fdabdfj
  • SHA256 fd6951fac18ed6a157eee8cf58889ade60eb3e727fcb0b5b7d2f945c8016f7ff
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • tofsee

C2
  • 194.61.3.129

  • defeatwax.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).

  • Program crash 2 IoCs
  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\5219ae8b49d9430de458aca19cd0d490.exe
    "C:\Users\Admin\AppData\Local\Temp\5219ae8b49d9430de458aca19cd0d490.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:3324
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\guwwzycx\
      2⤵
        PID:3616
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\mqyrkqfe.exe" C:\Windows\SysWOW64\guwwzycx\
        2⤵
          PID:3216
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create guwwzycx binPath= "C:\Windows\SysWOW64\guwwzycx\mqyrkqfe.exe /d\"C:\Users\Admin\AppData\Local\Temp\5219ae8b49d9430de458aca19cd0d490.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:1852
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description guwwzycx "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:2268
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start guwwzycx
          2⤵
          • Launches sc.exe
          PID:1504
        • 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:3672
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 3324 -s 1236
          2⤵
          • Program crash
          PID:1740
      • C:\Windows\SysWOW64\guwwzycx\mqyrkqfe.exe
        C:\Windows\SysWOW64\guwwzycx\mqyrkqfe.exe /d"C:\Users\Admin\AppData\Local\Temp\5219ae8b49d9430de458aca19cd0d490.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:368
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Deletes itself
          PID:2268
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 368 -s 520
          2⤵
          • Program crash
          PID:1704
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 468 -p 3324 -ip 3324
        1⤵
          PID:3372
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 480 -p 368 -ip 368
          1⤵
            PID:396

          Network

                MITRE ATT&CK Enterprise v15

                Replay Monitor

                Loading Replay Monitor...

                Downloads

                mqyrkqfe.exe

                • Path C:\Users\Admin\AppData\Local\Temp\mqyrkqfe.exe
                • Size 10.9MB
                • SHA256 479a9b77331bead0e9960edb94f57a5951d5d3c5d042f17c9ba9e831c74fef72
                • MD5 SHA1 SHA512 SSDEEP

                mqyrkqfe.exe

                • Path C:\Windows\SysWOW64\guwwzycx\mqyrkqfe.exe
                • Size 2.6MB
                • SHA256 ebff3eab37861c8ca9a0526cfb922ccb722cbd7d15c832f19a79be251d50b1f5
                • MD5 SHA1 SHA512 SSDEEP

                memory/368-87-0x0000000000400000-0x000000000089B000-memory.dmp

                memory/368-93-0x0000000000400000-0x000000000089B000-memory.dmp

                memory/368-90-0x00000000009B0000-0x0000000000AB0000-memory.dmp

                memory/368-86-0x00000000009B0000-0x0000000000AB0000-memory.dmp

                memory/2268-100-0x00000000008B0000-0x00000000008C5000-memory.dmp

                memory/2268-99-0x00000000008B0000-0x00000000008C5000-memory.dmp

                memory/2268-98-0x00000000008B0000-0x00000000008C5000-memory.dmp

                memory/2268-97-0x00000000008B0000-0x00000000008C5000-memory.dmp

                memory/2268-92-0x00000000008B0000-0x00000000008C5000-memory.dmp

                memory/3324-6-0x0000000000400000-0x000000000089B000-memory.dmp

                memory/3324-12-0x00000000001C0000-0x00000000001D3000-memory.dmp

                memory/3324-11-0x0000000000400000-0x000000000089B000-memory.dmp

                memory/3324-7-0x0000000000900000-0x0000000000A00000-memory.dmp

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

                memory/3324-5-0x0000000000400000-0x000000000089B000-memory.dmp

                memory/3324-3-0x0000000000400000-0x000000000089B000-memory.dmp

                memory/3324-2-0x00000000001C0000-0x00000000001D3000-memory.dmp