Analysis

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

    arch:x64arch:x86image:win7-20240708-enlocale:en-usos:windows7-x64system
  • submitted
    02-02-2025 05:47

General

  • Target

    2025-02-02_478e4f65654044f1fb361af997fedafa_mafia.exe

  • Size

    14.5MB

  • MD5

    478e4f65654044f1fb361af997fedafa

  • SHA1

    261bbfc11b55391d2107065c054ce1573154395d

  • SHA256

    48de4e638be5651ff2e3248b56e4bd338986f8822dc7e91c67a427e8aa535781

  • SHA512

    1f0c147ba46e951fc66c931cadcac7d5632127dda0cecd5c3f124a2f6d1e6b11eaeae0ddb9199196c33471c0fd53b27b979ab8ae14cc14d252ec763ea58b6d06

  • SSDEEP

    24576:bpomTTN9tttttttttttttttttttttttttttttttttttttttttttttttttttttttO:tooc

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-02_478e4f65654044f1fb361af997fedafa_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-02_478e4f65654044f1fb361af997fedafa_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2404
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ppdgait\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1640
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\sstezayg.exe" C:\Windows\SysWOW64\ppdgait\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2660
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create ppdgait binPath= "C:\Windows\SysWOW64\ppdgait\sstezayg.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-02_478e4f65654044f1fb361af997fedafa_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2720
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description ppdgait "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2804
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start ppdgait
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2820
    • 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:2516
  • C:\Windows\SysWOW64\ppdgait\sstezayg.exe
    C:\Windows\SysWOW64\ppdgait\sstezayg.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-02_478e4f65654044f1fb361af997fedafa_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2552
    • 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:1680

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    13.5MB

    MD5

    b79ee73a3ad8929592a21d4b146f0d9e

    SHA1

    82c7a6cd060208280f562b346edb343befe06436

    SHA256

    196bac68f93c4c80da0a1c5b85f4a8b218014d8c84028ea0d5ad66c1723bbc95

    SHA512

    484be038b45f412a3aa3f9864722b3e55e2351dca983004efd8310a3cb3350c203cfedb84507a6afc1a5fc84a389be31d893069054e41acadf5d25b4b67d214e

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

    Filesize

    4KB

  • memory/1680-18-0x00000000000D0000-0x00000000000E5000-memory.dmp

    Filesize

    84KB

  • memory/1680-17-0x00000000000D0000-0x00000000000E5000-memory.dmp

    Filesize

    84KB

  • memory/1680-8-0x00000000000D0000-0x00000000000E5000-memory.dmp

    Filesize

    84KB

  • memory/1680-11-0x00000000000D0000-0x00000000000E5000-memory.dmp

    Filesize

    84KB

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

    Filesize

    76KB

  • memory/2404-14-0x0000000000400000-0x000000000044E000-memory.dmp

    Filesize

    312KB

  • memory/2404-1-0x00000000004E0000-0x00000000005E0000-memory.dmp

    Filesize

    1024KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    76KB

  • memory/2552-12-0x0000000000400000-0x000000000044E000-memory.dmp

    Filesize

    312KB