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
    24-12-2024 17:45

General

  • Target

    JaffaCakes118_c6c06657dda6548688bc99410737e0ec5c39c172bdb50eefa6cd05b1352ea3d0.exe

  • Size

    166KB

  • MD5

    315de4a0db7d9b0d353dafa247fa65fb

  • SHA1

    9f960397454775ecfad00fc7d2c2a1f70f3bd5ac

  • SHA256

    c6c06657dda6548688bc99410737e0ec5c39c172bdb50eefa6cd05b1352ea3d0

  • SHA512

    1ea4bc3c55d105ba76b6181350a1a3376491f8954ff3eac5ae69249b45558bed940a0646b274a59d2a2dc48f1e6878a849b7cfe95262430067e02bbd71e5b7fa

  • SSDEEP

    1536:WkvcK8csDbh4DNXrtsokWJAntJioiGHA0vhyTEuEJT9AoLSI+xNZStnYa5OxfcGp:l6D4NZsPLrA0EEFF2ZN2Ya5OJcexDX

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_c6c06657dda6548688bc99410737e0ec5c39c172bdb50eefa6cd05b1352ea3d0.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_c6c06657dda6548688bc99410737e0ec5c39c172bdb50eefa6cd05b1352ea3d0.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:688
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\rfrrabmi\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1088
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\cwsyjtlr.exe" C:\Windows\SysWOW64\rfrrabmi\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:972
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create rfrrabmi binPath= "C:\Windows\SysWOW64\rfrrabmi\cwsyjtlr.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_c6c06657dda6548688bc99410737e0ec5c39c172bdb50eefa6cd05b1352ea3d0.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:5032
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description rfrrabmi "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1288
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start rfrrabmi
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:848
    • 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:2300
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 688 -s 1168
      2⤵
      • Program crash
      PID:5068
  • C:\Windows\SysWOW64\rfrrabmi\cwsyjtlr.exe
    C:\Windows\SysWOW64\rfrrabmi\cwsyjtlr.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_c6c06657dda6548688bc99410737e0ec5c39c172bdb50eefa6cd05b1352ea3d0.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3960
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4820
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3960 -s 520
      2⤵
      • Program crash
      PID:212
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 688 -ip 688
    1⤵
      PID:4600
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 512 -p 3960 -ip 3960
      1⤵
        PID:1632

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        11.1MB

        MD5

        6182450fb331904fa36fb16ae854e4d5

        SHA1

        430772ad7b4c3805a733df5ff7494fedfac7bf15

        SHA256

        4a76e26d52c53574b4c91cbafd0952c6c38be6929990b7ba2b4806fe168747fc

        SHA512

        74f4dba94c69fb6dfd59abb174b34f848ad342880217f3a119a6ce993eb75a4359cabf62bfb5c0b7b9c1cfb61bb92dde2479a6d0187adf6639d6f2e3eb4bdba3

      • memory/688-9-0x0000000000640000-0x0000000000653000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/688-2-0x0000000000640000-0x0000000000653000-memory.dmp

        Filesize

        76KB

      • memory/688-8-0x0000000000400000-0x00000000004B0000-memory.dmp

        Filesize

        704KB

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

        Filesize

        84KB

      • memory/688-1-0x0000000000810000-0x0000000000910000-memory.dmp

        Filesize

        1024KB

      • memory/3960-13-0x0000000000400000-0x00000000004B0000-memory.dmp

        Filesize

        704KB

      • memory/3960-12-0x0000000000400000-0x00000000004B0000-memory.dmp

        Filesize

        704KB

      • memory/3960-11-0x0000000000400000-0x00000000004B0000-memory.dmp

        Filesize

        704KB

      • memory/3960-18-0x0000000000400000-0x00000000004B0000-memory.dmp

        Filesize

        704KB

      • memory/4820-14-0x00000000009A0000-0x00000000009B5000-memory.dmp

        Filesize

        84KB

      • memory/4820-16-0x00000000009A0000-0x00000000009B5000-memory.dmp

        Filesize

        84KB

      • memory/4820-17-0x00000000009A0000-0x00000000009B5000-memory.dmp

        Filesize

        84KB