Analysis

  • max time kernel
    150s
  • 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
    03-01-2025 12:06

General

  • Target

    JaffaCakes118_6c7fa58edfd1ff3d11a3621ade79d6ba.exe

  • Size

    14.0MB

  • MD5

    6c7fa58edfd1ff3d11a3621ade79d6ba

  • SHA1

    682254418cb703bdfdab522a6178faf83234b9c3

  • SHA256

    b6b4a2a942787dda37de9baf09836fcd64c6ba4c3b92485a67ca0f9cf1faae76

  • SHA512

    117632a0e95d4d27693f6add98811955603e16d4d8d8b679a65ff9823bbd7a5344600a029a632d54671fd19aa659eb4c996662e6972e476c538fc0269f3dff92

  • SSDEEP

    98304:dvCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCr:d

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_6c7fa58edfd1ff3d11a3621ade79d6ba.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_6c7fa58edfd1ff3d11a3621ade79d6ba.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:5108
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\gtcdncsx\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1660
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\jdmwjmrd.exe" C:\Windows\SysWOW64\gtcdncsx\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4160
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create gtcdncsx binPath= "C:\Windows\SysWOW64\gtcdncsx\jdmwjmrd.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_6c7fa58edfd1ff3d11a3621ade79d6ba.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3300
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description gtcdncsx "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4092
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start gtcdncsx
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1380
    • 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:4168
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 5108 -s 1236
      2⤵
      • Program crash
      PID:2004
  • C:\Windows\SysWOW64\gtcdncsx\jdmwjmrd.exe
    C:\Windows\SysWOW64\gtcdncsx\jdmwjmrd.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_6c7fa58edfd1ff3d11a3621ade79d6ba.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3872
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:5008
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3872 -s 512
      2⤵
      • Program crash
      PID:2940
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 5108 -ip 5108
    1⤵
      PID:5072
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 480 -p 3872 -ip 3872
      1⤵
        PID:4736

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.7MB

        MD5

        f4533215f6eaaef549b1d7dacfb4822b

        SHA1

        8806384cc5addbc56d3b038cd9bf9910f0a8561f

        SHA256

        8ececd4f8c28386cd3a77eb9544bb0b3c4b0ee23edd7e6f9616ef2a4d4fa4701

        SHA512

        000f2581ad5351e9e79b9d193876502e529c68b981382a9019430695ba744bba7b432a117228d240b4ff5924743908eb378d94fa1835f9c7c92bd06291aceca8

      • memory/3872-13-0x0000000000400000-0x0000000000448000-memory.dmp

        Filesize

        288KB

      • memory/3872-12-0x0000000000400000-0x0000000000448000-memory.dmp

        Filesize

        288KB

      • memory/3872-11-0x0000000000400000-0x0000000000448000-memory.dmp

        Filesize

        288KB

      • memory/3872-18-0x0000000000400000-0x0000000000448000-memory.dmp

        Filesize

        288KB

      • memory/5008-14-0x0000000000F30000-0x0000000000F45000-memory.dmp

        Filesize

        84KB

      • memory/5008-16-0x0000000000F30000-0x0000000000F45000-memory.dmp

        Filesize

        84KB

      • memory/5008-17-0x0000000000F30000-0x0000000000F45000-memory.dmp

        Filesize

        84KB

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

        Filesize

        84KB

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

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        76KB

      • memory/5108-8-0x0000000000400000-0x0000000000448000-memory.dmp

        Filesize

        288KB

      • memory/5108-1-0x00000000006E0000-0x00000000007E0000-memory.dmp

        Filesize

        1024KB