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 17:13

General

  • Target

    JaffaCakes118_b979755ac86ec02de0068d1d873064ad9c6d73d5ae0ad5f70ebf48d56dfb3a59.exe

  • Size

    286KB

  • MD5

    fb73d870e424a23443e73e0593b0ec46

  • SHA1

    17f76ce7d91f19c6030a1d457c72c7aba219d89b

  • SHA256

    b979755ac86ec02de0068d1d873064ad9c6d73d5ae0ad5f70ebf48d56dfb3a59

  • SHA512

    1e28f84c5b9d3a577416194f0d7c7cdcd8915a686e882df1e5261cd11d041865a05b44fe6d3a3c4ea4fa285f548ab88bdf82039cd1c41d799b871414d768f755

  • SSDEEP

    3072:5At7kEc9xTQyjv0TblKBF05HOu0ay/M3V9h2HxetxaA1j/dVcuBUA4VFrm5yUH:5s7wvQyjvelKbyH8UEHxEx53cuVQG

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_b979755ac86ec02de0068d1d873064ad9c6d73d5ae0ad5f70ebf48d56dfb3a59.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_b979755ac86ec02de0068d1d873064ad9c6d73d5ae0ad5f70ebf48d56dfb3a59.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2324
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\hejpwpvu\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1736
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\bgcusvh.exe" C:\Windows\SysWOW64\hejpwpvu\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1256
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create hejpwpvu binPath= "C:\Windows\SysWOW64\hejpwpvu\bgcusvh.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_b979755ac86ec02de0068d1d873064ad9c6d73d5ae0ad5f70ebf48d56dfb3a59.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2480
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description hejpwpvu "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2660
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start hejpwpvu
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2724
    • 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:2900
  • C:\Windows\SysWOW64\hejpwpvu\bgcusvh.exe
    C:\Windows\SysWOW64\hejpwpvu\bgcusvh.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_b979755ac86ec02de0068d1d873064ad9c6d73d5ae0ad5f70ebf48d56dfb3a59.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2672
    • 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:2144

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    13.6MB

    MD5

    aabcbf77200c459ac72befaab4dca5a5

    SHA1

    3a2122bf3f9595e312a8a7e31da00173a4929bc2

    SHA256

    2da6f9f68f5c0ee128b18a8ee5b02e8d35117c623c3351cc9beb1781683f452d

    SHA512

    29d9b3174f9c222f560416e2f063c84b0939617acf6720a83c44ccfd46612c03a63df36316e3bdcefafa635a1ecae5367baa817ebb07f182eb074df1d0c1b483

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    4KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    76KB

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

    Filesize

    39.6MB

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

    Filesize

    84KB

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

    Filesize

    76KB

  • memory/2324-1-0x0000000002D50000-0x0000000002E50000-memory.dmp

    Filesize

    1024KB

  • memory/2672-16-0x0000000000400000-0x0000000002B90000-memory.dmp

    Filesize

    39.6MB