Analysis

  • max time kernel
    150s
  • max time network
    147s
  • 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 18:33

General

  • Target

    JaffaCakes118_b6e0e560d78c516c9fdc7aac115c7a1a.exe

  • Size

    11.6MB

  • MD5

    b6e0e560d78c516c9fdc7aac115c7a1a

  • SHA1

    009b9444c5456d7ef473320427045d2e6fa65745

  • SHA256

    73563ffcb2b871ef56e766df408c564b04fd1e43919929a0c15d028780ee2e73

  • SHA512

    12ddbf413fe7f320102f1064aac72ff73f32f16987f8eb1c3a4b12f2c5f984f18f64666a28e8f86506c795b804239c3d89df15dd294a235a250e232ca7c7c324

  • SSDEEP

    49152:I2mNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN9:l

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_b6e0e560d78c516c9fdc7aac115c7a1a.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_b6e0e560d78c516c9fdc7aac115c7a1a.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:224
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ofklnom\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4908
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\rusnhoyi.exe" C:\Windows\SysWOW64\ofklnom\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3376
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create ofklnom binPath= "C:\Windows\SysWOW64\ofklnom\rusnhoyi.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_b6e0e560d78c516c9fdc7aac115c7a1a.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2740
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description ofklnom "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:740
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start ofklnom
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1528
    • 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:1808
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 224 -s 1044
      2⤵
      • Program crash
      PID:5048
  • C:\Windows\SysWOW64\ofklnom\rusnhoyi.exe
    C:\Windows\SysWOW64\ofklnom\rusnhoyi.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_b6e0e560d78c516c9fdc7aac115c7a1a.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4972
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1376
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4972 -s 516
      2⤵
      • Program crash
      PID:4952
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 224 -ip 224
    1⤵
      PID:2008
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 484 -p 4972 -ip 4972
      1⤵
        PID:4168

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.5MB

        MD5

        cc976c5f6ddc3a80556f6e96a904f04b

        SHA1

        c3f286b766402ba7412c200fa9ea25ff4831470f

        SHA256

        a17e305f8cb0ed347d2807a5199bfaa7961c263fe0887fd36bd2abf72f1f0e98

        SHA512

        73fd58ecf3bac9ffae76c1d3619ae8239780668d70848f72b0fbab42385ef9b1386849ba363590b1935f2f7e0da19bf496c787098befe64c9a9c3f7d6dae2077

      • memory/224-1-0x0000000000A40000-0x0000000000B40000-memory.dmp

        Filesize

        1024KB

      • memory/224-2-0x00000000009C0000-0x00000000009D3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        84KB

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

        Filesize

        4.4MB

      • memory/224-9-0x00000000009C0000-0x00000000009D3000-memory.dmp

        Filesize

        76KB

      • memory/1376-12-0x00000000004A0000-0x00000000004B5000-memory.dmp

        Filesize

        84KB

      • memory/1376-14-0x00000000004A0000-0x00000000004B5000-memory.dmp

        Filesize

        84KB

      • memory/1376-15-0x00000000004A0000-0x00000000004B5000-memory.dmp

        Filesize

        84KB

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

        Filesize

        4.4MB

      • memory/4972-16-0x0000000000400000-0x000000000086B000-memory.dmp

        Filesize

        4.4MB