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
    24-12-2024 14:47

General

  • Target

    JaffaCakes118_55ab4ea1700f5770386e06db324f99990b6f2ca42dc339f167c52567226d72f3.exe

  • Size

    238KB

  • MD5

    35f9cfb5aa8bbc185b3461e3aef129ab

  • SHA1

    020be8206e4ae134f2a23b9c7cd2a4f1e5e63c54

  • SHA256

    55ab4ea1700f5770386e06db324f99990b6f2ca42dc339f167c52567226d72f3

  • SHA512

    acb5aab934ed6b371b17301c5d9203eb20b5465e6ea097f11ef4bc70a97b0ad6a5df095222cc83b4589ce0f92b820384004c2d7cd2336bac8d03d413c86ab7ed

  • SSDEEP

    6144:l0BW7hRIsq1EzccIg3PygjeN7ITsq7igavwVf:l0Y7hRIsqocS3Pyg279

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_55ab4ea1700f5770386e06db324f99990b6f2ca42dc339f167c52567226d72f3.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_55ab4ea1700f5770386e06db324f99990b6f2ca42dc339f167c52567226d72f3.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2748
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\pebtmytn\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:5052
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\egaplhdu.exe" C:\Windows\SysWOW64\pebtmytn\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1088
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create pebtmytn binPath= "C:\Windows\SysWOW64\pebtmytn\egaplhdu.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_55ab4ea1700f5770386e06db324f99990b6f2ca42dc339f167c52567226d72f3.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1868
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description pebtmytn "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2500
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start pebtmytn
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:908
    • 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:1988
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2748 -s 1156
      2⤵
      • Program crash
      PID:3448
  • C:\Windows\SysWOW64\pebtmytn\egaplhdu.exe
    C:\Windows\SysWOW64\pebtmytn\egaplhdu.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_55ab4ea1700f5770386e06db324f99990b6f2ca42dc339f167c52567226d72f3.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4896
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1968
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4896 -s 560
      2⤵
      • Program crash
      PID:4288
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 2748 -ip 2748
    1⤵
      PID:3984
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 536 -p 4896 -ip 4896
      1⤵
        PID:1828

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.3MB

        MD5

        57838961cad2c8957a78e08f664bb284

        SHA1

        fed3c9ccda5ffb3dc6e3eb8c8845ec3cefdb7de9

        SHA256

        787ade84694aa4960acd41b6e01ba1f5a38c23e9fef5a205275b7fe8e09b423a

        SHA512

        e9af0bbef21834a238f5da9e2fa03bd52f0f0947be03ff51dafe7fe7c79a1b3e3b405244785b3c56c400e53d5f1dc90490b39c604c87a46619ff9b0caa91e605

      • memory/1968-12-0x0000000000900000-0x0000000000915000-memory.dmp

        Filesize

        84KB

      • memory/1968-15-0x0000000000900000-0x0000000000915000-memory.dmp

        Filesize

        84KB

      • memory/1968-14-0x0000000000900000-0x0000000000915000-memory.dmp

        Filesize

        84KB

      • memory/2748-7-0x0000000002190000-0x000000000219D000-memory.dmp

        Filesize

        52KB

      • memory/2748-8-0x00000000021A0000-0x00000000021B3000-memory.dmp

        Filesize

        76KB

      • memory/2748-0-0x0000000002190000-0x000000000219D000-memory.dmp

        Filesize

        52KB

      • memory/2748-6-0x0000000000400000-0x0000000000445000-memory.dmp

        Filesize

        276KB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/2748-1-0x00000000021A0000-0x00000000021B3000-memory.dmp

        Filesize

        76KB

      • memory/4896-11-0x0000000000400000-0x0000000000445000-memory.dmp

        Filesize

        276KB

      • memory/4896-10-0x0000000000400000-0x0000000000445000-memory.dmp

        Filesize

        276KB

      • memory/4896-17-0x0000000000400000-0x0000000000445000-memory.dmp

        Filesize

        276KB