Analysis

  • max time kernel
    147s
  • max time network
    156s
  • platform
    windows7_x64
  • resource
    win7-20240903-en
  • resource tags

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

General

  • Target

    7f0e78e68cad738676174e178952d043_JaffaCakes118.exe

  • Size

    12.1MB

  • MD5

    7f0e78e68cad738676174e178952d043

  • SHA1

    f556a4c8ac98946b375f444f564f795474326632

  • SHA256

    2128c7ae82349263682d6a3206cc97b040c42e0e5d4424d2306ee30bb1b83de8

  • SHA512

    a2842f581e993dd6170a402ae6425ead4ad22eacecfec09fdae8575194b8f09fcc420970809dbf936945a0e13b3c935caab9867bc24d8ee5adc64680bf26c018

  • SSDEEP

    393216:9IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIv:

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\7f0e78e68cad738676174e178952d043_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\7f0e78e68cad738676174e178952d043_JaffaCakes118.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2516
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\sfhoifd\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2944
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\wipjouhp.exe" C:\Windows\SysWOW64\sfhoifd\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2384
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create sfhoifd binPath= "C:\Windows\SysWOW64\sfhoifd\wipjouhp.exe /d\"C:\Users\Admin\AppData\Local\Temp\7f0e78e68cad738676174e178952d043_JaffaCakes118.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 sfhoifd "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2764
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start sfhoifd
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2908
    • 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:2840
  • C:\Windows\SysWOW64\sfhoifd\wipjouhp.exe
    C:\Windows\SysWOW64\sfhoifd\wipjouhp.exe /d"C:\Users\Admin\AppData\Local\Temp\7f0e78e68cad738676174e178952d043_JaffaCakes118.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2700
    • 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\wipjouhp.exe

    Filesize

    12.3MB

    MD5

    17f8f4a04f6e8e3bfcdaa905b882f48a

    SHA1

    4d00933343b62ac533cb8eff1981d0221d3331d9

    SHA256

    a4a55e1f3bf46807dcab7a83eee602b60eba2f883da2b1213410ab2da6e0a13f

    SHA512

    207da4200d485b1ca2f4f870e837fd89e55b643707f0e8cbed156815bb6280d94b42ef433a40af5b86afce31c8193b36e724de5041b9ae9cf6a5b645b9cebcff

  • memory/2516-10-0x0000000000290000-0x0000000000390000-memory.dmp

    Filesize

    1024KB

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

    Filesize

    84KB

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

    Filesize

    76KB

  • memory/2516-8-0x0000000000400000-0x000000000045C000-memory.dmp

    Filesize

    368KB

  • memory/2516-11-0x0000000000400000-0x0000000000415000-memory.dmp

    Filesize

    84KB

  • memory/2516-1-0x0000000000290000-0x0000000000390000-memory.dmp

    Filesize

    1024KB

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

    Filesize

    76KB

  • memory/2700-16-0x0000000000400000-0x000000000045C000-memory.dmp

    Filesize

    368KB

  • memory/2712-12-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/2712-15-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

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

    Filesize

    4KB

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

    Filesize

    84KB

  • memory/2712-19-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB