Analysis

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

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

General

  • Target

    JaffaCakes118_3e3590e27bfb3328e0d47c2c8de5c63b42ec4c397c845bd8e240bf67cb36585c.exe

  • Size

    333KB

  • MD5

    93085b8c3f03829fe5c2d7c2c63d8cf3

  • SHA1

    cb2ced04dc921e9ad5668238b6b438e8705fd3e6

  • SHA256

    3e3590e27bfb3328e0d47c2c8de5c63b42ec4c397c845bd8e240bf67cb36585c

  • SHA512

    070c54fda3a741c508fe3224883a18a9f219d0c4d633497a0dab368d6cc74843e916f9af41c54531a3204941cb29c765aa3f00e69e60d974cbbc177a02f52043

  • SSDEEP

    6144:BoFge0thkcRZhJOdKU1QrHpbSmI8WmL5B:OSvtOcRZXOdKU1qJbSmUg

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_3e3590e27bfb3328e0d47c2c8de5c63b42ec4c397c845bd8e240bf67cb36585c.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_3e3590e27bfb3328e0d47c2c8de5c63b42ec4c397c845bd8e240bf67cb36585c.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4024
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\qcpksutk\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2420
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\bktbphpy.exe" C:\Windows\SysWOW64\qcpksutk\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1944
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create qcpksutk binPath= "C:\Windows\SysWOW64\qcpksutk\bktbphpy.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_3e3590e27bfb3328e0d47c2c8de5c63b42ec4c397c845bd8e240bf67cb36585c.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3376
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description qcpksutk "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4108
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start qcpksutk
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3728
    • 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:5052
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4024 -s 1188
      2⤵
      • Program crash
      PID:884
  • C:\Windows\SysWOW64\qcpksutk\bktbphpy.exe
    C:\Windows\SysWOW64\qcpksutk\bktbphpy.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_3e3590e27bfb3328e0d47c2c8de5c63b42ec4c397c845bd8e240bf67cb36585c.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3672
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4744
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3672 -s 532
      2⤵
      • Program crash
      PID:1572
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 408 -p 4024 -ip 4024
    1⤵
      PID:244
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 524 -p 3672 -ip 3672
      1⤵
        PID:3296

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        11.4MB

        MD5

        732bfba2d3df6936486dc87c3a596537

        SHA1

        c152ab10ceb43796f315c886fb359f2e9afbea63

        SHA256

        510d48e4c2364745b3f2777ae8bcbf18b2d5039593eea7cf455606ce6143e79d

        SHA512

        b2896aaaef15aae110caa83bcb07652369b5be453a80d7899963dbb005430b7bf3fdf7a567700f223fde696502d6f5ce2d9430e70088f44be7c7558386552b4d

      • memory/3672-15-0x0000000000400000-0x0000000002B4B000-memory.dmp

        Filesize

        39.3MB

      • memory/4024-1-0x0000000002B70000-0x0000000002C70000-memory.dmp

        Filesize

        1024KB

      • memory/4024-2-0x00000000048A0000-0x00000000048B3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/4024-8-0x00000000048A0000-0x00000000048B3000-memory.dmp

        Filesize

        76KB

      • memory/4024-7-0x0000000000400000-0x0000000002B4B000-memory.dmp

        Filesize

        39.3MB

      • memory/4744-11-0x0000000000B30000-0x0000000000B45000-memory.dmp

        Filesize

        84KB

      • memory/4744-13-0x0000000000B30000-0x0000000000B45000-memory.dmp

        Filesize

        84KB

      • memory/4744-14-0x0000000000B30000-0x0000000000B45000-memory.dmp

        Filesize

        84KB