Analysis

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

    arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system
  • submitted
    23-12-2024 15:47

General

  • Target

    JaffaCakes118_42c84b049e03a1bad9a8267d9843dc42c8f83be2128725250b56c0ee5d9e5777.exe

  • Size

    327KB

  • MD5

    31bdff595ea41c72b706d487bbe4631b

  • SHA1

    f362b7edad57b5d18afba3b0a3917aad800e4985

  • SHA256

    42c84b049e03a1bad9a8267d9843dc42c8f83be2128725250b56c0ee5d9e5777

  • SHA512

    ae6c7a9cd5180076e72501cc0147df2e03e8016027d3f883617399159345696ecf9782721aab4f91541f0be9b25ce9b64f63a5dc28a6ede940020c73098154f7

  • SSDEEP

    6144:O+IZcqfRAQbNAJIZMVfwoFFTnDLu2EfyrprpuxcmqA:OTZcqfqJBnDLu2E+pV0

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_42c84b049e03a1bad9a8267d9843dc42c8f83be2128725250b56c0ee5d9e5777.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_42c84b049e03a1bad9a8267d9843dc42c8f83be2128725250b56c0ee5d9e5777.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2872
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\mxetcdti\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2364
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\kgvvahne.exe" C:\Windows\SysWOW64\mxetcdti\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2728
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create mxetcdti binPath= "C:\Windows\SysWOW64\mxetcdti\kgvvahne.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_42c84b049e03a1bad9a8267d9843dc42c8f83be2128725250b56c0ee5d9e5777.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2636
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description mxetcdti "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2624
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start mxetcdti
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2440
    • 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:2680
  • C:\Windows\SysWOW64\mxetcdti\kgvvahne.exe
    C:\Windows\SysWOW64\mxetcdti\kgvvahne.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_42c84b049e03a1bad9a8267d9843dc42c8f83be2128725250b56c0ee5d9e5777.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2008
    • 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:2960

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    13.7MB

    MD5

    104f8fdcce1261e378664a69fd50a620

    SHA1

    5af969380a35de141955748ee1a253c0a1c70912

    SHA256

    719ca4afd3237c68f8c7d83d8246720006337c8883c8a098fa99874962591b61

    SHA512

    76706ede3bbbb62ae303cee3030abe66734f401775e42af1b5624e722ce304de5f4b793c7ea6c94bfe22566cfcccaf0734645c1cf6782d2bf2ce0ddf59552da9

  • memory/2008-15-0x0000000000400000-0x00000000023A8000-memory.dmp

    Filesize

    31.7MB

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

    Filesize

    76KB

  • memory/2872-4-0x0000000000400000-0x0000000000415000-memory.dmp

    Filesize

    84KB

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

    Filesize

    84KB

  • memory/2872-7-0x0000000000400000-0x00000000023A8000-memory.dmp

    Filesize

    31.7MB

  • memory/2872-1-0x0000000002570000-0x0000000002670000-memory.dmp

    Filesize

    1024KB

  • memory/2872-2-0x0000000000230000-0x0000000000243000-memory.dmp

    Filesize

    76KB

  • memory/2960-14-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

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

    Filesize

    84KB

  • memory/2960-13-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

    Filesize

    4KB

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

    Filesize

    84KB

  • memory/2960-18-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB