Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    03-11-2024 13:51

General

  • Target

    8bcc5ece70e5340c66d2e97415ffb075_JaffaCakes118.exe

  • Size

    13.5MB

  • MD5

    8bcc5ece70e5340c66d2e97415ffb075

  • SHA1

    88c81af6078c36e4df87306a6dbb94e2f7158d44

  • SHA256

    f1487d97f490f7b6e072b9f097322b02ef8702b15872bce83382ee2b164d702f

  • SHA512

    9eceb1bd7a9ebbd5ed929a3e752280be6b9df30fa1ffedde0eb564b105eedb9e2c750a6b0cf703b45e3d529906eaa6ef748ce32d749f4de68b30bfe04ac22048

  • SSDEEP

    393216:D88888888888888888888888888888888888888888888888888888888888888n:

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\8bcc5ece70e5340c66d2e97415ffb075_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\8bcc5ece70e5340c66d2e97415ffb075_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1060
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\drhkjtht\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1500
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\lxeydjwe.exe" C:\Windows\SysWOW64\drhkjtht\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3544
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create drhkjtht binPath= "C:\Windows\SysWOW64\drhkjtht\lxeydjwe.exe /d\"C:\Users\Admin\AppData\Local\Temp\8bcc5ece70e5340c66d2e97415ffb075_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4132
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description drhkjtht "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3392
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start drhkjtht
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1452
    • 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:4560
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1060 -s 648
      2⤵
      • Program crash
      PID:4180
  • C:\Windows\SysWOW64\drhkjtht\lxeydjwe.exe
    C:\Windows\SysWOW64\drhkjtht\lxeydjwe.exe /d"C:\Users\Admin\AppData\Local\Temp\8bcc5ece70e5340c66d2e97415ffb075_JaffaCakes118.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1992
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4320
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1992 -s 516
      2⤵
      • Program crash
      PID:3244
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 448 -p 1060 -ip 1060
    1⤵
      PID:3952
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 1992 -ip 1992
      1⤵
        PID:4588

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        11.0MB

        MD5

        c48a2172cf409791495766172153f4e8

        SHA1

        3d7b30f666a56eb57b172a8b9942ff19c7641725

        SHA256

        062d1ec6b4e461275d3f2f0f95d94f57b47494e20f3cdcb77e1dd53d90bbfeca

        SHA512

        2fc15af1cb012990f18846530757761e3dcff2ef537e8afca67ae1294922c36749733f3bc8e8ec22d6b9f038de0eb8a5821dafb66438397b7ea009ecb4f2473e

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

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/1060-8-0x0000000000400000-0x0000000000455000-memory.dmp

        Filesize

        340KB

      • memory/1060-1-0x00000000006B0000-0x00000000007B0000-memory.dmp

        Filesize

        1024KB

      • memory/1992-11-0x0000000000400000-0x0000000000455000-memory.dmp

        Filesize

        340KB

      • memory/1992-12-0x0000000000400000-0x0000000000455000-memory.dmp

        Filesize

        340KB

      • memory/1992-13-0x0000000000400000-0x0000000000455000-memory.dmp

        Filesize

        340KB

      • memory/1992-18-0x0000000000400000-0x0000000000455000-memory.dmp

        Filesize

        340KB

      • memory/4320-14-0x0000000000AF0000-0x0000000000B05000-memory.dmp

        Filesize

        84KB

      • memory/4320-16-0x0000000000AF0000-0x0000000000B05000-memory.dmp

        Filesize

        84KB

      • memory/4320-17-0x0000000000AF0000-0x0000000000B05000-memory.dmp

        Filesize

        84KB