Analysis

  • max time kernel
    148s
  • max time network
    149s
  • 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 14:22

General

  • Target

    JaffaCakes118_f647a6fda0523d4891a6c0805ce3d432e4e73b5b78baf4df701ebafce13899c9.exe

  • Size

    169KB

  • MD5

    29158e8cb0547c4acb9b1f3943dee654

  • SHA1

    a0e09de29d5b1e40956e98f896283c2b1981c3da

  • SHA256

    f647a6fda0523d4891a6c0805ce3d432e4e73b5b78baf4df701ebafce13899c9

  • SHA512

    e322f101af58092c980387442bf2abb43f7c167d430e94d46d4aaf075c61650b69266b41c99622b794db08a33915de49e2c21e1098060ba694aa20ef4397bec1

  • SSDEEP

    3072:dINEppMfh7N5IC0UfQDCmiTPOKtGtJVA8sxo2:KNEppMfz502jOEAfA8aD

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_f647a6fda0523d4891a6c0805ce3d432e4e73b5b78baf4df701ebafce13899c9.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_f647a6fda0523d4891a6c0805ce3d432e4e73b5b78baf4df701ebafce13899c9.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3432
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\dyuwasna\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2396
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\tldkjals.exe" C:\Windows\SysWOW64\dyuwasna\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:316
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create dyuwasna binPath= "C:\Windows\SysWOW64\dyuwasna\tldkjals.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_f647a6fda0523d4891a6c0805ce3d432e4e73b5b78baf4df701ebafce13899c9.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4068
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description dyuwasna "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:876
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start dyuwasna
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3700
    • 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:888
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3432 -s 1192
      2⤵
      • Program crash
      PID:4268
  • C:\Windows\SysWOW64\dyuwasna\tldkjals.exe
    C:\Windows\SysWOW64\dyuwasna\tldkjals.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_f647a6fda0523d4891a6c0805ce3d432e4e73b5b78baf4df701ebafce13899c9.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3660
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4236
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3660 -s 572
      2⤵
      • Program crash
      PID:2776
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 3660 -ip 3660
    1⤵
      PID:3508
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 420 -p 3432 -ip 3432
      1⤵
        PID:3164

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.2MB

        MD5

        e9216354e47bf94480456b4364f642e5

        SHA1

        14251739d6933c6099cb0ef5089aab3e966650d4

        SHA256

        f3730bfe32129b45cade01d39977321505c4cb1fbbcc55f8df4c382d236266aa

        SHA512

        9e324bf990d272cea5a2b5646e6ff86ec87a6122890893871e612a5aaa43f75be343c76d9ded34716a4a79cc2ddd80e5d0e8a0203d9396df67c7c6ed895d53f0

      • memory/3432-17-0x0000000000700000-0x0000000000713000-memory.dmp

        Filesize

        76KB

      • memory/3432-1-0x0000000000700000-0x0000000000713000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/3432-0-0x00000000005D0000-0x00000000005DD000-memory.dmp

        Filesize

        52KB

      • memory/3432-15-0x0000000000400000-0x0000000000432000-memory.dmp

        Filesize

        200KB

      • memory/3432-16-0x00000000005D0000-0x00000000005DD000-memory.dmp

        Filesize

        52KB

      • memory/3432-18-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/3660-6-0x0000000000400000-0x0000000000432000-memory.dmp

        Filesize

        200KB

      • memory/3660-14-0x0000000000400000-0x0000000000432000-memory.dmp

        Filesize

        200KB

      • memory/3660-8-0x0000000000400000-0x0000000000432000-memory.dmp

        Filesize

        200KB

      • memory/3660-7-0x0000000000400000-0x0000000000432000-memory.dmp

        Filesize

        200KB

      • memory/4236-12-0x00000000006A0000-0x00000000006B5000-memory.dmp

        Filesize

        84KB

      • memory/4236-9-0x00000000006A0000-0x00000000006B5000-memory.dmp

        Filesize

        84KB

      • memory/4236-19-0x00000000006A0000-0x00000000006B5000-memory.dmp

        Filesize

        84KB

      • memory/4236-20-0x00000000006A0000-0x00000000006B5000-memory.dmp

        Filesize

        84KB

      • memory/4236-21-0x00000000006A0000-0x00000000006B5000-memory.dmp

        Filesize

        84KB