Analysis

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

    arch:x64arch:x86image:win10v2004-20231215-enlocale:en-usos:windows10-2004-x64system
  • submitted
    04/04/2024, 16:51

General

  • Target
    bd87e76554e82c653200bfe2c2114355_JaffaCakes118.exe
  • Size 10.1MB
  • Sample240404-vczceach5t
  • SHA256 96e67d80d9eca5208f9fe6f5cb977453adac57ac026d4c6b4cd640418911483d
  • 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.

  • 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\bd87e76554e82c653200bfe2c2114355_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\bd87e76554e82c653200bfe2c2114355_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:4556
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\qmgxhlc\
      2⤵
        PID:5112
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\kzmiutmy.exe" C:\Windows\SysWOW64\qmgxhlc\
        2⤵
          PID:3704
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create qmgxhlc binPath= "C:\Windows\SysWOW64\qmgxhlc\kzmiutmy.exe /d\"C:\Users\Admin\AppData\Local\Temp\bd87e76554e82c653200bfe2c2114355_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:2604
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description qmgxhlc "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:2124
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start qmgxhlc
          2⤵
          • Launches sc.exe
          PID:4328
        • 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:5080
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 4556 -s 1208
          2⤵
          • Program crash
          PID:4972
      • C:\Windows\SysWOW64\qmgxhlc\kzmiutmy.exe
        C:\Windows\SysWOW64\qmgxhlc\kzmiutmy.exe /d"C:\Users\Admin\AppData\Local\Temp\bd87e76554e82c653200bfe2c2114355_JaffaCakes118.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:380
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Deletes itself
          PID:4056
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 380 -s 512
          2⤵
          • Program crash
          PID:2464
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 408 -p 4556 -ip 4556
        1⤵
          PID:2344
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 496 -p 380 -ip 380
          1⤵
            PID:4592

          Network

                MITRE ATT&CK Enterprise v15

                Replay Monitor

                Loading Replay Monitor...

                Downloads

                kzmiutmy.exe

                • Path C:\Users\Admin\AppData\Local\Temp\kzmiutmy.exe
                • Size 11.2MB
                • SHA256 6c7a4b7c78b6f8898f6082fd7a07c358da87f4949edb739ce8ecf549cf306093
                • MD5 SHA1 SHA512 SSDEEP

                memory/380-10-0x0000000000AA0000-0x0000000000BA0000-memory.dmp

                memory/380-17-0x0000000000400000-0x000000000086F000-memory.dmp

                memory/380-12-0x0000000000400000-0x000000000086F000-memory.dmp

                memory/4056-16-0x0000000000390000-0x00000000003A5000-memory.dmp

                memory/4056-11-0x0000000000390000-0x00000000003A5000-memory.dmp

                memory/4056-18-0x0000000000390000-0x00000000003A5000-memory.dmp

                memory/4056-19-0x0000000000390000-0x00000000003A5000-memory.dmp

                memory/4556-8-0x0000000000400000-0x000000000086F000-memory.dmp

                memory/4556-9-0x00000000001C0000-0x00000000001D3000-memory.dmp

                memory/4556-4-0x0000000000400000-0x000000000086F000-memory.dmp

                memory/4556-1-0x0000000000A70000-0x0000000000B70000-memory.dmp

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