Analysis

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

    arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system
  • submitted
    29/01/2025, 18:34

General

  • Target

    2025-01-29_5c6ae23b64fb57a3ebe7ecda833515a2_mafia.exe

  • Size

    11.4MB

  • MD5

    5c6ae23b64fb57a3ebe7ecda833515a2

  • SHA1

    6256587cfd31f1be773738ad6a4479f5e5a0917b

  • SHA256

    b59aa4374a432455ceb42acd312ca1286148d06249b170cb7b8368d5b972d1a4

  • SHA512

    1a26478d0b08a3b52247b1e24bbdf052ea7bf7e0e4e122f3f42fe93f335501b72942e88ad186901ca3cdc17d832265a6751b509baec0643be8f8fd5fdf345972

  • SSDEEP

    24576:l6WdLQkyQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQd:kWdLQkH

Malware Config

Extracted

Family

tofsee

C2

43.231.4.7

lazystax.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\2025-01-29_5c6ae23b64fb57a3ebe7ecda833515a2_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-29_5c6ae23b64fb57a3ebe7ecda833515a2_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2504
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\kotnvngh\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1628
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\jiwymjkc.exe" C:\Windows\SysWOW64\kotnvngh\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2240
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create kotnvngh binPath= "C:\Windows\SysWOW64\kotnvngh\jiwymjkc.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-29_5c6ae23b64fb57a3ebe7ecda833515a2_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1124
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description kotnvngh "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2196
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start kotnvngh
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2712
    • 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:2816
  • C:\Windows\SysWOW64\kotnvngh\jiwymjkc.exe
    C:\Windows\SysWOW64\kotnvngh\jiwymjkc.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-29_5c6ae23b64fb57a3ebe7ecda833515a2_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2772
    • 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:2720

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    12.4MB

    MD5

    603857c091d26a7d9c0fe6b07552569f

    SHA1

    d722a1675d2ee064ab0cd688fde89c7778f24df3

    SHA256

    eebc4cb1312b99350a610af68a0692108e5c397e612e4b87f6f95f13956e35f5

    SHA512

    976347d93b7baf006aecb60ddb2fe232453bd1572ebeaa42dcc4e17c6f2b6c95a7c0c6a1b5c1782516f8be412aef6220001f8ea2674b2098c34240bf854ac2c1

  • memory/2504-16-0x0000000000400000-0x0000000000415000-memory.dmp

    Filesize

    84KB

  • memory/2504-3-0x0000000000400000-0x0000000000415000-memory.dmp

    Filesize

    84KB

  • memory/2504-2-0x0000000000020000-0x0000000000033000-memory.dmp

    Filesize

    76KB

  • memory/2504-14-0x0000000000400000-0x000000000044F000-memory.dmp

    Filesize

    316KB

  • memory/2504-1-0x0000000000510000-0x0000000000610000-memory.dmp

    Filesize

    1024KB

  • memory/2504-15-0x0000000000020000-0x0000000000033000-memory.dmp

    Filesize

    76KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    4KB

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

    Filesize

    84KB

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

    Filesize

    84KB

  • memory/2772-12-0x0000000000400000-0x000000000044F000-memory.dmp

    Filesize

    316KB