Analysis

  • max time kernel
    146s
  • max time network
    146s
  • platform
    windows7_x64
  • resource
    win7-20240708-en
  • resource tags

    arch:x64arch:x86image:win7-20240708-enlocale:en-usos:windows7-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.

  • Windows security bypass 2 TTPs 1 IoCs
  • Creates new service(s) 2 TTPs
  • Modifies Windows Firewall 2 TTPs 1 IoCs
  • Sets service image path in registry 2 TTPs 1 IoCs
  • 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.

  • Suspicious use of WriteProcessMemory 30 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\3ba29520a9369d1978155deb7aff8d9c_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\3ba29520a9369d1978155deb7aff8d9c_JaffaCakes118.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:2716
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\gwpswsau\
      2⤵
        PID:2996
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\gjhcwdnx.exe" C:\Windows\SysWOW64\gwpswsau\
        2⤵
          PID:2272
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create gwpswsau binPath= "C:\Windows\SysWOW64\gwpswsau\gjhcwdnx.exe /d\"C:\Users\Admin\AppData\Local\Temp\3ba29520a9369d1978155deb7aff8d9c_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:2944
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description gwpswsau "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:2704
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start gwpswsau
          2⤵
          • Launches sc.exe
          PID:2568
        • 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:2644
      • C:\Windows\SysWOW64\gwpswsau\gjhcwdnx.exe
        C:\Windows\SysWOW64\gwpswsau\gjhcwdnx.exe /d"C:\Users\Admin\AppData\Local\Temp\3ba29520a9369d1978155deb7aff8d9c_JaffaCakes118.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:2600
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Windows security bypass
          • Sets service image path in registry
          • Deletes itself
          PID:1684

      Network

            MITRE ATT&CK Enterprise v15

            Replay Monitor

            Loading Replay Monitor...

            Downloads

            gjhcwdnx.exe

            • Path C:\Users\Admin\AppData\Local\Temp\gjhcwdnx.exe
            • Size 9.9MB
            • SHA256 eac1dff4f7a8631b7104d9709786a26977b7d089d0dfc513529cc239cd640311
            • MD5 SHA1 SHA512 SSDEEP

            memory/1684-13-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

            memory/1684-16-0x0000000000080000-0x0000000000095000-memory.dmp

            memory/1684-14-0x0000000000080000-0x0000000000095000-memory.dmp

            memory/1684-11-0x0000000000080000-0x0000000000095000-memory.dmp

            memory/1684-18-0x0000000000080000-0x0000000000095000-memory.dmp

            memory/2600-17-0x0000000000400000-0x0000000000455000-memory.dmp

            memory/2716-2-0x0000000000020000-0x0000000000033000-memory.dmp

            memory/2716-3-0x0000000000400000-0x0000000000415000-memory.dmp

            memory/2716-10-0x0000000000020000-0x0000000000033000-memory.dmp

            memory/2716-9-0x0000000000400000-0x0000000000415000-memory.dmp

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

            memory/2716-1-0x00000000002D0000-0x00000000003D0000-memory.dmp