Analysis

  • max time kernel
    150s
  • max time network
    154s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20241007-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    11-01-2025 03:24

General

  • Target

    JaffaCakes118_f5a99263467440a04da884e37b581577.exe

  • Size

    14.2MB

  • MD5

    f5a99263467440a04da884e37b581577

  • SHA1

    58c016d9dae50898c03dc602997db96b14fbc2fe

  • SHA256

    bc51cad0a8ed5eb57551f034a5f693b4d1c135201a38ff4b3d7c1eb6151745c2

  • SHA512

    b5255af60ca12756011398e5907ef6587cd9ea77401b55b30c0812c2c616ab492eff9d2bba6c5a7ba7732e2f4f0eba80d702bb0d98e767499d182219e16f45af

  • SSDEEP

    196608:H4TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTH:H

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
  • Creates new service(s) 2 TTPs
  • Modifies Windows Firewall 2 TTPs 1 IoCs
  • Sets service image path in registry 2 TTPs 1 IoCs
  • Checks computer location settings 2 TTPs 1 IoCs

    Looks up country code configured in the registry, likely geofence.

  • 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.

  • Program crash 2 IoCs
  • 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 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_f5a99263467440a04da884e37b581577.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_f5a99263467440a04da884e37b581577.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1220
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\yhlucjwl\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2144
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\fzisfinz.exe" C:\Windows\SysWOW64\yhlucjwl\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1632
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create yhlucjwl binPath= "C:\Windows\SysWOW64\yhlucjwl\fzisfinz.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_f5a99263467440a04da884e37b581577.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:832
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description yhlucjwl "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4856
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start yhlucjwl
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:5108
    • 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:456
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1220 -s 1036
      2⤵
      • Program crash
      PID:2444
  • C:\Windows\SysWOW64\yhlucjwl\fzisfinz.exe
    C:\Windows\SysWOW64\yhlucjwl\fzisfinz.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_f5a99263467440a04da884e37b581577.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2800
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2072
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2800 -s 512
      2⤵
      • Program crash
      PID:4296
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 424 -p 1220 -ip 1220
    1⤵
      PID:60
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 484 -p 2800 -ip 2800
      1⤵
        PID:2664

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        11.9MB

        MD5

        1276ea324582b26d0ec899a98be829ef

        SHA1

        fff5f7f929677e58a34313122b24836015669ec2

        SHA256

        edbf31729546082277d558d35aa30e6f74829c816174eb1ec66d8761016b5884

        SHA512

        e893abc4adcae40db3753c13d614b6d1a6f1aa6c36a7ea0346ffa5f21566a98787bbb0e4d42f9bd083343f36c57023cf510a78303dbee460184a95904274667b

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

        Filesize

        4.4MB

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

        Filesize

        84KB

      • memory/1220-1-0x0000000000B50000-0x0000000000C50000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        84KB

      • memory/1220-9-0x00000000001C0000-0x00000000001D3000-memory.dmp

        Filesize

        76KB

      • memory/1220-2-0x00000000001C0000-0x00000000001D3000-memory.dmp

        Filesize

        76KB

      • memory/2072-14-0x00000000003B0000-0x00000000003C5000-memory.dmp

        Filesize

        84KB

      • memory/2072-12-0x00000000003B0000-0x00000000003C5000-memory.dmp

        Filesize

        84KB

      • memory/2072-17-0x00000000003B0000-0x00000000003C5000-memory.dmp

        Filesize

        84KB

      • memory/2800-11-0x0000000000400000-0x0000000000870000-memory.dmp

        Filesize

        4.4MB

      • memory/2800-15-0x0000000000400000-0x0000000000870000-memory.dmp

        Filesize

        4.4MB

      • memory/2800-16-0x0000000000400000-0x0000000000870000-memory.dmp

        Filesize

        4.4MB