Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    29-12-2024 22:36

General

  • Target

    JaffaCakes118_02c2f7c0aa319c0d657f13416f6b0ab894908dea1d5b8a8d861bca68987d01db.exe

  • Size

    217KB

  • MD5

    edacf50354a9e6e50955d4d75dc9d3fc

  • SHA1

    e55be89d83db2c861881ea464a3bf6323b26c4f5

  • SHA256

    02c2f7c0aa319c0d657f13416f6b0ab894908dea1d5b8a8d861bca68987d01db

  • SHA512

    5cbbf27ac3faf2f065f0408abdee478433e0193872fbebcb46411b3fa8c625d84f44348e64aa1a2ceac2310dcd60941f0fad47d5d40475e2fccc6b13cfc6521b

  • SSDEEP

    3072:ShqCP0VOCAW/KEow57KVEXKS9H6U8bDCSQblkUlCyEaa:Ssb/KmXKEaU8QbfVE

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_02c2f7c0aa319c0d657f13416f6b0ab894908dea1d5b8a8d861bca68987d01db.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_02c2f7c0aa319c0d657f13416f6b0ab894908dea1d5b8a8d861bca68987d01db.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:856
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ytghklqw\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:980
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\xecnsnbp.exe" C:\Windows\SysWOW64\ytghklqw\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:232
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create ytghklqw binPath= "C:\Windows\SysWOW64\ytghklqw\xecnsnbp.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_02c2f7c0aa319c0d657f13416f6b0ab894908dea1d5b8a8d861bca68987d01db.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4268
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description ytghklqw "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4672
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start ytghklqw
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:888
    • 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:3360
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 856 -s 1028
      2⤵
      • Program crash
      PID:940
  • C:\Windows\SysWOW64\ytghklqw\xecnsnbp.exe
    C:\Windows\SysWOW64\ytghklqw\xecnsnbp.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_02c2f7c0aa319c0d657f13416f6b0ab894908dea1d5b8a8d861bca68987d01db.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4924
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1668
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4924 -s 512
      2⤵
      • Program crash
      PID:3844
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 856 -ip 856
    1⤵
      PID:3280
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 4924 -ip 4924
      1⤵
        PID:3144

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.4MB

        MD5

        6d1c35ef9d7da4dac6bbe6e85e07005a

        SHA1

        1f6a05b6ef57a433ba2141c96727f9f21459821b

        SHA256

        3783059722cd73f066c65af739bf4122cec4567c45f3f378a4bf5034250d55d9

        SHA512

        d83f7c6c78538b87b98ced4b2c2a7faaf6a49f1e331452b4dba0e3c835a7fb464c6f1a0dcb1d9c4dd53f3d8b683155ce7b64f0105825574feb8eed01324903f7

      • memory/856-9-0x0000000002200000-0x0000000002213000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/856-2-0x0000000002200000-0x0000000002213000-memory.dmp

        Filesize

        76KB

      • memory/856-8-0x0000000000400000-0x00000000004BD000-memory.dmp

        Filesize

        756KB

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

        Filesize

        84KB

      • memory/856-1-0x0000000000620000-0x0000000000720000-memory.dmp

        Filesize

        1024KB

      • memory/1668-14-0x0000000000830000-0x0000000000845000-memory.dmp

        Filesize

        84KB

      • memory/1668-16-0x0000000000830000-0x0000000000845000-memory.dmp

        Filesize

        84KB

      • memory/1668-19-0x0000000000830000-0x0000000000845000-memory.dmp

        Filesize

        84KB

      • memory/4924-11-0x0000000000400000-0x00000000004BD000-memory.dmp

        Filesize

        756KB

      • memory/4924-12-0x0000000000400000-0x00000000004BD000-memory.dmp

        Filesize

        756KB

      • memory/4924-13-0x0000000000400000-0x00000000004BD000-memory.dmp

        Filesize

        756KB

      • memory/4924-18-0x0000000000400000-0x00000000004BD000-memory.dmp

        Filesize

        756KB