Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    05-01-2025 13:57

General

  • Target

    JaffaCakes118_a8e160b0eab8a79a750eeb89aa963006.exe

  • Size

    11.7MB

  • MD5

    a8e160b0eab8a79a750eeb89aa963006

  • SHA1

    485a389f77f4c4dda1dbf5e6f92cf878409ec9ed

  • SHA256

    6b65341118c8804cdc8160231334720f941f4aa427ae61b8440042827b626f9b

  • SHA512

    bde2c40e584f2f2cc662b34a5984287ee8e693b5cd4ecadb280e4b2dbf2bba1854eaa8d3504540f7cf6784fd43276f9fe0dd0e5a9b6182abbc770ceaa68297d5

  • SSDEEP

    196608:ThKaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaan:T

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_a8e160b0eab8a79a750eeb89aa963006.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_a8e160b0eab8a79a750eeb89aa963006.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:464
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\dkfmrcav\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4152
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\bzjhhxgw.exe" C:\Windows\SysWOW64\dkfmrcav\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1616
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create dkfmrcav binPath= "C:\Windows\SysWOW64\dkfmrcav\bzjhhxgw.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_a8e160b0eab8a79a750eeb89aa963006.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2988
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description dkfmrcav "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4964
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start dkfmrcav
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1848
    • 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:2500
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 464 -s 1344
      2⤵
      • Program crash
      PID:4624
  • C:\Windows\SysWOW64\dkfmrcav\bzjhhxgw.exe
    C:\Windows\SysWOW64\dkfmrcav\bzjhhxgw.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_a8e160b0eab8a79a750eeb89aa963006.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:456
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3156
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 456 -s 520
      2⤵
      • Program crash
      PID:4500
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 464 -ip 464
    1⤵
      PID:3832
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 492 -p 456 -ip 456
      1⤵
        PID:1336

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.0MB

        MD5

        2f5f5daba97a2741e0accd032949da99

        SHA1

        2b7f1096b049cd813a6eadff359240798263c9a8

        SHA256

        0e4fdb82b23a62ae0cd07ff5f17d4afbb16522ea55271cfda77f3dcf85d4ca75

        SHA512

        5b76d979fc175c6ba7dc94bcad1d54fe8e3b529dfd572882fad16583c7d15803a289a729573b034078faf45ac0b2dd9ee5f1020d5276728ab9d02da70270e64a

      • memory/456-13-0x0000000000400000-0x000000000086F000-memory.dmp

        Filesize

        4.4MB

      • memory/456-15-0x0000000000400000-0x000000000086F000-memory.dmp

        Filesize

        4.4MB

      • memory/464-1-0x0000000000AB0000-0x0000000000BB0000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        84KB

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

        Filesize

        76KB

      • memory/464-8-0x0000000000400000-0x000000000086F000-memory.dmp

        Filesize

        4.4MB

      • memory/3156-11-0x0000000000C40000-0x0000000000C55000-memory.dmp

        Filesize

        84KB

      • memory/3156-14-0x0000000000C40000-0x0000000000C55000-memory.dmp

        Filesize

        84KB

      • memory/3156-17-0x0000000000C40000-0x0000000000C55000-memory.dmp

        Filesize

        84KB