Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    31-10-2024 09:13

General

  • Target

    8294dd5787bd67b96be1626a0121cedb_JaffaCakes118.exe

  • Size

    14.7MB

  • MD5

    8294dd5787bd67b96be1626a0121cedb

  • SHA1

    fff7eb9aa0c0607026f63a2e12c4452973084c7a

  • SHA256

    ed7060442c3826f98ea3a5a07d275ebee8e4c9d29ea299d7d689e54fe35f963c

  • SHA512

    0c5365afed982d9de2bf75658d54c7d6a3abd69a0e5c21b67e99c4b1a56e06ba31c2f24b4fc5669557c107858a681fbe13b8fe416e3105de327f71941b09c82d

  • SSDEEP

    393216:Yrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrn:

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.

  • Tofsee family
  • 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
  • System Location Discovery: System Language Discovery 1 TTPs 9 IoCs

    Attempt gather information about the system language of a victim in order to infer the geographical location of that host.

  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\8294dd5787bd67b96be1626a0121cedb_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\8294dd5787bd67b96be1626a0121cedb_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2688
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\yxwxpuvm\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3508
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\rhcoiuyq.exe" C:\Windows\SysWOW64\yxwxpuvm\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3752
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create yxwxpuvm binPath= "C:\Windows\SysWOW64\yxwxpuvm\rhcoiuyq.exe /d\"C:\Users\Admin\AppData\Local\Temp\8294dd5787bd67b96be1626a0121cedb_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4600
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description yxwxpuvm "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:740
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start yxwxpuvm
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4704
    • 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
      • System Location Discovery: System Language Discovery
      PID:812
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2688 -s 868
      2⤵
      • Program crash
      PID:4440
  • C:\Windows\SysWOW64\yxwxpuvm\rhcoiuyq.exe
    C:\Windows\SysWOW64\yxwxpuvm\rhcoiuyq.exe /d"C:\Users\Admin\AppData\Local\Temp\8294dd5787bd67b96be1626a0121cedb_JaffaCakes118.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1476
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4856
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1476 -s 516
      2⤵
      • Program crash
      PID:876
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 2688 -ip 2688
    1⤵
      PID:700
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 484 -p 1476 -ip 1476
      1⤵
        PID:2160

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.0MB

        MD5

        3cf9fc740908d3503201c2ab3bf262b5

        SHA1

        9392de53ae44862cf3095afcaf8dca567bb22833

        SHA256

        071506d1e261c2b41abdb6ff0a1728d68fd2e722150593aebfcf978aa1d234c5

        SHA512

        52e83197e0b8483b5a65f76d9c66a0b7029b4a400355e2e0918479e09cf2d9c48e134cf30e95a5a580cabe606f843ae61c32a731aeca47d9064b790a9f1b4f24

      • memory/1476-13-0x0000000000400000-0x0000000000455000-memory.dmp

        Filesize

        340KB

      • memory/1476-11-0x0000000000400000-0x0000000000455000-memory.dmp

        Filesize

        340KB

      • memory/1476-12-0x0000000000400000-0x0000000000455000-memory.dmp

        Filesize

        340KB

      • memory/1476-19-0x0000000000400000-0x0000000000455000-memory.dmp

        Filesize

        340KB

      • memory/2688-4-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/2688-1-0x0000000000710000-0x0000000000810000-memory.dmp

        Filesize

        1024KB

      • memory/2688-10-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/2688-9-0x00000000001C0000-0x00000000001D3000-memory.dmp

        Filesize

        76KB

      • memory/2688-8-0x0000000000400000-0x0000000000455000-memory.dmp

        Filesize

        340KB

      • memory/2688-2-0x00000000001C0000-0x00000000001D3000-memory.dmp

        Filesize

        76KB

      • memory/4856-16-0x0000000000450000-0x0000000000465000-memory.dmp

        Filesize

        84KB

      • memory/4856-14-0x0000000000450000-0x0000000000465000-memory.dmp

        Filesize

        84KB

      • memory/4856-17-0x0000000000450000-0x0000000000465000-memory.dmp

        Filesize

        84KB