Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    24-12-2024 09:23

General

  • Target

    JaffaCakes118_acbd0cb684e9de0adb01111e9bbbc1eee0152946829aae3325c9ab9741bc33f4.exe

  • Size

    166KB

  • MD5

    c98ac74e312f4db649bee71480ccd6fb

  • SHA1

    6344d3f82ad4f1ca3a0474ed972865267e11ad4e

  • SHA256

    acbd0cb684e9de0adb01111e9bbbc1eee0152946829aae3325c9ab9741bc33f4

  • SHA512

    eb037e296abcc88db7e804096ff1eb68303c9694d4ac41356f0656050acc9fee0b5a7b1a8f7b1b58759942ec1430e659b03cf241351a659394a288d4db2c122c

  • SSDEEP

    3072:eaMIRpw+UbMXI/C06vRLzFZ/S5XJNCa5xuv+fXyX:RxUgv0657/S5puW/

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\JaffaCakes118_acbd0cb684e9de0adb01111e9bbbc1eee0152946829aae3325c9ab9741bc33f4.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_acbd0cb684e9de0adb01111e9bbbc1eee0152946829aae3325c9ab9741bc33f4.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3516
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\xufjqss\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1836
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\tfrzzkzh.exe" C:\Windows\SysWOW64\xufjqss\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3680
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create xufjqss binPath= "C:\Windows\SysWOW64\xufjqss\tfrzzkzh.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_acbd0cb684e9de0adb01111e9bbbc1eee0152946829aae3325c9ab9741bc33f4.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:5112
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description xufjqss "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3836
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start xufjqss
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3524
    • 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:4964
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3516 -s 1036
      2⤵
      • Program crash
      PID:5076
  • C:\Windows\SysWOW64\xufjqss\tfrzzkzh.exe
    C:\Windows\SysWOW64\xufjqss\tfrzzkzh.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_acbd0cb684e9de0adb01111e9bbbc1eee0152946829aae3325c9ab9741bc33f4.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3172
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3108
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3172 -s 228
      2⤵
      • Program crash
      PID:2760
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 3516 -ip 3516
    1⤵
      PID:5080
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 556 -p 3172 -ip 3172
      1⤵
        PID:3588

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.8MB

        MD5

        316f650998c3f84fa4dec25a3866fddd

        SHA1

        4d07eea91b67ba95435e37c13903b267392d2f3d

        SHA256

        0a66b6644bc578ca80153a0545af96da9a9a557e9ce290bbe08dfbe63d8ed14d

        SHA512

        dff95959b40e3825fdac091430bbd75e3664d85b7626a2de9dd21a061a5fc68fb3306442377a870bc55ddb809ef6911efd2893cb72fed64e5a1b856124c3c442

      • memory/3108-14-0x0000000000EC0000-0x0000000000ED5000-memory.dmp

        Filesize

        84KB

      • memory/3108-17-0x0000000000EC0000-0x0000000000ED5000-memory.dmp

        Filesize

        84KB

      • memory/3108-16-0x0000000000EC0000-0x0000000000ED5000-memory.dmp

        Filesize

        84KB

      • memory/3172-13-0x0000000000400000-0x00000000004B0000-memory.dmp

        Filesize

        704KB

      • memory/3172-11-0x0000000000400000-0x00000000004B0000-memory.dmp

        Filesize

        704KB

      • memory/3172-12-0x0000000000400000-0x00000000004B0000-memory.dmp

        Filesize

        704KB

      • memory/3172-18-0x0000000000400000-0x00000000004B0000-memory.dmp

        Filesize

        704KB

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

        Filesize

        84KB

      • memory/3516-9-0x00000000020C0000-0x00000000020D3000-memory.dmp

        Filesize

        76KB

      • memory/3516-1-0x0000000000500000-0x0000000000600000-memory.dmp

        Filesize

        1024KB

      • memory/3516-8-0x0000000000400000-0x00000000004B0000-memory.dmp

        Filesize

        704KB

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

        Filesize

        84KB

      • memory/3516-2-0x00000000020C0000-0x00000000020D3000-memory.dmp

        Filesize

        76KB