Analysis

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

    arch:x64arch:x86image:win7-20240708-enlocale:en-usos:windows7-x64system
  • submitted
    26-12-2024 21:00

General

  • Target

    JaffaCakes118_c7fc4a06e62713e2e317edb8d4d7a16deab408763d8d2b9eb07cb00dfe4e5391.exe

  • Size

    165KB

  • MD5

    d5a681d05ff818203baa6089fd07136e

  • SHA1

    ce8e81746a32507d44050cfaa65ed9740c81acdc

  • SHA256

    c7fc4a06e62713e2e317edb8d4d7a16deab408763d8d2b9eb07cb00dfe4e5391

  • SHA512

    b84c65ec603656e5a369dc6129024e0436642c0f0837a4de665ed838bdbe5a8eab94b656edbd7bfcb177ba768b29c9fa2db91f6b6b3a613ac86694127759f076

  • SSDEEP

    3072:iuerXeNjwshS8o15iZ9/D+3pCTMfsHY87+e2:SrXOjwshStiZo3Eas487+R

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_c7fc4a06e62713e2e317edb8d4d7a16deab408763d8d2b9eb07cb00dfe4e5391.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_c7fc4a06e62713e2e317edb8d4d7a16deab408763d8d2b9eb07cb00dfe4e5391.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1780
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ruiieymg\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2500
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\buiumgiv.exe" C:\Windows\SysWOW64\ruiieymg\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2784
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create ruiieymg binPath= "C:\Windows\SysWOW64\ruiieymg\buiumgiv.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_c7fc4a06e62713e2e317edb8d4d7a16deab408763d8d2b9eb07cb00dfe4e5391.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2724
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description ruiieymg "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2852
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start ruiieymg
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2940
    • 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:2584
  • C:\Windows\SysWOW64\ruiieymg\buiumgiv.exe
    C:\Windows\SysWOW64\ruiieymg\buiumgiv.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_c7fc4a06e62713e2e317edb8d4d7a16deab408763d8d2b9eb07cb00dfe4e5391.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2812
    • 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:2612

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    13.6MB

    MD5

    b67ddc9499ecd3f0730bb66dd496b8c2

    SHA1

    13e1b23f33bd21c79ecd0de65472ccf7e0f3d8b8

    SHA256

    a466d773bec1b8664bcd0b707bd7d6343c6be732c31cf49ddc04c45df42ce365

    SHA512

    172a8f4cfd13bd2d7ce513d5909f0e03ef6b7c70dda92c7b8bee1bd7456425f55c64290417e1caee83f3b6098f4a9d943185186bc1865462f1b1858f93ff987a

  • memory/1780-14-0x00000000001C0000-0x00000000001D3000-memory.dmp

    Filesize

    76KB

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

    Filesize

    84KB

  • memory/1780-1-0x00000000001C0000-0x00000000001D3000-memory.dmp

    Filesize

    76KB

  • memory/1780-15-0x0000000000400000-0x0000000000415000-memory.dmp

    Filesize

    84KB

  • memory/1780-0-0x00000000001B0000-0x00000000001BD000-memory.dmp

    Filesize

    52KB

  • memory/1780-13-0x00000000001B0000-0x00000000001BD000-memory.dmp

    Filesize

    52KB

  • memory/1780-12-0x0000000000400000-0x0000000000431000-memory.dmp

    Filesize

    196KB

  • memory/2612-9-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/2612-8-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

    Filesize

    4KB

  • memory/2612-6-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    84KB

  • memory/2812-11-0x0000000000400000-0x0000000000431000-memory.dmp

    Filesize

    196KB