Analysis

  • max time kernel
    145s
  • max time network
    144s
  • platform
    windows7_x64
  • resource
    win7-20240903-en
  • resource tags

    arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system
  • submitted
    11-01-2025 06:28

General

  • Target

    JaffaCakes118_f97ac5a687cc94db960df62fb910a74a.exe

  • Size

    11.6MB

  • MD5

    f97ac5a687cc94db960df62fb910a74a

  • SHA1

    24b5c7775506327081ea3ed0093c62d938dd50e4

  • SHA256

    00423b5dc446d975260c85ace9a92f27398430fd56bbb3d42e190d281de8d954

  • SHA512

    ab81fd40d42ad8dd102b48906d5fba078360001cb300743b8e90849bc38d22f40302b6e26ee5d45f0b6bf1bd082e0293adee78ed3e21668c3c55b014d9746c0b

  • SSDEEP

    196608:QPHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHn:Q

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_f97ac5a687cc94db960df62fb910a74a.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_f97ac5a687cc94db960df62fb910a74a.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2520
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\gjjwlyid\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2384
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\cjvirefz.exe" C:\Windows\SysWOW64\gjjwlyid\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1812
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create gjjwlyid binPath= "C:\Windows\SysWOW64\gjjwlyid\cjvirefz.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_f97ac5a687cc94db960df62fb910a74a.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3000
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description gjjwlyid "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2168
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start gjjwlyid
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2756
    • 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:2856
  • C:\Windows\SysWOW64\gjjwlyid\cjvirefz.exe
    C:\Windows\SysWOW64\gjjwlyid\cjvirefz.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_f97ac5a687cc94db960df62fb910a74a.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2868
    • 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:1712

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    14.7MB

    MD5

    3e6fb58e514a7dd43822a66f55def1b6

    SHA1

    869bcd89a6de04a9d48951e0e77985ab1ae24384

    SHA256

    af00db84105b9cfd7d7c215ec0d8cbd8971cea30585beaf3bef39f085f91d4d8

    SHA512

    4beb41d83780161ae999803e63be3b063f2201a6a9bce462d39e12c1c8cb4e66a792e11d18e173c84397c8ec44bf9e66e9695fb3ce814730bb02777eb7518966

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

    Filesize

    4KB

  • memory/1712-16-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/1712-14-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/1712-11-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    76KB

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

    Filesize

    84KB

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

    Filesize

    76KB

  • memory/2520-8-0x0000000000400000-0x0000000000870000-memory.dmp

    Filesize

    4.4MB

  • memory/2520-1-0x00000000009C0000-0x0000000000AC0000-memory.dmp

    Filesize

    1024KB

  • memory/2868-17-0x0000000000400000-0x0000000000870000-memory.dmp

    Filesize

    4.4MB