Analysis

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

    arch:x64arch:x86image:win7-20241010-enlocale:en-usos:windows7-x64system
  • submitted
    04-11-2024 04:49

General

  • Target

    8f3c0b728b9123ddec273a9578aee70f_JaffaCakes118.exe

  • Size

    10.8MB

  • MD5

    8f3c0b728b9123ddec273a9578aee70f

  • SHA1

    33dd24ff4dd00f287a8a17f4eb6914732ce6dbbe

  • SHA256

    f8bd0553de1b1294e0479422afa9dfaf07838fa1aede326e71610e35b2de7ce4

  • SHA512

    769272b5a61f121c63b3beb2c468be0571665906adc870966a13a530daf7ab30ca0dd4947b1164c56ca30e89154788093f2720382c1c2cd48f786fd70087a168

  • SSDEEP

    24576:Qd6E8xWmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmG:e6b

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\8f3c0b728b9123ddec273a9578aee70f_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\8f3c0b728b9123ddec273a9578aee70f_JaffaCakes118.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1680
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ebhinxnw\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2936
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ubzkpkym.exe" C:\Windows\SysWOW64\ebhinxnw\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2796
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create ebhinxnw binPath= "C:\Windows\SysWOW64\ebhinxnw\ubzkpkym.exe /d\"C:\Users\Admin\AppData\Local\Temp\8f3c0b728b9123ddec273a9578aee70f_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2144
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description ebhinxnw "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2840
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start ebhinxnw
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2652
    • 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:1912
  • C:\Windows\SysWOW64\ebhinxnw\ubzkpkym.exe
    C:\Windows\SysWOW64\ebhinxnw\ubzkpkym.exe /d"C:\Users\Admin\AppData\Local\Temp\8f3c0b728b9123ddec273a9578aee70f_JaffaCakes118.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2732
    • 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:2216

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    10.5MB

    MD5

    95efaacc96575efa1a49ae6e958a563b

    SHA1

    43128d3f94b36815333d7563e9e4c8505bd9d841

    SHA256

    6210d5d5134159da2b595d4819588053e9636568a1910cf1aa2095feef5851b9

    SHA512

    bb913522a52cfb878b7783940ca67f7e910cb49c1fcaa27e4b1480c9a0d6375e265978c17fedfb52e5080c6a2deaca56ac2d16027c53ea933255b93d0b33af2c

  • memory/1680-8-0x0000000000400000-0x00000000004AD000-memory.dmp

    Filesize

    692KB

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

    Filesize

    84KB

  • memory/1680-1-0x0000000000570000-0x0000000000670000-memory.dmp

    Filesize

    1024KB

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

    Filesize

    84KB

  • memory/1680-9-0x0000000000220000-0x0000000000233000-memory.dmp

    Filesize

    76KB

  • memory/1680-2-0x0000000000220000-0x0000000000233000-memory.dmp

    Filesize

    76KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    4KB

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

    Filesize

    84KB

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

    Filesize

    84KB

  • memory/2732-17-0x0000000000400000-0x00000000004AD000-memory.dmp

    Filesize

    692KB