Analysis

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

    arch:x64arch:x86image:win10v2004-20231215-enlocale:en-usos:windows10-2004-x64system
  • submitted
    29/12/2023, 18:34

General

  • Target
    00989dd92c1d87b9652f1264888f8e9f.exe
  • Size 11.2MB
  • Sample231229-w71z6abcfp
  • SHA256 1da02515700ea587c82946f00859c0b40812fe9c063144a4e06711764fea00c0
  • 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 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\00989dd92c1d87b9652f1264888f8e9f.exe
    "C:\Users\Admin\AppData\Local\Temp\00989dd92c1d87b9652f1264888f8e9f.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:4364
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\zkhhxrkw\
      2⤵
        PID:3016
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\tcouezvl.exe" C:\Windows\SysWOW64\zkhhxrkw\
        2⤵
          PID:3008
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create zkhhxrkw binPath= "C:\Windows\SysWOW64\zkhhxrkw\tcouezvl.exe /d\"C:\Users\Admin\AppData\Local\Temp\00989dd92c1d87b9652f1264888f8e9f.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:3080
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description zkhhxrkw "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:1896
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start zkhhxrkw
          2⤵
          • Launches sc.exe
          PID:2232
        • 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:2856
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 4364 -s 1140
          2⤵
          • Program crash
          PID:2196
      • C:\Windows\SysWOW64\zkhhxrkw\tcouezvl.exe
        C:\Windows\SysWOW64\zkhhxrkw\tcouezvl.exe /d"C:\Users\Admin\AppData\Local\Temp\00989dd92c1d87b9652f1264888f8e9f.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:3984
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 3984 -s 556
          2⤵
          • Program crash
          PID:1968
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Deletes itself
          PID:3376
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 4364 -ip 4364
        1⤵
          PID:2772
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 448 -p 3984 -ip 3984
          1⤵
            PID:5004

          Network

                MITRE ATT&CK Enterprise v15

                Replay Monitor

                Loading Replay Monitor...

                Downloads

                tcouezvl.exe

                • Path C:\Users\Admin\AppData\Local\Temp\tcouezvl.exe
                • Size 5.1MB
                • SHA256 629d470c9213d45027c80f11fd88dca6b4c9161c7724f07e895943418ddb2e00
                • MD5 SHA1 SHA512 SSDEEP

                tcouezvl.exe

                • Path C:\Windows\SysWOW64\zkhhxrkw\tcouezvl.exe
                • Size 4.7MB
                • SHA256 209ebb3f5f67527e6e7a67fdc0ffcffca2597504e35931a621fa2027379ab787
                • MD5 SHA1 SHA512 SSDEEP

                memory/3376-18-0x00000000008E0000-0x00000000008F5000-memory.dmp

                memory/3376-16-0x00000000008E0000-0x00000000008F5000-memory.dmp

                memory/3376-15-0x00000000008E0000-0x00000000008F5000-memory.dmp

                memory/3376-12-0x00000000008E0000-0x00000000008F5000-memory.dmp

                memory/3376-19-0x00000000008E0000-0x00000000008F5000-memory.dmp

                memory/3984-10-0x0000000000600000-0x0000000000700000-memory.dmp

                memory/3984-17-0x0000000000400000-0x0000000000456000-memory.dmp

                memory/3984-11-0x0000000000400000-0x0000000000456000-memory.dmp

                memory/4364-3-0x0000000000400000-0x0000000000456000-memory.dmp

                memory/4364-2-0x00000000021A0000-0x00000000021B3000-memory.dmp

                memory/4364-9-0x00000000021A0000-0x00000000021B3000-memory.dmp

                memory/4364-8-0x0000000000400000-0x0000000000456000-memory.dmp

                memory/4364-1-0x0000000000480000-0x0000000000580000-memory.dmp