Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    02-11-2024 17:46

General

  • Target

    86c4a6095758513bcb590895ed3ba9e5_JaffaCakes118.exe

  • Size

    11.4MB

  • MD5

    86c4a6095758513bcb590895ed3ba9e5

  • SHA1

    395ac4a6632eb2a9a55b9cfdc2e04bde0e87681f

  • SHA256

    4ec0c88acd4c018454f87a96b5ef6310bb2ae875729aca010726d74603142689

  • SHA512

    5a820bbbdfb5fc7663757e95b12b2827cbdad3b7fd355b5cf069fdb399531e9a402b4a696d4a0eec798d604e2f97093b041f4d1d53d894abab037fd2dcaf6be3

  • SSDEEP

    196608:S+8888888888888888888888888888888888888888888888888888888888888r:T888888888888888888888888888888c

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\86c4a6095758513bcb590895ed3ba9e5_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\86c4a6095758513bcb590895ed3ba9e5_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:648
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\emkjuaox\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4400
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\dgzhfhpz.exe" C:\Windows\SysWOW64\emkjuaox\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2748
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create emkjuaox binPath= "C:\Windows\SysWOW64\emkjuaox\dgzhfhpz.exe /d\"C:\Users\Admin\AppData\Local\Temp\86c4a6095758513bcb590895ed3ba9e5_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3852
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description emkjuaox "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3524
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start emkjuaox
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1756
    • 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:1008
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 648 -s 780
      2⤵
      • Program crash
      PID:2212
  • C:\Windows\SysWOW64\emkjuaox\dgzhfhpz.exe
    C:\Windows\SysWOW64\emkjuaox\dgzhfhpz.exe /d"C:\Users\Admin\AppData\Local\Temp\86c4a6095758513bcb590895ed3ba9e5_JaffaCakes118.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4904
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3516
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4904 -s 512
      2⤵
      • Program crash
      PID:3420
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 460 -p 648 -ip 648
    1⤵
      PID:2204
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 460 -p 4904 -ip 4904
      1⤵
        PID:4108

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.4MB

        MD5

        f6920b77443255c092bbf9df3f1d4451

        SHA1

        670f15293c4a9ad62a043f0506a9cf4cadc67090

        SHA256

        ab7c17380f2715ab57dc012b1ce4a7e72364cf218623fe7a3075fd6fbffc3666

        SHA512

        974b99cfde0eec0c71564db6fcd7d3ace305ac90bc1f1b9f9082afcbd848cd58e9f5c62e3246de0951bc2320742a7837fa21d11b9accde357609341f33387aaf

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

        Filesize

        340KB

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

        Filesize

        84KB

      • memory/648-2-0x00000000001D0000-0x00000000001E3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/648-9-0x00000000001D0000-0x00000000001E3000-memory.dmp

        Filesize

        76KB

      • memory/648-1-0x00000000005E0000-0x00000000006E0000-memory.dmp

        Filesize

        1024KB

      • memory/3516-14-0x0000000000DD0000-0x0000000000DE5000-memory.dmp

        Filesize

        84KB

      • memory/3516-16-0x0000000000DD0000-0x0000000000DE5000-memory.dmp

        Filesize

        84KB

      • memory/3516-19-0x0000000000DD0000-0x0000000000DE5000-memory.dmp

        Filesize

        84KB

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

        Filesize

        340KB

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

        Filesize

        340KB

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

        Filesize

        340KB

      • memory/4904-18-0x0000000000400000-0x0000000000455000-memory.dmp

        Filesize

        340KB