Analysis

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

    arch:x64arch:x86image:win10v2004-20240709-enlocale:en-usos:windows10-2004-x64system
  • submitted
    12/07/2024, 02:16

General

  • Target
    3ba29520a9369d1978155deb7aff8d9c_JaffaCakes118.exe
  • Size 12.1MB
  • Sample240712-cqa8maxbkf
  • SHA256 2e9099120e555ba687583302ed136d06338c611be9c4519e90d7b3e90a38f3a6
  • 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) 2 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).

  • Event Triggered Execution: Netsh Helper DLL 1 TTPs 3 IoCs

    Netsh.exe (also referred to as Netshell) is a command-line scripting utility used to interact with the network configuration of a system.

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

Processes

  • C:\Users\Admin\AppData\Local\Temp\3ba29520a9369d1978155deb7aff8d9c_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\3ba29520a9369d1978155deb7aff8d9c_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:1052
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\djpubjtt\
      2⤵
        PID:2932
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\zxmysozp.exe" C:\Windows\SysWOW64\djpubjtt\
        2⤵
          PID:624
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create djpubjtt binPath= "C:\Windows\SysWOW64\djpubjtt\zxmysozp.exe /d\"C:\Users\Admin\AppData\Local\Temp\3ba29520a9369d1978155deb7aff8d9c_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:4736
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description djpubjtt "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:4288
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start djpubjtt
          2⤵
          • Launches sc.exe
          PID:1336
        • 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
          • Event Triggered Execution: Netsh Helper DLL
          PID:3104
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 1052 -s 1216
          2⤵
          • Program crash
          PID:2348
      • C:\Windows\SysWOW64\djpubjtt\zxmysozp.exe
        C:\Windows\SysWOW64\djpubjtt\zxmysozp.exe /d"C:\Users\Admin\AppData\Local\Temp\3ba29520a9369d1978155deb7aff8d9c_JaffaCakes118.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:4804
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Deletes itself
          PID:2880
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 4804 -s 520
          2⤵
          • Program crash
          PID:4808
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 416 -p 1052 -ip 1052
        1⤵
          PID:1740
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 428 -p 4804 -ip 4804
          1⤵
            PID:3888

          Network

                MITRE ATT&CK Enterprise v15

                Replay Monitor

                Loading Replay Monitor...

                Downloads

                zxmysozp.exe

                • Path C:\Users\Admin\AppData\Local\Temp\zxmysozp.exe
                • Size 14.8MB
                • SHA256 a2847bf4882dc937570b3fb9dffa758dfdc00420cb46ef0441fd1c7236c1454a
                • MD5 SHA1 SHA512 SSDEEP

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

                memory/1052-4-0x0000000000400000-0x0000000000415000-memory.dmp

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

                memory/1052-8-0x0000000000400000-0x0000000000455000-memory.dmp

                memory/1052-10-0x0000000000400000-0x0000000000415000-memory.dmp

                memory/1052-1-0x0000000000660000-0x0000000000760000-memory.dmp

                memory/2880-13-0x0000000000A40000-0x0000000000A55000-memory.dmp

                memory/2880-16-0x0000000000A40000-0x0000000000A55000-memory.dmp

                memory/2880-17-0x0000000000A40000-0x0000000000A55000-memory.dmp

                memory/4804-12-0x0000000000400000-0x0000000000455000-memory.dmp

                memory/4804-11-0x0000000000400000-0x0000000000455000-memory.dmp

                memory/4804-14-0x0000000000400000-0x0000000000455000-memory.dmp

                memory/4804-19-0x0000000000400000-0x0000000000455000-memory.dmp