Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    24-10-2024 15:49

General

  • Target

    7454b1a70a8f8acf82a9c2f9302d48d8_JaffaCakes118.exe

  • Size

    12.3MB

  • MD5

    7454b1a70a8f8acf82a9c2f9302d48d8

  • SHA1

    38727c4e426faca0db4da54f73511eb10df8c22c

  • SHA256

    99bdf7a088252ed99a70a040d9453d7081a72d08ed1d76e3b2595f768803554c

  • SHA512

    10e31fbf5966bd7146490dbfe2e6d6582f5458e10c9fc33e1e8e1d7b86da10af30e2ea10ff180e5c70b3bb524ba2404d0d912ff6969c0f4627281e6bba8c349f

  • SSDEEP

    24576:KyNhNhNhNhNhNhNhNhNhNhNhNhNhNhNhNhNhNhNhNhNhNhNhNhNhNhNhNhNhNhNn:

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.

  • 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\7454b1a70a8f8acf82a9c2f9302d48d8_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\7454b1a70a8f8acf82a9c2f9302d48d8_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4020
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\cjwmvmsr\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:732
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\hbkuhkpb.exe" C:\Windows\SysWOW64\cjwmvmsr\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2076
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create cjwmvmsr binPath= "C:\Windows\SysWOW64\cjwmvmsr\hbkuhkpb.exe /d\"C:\Users\Admin\AppData\Local\Temp\7454b1a70a8f8acf82a9c2f9302d48d8_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2608
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description cjwmvmsr "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3144
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start cjwmvmsr
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:5020
    • 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:3376
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4020 -s 1264
      2⤵
      • Program crash
      PID:1044
  • C:\Windows\SysWOW64\cjwmvmsr\hbkuhkpb.exe
    C:\Windows\SysWOW64\cjwmvmsr\hbkuhkpb.exe /d"C:\Users\Admin\AppData\Local\Temp\7454b1a70a8f8acf82a9c2f9302d48d8_JaffaCakes118.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2944
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:988
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2944 -s 512
      2⤵
      • Program crash
      PID:4484
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 4020 -ip 4020
    1⤵
      PID:3152
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 480 -p 2944 -ip 2944
      1⤵
        PID:3980

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.8MB

        MD5

        4c24c4c5830066769213df64928ca4c1

        SHA1

        c9cf2a4fc2dafa16f2c81e22ebe3155e004719e7

        SHA256

        c7c2aa585c368edd91bd2462db3872db8acfd2e145c2b8edcc8a48f60f6439d1

        SHA512

        82f3d851eae096f8a864bddba23fa268485c653bbf0008952f3340775be42c094f8b0ebe230f3d9e59ec8955183f3194324f4dfa4ba9d51c30b8ce87e9d75021

      • memory/988-14-0x0000000001260000-0x0000000001275000-memory.dmp

        Filesize

        84KB

      • memory/988-17-0x0000000001260000-0x0000000001275000-memory.dmp

        Filesize

        84KB

      • memory/988-16-0x0000000001260000-0x0000000001275000-memory.dmp

        Filesize

        84KB

      • memory/2944-13-0x0000000000400000-0x00000000004B0000-memory.dmp

        Filesize

        704KB

      • memory/2944-11-0x0000000000400000-0x00000000004B0000-memory.dmp

        Filesize

        704KB

      • memory/2944-12-0x0000000000400000-0x00000000004B0000-memory.dmp

        Filesize

        704KB

      • memory/2944-19-0x0000000000400000-0x00000000004B0000-memory.dmp

        Filesize

        704KB

      • memory/4020-9-0x0000000000760000-0x0000000000773000-memory.dmp

        Filesize

        76KB

      • memory/4020-8-0x0000000000400000-0x00000000004B0000-memory.dmp

        Filesize

        704KB

      • memory/4020-2-0x0000000000760000-0x0000000000773000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/4020-1-0x0000000000810000-0x0000000000910000-memory.dmp

        Filesize

        1024KB