Analysis

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

    arch:x64arch:x86image:win7-20240729-enlocale:en-usos:windows7-x64system
  • submitted
    22-12-2024 07:39

General

  • Target

    JaffaCakes118_b52d830b3fc856cc40c8c061fc594dbf22cacf7bb440e159f0a61737abc7592a.exe

  • Size

    212KB

  • MD5

    1312ee3ef6696123f14c35e1bcaf57e9

  • SHA1

    701d67afbdbd1dc90321b4e4f6be95566aa83d52

  • SHA256

    b52d830b3fc856cc40c8c061fc594dbf22cacf7bb440e159f0a61737abc7592a

  • SHA512

    94e4493e4776c76b2748d7a93064020dd001ab533b1f48aa738d884f9ff8967bdd01d778f803edce5ececbcd47f18acdbb1f4360f68aff575a742731dcb30967

  • SSDEEP

    6144:ZN0TNRkdq8G+ZYdX/2+VxjKFW7ITsquwVf:D0T7kdq8EdXres7

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_b52d830b3fc856cc40c8c061fc594dbf22cacf7bb440e159f0a61737abc7592a.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_b52d830b3fc856cc40c8c061fc594dbf22cacf7bb440e159f0a61737abc7592a.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1760
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\latrgvhz\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2452
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\kpzpdi.exe" C:\Windows\SysWOW64\latrgvhz\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1036
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create latrgvhz binPath= "C:\Windows\SysWOW64\latrgvhz\kpzpdi.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_b52d830b3fc856cc40c8c061fc594dbf22cacf7bb440e159f0a61737abc7592a.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2796
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description latrgvhz "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3032
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start latrgvhz
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2604
    • 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:2860
  • C:\Windows\SysWOW64\latrgvhz\kpzpdi.exe
    C:\Windows\SysWOW64\latrgvhz\kpzpdi.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_b52d830b3fc856cc40c8c061fc594dbf22cacf7bb440e159f0a61737abc7592a.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2840
    • 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:2644

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    11.1MB

    MD5

    ed620153c240bb64ceec6a6e7e594893

    SHA1

    9b5568523a142ad1ffbf23a7fde525c638d9a3ed

    SHA256

    c1c4f850dcfc8a38f9bacdd4e3d123d694d1bbd54f16ce4fdfdb3a8b3087133d

    SHA512

    d8089a17ba9dea3895a1790014d5ba21596b811100670ab9ebb8bf180811dd7db29ef5d257dd66a4c641a3d6539a09f02da9026b0f9f2c56cbc2589a3d5fd287

  • memory/1760-7-0x00000000003B0000-0x00000000003BD000-memory.dmp

    Filesize

    52KB

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

    Filesize

    84KB

  • memory/1760-1-0x00000000003C0000-0x00000000003D3000-memory.dmp

    Filesize

    76KB

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

    Filesize

    84KB

  • memory/1760-8-0x00000000003C0000-0x00000000003D3000-memory.dmp

    Filesize

    76KB

  • memory/1760-0-0x00000000003B0000-0x00000000003BD000-memory.dmp

    Filesize

    52KB

  • memory/1760-6-0x0000000000400000-0x000000000043E000-memory.dmp

    Filesize

    248KB

  • memory/2644-15-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/2644-13-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/2644-12-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

    Filesize

    4KB

  • memory/2644-10-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

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

    Filesize

    84KB

  • memory/2840-16-0x0000000000400000-0x000000000043E000-memory.dmp

    Filesize

    248KB