Analysis

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

    arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system
  • submitted
    04-02-2025 13:52

General

  • Target

    2025-02-04_38f0a0ac9331f715bef30247af40bbe0_mafia.exe

  • Size

    10.8MB

  • MD5

    38f0a0ac9331f715bef30247af40bbe0

  • SHA1

    a3368fd06f38dd5a16756d481ee39d883b6bc188

  • SHA256

    508e0b917e67cc4a91bcb7f6c2935ea1cdddd5133a71a353ca5385f2dfc575ba

  • SHA512

    97baaa0f165ddd7ad038abc480b7cc76b72ae76bd18b1a8612a60a6c647e2f46acfb9825c09bdca5991a8e1a5f4d9b288012bda99b40d2e7d2326aa948902dfb

  • SSDEEP

    24576:E6WdLQkyQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQr:pWdLQkh

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-02-04_38f0a0ac9331f715bef30247af40bbe0_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-04_38f0a0ac9331f715bef30247af40bbe0_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2644
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\gwuhcxqy\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2788
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ytxpfqsq.exe" C:\Windows\SysWOW64\gwuhcxqy\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2860
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create gwuhcxqy binPath= "C:\Windows\SysWOW64\gwuhcxqy\ytxpfqsq.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-04_38f0a0ac9331f715bef30247af40bbe0_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2820
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description gwuhcxqy "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2868
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start gwuhcxqy
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:272
    • 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:2560
  • C:\Windows\SysWOW64\gwuhcxqy\ytxpfqsq.exe
    C:\Windows\SysWOW64\gwuhcxqy\ytxpfqsq.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-04_38f0a0ac9331f715bef30247af40bbe0_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2544
    • 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:2112

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    13.6MB

    MD5

    d98814b0db6f098c5ac116bad9ced173

    SHA1

    b1ac37a9c6a1b46e85d935bee678de056d2a0372

    SHA256

    eb232947049289cd41174900bd862792a7be15d005eb6bff199647e9d656b0f7

    SHA512

    39f99aff1cd6cdc9e8f1eb3aaba7824a9420a8cb5a5200ba8ad01741976a8347bcd829b1ec7505f8fc2d4a18c66b1797ae65d97d840f70fc29a7e097cb5c119e

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

    Filesize

    4KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    84KB

  • memory/2544-15-0x0000000000400000-0x000000000044F000-memory.dmp

    Filesize

    316KB

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

    Filesize

    84KB

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

    Filesize

    76KB

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

    Filesize

    84KB

  • memory/2644-8-0x0000000000020000-0x0000000000033000-memory.dmp

    Filesize

    76KB

  • memory/2644-7-0x0000000000400000-0x000000000044F000-memory.dmp

    Filesize

    316KB

  • memory/2644-1-0x00000000008B0000-0x00000000009B0000-memory.dmp

    Filesize

    1024KB