Analysis

  • max time kernel
    149s
  • max time network
    151s
  • 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 10:36

General

  • Target

    JaffaCakes118_e21181a90f076b9e930a523bce604588.exe

  • Size

    12.0MB

  • MD5

    e21181a90f076b9e930a523bce604588

  • SHA1

    240a200e30ad73dbe737ef12ec5fb2863603b3ad

  • SHA256

    31503bdb8b3ee9da6bb91ada24ebe560d7e5edd27b9f01c53f0afce48ceedd55

  • SHA512

    32d458f689fe9f5e32c06e5d0308c6d7d0f4616747f6043458548615fc780014bf031e327e89a0a16fd013ebee0fe76fb2afbbc9c75d1a87f01c673db555ff4c

  • SSDEEP

    12288:lZv3F8h86NMcoGuc3FXE4WrIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIr:lp3F8Au3FPW

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_e21181a90f076b9e930a523bce604588.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_e21181a90f076b9e930a523bce604588.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2140
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ewypklmb\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3968
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\szlyhuvp.exe" C:\Windows\SysWOW64\ewypklmb\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3732
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create ewypklmb binPath= "C:\Windows\SysWOW64\ewypklmb\szlyhuvp.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_e21181a90f076b9e930a523bce604588.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3808
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description ewypklmb "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3736
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start ewypklmb
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4116
    • 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:4132
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2140 -s 1036
      2⤵
      • Program crash
      PID:3776
  • C:\Windows\SysWOW64\ewypklmb\szlyhuvp.exe
    C:\Windows\SysWOW64\ewypklmb\szlyhuvp.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_e21181a90f076b9e930a523bce604588.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4348
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:668
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4348 -s 548
      2⤵
      • Program crash
      PID:4008
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 432 -p 2140 -ip 2140
    1⤵
      PID:3656
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 476 -p 4348 -ip 4348
      1⤵
        PID:3188

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.6MB

        MD5

        570faeffb0e6084dc029493844daac8b

        SHA1

        b89bdd5b3593a524e8800f0ced6830813f542b29

        SHA256

        4b987f7e5f9064495c5fc7e98db6264ba45af901f41e967201691d77b7714f8e

        SHA512

        ed2f779646e8ef715f501c7a5c22c66db0a59778747826c8bafe15f25c5ff546f3852a1f555a2e72e5856998b087d98544f29b6db8b9fef5ac7f1adae0a45670

      • memory/668-14-0x00000000004D0000-0x00000000004E5000-memory.dmp

        Filesize

        84KB

      • memory/668-19-0x00000000004D0000-0x00000000004E5000-memory.dmp

        Filesize

        84KB

      • memory/668-18-0x00000000004D0000-0x00000000004E5000-memory.dmp

        Filesize

        84KB

      • memory/2140-8-0x0000000000400000-0x000000000044D000-memory.dmp

        Filesize

        308KB

      • memory/2140-9-0x0000000000560000-0x0000000000573000-memory.dmp

        Filesize

        76KB

      • memory/2140-1-0x0000000000760000-0x0000000000860000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/2140-2-0x0000000000560000-0x0000000000573000-memory.dmp

        Filesize

        76KB

      • memory/4348-16-0x0000000000400000-0x000000000044D000-memory.dmp

        Filesize

        308KB

      • memory/4348-13-0x0000000000400000-0x000000000044D000-memory.dmp

        Filesize

        308KB

      • memory/4348-12-0x0000000000400000-0x000000000044D000-memory.dmp

        Filesize

        308KB

      • memory/4348-11-0x0000000000400000-0x000000000044D000-memory.dmp

        Filesize

        308KB