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
    29-12-2024 23:24

General

  • Target

    JaffaCakes118_8d5cf5412047ce007f13174937a4d7664bf97816b1b274f887c5b91eecfd3e54.exe

  • Size

    241KB

  • MD5

    0ae6c8339377c3855ddadcad76673d8a

  • SHA1

    ce2b58ab96ef3790ce55307ee3d7c04399b3e821

  • SHA256

    8d5cf5412047ce007f13174937a4d7664bf97816b1b274f887c5b91eecfd3e54

  • SHA512

    0d99817de8f5450c05303eafb81d533003ef77f1df8a59d5ae068675ecbba15f00d80d1da307e5eb02a74ebfb4c8d7f2ed3ee64b51995dbaa0644d36a68d42df

  • SSDEEP

    3072:GOsUA8KZQ/IxsPVg4nkvzaHWgSjqdF0w2Uyopz9ZeCqJXXfehv1Ijoxw9xk:oUA8GV2e4nYWHEjqPt9cCqxmhv1pxQ

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_8d5cf5412047ce007f13174937a4d7664bf97816b1b274f887c5b91eecfd3e54.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_8d5cf5412047ce007f13174937a4d7664bf97816b1b274f887c5b91eecfd3e54.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3012
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ksapsrfb\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2972
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\cssshyew.exe" C:\Windows\SysWOW64\ksapsrfb\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2952
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create ksapsrfb binPath= "C:\Windows\SysWOW64\ksapsrfb\cssshyew.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_8d5cf5412047ce007f13174937a4d7664bf97816b1b274f887c5b91eecfd3e54.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2756
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description ksapsrfb "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2832
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start ksapsrfb
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1192
    • 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:2744
  • C:\Windows\SysWOW64\ksapsrfb\cssshyew.exe
    C:\Windows\SysWOW64\ksapsrfb\cssshyew.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_8d5cf5412047ce007f13174937a4d7664bf97816b1b274f887c5b91eecfd3e54.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2688
    • 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:2712

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    10.4MB

    MD5

    0e3f12ec4c40076750c9d3dd96858cec

    SHA1

    2fe84beecbcc6d367a4c0e32829e6d7ff625de16

    SHA256

    0b8f55e0b971d058e9b87c5173151d09fee80f6817634b247f4a9b3328f3eaae

    SHA512

    9083d3a4380d5928ae2b2fb234133e656cfe19aecd2af699f5c91bd87c210027eddce08f1e7aa78c983b7a9db5d3083891ed2cea3f69ad543dc3db661e015c3d

  • memory/2688-16-0x0000000000400000-0x000000000086C000-memory.dmp

    Filesize

    4.4MB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    4KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    84KB

  • memory/3012-8-0x0000000000400000-0x000000000086C000-memory.dmp

    Filesize

    4.4MB

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

    Filesize

    84KB

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

    Filesize

    76KB

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

    Filesize

    76KB

  • memory/3012-1-0x0000000000960000-0x0000000000A60000-memory.dmp

    Filesize

    1024KB