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
    27-12-2024 02:14

General

  • Target

    JaffaCakes118_c36d92eb67d8771a4fa4f2c7bd8c1b12d0ea8645fab45b3321000a9941e7304a.exe

  • Size

    164KB

  • MD5

    d734569001b69222d805738edfc47168

  • SHA1

    f4879b2f7c66698f0debcc545836e8a6d63a7cec

  • SHA256

    c36d92eb67d8771a4fa4f2c7bd8c1b12d0ea8645fab45b3321000a9941e7304a

  • SHA512

    a78389a5b03ebed89ac85f2be37bcbcbfd03c02e5fe89e504ad4f9162162a1ad3080a8ff93ad1b94dafae525d18498c17cb2b7842ec533ae0676f4a16b2c0977

  • SSDEEP

    3072:mQOLRBnPGJFSBbG8PnQoa8kZwc46B4OqXXs4zyAPKYCUkO2:lOdBnPGSR/Qoa8pq8s4zysdCUkB

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_c36d92eb67d8771a4fa4f2c7bd8c1b12d0ea8645fab45b3321000a9941e7304a.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_c36d92eb67d8771a4fa4f2c7bd8c1b12d0ea8645fab45b3321000a9941e7304a.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4700
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\qvrsmcae\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4656
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\jtylsnmb.exe" C:\Windows\SysWOW64\qvrsmcae\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2352
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create qvrsmcae binPath= "C:\Windows\SysWOW64\qvrsmcae\jtylsnmb.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_c36d92eb67d8771a4fa4f2c7bd8c1b12d0ea8645fab45b3321000a9941e7304a.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1188
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description qvrsmcae "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2272
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start qvrsmcae
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:208
    • 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:1312
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4700 -s 1040
      2⤵
      • Program crash
      PID:3156
  • C:\Windows\SysWOW64\qvrsmcae\jtylsnmb.exe
    C:\Windows\SysWOW64\qvrsmcae\jtylsnmb.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_c36d92eb67d8771a4fa4f2c7bd8c1b12d0ea8645fab45b3321000a9941e7304a.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3644
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4500
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3644 -s 572
      2⤵
      • Program crash
      PID:4408
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 484 -p 3644 -ip 3644
    1⤵
      PID:1148
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 404 -p 4700 -ip 4700
      1⤵
        PID:4588

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.0MB

        MD5

        0f8eaf9e2b588dcfe0f2c2fccdbcaa5e

        SHA1

        a50c8aea2c4bb49709d67155d057ccadffd8da1c

        SHA256

        497ca9cd502d917994ca9ecd82cfdd18887d7a81cf46fe2b1003476df34a8bd8

        SHA512

        089560c1c3214d5a52954cd593ac6a55e6df338899f2192070c5aaba9d8a0b9686fb02ac2226f0c8ee7f779016615b625479ea188fb9658901166fee6c3b065c

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

        Filesize

        196KB

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

        Filesize

        196KB

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

        Filesize

        196KB

      • memory/4500-20-0x0000000001020000-0x0000000001035000-memory.dmp

        Filesize

        84KB

      • memory/4500-19-0x0000000001020000-0x0000000001035000-memory.dmp

        Filesize

        84KB

      • memory/4500-8-0x0000000001020000-0x0000000001035000-memory.dmp

        Filesize

        84KB

      • memory/4500-11-0x0000000001020000-0x0000000001035000-memory.dmp

        Filesize

        84KB

      • memory/4500-18-0x0000000001020000-0x0000000001035000-memory.dmp

        Filesize

        84KB

      • memory/4700-12-0x0000000000400000-0x0000000000431000-memory.dmp

        Filesize

        196KB

      • memory/4700-15-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/4700-14-0x00000000021C0000-0x00000000021D3000-memory.dmp

        Filesize

        76KB

      • memory/4700-13-0x00000000005D0000-0x00000000005DD000-memory.dmp

        Filesize

        52KB

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

        Filesize

        52KB

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

        Filesize

        84KB

      • memory/4700-1-0x00000000021C0000-0x00000000021D3000-memory.dmp

        Filesize

        76KB