Analysis

  • max time kernel
    149s
  • 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
    06-01-2025 04:30

General

  • Target

    JaffaCakes118_0e8701d6ce1c4bcd1cf5be02393fd780.exe

  • Size

    10.2MB

  • MD5

    0e8701d6ce1c4bcd1cf5be02393fd780

  • SHA1

    a4dcfd76ad6da9e6a4980e6970054490c95ed17a

  • SHA256

    4fed412becd301c9f805f9391c5c4d3c1c094516f5eb09ba82ea97e802759e78

  • SHA512

    09f6e1d07a76020c06b1817dcae26225273e47fde990596a49a4f6fa122e48f9b9dcaa9114f05cd74743d17dabd47afd7b108364fc3b56f38cfa6d701fa08a82

  • SSDEEP

    12288:EZv3F8h86NMcoGuc3FXE4WrIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIj:Ep3F8Au3FPW

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_0e8701d6ce1c4bcd1cf5be02393fd780.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_0e8701d6ce1c4bcd1cf5be02393fd780.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2308
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\gqcphnyd\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4488
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\figbvcmw.exe" C:\Windows\SysWOW64\gqcphnyd\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3632
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create gqcphnyd binPath= "C:\Windows\SysWOW64\gqcphnyd\figbvcmw.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_0e8701d6ce1c4bcd1cf5be02393fd780.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1148
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description gqcphnyd "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1276
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start gqcphnyd
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:5100
    • 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:4084
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2308 -s 1332
      2⤵
      • Program crash
      PID:3208
  • C:\Windows\SysWOW64\gqcphnyd\figbvcmw.exe
    C:\Windows\SysWOW64\gqcphnyd\figbvcmw.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_0e8701d6ce1c4bcd1cf5be02393fd780.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:3580
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3872 -s 512
      2⤵
      • Program crash
      PID:3564
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 432 -p 2308 -ip 2308
    1⤵
      PID:1984
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 420 -p 3872 -ip 3872
      1⤵
        PID:628

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.6MB

        MD5

        9e74ee18cd35d208bd479d515c950152

        SHA1

        27cc9220ad7782fd96a9b6a5a56355218ec83c0e

        SHA256

        641e61a920a457732ee114454e9658543424db05e4bd4cab38fac6b647d5496e

        SHA512

        9066694663afcb42c59dc78834dea084dfe826abbdc8546d2eba7ddf2af4613154669f9ca0a037652cfca70598fca4c191c6412baddf1fe747bc3fba3a522492

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

        Filesize

        308KB

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

        Filesize

        84KB

      • memory/2308-1-0x00000000004E0000-0x00000000005E0000-memory.dmp

        Filesize

        1024KB

      • memory/2308-9-0x0000000000490000-0x00000000004A3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/2308-2-0x0000000000490000-0x00000000004A3000-memory.dmp

        Filesize

        76KB

      • memory/3580-14-0x0000000000BC0000-0x0000000000BD5000-memory.dmp

        Filesize

        84KB

      • memory/3580-16-0x0000000000BC0000-0x0000000000BD5000-memory.dmp

        Filesize

        84KB

      • memory/3580-17-0x0000000000BC0000-0x0000000000BD5000-memory.dmp

        Filesize

        84KB

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

        Filesize

        308KB

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

        Filesize

        308KB

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

        Filesize

        308KB

      • memory/3872-19-0x0000000000400000-0x000000000044D000-memory.dmp

        Filesize

        308KB