Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    25-12-2024 20:23

General

  • Target

    JaffaCakes118_acc65b903f1813a624aec1b51366375e0996d32dfd200074e1f87c175f5ff507.exe

  • Size

    316KB

  • MD5

    fb84a1e83259f25496b4a5eae9ffca35

  • SHA1

    3eeb9d179e6c6a5d9c3b98a894d4afd1111a93a2

  • SHA256

    acc65b903f1813a624aec1b51366375e0996d32dfd200074e1f87c175f5ff507

  • SHA512

    79af94756301cc4d0067f05cfc64dc19abe84b5f76057edcf210a85dfb4ee23533e243eb34ed9ae9c3353855c44b92a6fe2e0e53a4f149cf9b4a5adcc5b4dac3

  • SSDEEP

    6144:rjho0K+fMn1AFSK2/7u0reiZ0cGBjDTrV+Mlyv:fhIn1AV2/7u0reiZ0cGBjZ+M

Malware Config

Extracted

Family

tofsee

C2

quadoil.ru

lakeflex.ru

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_acc65b903f1813a624aec1b51366375e0996d32dfd200074e1f87c175f5ff507.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_acc65b903f1813a624aec1b51366375e0996d32dfd200074e1f87c175f5ff507.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3164
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\szvvstzf\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4948
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\wjspqvhu.exe" C:\Windows\SysWOW64\szvvstzf\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:5112
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create szvvstzf binPath= "C:\Windows\SysWOW64\szvvstzf\wjspqvhu.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_acc65b903f1813a624aec1b51366375e0996d32dfd200074e1f87c175f5ff507.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1924
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description szvvstzf "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3620
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start szvvstzf
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3076
    • 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:1952
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3164 -s 1268
      2⤵
      • Program crash
      PID:4080
  • C:\Windows\SysWOW64\szvvstzf\wjspqvhu.exe
    C:\Windows\SysWOW64\szvvstzf\wjspqvhu.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_acc65b903f1813a624aec1b51366375e0996d32dfd200074e1f87c175f5ff507.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1432
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1948
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1432 -s 528
      2⤵
      • Program crash
      PID:408
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 3164 -ip 3164
    1⤵
      PID:1660
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 404 -p 1432 -ip 1432
      1⤵
        PID:4548

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.0MB

        MD5

        63fb89f1067c6356769801d6425d74ac

        SHA1

        f2c78cfae58f7ea103aadd28d809e9e7756327f2

        SHA256

        1202aa32fa26c8590eec545563f972c390d3958b3019d485da3c142df807b08e

        SHA512

        aa6c3873678bd2bb3d4789c83659219f7f2cdf4b8b872c2c762bc71ad9d0547a5617548f8f2920bd28805813d8f07794c80465eae81ef1373c2c75dc8cb8cb5a

      • memory/1432-15-0x0000000000400000-0x0000000002B46000-memory.dmp

        Filesize

        39.3MB

      • memory/1948-11-0x00000000006C0000-0x00000000006D5000-memory.dmp

        Filesize

        84KB

      • memory/1948-13-0x00000000006C0000-0x00000000006D5000-memory.dmp

        Filesize

        84KB

      • memory/1948-14-0x00000000006C0000-0x00000000006D5000-memory.dmp

        Filesize

        84KB

      • memory/3164-1-0x0000000002C80000-0x0000000002D80000-memory.dmp

        Filesize

        1024KB

      • memory/3164-2-0x0000000002C10000-0x0000000002C23000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/3164-9-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/3164-8-0x0000000002C10000-0x0000000002C23000-memory.dmp

        Filesize

        76KB

      • memory/3164-7-0x0000000000400000-0x0000000002B46000-memory.dmp

        Filesize

        39.3MB