Analysis

  • max time kernel
    149s
  • max time network
    154s
  • platform
    windows7_x64
  • resource
    win7-20240611-en
  • resource tags

    arch:x64arch:x86image:win7-20240611-enlocale:en-usos:windows7-x64system
  • submitted
    23-06-2024 02:06

General

  • Target

    04d88bfc300b49a0e992b3dbcd2354d8_JaffaCakes118.exe

  • Size

    12.2MB

  • MD5

    04d88bfc300b49a0e992b3dbcd2354d8

  • SHA1

    eef78b4bae9d140a932d3fcb570e1f90b961b521

  • SHA256

    e5e6cb06a53338127e7bdd9d98203b2e4b736d5ad98da9e2db178a8a26582730

  • SHA512

    29f0f4f897e7181d3956349d64c6e03ae441e35f597735d093f30134e08a89d46c398417c30359b1a263138f6d9645b80fde0206862669444431c149e77f0e79

  • SSDEEP

    196608:nE/vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvH:nE

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\04d88bfc300b49a0e992b3dbcd2354d8_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\04d88bfc300b49a0e992b3dbcd2354d8_JaffaCakes118.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:2944
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\gpqdmjtz\
      2⤵
        PID:2600
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\gnzmvijd.exe" C:\Windows\SysWOW64\gpqdmjtz\
        2⤵
          PID:2684
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create gpqdmjtz binPath= "C:\Windows\SysWOW64\gpqdmjtz\gnzmvijd.exe /d\"C:\Users\Admin\AppData\Local\Temp\04d88bfc300b49a0e992b3dbcd2354d8_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:2956
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description gpqdmjtz "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:2728
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start gpqdmjtz
          2⤵
          • Launches sc.exe
          PID:2920
        • 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:2656
      • C:\Windows\SysWOW64\gpqdmjtz\gnzmvijd.exe
        C:\Windows\SysWOW64\gpqdmjtz\gnzmvijd.exe /d"C:\Users\Admin\AppData\Local\Temp\04d88bfc300b49a0e992b3dbcd2354d8_JaffaCakes118.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:2604
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Windows security bypass
          • Sets service image path in registry
          • Deletes itself
          PID:3024

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

      • C:\Users\Admin\AppData\Local\Temp\gnzmvijd.exe

        Filesize

        13.3MB

        MD5

        4b04316f1e037ff6d27dbdadd1d73299

        SHA1

        c339c19c76caff9493bb4dd6f17c0bc1b24da5f0

        SHA256

        f185f3455558525eef560fae038ee3a51a349c690bbdd8638b0676e89dd56372

        SHA512

        757be18412e69931621ee6550eaec60492d07d1cc75976035d5610818bef284595a8897dafbd48970a48e828f65643d6cfef55a846a02c228c4979e8fa1a6333

      • memory/2604-15-0x0000000000400000-0x0000000000870000-memory.dmp

        Filesize

        4.4MB

      • memory/2944-3-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/2944-1-0x00000000009E0000-0x0000000000AE0000-memory.dmp

        Filesize

        1024KB

      • memory/2944-6-0x0000000000400000-0x0000000000870000-memory.dmp

        Filesize

        4.4MB

      • memory/2944-8-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/2944-7-0x0000000000020000-0x0000000000033000-memory.dmp

        Filesize

        76KB

      • memory/2944-2-0x0000000000020000-0x0000000000033000-memory.dmp

        Filesize

        76KB

      • memory/3024-11-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/3024-17-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/3024-14-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/3024-13-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

        Filesize

        4KB

      • memory/3024-18-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB