Analysis

  • max time kernel
    147s
  • 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
    29-12-2024 00:20

General

  • Target

    JaffaCakes118_31a7b460acc977402548f8d7fbf33376ace8c82a0eca47a0b0d69433c1a4ba62.exe

  • Size

    187KB

  • MD5

    e51f2c8d6cf01eb1334b595012f4458a

  • SHA1

    29750148c250ac59edd7015d8136c01cc030ea96

  • SHA256

    31a7b460acc977402548f8d7fbf33376ace8c82a0eca47a0b0d69433c1a4ba62

  • SHA512

    76a801b9a9630c89e5e869787f83f1a8c6e2e897b72cb20469eefd0900a16426a67316e44da01fa60d50d360ed03d34d22884f3570f178dc8e302227d6526805

  • SSDEEP

    3072:57ojA4DTPi9x53DbgRCm/m2+XhcrJ2l3c3LZIpZa9uD6Vdyhk9:YA4DTPil3Dq/d+Rc8c36wVf

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_31a7b460acc977402548f8d7fbf33376ace8c82a0eca47a0b0d69433c1a4ba62.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_31a7b460acc977402548f8d7fbf33376ace8c82a0eca47a0b0d69433c1a4ba62.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1680
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ubbfpwkh\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3560
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\agbenwwr.exe" C:\Windows\SysWOW64\ubbfpwkh\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4856
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create ubbfpwkh binPath= "C:\Windows\SysWOW64\ubbfpwkh\agbenwwr.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_31a7b460acc977402548f8d7fbf33376ace8c82a0eca47a0b0d69433c1a4ba62.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4988
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description ubbfpwkh "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1196
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start ubbfpwkh
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2340
    • 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:4504
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1680 -s 1148
      2⤵
      • Program crash
      PID:416
  • C:\Windows\SysWOW64\ubbfpwkh\agbenwwr.exe
    C:\Windows\SysWOW64\ubbfpwkh\agbenwwr.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_31a7b460acc977402548f8d7fbf33376ace8c82a0eca47a0b0d69433c1a4ba62.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4428
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1920
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4428 -s 508
      2⤵
      • Program crash
      PID:2088
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 408 -p 1680 -ip 1680
    1⤵
      PID:3008
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 4428 -ip 4428
      1⤵
        PID:1156

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.8MB

        MD5

        d5d0eb914c98ee5ade86d82815650692

        SHA1

        65cf927d1867e1a7fa5bce2dfaf3866864b3bc87

        SHA256

        e0ad4025fe10560fe5730643b2b114a286964bdc0a64d7346a39efcabb52e2ca

        SHA512

        53986a391edd61d69f0b7524526d4af5f2577a2fffd635486f33e91926be819f5b46b691b37cb25fae4731e258053f51401b875742d7ab22b02e37fbe778f765

      • memory/1680-7-0x00000000004F0000-0x00000000004FD000-memory.dmp

        Filesize

        52KB

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

        Filesize

        84KB

      • memory/1680-1-0x00000000021B0000-0x00000000021C3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/1680-8-0x00000000021B0000-0x00000000021C3000-memory.dmp

        Filesize

        76KB

      • memory/1680-0-0x00000000004F0000-0x00000000004FD000-memory.dmp

        Filesize

        52KB

      • memory/1680-6-0x0000000000400000-0x0000000000438000-memory.dmp

        Filesize

        224KB

      • memory/1920-13-0x00000000008B0000-0x00000000008C5000-memory.dmp

        Filesize

        84KB

      • memory/1920-15-0x00000000008B0000-0x00000000008C5000-memory.dmp

        Filesize

        84KB

      • memory/1920-16-0x00000000008B0000-0x00000000008C5000-memory.dmp

        Filesize

        84KB

      • memory/4428-10-0x0000000000400000-0x0000000000438000-memory.dmp

        Filesize

        224KB

      • memory/4428-12-0x0000000000400000-0x0000000000438000-memory.dmp

        Filesize

        224KB

      • memory/4428-11-0x0000000000400000-0x0000000000438000-memory.dmp

        Filesize

        224KB

      • memory/4428-18-0x0000000000400000-0x0000000000438000-memory.dmp

        Filesize

        224KB