Analysis

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

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

General

  • Target

    JaffaCakes118_a5dc3e74e99e0d02922f059bdce456099a7a357cd04d97618ee07dd5832f9050.exe

  • Size

    285KB

  • MD5

    9ef28e78bca5e055f127cc9f27b757ae

  • SHA1

    ba887227e4c8a7330c9d822377476c78524f7e4c

  • SHA256

    a5dc3e74e99e0d02922f059bdce456099a7a357cd04d97618ee07dd5832f9050

  • SHA512

    ae05655182aca76c16bfb24695e61ca17470f3ab37dc7038a128fdd8db127e1a7973845dc62ed8f1283c63282d2faaab6016a0caa0d075498085fe9ec6a73d20

  • SSDEEP

    6144:LKFbjkk2kvN11uzbgwu6L7ITsqSigaTwVf:gbjRHunnn7s

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_a5dc3e74e99e0d02922f059bdce456099a7a357cd04d97618ee07dd5832f9050.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_a5dc3e74e99e0d02922f059bdce456099a7a357cd04d97618ee07dd5832f9050.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1504
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ohyaiwgm\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2164
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\kpzpdi.exe" C:\Windows\SysWOW64\ohyaiwgm\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2028
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create ohyaiwgm binPath= "C:\Windows\SysWOW64\ohyaiwgm\kpzpdi.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_a5dc3e74e99e0d02922f059bdce456099a7a357cd04d97618ee07dd5832f9050.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2416
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description ohyaiwgm "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2128
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start ohyaiwgm
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2816
    • 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:3000
  • C:\Windows\SysWOW64\ohyaiwgm\kpzpdi.exe
    C:\Windows\SysWOW64\ohyaiwgm\kpzpdi.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_a5dc3e74e99e0d02922f059bdce456099a7a357cd04d97618ee07dd5832f9050.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2940
    • 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:2968

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    11.1MB

    MD5

    f0b937f9c464309ab82eed32d63f80f0

    SHA1

    06a3769afeadd14a329a24ce91a82e7300c99c30

    SHA256

    a8bac084b2fc7d42a724a13bf6478f402e902e06cd0b3c7e4a4c6927c5cdc294

    SHA512

    06bdba9bf8d03d4fe8bc9791a6b0f2d480ca3cbf3c4d4fd8e0af0cce6f6413a57d1c1c42309afb6834e6432e995b0bf4bf93a09b6f2a1f24c790c65df456c458

  • memory/1504-8-0x00000000002B0000-0x00000000002C3000-memory.dmp

    Filesize

    76KB

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

    Filesize

    84KB

  • memory/1504-1-0x00000000002B0000-0x00000000002C3000-memory.dmp

    Filesize

    76KB

  • memory/1504-6-0x0000000000400000-0x0000000000451000-memory.dmp

    Filesize

    324KB

  • memory/1504-7-0x00000000002A0000-0x00000000002AD000-memory.dmp

    Filesize

    52KB

  • memory/1504-0-0x00000000002A0000-0x00000000002AD000-memory.dmp

    Filesize

    52KB

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

    Filesize

    84KB

  • memory/2940-16-0x0000000000400000-0x0000000000451000-memory.dmp

    Filesize

    324KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    4KB

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

    Filesize

    84KB

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

    Filesize

    84KB