Analysis

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

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

General

  • Target

    JaffaCakes118_6efa37fbe1d2b36377422a2bda7ad818ed27eacbae4143ce43074a9ae37dbc64.exe

  • Size

    248KB

  • MD5

    08e886dbf2ad5dd30be2f1f9074e8fb9

  • SHA1

    3289e1f267778f5ee4cc6497950ca91774a02958

  • SHA256

    6efa37fbe1d2b36377422a2bda7ad818ed27eacbae4143ce43074a9ae37dbc64

  • SHA512

    ca66fe3b0a08c266ed62cde167227cfa326494d14b2094536c8bf0898be7aa5e81b7523c6503529cbaae3ab7cfde31cb2caf85e273626649dad58c7949cfc1c2

  • SSDEEP

    3072:zy013VbzDdITSNw8eLATjcHTkDYTlrjQBK+WrxpzbgqruXhs7sxkgaBChU/pZa9U:e0bzDJAEvs6MCK+uzbgwu6QigabwVf

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_6efa37fbe1d2b36377422a2bda7ad818ed27eacbae4143ce43074a9ae37dbc64.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_6efa37fbe1d2b36377422a2bda7ad818ed27eacbae4143ce43074a9ae37dbc64.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3200
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\lbuftkdk\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4384
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\dwkwoikx.exe" C:\Windows\SysWOW64\lbuftkdk\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1064
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create lbuftkdk binPath= "C:\Windows\SysWOW64\lbuftkdk\dwkwoikx.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_6efa37fbe1d2b36377422a2bda7ad818ed27eacbae4143ce43074a9ae37dbc64.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2056
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description lbuftkdk "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4144
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start lbuftkdk
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4372
    • 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:4712
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3200 -s 1276
      2⤵
      • Program crash
      PID:2452
  • C:\Windows\SysWOW64\lbuftkdk\dwkwoikx.exe
    C:\Windows\SysWOW64\lbuftkdk\dwkwoikx.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_6efa37fbe1d2b36377422a2bda7ad818ed27eacbae4143ce43074a9ae37dbc64.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3436
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3284
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3436 -s 508
      2⤵
      • Program crash
      PID:1936
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 448 -p 3200 -ip 3200
    1⤵
      PID:2500
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 524 -p 3436 -ip 3436
      1⤵
        PID:4928

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.6MB

        MD5

        0b6aa9e07080adcce1eac2562b393439

        SHA1

        e6661154a5ea0d458a8df07730b84321a7085f02

        SHA256

        60cd15885f9365c76e7a7a10b54c766219639a63a750c3a81dff24ca784c6630

        SHA512

        87c5463af274bf282636421368346bb12654c506a70d24a5d4e321dd8771d59490ebd35afc3ef0083731894d856a998f368de6f11f63a6f94bfde7eb58748e99

      • memory/3200-12-0x0000000000610000-0x0000000000623000-memory.dmp

        Filesize

        76KB

      • memory/3200-14-0x0000000000400000-0x0000000000447000-memory.dmp

        Filesize

        284KB

      • memory/3200-1-0x0000000000610000-0x0000000000623000-memory.dmp

        Filesize

        76KB

      • memory/3200-2-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/3200-13-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/3200-0-0x00000000005F0000-0x00000000005FD000-memory.dmp

        Filesize

        52KB

      • memory/3200-11-0x00000000005F0000-0x00000000005FD000-memory.dmp

        Filesize

        52KB

      • memory/3284-9-0x00000000010A0000-0x00000000010B5000-memory.dmp

        Filesize

        84KB

      • memory/3284-18-0x00000000010A0000-0x00000000010B5000-memory.dmp

        Filesize

        84KB

      • memory/3284-19-0x00000000010A0000-0x00000000010B5000-memory.dmp

        Filesize

        84KB

      • memory/3436-8-0x0000000000400000-0x0000000000447000-memory.dmp

        Filesize

        284KB

      • memory/3436-6-0x0000000000400000-0x0000000000447000-memory.dmp

        Filesize

        284KB

      • memory/3436-7-0x0000000000400000-0x0000000000447000-memory.dmp

        Filesize

        284KB

      • memory/3436-15-0x0000000000400000-0x0000000000447000-memory.dmp

        Filesize

        284KB