Analysis

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

    arch:x64arch:x86image:win7-20240708-enlocale:en-usos:windows7-x64system
  • submitted
    30-12-2024 19:33

General

  • Target

    JaffaCakes118_af156aab5e1b36293628c763312753054b489c3fbc30aa9f1efbde788e5ef6a9.exe

  • Size

    285KB

  • MD5

    bcc4ff63af0ec0bcaa60c0b61e9ab907

  • SHA1

    19fcbbe86401616de1f67d98c6b2408b2ab59c44

  • SHA256

    af156aab5e1b36293628c763312753054b489c3fbc30aa9f1efbde788e5ef6a9

  • SHA512

    73c03a33b006ea88790ef783a5c2506112a305e001a39e32dc4843713d1f11b06aa79a7e861f1742587f21da32b265de256b59bee5702014b4527bd08767ec36

  • SSDEEP

    6144:aQ+PY2mV3OB8uzbgwu6L7ITsqSigaTwVf:aQ+PY2aU8unnn7s

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_af156aab5e1b36293628c763312753054b489c3fbc30aa9f1efbde788e5ef6a9.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_af156aab5e1b36293628c763312753054b489c3fbc30aa9f1efbde788e5ef6a9.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1724
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ylmdefrp\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:320
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\gyqxwnyf.exe" C:\Windows\SysWOW64\ylmdefrp\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2160
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create ylmdefrp binPath= "C:\Windows\SysWOW64\ylmdefrp\gyqxwnyf.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_af156aab5e1b36293628c763312753054b489c3fbc30aa9f1efbde788e5ef6a9.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1644
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description ylmdefrp "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2756
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start ylmdefrp
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2872
    • 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:3008
  • C:\Windows\SysWOW64\ylmdefrp\gyqxwnyf.exe
    C:\Windows\SysWOW64\ylmdefrp\gyqxwnyf.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_af156aab5e1b36293628c763312753054b489c3fbc30aa9f1efbde788e5ef6a9.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2768
    • 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:2776

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    11.0MB

    MD5

    f80b726f72499b331f52be8e13e40b17

    SHA1

    66098badd272eeb313a9db73966ee15ac65b0c45

    SHA256

    7e65cc26da4dce24d1edafd5cad9a16264ef79b78c187e4b3336a52987887881

    SHA512

    f3727037d3f9ee2dc951feb58468618eff0aedb78dbdcc5322ca2ed40a46b500e8f05be015903d17f8a9ab26a7b90ecbcea47bf22c925353e8f3f15b493393cb

  • memory/1724-7-0x0000000000220000-0x000000000022D000-memory.dmp

    Filesize

    52KB

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

    Filesize

    84KB

  • memory/1724-1-0x00000000003E0000-0x00000000003F3000-memory.dmp

    Filesize

    76KB

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

    Filesize

    84KB

  • memory/1724-8-0x00000000003E0000-0x00000000003F3000-memory.dmp

    Filesize

    76KB

  • memory/1724-0-0x0000000000220000-0x000000000022D000-memory.dmp

    Filesize

    52KB

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

    Filesize

    324KB

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

    Filesize

    324KB

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

    Filesize

    4KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    84KB