Analysis

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

    arch:x64arch:x86image:win7-20241023-enlocale:en-usos:windows7-x64system
  • submitted
    22-12-2024 02:25

General

  • Target

    JaffaCakes118_162dc8ca7cc9e517969a977e2860b6648602b6006491787d5d80001bc1518fa7.exe

  • Size

    243KB

  • MD5

    3252bf56b75b465acbb31cc4dba7daa0

  • SHA1

    bb5e8c04d3f135e529777ea59afa9733dcdb9ae1

  • SHA256

    162dc8ca7cc9e517969a977e2860b6648602b6006491787d5d80001bc1518fa7

  • SHA512

    622d44a2429945a5c0820581654c9eeb2b41960f6c9f560dee3f86f6599be997ef58a946e90ac2427a691b6de6f45c77d8b404b3d507276867bec18c5ba7d56e

  • SSDEEP

    6144:XaZQFbqbPXvUCL7qa97wA5yao5ZYnuV8cKi3ZfM:qZxbPXcCLWVA57rk8Ct

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_162dc8ca7cc9e517969a977e2860b6648602b6006491787d5d80001bc1518fa7.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_162dc8ca7cc9e517969a977e2860b6648602b6006491787d5d80001bc1518fa7.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1776
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\rpblnfdp\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:752
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\rgtpbatf.exe" C:\Windows\SysWOW64\rpblnfdp\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2060
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create rpblnfdp binPath= "C:\Windows\SysWOW64\rpblnfdp\rgtpbatf.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_162dc8ca7cc9e517969a977e2860b6648602b6006491787d5d80001bc1518fa7.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:840
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description rpblnfdp "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2684
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start rpblnfdp
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2740
    • 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:3028
  • C:\Windows\SysWOW64\rpblnfdp\rgtpbatf.exe
    C:\Windows\SysWOW64\rpblnfdp\rgtpbatf.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_162dc8ca7cc9e517969a977e2860b6648602b6006491787d5d80001bc1518fa7.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2808
    • 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:2752

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    10.8MB

    MD5

    e5e968c76490d99eaa17533c855d74a2

    SHA1

    1950e5439c595375c2033561a732bfccbbfd7dde

    SHA256

    f49f1bf91f2d7f008d8b992132eb870931803542b61a95de1fd01c2f3ed1dd61

    SHA512

    511bcbd72a23b46db231ece42a90cd868ad0f839879f239dd2fabdbe6781419a3b70e472e831df17b9816b3ca8b048b0326dd3cef78d3f7dc06bcdc21abebf76

  • memory/1776-8-0x0000000000400000-0x000000000044D000-memory.dmp

    Filesize

    308KB

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

    Filesize

    84KB

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

    Filesize

    76KB

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

    Filesize

    84KB

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

    Filesize

    76KB

  • memory/1776-1-0x0000000000250000-0x0000000000350000-memory.dmp

    Filesize

    1024KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    4KB

  • memory/2752-17-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

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

    Filesize

    84KB

  • memory/2808-15-0x0000000000400000-0x000000000044D000-memory.dmp

    Filesize

    308KB