Analysis

  • max time kernel
    147s
  • max time network
    146s
  • platform
    windows7_x64
  • resource
    win7-20240729-en
  • resource tags

    arch:x64arch:x86image:win7-20240729-enlocale:en-usos:windows7-x64system
  • submitted
    23-12-2024 21:44

General

  • Target

    JaffaCakes118_baed73b9a7011be9797591a25769774a83bbefb8a71e5d26b794f4ff889dcd57.exe

  • Size

    184KB

  • MD5

    d121e64beade553769f6ef0cc7775e75

  • SHA1

    c1426982e2214c2affc2064f24cccd08cda07c3c

  • SHA256

    baed73b9a7011be9797591a25769774a83bbefb8a71e5d26b794f4ff889dcd57

  • SHA512

    9932b163d97d30f4eb19f4498be9daac3ee8bf8bff7e9759058a383682caf65031f4cc8b3df5a381f788a456d3089b6da0566c0c422b144e110490f4a79871a7

  • SSDEEP

    3072:JSmyTMOQe57yLWiwluxvHKiOLnaY3MPZPwLvYOYhgC:JUTMHeYz/KDnj8PLOk

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_baed73b9a7011be9797591a25769774a83bbefb8a71e5d26b794f4ff889dcd57.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_baed73b9a7011be9797591a25769774a83bbefb8a71e5d26b794f4ff889dcd57.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2632
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\mebtpfij\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2736
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\smiozjbh.exe" C:\Windows\SysWOW64\mebtpfij\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2884
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create mebtpfij binPath= "C:\Windows\SysWOW64\mebtpfij\smiozjbh.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_baed73b9a7011be9797591a25769774a83bbefb8a71e5d26b794f4ff889dcd57.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2664
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description mebtpfij "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2872
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start mebtpfij
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2676
    • 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:2540
  • C:\Windows\SysWOW64\mebtpfij\smiozjbh.exe
    C:\Windows\SysWOW64\mebtpfij\smiozjbh.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_baed73b9a7011be9797591a25769774a83bbefb8a71e5d26b794f4ff889dcd57.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2596
    • 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:2972

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    14.3MB

    MD5

    f2b29e78b779f34d8a5635987ad58de2

    SHA1

    6481925470e775ab8ab1374735e11a6288488403

    SHA256

    416ebd323c516c32cd8e12f8670f6d8fc45f94538026b9002fd61a79437a919c

    SHA512

    f2a9a5ed7238e18f813c406c00fb8d3ba6f090906d5519db25e4f05da988247607662df72445329600528fb27eb10e2170b0ff8392f09ed77cc95dff219fe12f

  • memory/2596-17-0x0000000000400000-0x0000000000446000-memory.dmp

    Filesize

    280KB

  • memory/2632-8-0x0000000000400000-0x0000000000446000-memory.dmp

    Filesize

    280KB

  • memory/2632-4-0x0000000000400000-0x0000000000415000-memory.dmp

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    76KB

  • memory/2632-1-0x0000000000620000-0x0000000000720000-memory.dmp

    Filesize

    1024KB

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

    Filesize

    76KB

  • memory/2972-16-0x00000000000D0000-0x00000000000E5000-memory.dmp

    Filesize

    84KB

  • memory/2972-14-0x00000000000D0000-0x00000000000E5000-memory.dmp

    Filesize

    84KB

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

    Filesize

    4KB

  • memory/2972-11-0x00000000000D0000-0x00000000000E5000-memory.dmp

    Filesize

    84KB

  • memory/2972-18-0x00000000000D0000-0x00000000000E5000-memory.dmp

    Filesize

    84KB