Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    29-12-2024 11:30

General

  • Target

    JaffaCakes118_8fdfff633ead54bc00629d8fe23693b7d7b6f888a3142351a27d2e8f2720d41b.exe

  • Size

    306KB

  • MD5

    893de434c901ce75a2967c8a55c51754

  • SHA1

    eda71f67e843aac6fa4d9328ad4c75cb7515b91b

  • SHA256

    8fdfff633ead54bc00629d8fe23693b7d7b6f888a3142351a27d2e8f2720d41b

  • SHA512

    9a7b7746aa1b377f5e5314344ddc8c0ff827c5f37fe0f99df55da078f965e68d4099db959097fa7ce456176be496b749d8fce42df847fa95e0c5f7f927db4c54

  • SSDEEP

    6144:j7j7AupjIIwH5OalEVFvlmfDR2Cnsx2qPu:D0upjIIe5EVOfD9M2

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_8fdfff633ead54bc00629d8fe23693b7d7b6f888a3142351a27d2e8f2720d41b.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_8fdfff633ead54bc00629d8fe23693b7d7b6f888a3142351a27d2e8f2720d41b.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2324
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\hzfhupmc\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:548
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\rpzxxnwm.exe" C:\Windows\SysWOW64\hzfhupmc\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1256
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create hzfhupmc binPath= "C:\Windows\SysWOW64\hzfhupmc\rpzxxnwm.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_8fdfff633ead54bc00629d8fe23693b7d7b6f888a3142351a27d2e8f2720d41b.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4452
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description hzfhupmc "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2156
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start hzfhupmc
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:5008
    • 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:4908
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2324 -s 1200
      2⤵
      • Program crash
      PID:3040
  • C:\Windows\SysWOW64\hzfhupmc\rpzxxnwm.exe
    C:\Windows\SysWOW64\hzfhupmc\rpzxxnwm.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_8fdfff633ead54bc00629d8fe23693b7d7b6f888a3142351a27d2e8f2720d41b.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3420
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2420
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3420 -s 532
      2⤵
      • Program crash
      PID:2024
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 2324 -ip 2324
    1⤵
      PID:2032
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 536 -p 3420 -ip 3420
      1⤵
        PID:4012

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.4MB

        MD5

        597a913cff5a162935718e6ecf303db6

        SHA1

        54688aed0c6466630cba374a7df931ccb12ffa20

        SHA256

        945e9a3a744209bdf52ce6af2dd9f0367a8ac391fa334be3b724d8e16d4feba4

        SHA512

        0e7b3d01e1e8d1a253a411cdd00ee97e912311c7ce5e206ff6c2cba0c65020f8103dd36837c28b5156fcfd4b252eb4cb934350760a2b050bc8c3692f4786c784

      • memory/2324-1-0x0000000002E40000-0x0000000002F40000-memory.dmp

        Filesize

        1024KB

      • memory/2324-2-0x0000000002DC0000-0x0000000002DD3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/2324-12-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/2324-11-0x0000000002DC0000-0x0000000002DD3000-memory.dmp

        Filesize

        76KB

      • memory/2324-10-0x0000000000400000-0x0000000002B94000-memory.dmp

        Filesize

        39.6MB

      • memory/2420-8-0x00000000005C0000-0x00000000005D5000-memory.dmp

        Filesize

        84KB

      • memory/2420-14-0x00000000005C0000-0x00000000005D5000-memory.dmp

        Filesize

        84KB

      • memory/2420-15-0x00000000005C0000-0x00000000005D5000-memory.dmp

        Filesize

        84KB

      • memory/3420-13-0x0000000000400000-0x0000000002B94000-memory.dmp

        Filesize

        39.6MB