Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    01-01-2025 09:32

General

  • Target

    JaffaCakes118_4fece95c5138be47dc60bef4279def37.exe

  • Size

    11.8MB

  • MD5

    4fece95c5138be47dc60bef4279def37

  • SHA1

    1a8feffb0571f72236b16aeffd5223d0ed2400c4

  • SHA256

    f4debee839654168bc951377f49cb7f3af9cc125168975e3ea1a111f92efb705

  • SHA512

    a4c40a3d0963d7ce1d2b15f67e382964fb26a4f52509f770f7f7f6ceeedaa34050f3a13734f70f5f6eb03beb0b03cbc673ab9d7835855bdbf2f9de970feb81d6

  • SSDEEP

    196608:p4TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTn:p

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_4fece95c5138be47dc60bef4279def37.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_4fece95c5138be47dc60bef4279def37.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2972
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\acrqrfzo\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2304
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\diewuxj.exe" C:\Windows\SysWOW64\acrqrfzo\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3512
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create acrqrfzo binPath= "C:\Windows\SysWOW64\acrqrfzo\diewuxj.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_4fece95c5138be47dc60bef4279def37.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:856
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description acrqrfzo "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4900
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start acrqrfzo
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2984
    • 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:4220
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2972 -s 1036
      2⤵
      • Program crash
      PID:2076
  • C:\Windows\SysWOW64\acrqrfzo\diewuxj.exe
    C:\Windows\SysWOW64\acrqrfzo\diewuxj.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_4fece95c5138be47dc60bef4279def37.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:208
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3756
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 208 -s 532
      2⤵
      • Program crash
      PID:4012
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 420 -p 2972 -ip 2972
    1⤵
      PID:3540
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 208 -ip 208
      1⤵
        PID:980

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.6MB

        MD5

        9347acc9edc899e357ab592b4992d3fc

        SHA1

        ad4fc01f1960812ab469a24bcade3d36be627e27

        SHA256

        401928ffb4625c66d18b43ce3267793e5d4393041c17cb7612420377e18db98e

        SHA512

        310564968d4bae3c7ffaf644f69db401cd7ce0758ca3734c3e04f746625280c68a05c606b8580ef10cd7eb523f6bccd7496a09d6b5242150433e88100f3ce75e

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

        Filesize

        4.4MB

      • memory/208-12-0x0000000000400000-0x0000000000870000-memory.dmp

        Filesize

        4.4MB

      • memory/2972-1-0x0000000000920000-0x0000000000A20000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/2972-8-0x0000000000400000-0x0000000000870000-memory.dmp

        Filesize

        4.4MB

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

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/3756-14-0x00000000012F0000-0x0000000001305000-memory.dmp

        Filesize

        84KB

      • memory/3756-11-0x00000000012F0000-0x0000000001305000-memory.dmp

        Filesize

        84KB

      • memory/3756-17-0x00000000012F0000-0x0000000001305000-memory.dmp

        Filesize

        84KB