Analysis

  • max time kernel
    149s
  • max time network
    150s
  • platform
    windows7_x64
  • resource
    win7-20240903-en
  • resource tags

    arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system
  • submitted
    08-10-2024 11:07

General

  • Target

    2134b61a7f995d8a24611160d791ad5f_JaffaCakes118.exe

  • Size

    14.8MB

  • MD5

    2134b61a7f995d8a24611160d791ad5f

  • SHA1

    e9bc86f67d55e7cbc27d74d668187467c908a7f3

  • SHA256

    931edead1df66c59790bc1168f88ffd22b62cdfb302f4c72c849b9c757e0b5f8

  • SHA512

    771e54da94b6435d0185a8c750025102047fc3323de4d493694f8d371485b060bc25e2848cd491fdde8c6a44cea628ec5fba93dd4459b3d4301f9bac9df69bcd

  • SSDEEP

    196608:6HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHn:

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.

  • 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\2134b61a7f995d8a24611160d791ad5f_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\2134b61a7f995d8a24611160d791ad5f_JaffaCakes118.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2220
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\hbrrcinv\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2780
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\bbuhtqpr.exe" C:\Windows\SysWOW64\hbrrcinv\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2808
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create hbrrcinv binPath= "C:\Windows\SysWOW64\hbrrcinv\bbuhtqpr.exe /d\"C:\Users\Admin\AppData\Local\Temp\2134b61a7f995d8a24611160d791ad5f_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2832
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description hbrrcinv "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2700
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start hbrrcinv
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2608
    • 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:2696
  • C:\Windows\SysWOW64\hbrrcinv\bbuhtqpr.exe
    C:\Windows\SysWOW64\hbrrcinv\bbuhtqpr.exe /d"C:\Users\Admin\AppData\Local\Temp\2134b61a7f995d8a24611160d791ad5f_JaffaCakes118.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2756
    • 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\bbuhtqpr.exe

    Filesize

    10.5MB

    MD5

    6740ab0fab6e4f52506d156645279cf3

    SHA1

    778282dccd3d9a3668deccc7b12b61fb57b7153f

    SHA256

    049600cc960181606549609463106b052bf4ca2ea33af1fa1c9f72dfe1c39a22

    SHA512

    9168799d12e1ee7ce1779bbbdd16ca75332636ca300e11aee8d054f59e4a433ac6b3c74c7338f882fb14f9f45c9a1dacf5da547a8245f739151348158add6af2

  • memory/2216-14-0x00000000000E0000-0x00000000000F5000-memory.dmp

    Filesize

    84KB

  • memory/2216-11-0x00000000000E0000-0x00000000000F5000-memory.dmp

    Filesize

    84KB

  • memory/2216-17-0x00000000000E0000-0x00000000000F5000-memory.dmp

    Filesize

    84KB

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

    Filesize

    4KB

  • memory/2216-18-0x00000000000E0000-0x00000000000F5000-memory.dmp

    Filesize

    84KB

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

    Filesize

    84KB

  • memory/2220-1-0x0000000002DD0000-0x0000000002ED0000-memory.dmp

    Filesize

    1024KB

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

    Filesize

    84KB

  • memory/2220-8-0x0000000000400000-0x0000000002C69000-memory.dmp

    Filesize

    40.4MB

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

    Filesize

    76KB

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

    Filesize

    76KB

  • memory/2756-16-0x0000000000400000-0x0000000002C69000-memory.dmp

    Filesize

    40.4MB