Analysis

  • max time kernel
    148s
  • 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 15:49

General

  • Target

    JaffaCakes118_d8d16e6a3d74584f449401e39157dc1b788dc1d59ebab958aab95440a08a4d2c.exe

  • Size

    211KB

  • MD5

    cdfe1a0520846256701a835f7997200c

  • SHA1

    d70c426398a6de0e2cde8ebcac5bff1bd4dd2161

  • SHA256

    d8d16e6a3d74584f449401e39157dc1b788dc1d59ebab958aab95440a08a4d2c

  • SHA512

    7d67ec32def188bd799ce753801ce302f95aaeae9e587c48d94fde22fe0f7122091cccc3ed39271e2fa64667d0232dc1d2684547dc348bf257e94d5e4652f87e

  • SSDEEP

    3072:CzpWiQngo/AxJ9v12IJZEOixWoT3BCrz85p1bSTgUfrdGZPwYKB1F5NSlAhgC:CzpWgHxjhZZixnrUn8HWGVq1F5QC

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_d8d16e6a3d74584f449401e39157dc1b788dc1d59ebab958aab95440a08a4d2c.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_d8d16e6a3d74584f449401e39157dc1b788dc1d59ebab958aab95440a08a4d2c.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1044
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\lvrjtkq\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1072
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\hmiaybn.exe" C:\Windows\SysWOW64\lvrjtkq\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3040
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create lvrjtkq binPath= "C:\Windows\SysWOW64\lvrjtkq\hmiaybn.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_d8d16e6a3d74584f449401e39157dc1b788dc1d59ebab958aab95440a08a4d2c.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2724
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description lvrjtkq "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2904
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start lvrjtkq
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2508
    • 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:2112
  • C:\Windows\SysWOW64\lvrjtkq\hmiaybn.exe
    C:\Windows\SysWOW64\lvrjtkq\hmiaybn.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_d8d16e6a3d74584f449401e39157dc1b788dc1d59ebab958aab95440a08a4d2c.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2704
    • 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:2612

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    12.2MB

    MD5

    a66e4d515af14d17c8180cea744c436e

    SHA1

    79b4a2cd5a7c3023f2b7e987f0da6d12922e89e8

    SHA256

    87ac4879d74f7bb189eb71a1bf8fb374ba070e9de47c59cbdc00d09dbd39cde0

    SHA512

    59d60715d07b8db50c65e693dc33f673552775504e792201d5645241b2547ba4bc2e7291481cd9121d1bfe2c78e6477f9fbafc49e34cb5e54287b659fadd6c10

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

    Filesize

    76KB

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

    Filesize

    84KB

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

    Filesize

    76KB

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

    Filesize

    84KB

  • memory/1044-8-0x0000000000400000-0x0000000002B75000-memory.dmp

    Filesize

    39.5MB

  • memory/1044-1-0x0000000002BF0000-0x0000000002CF0000-memory.dmp

    Filesize

    1024KB

  • memory/2612-11-0x00000000000C0000-0x00000000000D5000-memory.dmp

    Filesize

    84KB

  • memory/2612-14-0x00000000000C0000-0x00000000000D5000-memory.dmp

    Filesize

    84KB

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

    Filesize

    4KB

  • memory/2612-17-0x00000000000C0000-0x00000000000D5000-memory.dmp

    Filesize

    84KB

  • memory/2612-18-0x00000000000C0000-0x00000000000D5000-memory.dmp

    Filesize

    84KB

  • memory/2704-15-0x0000000000400000-0x0000000002B75000-memory.dmp

    Filesize

    39.5MB