Analysis

  • max time kernel
    145s
  • max time network
    145s
  • platform
    windows7_x64
  • resource
    win7-20240903-en
  • resource tags

    arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system
  • submitted
    23-12-2024 23:13

General

  • Target

    JaffaCakes118_be6deee755d6a66153ddac7571805f5e2d50b067ad240e27210952a228607412.exe

  • Size

    286KB

  • MD5

    92082f3ee0d8768ec943b5d97e35a24d

  • SHA1

    131eab6d807db91b27baff834254fc5c8d6fc184

  • SHA256

    be6deee755d6a66153ddac7571805f5e2d50b067ad240e27210952a228607412

  • SHA512

    497f0722881b28324ff211808b332ba92717635dc26b7cde8f1c12e01253819cb13219f16517d8161e6d07800bb3345cd505482a201283ea360cc1d73530ae59

  • SSDEEP

    6144:C2ngr+QI7fbVAHpwWM6iujFfov3bMXLoy:C2ngr+QI7fbIwgiuAbe

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
  • Windows security bypass 2 TTPs 1 IoCs
  • Creates new service(s) 2 TTPs
  • Modifies Windows Firewall 2 TTPs 1 IoCs
  • Sets service image path in registry 2 TTPs 1 IoCs
  • 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.

  • 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 30 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_be6deee755d6a66153ddac7571805f5e2d50b067ad240e27210952a228607412.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_be6deee755d6a66153ddac7571805f5e2d50b067ad240e27210952a228607412.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3036
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\jrijzbtw\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2652
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\dgzhfhpz.exe" C:\Windows\SysWOW64\jrijzbtw\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2756
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create jrijzbtw binPath= "C:\Windows\SysWOW64\jrijzbtw\dgzhfhpz.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_be6deee755d6a66153ddac7571805f5e2d50b067ad240e27210952a228607412.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2836
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description jrijzbtw "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2900
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start jrijzbtw
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2804
    • 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:2868
  • C:\Windows\SysWOW64\jrijzbtw\dgzhfhpz.exe
    C:\Windows\SysWOW64\jrijzbtw\dgzhfhpz.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_be6deee755d6a66153ddac7571805f5e2d50b067ad240e27210952a228607412.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2448
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Windows security bypass
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2780

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    13.6MB

    MD5

    92c5860033267124d9e91605f21e859b

    SHA1

    39c5e2f392db54039c791007d3d3305c7ef6e6ee

    SHA256

    b9c535d0eff805c9bbe708b46905afe9a01a4fa9eb9537d5dc619d5793e3a8ae

    SHA512

    ce4d76a8cce0376937424ca4c78611ebb1af4bf86bb2014cbf2953404d42700819a90dce5ff6ae59df621bcf304d6296fd66f0b554bb4bd20e11936f426246e2

  • memory/2448-17-0x0000000000400000-0x0000000002B90000-memory.dmp

    Filesize

    39.6MB

  • memory/2780-14-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/2780-11-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/2780-16-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/2780-13-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

    Filesize

    4KB

  • memory/2780-18-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    84KB

  • memory/3036-9-0x0000000000020000-0x0000000000033000-memory.dmp

    Filesize

    76KB

  • memory/3036-8-0x0000000000400000-0x0000000002B90000-memory.dmp

    Filesize

    39.6MB

  • memory/3036-1-0x0000000002C70000-0x0000000002D70000-memory.dmp

    Filesize

    1024KB

  • memory/3036-2-0x0000000000020000-0x0000000000033000-memory.dmp

    Filesize

    76KB