Analysis

  • max time kernel
    149s
  • max time network
    150s
  • platform
    windows7_x64
  • resource
    win7-20240903-en
  • resource tags

    arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system
  • submitted
    25-12-2024 06:49

General

  • Target

    JaffaCakes118_c93db7852cefef285a014a3273d9769ded1f77326b410e90bec25228c243a339.exe

  • Size

    291KB

  • MD5

    a9b53db0d8fa7e204383d8bb1ea6d8e9

  • SHA1

    38598c9ea697fe0d3f1f4b75c366ea96b533f44a

  • SHA256

    c93db7852cefef285a014a3273d9769ded1f77326b410e90bec25228c243a339

  • SHA512

    355a1350ca0a097dbcf95b5ab87e5eef69df1e9b491b7d48de0d6ff0c1c3277f94940d06c62a0c67e19110c4d67002800bda85005e48b07de44cb3712ad2ef53

  • SSDEEP

    6144:v1Qkl7WtXbo6dYV04w7Y3YNM9bAkPXWANLd:vCkl7W7dOJw7Y3YNM9bAbELd

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
  • Windows security bypass 2 TTPs 1 IoCs
  • Creates new service(s) 2 TTPs
  • Modifies Windows Firewall 2 TTPs 1 IoCs
  • Sets service image path in registry 2 TTPs 1 IoCs
  • 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.

  • 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 30 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_c93db7852cefef285a014a3273d9769ded1f77326b410e90bec25228c243a339.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_c93db7852cefef285a014a3273d9769ded1f77326b410e90bec25228c243a339.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:816
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\pkzqmfgm\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2812
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\hwxdqbvu.exe" C:\Windows\SysWOW64\pkzqmfgm\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2668
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create pkzqmfgm binPath= "C:\Windows\SysWOW64\pkzqmfgm\hwxdqbvu.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_c93db7852cefef285a014a3273d9769ded1f77326b410e90bec25228c243a339.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2704
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description pkzqmfgm "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2640
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start pkzqmfgm
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2580
    • 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:2544
  • C:\Windows\SysWOW64\pkzqmfgm\hwxdqbvu.exe
    C:\Windows\SysWOW64\pkzqmfgm\hwxdqbvu.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_c93db7852cefef285a014a3273d9769ded1f77326b410e90bec25228c243a339.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2716
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Windows security bypass
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1880

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    12.1MB

    MD5

    a48d38e50f956da946b9012d76bbd4f1

    SHA1

    18f86d015086f0fab66fe471e75bcb2b5468ff98

    SHA256

    8d7e52ca11a4cde668ae9849243edc3f13052d55f3ffd8c5c950346149623e6d

    SHA512

    0a4227f265dce12ea2063fe811a8baa326844d672521981fcc5de8181fbcbbe53c6f8007d878edbc39a8d0afac7475c7627fa33fefaeb4a110928055024c8192

  • memory/816-8-0x0000000000220000-0x0000000000233000-memory.dmp

    Filesize

    76KB

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

    Filesize

    84KB

  • memory/816-2-0x0000000000220000-0x0000000000233000-memory.dmp

    Filesize

    76KB

  • memory/816-7-0x0000000000400000-0x00000000008ED000-memory.dmp

    Filesize

    4.9MB

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

    Filesize

    84KB

  • memory/816-1-0x0000000000D30000-0x0000000000E30000-memory.dmp

    Filesize

    1024KB

  • memory/1880-11-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/1880-14-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/1880-17-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/1880-13-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

    Filesize

    4KB

  • memory/1880-18-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/2716-15-0x0000000000400000-0x00000000008ED000-memory.dmp

    Filesize

    4.9MB