Analysis

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

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

General

  • Target

    JaffaCakes118_6e8c5874269f258b6bff19eec8e04729932626f6edb7e61dbe564f3cc7255cab.exe

  • Size

    167KB

  • MD5

    249fdfe48e87781f9afc019e32386aac

  • SHA1

    07cd4328635c81f4884a63f84b6bfd0e307a61ae

  • SHA256

    6e8c5874269f258b6bff19eec8e04729932626f6edb7e61dbe564f3cc7255cab

  • SHA512

    f5696faddf8edd51f04681c391cc6c92dd0e66cf80c521134b472de6488e0016a9b3958d6e0de6cf61c6913463dea053c8c89bdac74a26b8d9b2289c418f5377

  • SSDEEP

    3072:P9tPi1h6wejM/fvv0qqgikN3KAaf5gitpr6uerWcCS9H6dY3:l5i333/fGgizrMCEad

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_6e8c5874269f258b6bff19eec8e04729932626f6edb7e61dbe564f3cc7255cab.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_6e8c5874269f258b6bff19eec8e04729932626f6edb7e61dbe564f3cc7255cab.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:748
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ixfdieyc\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1976
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\wmhtnzdv.exe" C:\Windows\SysWOW64\ixfdieyc\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2692
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create ixfdieyc binPath= "C:\Windows\SysWOW64\ixfdieyc\wmhtnzdv.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_6e8c5874269f258b6bff19eec8e04729932626f6edb7e61dbe564f3cc7255cab.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2528
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description ixfdieyc "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1328
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start ixfdieyc
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3896
    • 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:4768
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 748 -s 1036
      2⤵
      • Program crash
      PID:4712
  • C:\Windows\SysWOW64\ixfdieyc\wmhtnzdv.exe
    C:\Windows\SysWOW64\ixfdieyc\wmhtnzdv.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_6e8c5874269f258b6bff19eec8e04729932626f6edb7e61dbe564f3cc7255cab.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1372
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3944
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1372 -s 512
      2⤵
      • Program crash
      PID:4700
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 448 -p 748 -ip 748
    1⤵
      PID:4036
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 1372 -ip 1372
      1⤵
        PID:4316

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.5MB

        MD5

        d09f33a01a4840dd9ae53060632ffab2

        SHA1

        3c1881096939f196f2705c7fb829b5cacaca116c

        SHA256

        76fb18368715e7e4cbca3cd44ed51b72e84373c67ce68e4c64e754dd634dd2d2

        SHA512

        166f8e42c5184d4411d975d4980bf345e430169d4efb5ef378b5a4da7ac072d2881b22c542773dd2150ba565f61bf4ff6fb8286a567b888438759ea17fa58d40

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

        Filesize

        704KB

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

        Filesize

        84KB

      • memory/748-2-0x0000000002200000-0x0000000002213000-memory.dmp

        Filesize

        76KB

      • memory/748-9-0x0000000002200000-0x0000000002213000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/748-1-0x0000000000660000-0x0000000000760000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        704KB

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

        Filesize

        704KB

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

        Filesize

        704KB

      • memory/1372-18-0x0000000000400000-0x00000000004B0000-memory.dmp

        Filesize

        704KB

      • memory/3944-14-0x0000000000C60000-0x0000000000C75000-memory.dmp

        Filesize

        84KB

      • memory/3944-16-0x0000000000C60000-0x0000000000C75000-memory.dmp

        Filesize

        84KB

      • memory/3944-17-0x0000000000C60000-0x0000000000C75000-memory.dmp

        Filesize

        84KB