Analysis

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

    arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system
  • submitted
    24-12-2024 21:09

General

  • Target

    JaffaCakes118_a8fbca1fa917a16435b65abf5e83d85dcd4514f401ca4b635691f95d44834232.exe

  • Size

    169KB

  • MD5

    54bd5f89f412ae17884504b9a86c5e63

  • SHA1

    8c596d102e6836e640a083ed4f9e9d127f919749

  • SHA256

    a8fbca1fa917a16435b65abf5e83d85dcd4514f401ca4b635691f95d44834232

  • SHA512

    66342f222dc8739599c51d0f46e0c71dc2649734717c33dc940a56fb080508c30f64f289f414c2c37a0c807fb4e5cb2761ca6e41b2b372fbd139b90a089535ce

  • SSDEEP

    3072:g5FWLk1FgKtHVuVtDcfLHQT0WXFl5TSQtXV7YZScM+kYBUS92:EMg1FgKRVu3DcTHQTvDTtxYgzMy

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_a8fbca1fa917a16435b65abf5e83d85dcd4514f401ca4b635691f95d44834232.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_a8fbca1fa917a16435b65abf5e83d85dcd4514f401ca4b635691f95d44834232.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2440
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\hkwkvntv\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2748
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\hmljzfod.exe" C:\Windows\SysWOW64\hkwkvntv\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2948
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create hkwkvntv binPath= "C:\Windows\SysWOW64\hkwkvntv\hmljzfod.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_a8fbca1fa917a16435b65abf5e83d85dcd4514f401ca4b635691f95d44834232.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2824
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description hkwkvntv "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2704
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start hkwkvntv
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2564
    • 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:2596
  • C:\Windows\SysWOW64\hkwkvntv\hmljzfod.exe
    C:\Windows\SysWOW64\hkwkvntv\hmljzfod.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_a8fbca1fa917a16435b65abf5e83d85dcd4514f401ca4b635691f95d44834232.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2708
    • 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:2664

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    12.1MB

    MD5

    65c9e7328982940eefc7093014bbccd5

    SHA1

    f450d4c96292b06644df8f7a57e26dd014e54c90

    SHA256

    f01c4f83b3df946a627aba8404c3816be84949789d9fe3034f04428522a313d3

    SHA512

    7f0a3e195ed088c93932f4cfd9f361dec4ebfde72ef4d2ba47f3efa1d5d7ff7bf903e5ce7e8391b6aa444d685eb3928f511c5e6e429fb0f66e29a6e51d56fcee

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

    Filesize

    52KB

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

    Filesize

    84KB

  • memory/2440-1-0x0000000000230000-0x0000000000243000-memory.dmp

    Filesize

    76KB

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

    Filesize

    84KB

  • memory/2440-8-0x0000000000230000-0x0000000000243000-memory.dmp

    Filesize

    76KB

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

    Filesize

    52KB

  • memory/2440-6-0x0000000000400000-0x0000000000432000-memory.dmp

    Filesize

    200KB

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

    Filesize

    4KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    84KB

  • memory/2708-16-0x0000000000400000-0x0000000000432000-memory.dmp

    Filesize

    200KB