Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    10-01-2025 12:18

General

  • Target

    JaffaCakes118_e4102e6bc13f395e41d56630933c5b7f.exe

  • Size

    11.3MB

  • MD5

    e4102e6bc13f395e41d56630933c5b7f

  • SHA1

    0ed523c9ea7709add9343e7bbe007c67932488d5

  • SHA256

    94da4b758bbbfc4bf501f5232f16478b8c56a63e77f20090bf91a5c8c3821927

  • SHA512

    18df3f62bf992509f54f2a4acf702f513483f4104decb1b565339540932038d53e4796edcfb536bc7338665479e31cb57ca91840a4c79a5f467b288876740951

  • SSDEEP

    49152:kUkssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssX:k

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_e4102e6bc13f395e41d56630933c5b7f.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_e4102e6bc13f395e41d56630933c5b7f.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4772
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\tpilpdsr\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3312
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\sezwdccq.exe" C:\Windows\SysWOW64\tpilpdsr\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2140
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create tpilpdsr binPath= "C:\Windows\SysWOW64\tpilpdsr\sezwdccq.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_e4102e6bc13f395e41d56630933c5b7f.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1220
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description tpilpdsr "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:5096
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start tpilpdsr
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1632
    • 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:4380
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4772 -s 1044
      2⤵
      • Program crash
      PID:3136
  • C:\Windows\SysWOW64\tpilpdsr\sezwdccq.exe
    C:\Windows\SysWOW64\tpilpdsr\sezwdccq.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_e4102e6bc13f395e41d56630933c5b7f.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3896
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1988
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3896 -s 512
      2⤵
      • Program crash
      PID:3492
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 464 -p 4772 -ip 4772
    1⤵
      PID:1240
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 512 -p 3896 -ip 3896
      1⤵
        PID:3160

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.2MB

        MD5

        55dea79dc73fbc1853fa4efc7a0cbad9

        SHA1

        061916fba80d1a4fce4fe9e2857ace51d5dbdd5f

        SHA256

        0cf1371448062e425dca5c369cadad526b6aff310238be5989bca6ae1f04501f

        SHA512

        f82d3a7f1f7ec66a917ec421470a0df7ba6cf380ea0b623dadca826f765f1983d5601e5bf08c98a1cdb45300f1bd27e457d92029536c3feee27f1fbfd4e2656c

      • memory/1988-15-0x0000000001020000-0x0000000001035000-memory.dmp

        Filesize

        84KB

      • memory/1988-13-0x0000000001020000-0x0000000001035000-memory.dmp

        Filesize

        84KB

      • memory/1988-16-0x0000000001020000-0x0000000001035000-memory.dmp

        Filesize

        84KB

      • memory/3896-12-0x0000000000400000-0x000000000086B000-memory.dmp

        Filesize

        4.4MB

      • memory/3896-11-0x0000000000400000-0x000000000086B000-memory.dmp

        Filesize

        4.4MB

      • memory/3896-18-0x0000000000400000-0x000000000086B000-memory.dmp

        Filesize

        4.4MB

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

        Filesize

        84KB

      • memory/4772-2-0x0000000000CD0000-0x0000000000CE3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/4772-9-0x0000000000CD0000-0x0000000000CE3000-memory.dmp

        Filesize

        76KB

      • memory/4772-8-0x0000000000400000-0x000000000086B000-memory.dmp

        Filesize

        4.4MB

      • memory/4772-1-0x00000000009D0000-0x0000000000AD0000-memory.dmp

        Filesize

        1024KB