Analysis

  • max time kernel
    144s
  • max time network
    147s
  • platform
    windows7_x64
  • resource
    win7-20241010-en
  • resource tags

    arch:x64arch:x86image:win7-20241010-enlocale:en-usos:windows7-x64system
  • submitted
    03-11-2024 13:51

General

  • Target

    8bcc5ece70e5340c66d2e97415ffb075_JaffaCakes118.exe

  • Size

    13.5MB

  • MD5

    8bcc5ece70e5340c66d2e97415ffb075

  • SHA1

    88c81af6078c36e4df87306a6dbb94e2f7158d44

  • SHA256

    f1487d97f490f7b6e072b9f097322b02ef8702b15872bce83382ee2b164d702f

  • SHA512

    9eceb1bd7a9ebbd5ed929a3e752280be6b9df30fa1ffedde0eb564b105eedb9e2c750a6b0cf703b45e3d529906eaa6ef748ce32d749f4de68b30bfe04ac22048

  • SSDEEP

    393216:D88888888888888888888888888888888888888888888888888888888888888n:

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\8bcc5ece70e5340c66d2e97415ffb075_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\8bcc5ece70e5340c66d2e97415ffb075_JaffaCakes118.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:804
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\qnshlsjl\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1700
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\dknlmmcq.exe" C:\Windows\SysWOW64\qnshlsjl\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2016
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create qnshlsjl binPath= "C:\Windows\SysWOW64\qnshlsjl\dknlmmcq.exe /d\"C:\Users\Admin\AppData\Local\Temp\8bcc5ece70e5340c66d2e97415ffb075_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:868
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description qnshlsjl "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2884
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start qnshlsjl
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3044
    • 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:2956
  • C:\Windows\SysWOW64\qnshlsjl\dknlmmcq.exe
    C:\Windows\SysWOW64\qnshlsjl\dknlmmcq.exe /d"C:\Users\Admin\AppData\Local\Temp\8bcc5ece70e5340c66d2e97415ffb075_JaffaCakes118.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3040
    • 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:2620

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    11.1MB

    MD5

    7be29c6f07a591909370c730d25e0474

    SHA1

    74a9d8c39bb05b732f9a2d53735f992626247355

    SHA256

    c8eed2f9ea3d4118cfde872489aea27c34edc9720a218cf483f76528aa2a9a87

    SHA512

    b0971bcb9dba67e8684e23b47f06e12f2d144fe2e21bec13fbe73265ff38476409b92415e2392fb6d003b8822ecea11a8ff6f52aaa8ae45bc9442aefbba47b77

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

    Filesize

    76KB

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

    Filesize

    84KB

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

    Filesize

    1024KB

  • memory/804-11-0x0000000000400000-0x0000000000415000-memory.dmp

    Filesize

    84KB

  • memory/804-10-0x0000000000250000-0x0000000000350000-memory.dmp

    Filesize

    1024KB

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

    Filesize

    76KB

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

    Filesize

    340KB

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

    Filesize

    84KB

  • memory/2620-15-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/2620-14-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

    Filesize

    4KB

  • memory/2620-12-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/2620-19-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/3040-18-0x0000000000400000-0x0000000000455000-memory.dmp

    Filesize

    340KB