Analysis

  • max time kernel
    145s
  • max time network
    144s
  • platform
    windows7_x64
  • resource
    win7-20240215-en
  • resource tags

    arch:x64arch:x86image:win7-20240215-enlocale:en-usos:windows7-x64system
  • submitted
    18-04-2024 16:21

General

  • Target

    f855c178ba66fef7013303cca97a1a4e_JaffaCakes118.exe

  • Size

    268KB

  • MD5

    f855c178ba66fef7013303cca97a1a4e

  • SHA1

    26756ba97d394b418af1a6772a226ff2f2c18b55

  • SHA256

    e87a5c719ac7af99f1478732889d5df0a275315b42b3b9aecc8b91333bd9c0af

  • SHA512

    2ede9d6202ab29b1724fa57d3ecc947bf6fe45c1052aefdd70a6f6f53dd9e3e0ed785faaf7e05eb46fa56c327a355b92b3f2b219f0affa85d31c192b29cd2531

  • SSDEEP

    6144:jqs4O6bVLJnq2splH1e24EafBw0+8WloM+nCbVV:1sZL0dfJ4EaZZ+9oM+nmV

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) 1 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).

  • Suspicious use of WriteProcessMemory 30 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\f855c178ba66fef7013303cca97a1a4e_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\f855c178ba66fef7013303cca97a1a4e_JaffaCakes118.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:1200
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\gouyfkuv\
      2⤵
        PID:2192
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\pctcuhjd.exe" C:\Windows\SysWOW64\gouyfkuv\
        2⤵
          PID:2736
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create gouyfkuv binPath= "C:\Windows\SysWOW64\gouyfkuv\pctcuhjd.exe /d\"C:\Users\Admin\AppData\Local\Temp\f855c178ba66fef7013303cca97a1a4e_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:2668
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description gouyfkuv "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:2608
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start gouyfkuv
          2⤵
          • Launches sc.exe
          PID:1280
        • 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:2484
      • C:\Windows\SysWOW64\gouyfkuv\pctcuhjd.exe
        C:\Windows\SysWOW64\gouyfkuv\pctcuhjd.exe /d"C:\Users\Admin\AppData\Local\Temp\f855c178ba66fef7013303cca97a1a4e_JaffaCakes118.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:2612
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Windows security bypass
          • Sets service image path in registry
          • Deletes itself
          PID:2624

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.4MB

        MD5

        f7b144d0477ed408a2b42b8ad90b661e

        SHA1

        250d4ea9d7f8427bf708f7e9b817ba41594b26f8

        SHA256

        d8c320fb8b546c73569eccf9bfb6c0609dcbd91a58d1c76882e8b174e71a5560

        SHA512

        d9fea2bac95f600a1064e8a3b94c83720dfd831466dd7ab869219182776051aa34caefd3bee693a1557859b335f77849655fde2818c7054b4e8423edd96b8bfa

      • memory/1200-1-0x0000000000230000-0x0000000000330000-memory.dmp

        Filesize

        1024KB

      • memory/1200-4-0x0000000000400000-0x00000000023AD000-memory.dmp

        Filesize

        31.7MB

      • memory/1200-8-0x0000000000400000-0x00000000023AD000-memory.dmp

        Filesize

        31.7MB

      • memory/1200-2-0x00000000003A0000-0x00000000003B3000-memory.dmp

        Filesize

        76KB

      • memory/2612-15-0x0000000000400000-0x00000000023AD000-memory.dmp

        Filesize

        31.7MB

      • memory/2612-9-0x0000000002540000-0x0000000002640000-memory.dmp

        Filesize

        1024KB

      • memory/2612-17-0x0000000000400000-0x00000000023AD000-memory.dmp

        Filesize

        31.7MB

      • memory/2624-11-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

        Filesize

        4KB

      • memory/2624-13-0x00000000000C0000-0x00000000000D5000-memory.dmp

        Filesize

        84KB

      • memory/2624-19-0x00000000000C0000-0x00000000000D5000-memory.dmp

        Filesize

        84KB

      • memory/2624-10-0x00000000000C0000-0x00000000000D5000-memory.dmp

        Filesize

        84KB

      • memory/2624-20-0x00000000000C0000-0x00000000000D5000-memory.dmp

        Filesize

        84KB

      • memory/2624-21-0x00000000000C0000-0x00000000000D5000-memory.dmp

        Filesize

        84KB