Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    23-12-2024 20:51

General

  • Target

    JaffaCakes118_8e4c774250513b7e0b5b1bfdc151ff584a2f92f150d3b9314f71b54cd9e5e85e.exe

  • Size

    289KB

  • MD5

    f0b389eddb739dff2910a5fd0ac9e230

  • SHA1

    1f53d0c5cf8d47155288fbb095da8042e3187486

  • SHA256

    8e4c774250513b7e0b5b1bfdc151ff584a2f92f150d3b9314f71b54cd9e5e85e

  • SHA512

    a936a339ce4180f330d556eba167f34f415d3fa1526368a142a2bd232e3c73277f810a5d15d23fa2962c52ffcb2a30ee3b4bb4456b8cb579fec9176c7d679cf3

  • SSDEEP

    6144:1OpmAt9iWg1uqJL6BbxOOhxxdeTr/ekI:eji/L6BJzxd6L

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_8e4c774250513b7e0b5b1bfdc151ff584a2f92f150d3b9314f71b54cd9e5e85e.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_8e4c774250513b7e0b5b1bfdc151ff584a2f92f150d3b9314f71b54cd9e5e85e.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4124
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\dioppilu\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4504
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\wzsayais.exe" C:\Windows\SysWOW64\dioppilu\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4752
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create dioppilu binPath= "C:\Windows\SysWOW64\dioppilu\wzsayais.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_8e4c774250513b7e0b5b1bfdc151ff584a2f92f150d3b9314f71b54cd9e5e85e.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4192
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description dioppilu "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4892
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start dioppilu
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3116
    • 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:264
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4124 -s 1188
      2⤵
      • Program crash
      PID:3936
  • C:\Windows\SysWOW64\dioppilu\wzsayais.exe
    C:\Windows\SysWOW64\dioppilu\wzsayais.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_8e4c774250513b7e0b5b1bfdc151ff584a2f92f150d3b9314f71b54cd9e5e85e.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3612
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3232
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3612 -s 512
      2⤵
      • Program crash
      PID:4500
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 4124 -ip 4124
    1⤵
      PID:2496
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 448 -p 3612 -ip 3612
      1⤵
        PID:2868

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.2MB

        MD5

        f94ff5c505c9853054dce9d73116d92b

        SHA1

        9d8f113362b9231267b5dbcada234f134c4eb8c1

        SHA256

        b0c4cb3df205890dd0c67f75470e350cb0bf6b77ef979d02cca8ed3d8e5f4f50

        SHA512

        339d77884da862614453b40c845db5b0bc9ce6c7b70768557ec033192fea88f817603e6de2e96fc6c376c08918806ab17aea796be3cf8e7b42be3eb78fca9f24

      • memory/3232-14-0x0000000001200000-0x0000000001215000-memory.dmp

        Filesize

        84KB

      • memory/3232-17-0x0000000001200000-0x0000000001215000-memory.dmp

        Filesize

        84KB

      • memory/3232-16-0x0000000001200000-0x0000000001215000-memory.dmp

        Filesize

        84KB

      • memory/3612-13-0x0000000000400000-0x0000000000455000-memory.dmp

        Filesize

        340KB

      • memory/3612-12-0x0000000000400000-0x0000000000455000-memory.dmp

        Filesize

        340KB

      • memory/3612-11-0x0000000000400000-0x0000000000455000-memory.dmp

        Filesize

        340KB

      • memory/3612-19-0x0000000000400000-0x0000000000455000-memory.dmp

        Filesize

        340KB

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

        Filesize

        84KB

      • memory/4124-8-0x0000000000400000-0x0000000000455000-memory.dmp

        Filesize

        340KB

      • memory/4124-1-0x0000000000520000-0x0000000000620000-memory.dmp

        Filesize

        1024KB

      • memory/4124-9-0x00000000001C0000-0x00000000001D3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/4124-2-0x00000000001C0000-0x00000000001D3000-memory.dmp

        Filesize

        76KB