Analysis

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

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

General

  • Target

    JaffaCakes118_cbdef5d10579ffa112cbfdaed47f0dea60e474847ec2c4925fb40f1cefa50827.exe

  • Size

    165KB

  • MD5

    5bfc66916649ba29afc08d2d65bfea85

  • SHA1

    afebdb26e4ea69ef8764732614c37e290265d6ec

  • SHA256

    cbdef5d10579ffa112cbfdaed47f0dea60e474847ec2c4925fb40f1cefa50827

  • SHA512

    b7fc3afff4aec0aed51ade3d204b674d7b4c014e75959ee7f15624c0a96b2bee0317424fd246779f7fa9f2523dd7c8e467509b138a83f83b46c2a55c0271e40d

  • SSDEEP

    3072:oHecR8524ftXuGBT+7q+scZI6tJ4ZE8AqkhaP/bL1x2:9cR024lXu8afsV6teuWkYXbLS

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.

  • 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 1 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_cbdef5d10579ffa112cbfdaed47f0dea60e474847ec2c4925fb40f1cefa50827.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_cbdef5d10579ffa112cbfdaed47f0dea60e474847ec2c4925fb40f1cefa50827.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1260
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\lukbwrub\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2924
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\mbcivgaz.exe" C:\Windows\SysWOW64\lukbwrub\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4628
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create lukbwrub binPath= "C:\Windows\SysWOW64\lukbwrub\mbcivgaz.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_cbdef5d10579ffa112cbfdaed47f0dea60e474847ec2c4925fb40f1cefa50827.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4984
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description lukbwrub "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:5096
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start lukbwrub
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3204
    • 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:3328
  • C:\Windows\SysWOW64\lukbwrub\mbcivgaz.exe
    C:\Windows\SysWOW64\lukbwrub\mbcivgaz.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_cbdef5d10579ffa112cbfdaed47f0dea60e474847ec2c4925fb40f1cefa50827.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2792
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • System Location Discovery: System Language Discovery
      PID:2976
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2792 -s 532
      2⤵
      • Program crash
      PID:2260
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 416 -p 2792 -ip 2792
    1⤵
      PID:2784

    Network

    MITRE ATT&CK Enterprise v15

    Replay Monitor

    Loading Replay Monitor...

    Downloads

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

      Filesize

      10.1MB

      MD5

      32ede5dd7ce5a41dc9390b9b057b244a

      SHA1

      5b8dd27c626fcf27b4f26a084341cff652c749a8

      SHA256

      774e43ebef409c59625a5275d31d6bc354b071c57afc7efbb1e7f0ef834532fc

      SHA512

      391a6b617469a8537e71394ebb295d2bbc153f0f43d7967715ca98df90f71ec7fbb9d4e3117bdbc179ff0747b2e66d216f66e112da7b79b1433a64faab5f1ed7

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

      Filesize

      84KB

    • memory/1260-11-0x0000000002190000-0x00000000021A3000-memory.dmp

      Filesize

      76KB

    • memory/1260-1-0x0000000002190000-0x00000000021A3000-memory.dmp

      Filesize

      76KB

    • memory/1260-17-0x0000000000400000-0x0000000000431000-memory.dmp

      Filesize

      196KB

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

      Filesize

      84KB

    • memory/1260-0-0x0000000002180000-0x000000000218D000-memory.dmp

      Filesize

      52KB

    • memory/1260-10-0x0000000002180000-0x000000000218D000-memory.dmp

      Filesize

      52KB

    • memory/2792-8-0x0000000000400000-0x0000000000431000-memory.dmp

      Filesize

      196KB

    • memory/2792-7-0x0000000000400000-0x0000000000431000-memory.dmp

      Filesize

      196KB

    • memory/2792-16-0x0000000000400000-0x0000000000431000-memory.dmp

      Filesize

      196KB

    • memory/2792-6-0x0000000000400000-0x0000000000431000-memory.dmp

      Filesize

      196KB

    • memory/2976-13-0x0000000000360000-0x0000000000375000-memory.dmp

      Filesize

      84KB

    • memory/2976-18-0x0000000000360000-0x0000000000375000-memory.dmp

      Filesize

      84KB

    • memory/2976-19-0x0000000000360000-0x0000000000375000-memory.dmp

      Filesize

      84KB