Analysis

  • max time kernel
    148s
  • max time network
    150s
  • platform
    windows7_x64
  • resource
    win7-20241010-en
  • resource tags

    arch:x64arch:x86image:win7-20241010-enlocale:en-usos:windows7-x64system
  • submitted
    22-12-2024 19:49

General

  • Target

    JaffaCakes118_c56060ee4c891b8292ee11e09389bb360bd3abc5aabf1177de4d59938e4c8ed2.exe

  • Size

    342KB

  • MD5

    d59317b58186bec4fcbb185c627a2146

  • SHA1

    cac51347fb2b77384e971b4027fe9fc242cd26a3

  • SHA256

    c56060ee4c891b8292ee11e09389bb360bd3abc5aabf1177de4d59938e4c8ed2

  • SHA512

    2b15e8ed9e630d5fe3360e7f0c3cb248a66c06a5978f48621034e5544efb729150d78f03141ed47530b353d580190698d6210716d316663e3b1274a5394cf6a6

  • SSDEEP

    6144:pownzj/xv5jECO8eaTd3pkQFoo3JXz7G7vyn7N4Bs:pHnvR3KQFoo3JXz7G784B

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_c56060ee4c891b8292ee11e09389bb360bd3abc5aabf1177de4d59938e4c8ed2.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_c56060ee4c891b8292ee11e09389bb360bd3abc5aabf1177de4d59938e4c8ed2.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2760
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\jkcgrzz\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2752
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\spafdnkh.exe" C:\Windows\SysWOW64\jkcgrzz\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2608
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create jkcgrzz binPath= "C:\Windows\SysWOW64\jkcgrzz\spafdnkh.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_c56060ee4c891b8292ee11e09389bb360bd3abc5aabf1177de4d59938e4c8ed2.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2720
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description jkcgrzz "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2624
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start jkcgrzz
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2596
    • 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:2020
  • C:\Windows\SysWOW64\jkcgrzz\spafdnkh.exe
    C:\Windows\SysWOW64\jkcgrzz\spafdnkh.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_c56060ee4c891b8292ee11e09389bb360bd3abc5aabf1177de4d59938e4c8ed2.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2668
    • 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:2844

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    13.3MB

    MD5

    ec912f045a8edb21d1c46c27a9639151

    SHA1

    ff7691784ce5602ef3caab99cbc3fe92fd3f4efe

    SHA256

    a2393a82352ee1df803ba95494a6baed5b1f9a0c35abd50b71e78c38b8673b21

    SHA512

    b01023a6cff9d436b3b1be555f0d8b58697895e86c7fc8fb8f1f35d4fc0d52cc45e5cf592280ae9cda83326d617180a4b2cd5e0b98a10884c896068b5cfc8359

  • memory/2668-17-0x0000000000400000-0x00000000008FA000-memory.dmp

    Filesize

    5.0MB

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

    Filesize

    76KB

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

    Filesize

    84KB

  • memory/2760-7-0x0000000000400000-0x00000000008FA000-memory.dmp

    Filesize

    5.0MB

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

    Filesize

    84KB

  • memory/2760-1-0x0000000000A40000-0x0000000000B40000-memory.dmp

    Filesize

    1024KB

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

    Filesize

    76KB

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

    Filesize

    84KB

  • memory/2844-16-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

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

    Filesize

    4KB

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

    Filesize

    84KB

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

    Filesize

    84KB