Analysis

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

    arch:x64arch:x86image:win7-20240729-enlocale:en-usos:windows7-x64system
  • submitted
    29-12-2024 23:35

General

  • Target

    JaffaCakes118_96341cf7fd7cd1943d786f67fc1f12a5d8443b78c4604a6acf3ad03d76382259.exe

  • Size

    292KB

  • MD5

    8a1e0ccf9945d654f0bceffc3e387c6e

  • SHA1

    7cd2eeac9b54711d9a23f9a0abc30a9407837111

  • SHA256

    96341cf7fd7cd1943d786f67fc1f12a5d8443b78c4604a6acf3ad03d76382259

  • SHA512

    3e88a1c37cf391652b582578c75e702556231afb44051406bf09171b9e382ce4d580bb41ac180da977f81fee440ac22151da5d68040eb8ee45b7d476f6f69894

  • SSDEEP

    6144:niMhhMfj568D7SXuZet0yobAPtXX85CK0:/hhyj5z3SXuZet0yobAp85

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_96341cf7fd7cd1943d786f67fc1f12a5d8443b78c4604a6acf3ad03d76382259.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_96341cf7fd7cd1943d786f67fc1f12a5d8443b78c4604a6acf3ad03d76382259.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2660
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\gkydeeaf\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2760
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\yrmycrc.exe" C:\Windows\SysWOW64\gkydeeaf\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2708
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create gkydeeaf binPath= "C:\Windows\SysWOW64\gkydeeaf\yrmycrc.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_96341cf7fd7cd1943d786f67fc1f12a5d8443b78c4604a6acf3ad03d76382259.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2732
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description gkydeeaf "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3044
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start gkydeeaf
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2688
    • 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:2552
  • C:\Windows\SysWOW64\gkydeeaf\yrmycrc.exe
    C:\Windows\SysWOW64\gkydeeaf\yrmycrc.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_96341cf7fd7cd1943d786f67fc1f12a5d8443b78c4604a6acf3ad03d76382259.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2596
    • 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:2452

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    14.2MB

    MD5

    ecf269c5bfca05a5a552c24b51783d63

    SHA1

    061885c9781f7ed4f9e5f0434a7b2b3592395a73

    SHA256

    8be1fb644bc56f87573e9764438f661eb18b87aeabce5e8bd86859b55764650a

    SHA512

    3e84040977cdbed7281d7f78bedd2bb727b6e5f27ce71ecf18cb0c88f2d8e9359862138b912c69829f7786d7472c209a57f3fa119475a96219af3ee69ed09a04

  • memory/2452-10-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

    Filesize

    4KB

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

    Filesize

    84KB

  • memory/2452-8-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    84KB

  • memory/2596-14-0x0000000000400000-0x0000000002B41000-memory.dmp

    Filesize

    39.3MB

  • memory/2660-2-0x0000000000400000-0x0000000002B41000-memory.dmp

    Filesize

    39.3MB

  • memory/2660-3-0x0000000000400000-0x0000000002B41000-memory.dmp

    Filesize

    39.3MB

  • memory/2660-5-0x0000000000400000-0x0000000002B41000-memory.dmp

    Filesize

    39.3MB