Analysis

  • max time kernel
    148s
  • 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, 08:36

General

  • Target

    JaffaCakes118_3d7c6df1f597bfcda40600bba0284503e1c73e11f0a20a762d3d1d667f24fdcc.exe

  • Size

    284KB

  • MD5

    52cd68a1d3f07bc8244da2ad26d4b0e0

  • SHA1

    5d5e8d9a50e0041c93a8f78c83a458efeae28b1c

  • SHA256

    3d7c6df1f597bfcda40600bba0284503e1c73e11f0a20a762d3d1d667f24fdcc

  • SHA512

    99dc2024a47425a90dae24728bc3e11e4bd3809997cd00020419036559c80b7214384b0243233516fae2ef69bdf41a72c346f3d061740b7dbf2536fe19f147c4

  • SSDEEP

    3072:+u4V4SIVHGyIfEjIO1/s3Rd0qJVBF9S20kew9SyZ/3JWwhGmt/pyROVczwRjH/So:T4VjcAfEz1/sBdJdv7WYZtByggwRr

Malware Config

Extracted

Family

tofsee

C2

defeatwax.ru

refabyd.info

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_3d7c6df1f597bfcda40600bba0284503e1c73e11f0a20a762d3d1d667f24fdcc.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_3d7c6df1f597bfcda40600bba0284503e1c73e11f0a20a762d3d1d667f24fdcc.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2780
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\lsokvxgd\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1056
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\fvvvkbhz.exe" C:\Windows\SysWOW64\lsokvxgd\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4592
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create lsokvxgd binPath= "C:\Windows\SysWOW64\lsokvxgd\fvvvkbhz.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_3d7c6df1f597bfcda40600bba0284503e1c73e11f0a20a762d3d1d667f24fdcc.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:616
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description lsokvxgd "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2912
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start lsokvxgd
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2492
    • 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:3076
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2780 -s 1252
      2⤵
      • Program crash
      PID:4532
  • C:\Windows\SysWOW64\lsokvxgd\fvvvkbhz.exe
    C:\Windows\SysWOW64\lsokvxgd\fvvvkbhz.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_3d7c6df1f597bfcda40600bba0284503e1c73e11f0a20a762d3d1d667f24fdcc.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4956
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:464
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4956 -s 532
      2⤵
      • Program crash
      PID:4112
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 2780 -ip 2780
    1⤵
      PID:1876
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 484 -p 4956 -ip 4956
      1⤵
        PID:2992

      Network

            MITRE ATT&CK Enterprise v15

            Replay Monitor

            Loading Replay Monitor...

            Downloads

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

              Filesize

              11.8MB

              MD5

              ec70da66eaa9d7e33d33b578cddb21b4

              SHA1

              500d25a4d2348de3fa55ddcf38bf3a7d4568931e

              SHA256

              9f07c8c0e41c5f746330e03ffc3697150bf68414b15bb4a29047c195340f65de

              SHA512

              38330de7298842940cb31dd26bedc781da6d83d0dc8d78ecbc926344efd291cff5e2abcbc3c794a235ea1a712dba82573353483d7bd9237fc5ec093837231a65

            • memory/464-11-0x0000000001220000-0x0000000001235000-memory.dmp

              Filesize

              84KB

            • memory/464-13-0x0000000001220000-0x0000000001235000-memory.dmp

              Filesize

              84KB

            • memory/464-14-0x0000000001220000-0x0000000001235000-memory.dmp

              Filesize

              84KB

            • memory/2780-1-0x0000000002E40000-0x0000000002F40000-memory.dmp

              Filesize

              1024KB

            • memory/2780-2-0x00000000001C0000-0x00000000001D3000-memory.dmp

              Filesize

              76KB

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

              Filesize

              84KB

            • memory/2780-10-0x0000000000400000-0x0000000000415000-memory.dmp

              Filesize

              84KB

            • memory/2780-9-0x00000000001C0000-0x00000000001D3000-memory.dmp

              Filesize

              76KB

            • memory/2780-8-0x0000000000400000-0x0000000002B8F000-memory.dmp

              Filesize

              39.6MB

            • memory/4956-15-0x0000000000400000-0x0000000002B8F000-memory.dmp

              Filesize

              39.6MB