Analysis

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

    arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system
  • submitted
    09-01-2025 18:51

General

  • Target

    2025-01-09_bc0920bf926ce5afd4b3bddbe164c661_mafia.exe

  • Size

    10.8MB

  • MD5

    bc0920bf926ce5afd4b3bddbe164c661

  • SHA1

    02d2615da6e80b0f12c8f5af0059034365a7e7c6

  • SHA256

    125855b740b1777ffecc46e376fba8c12e89daa1ac4d4c64c9df5ecc00380b74

  • SHA512

    56f38c84ff5439fe5301fcbc934f8a0212bb535b1e6d41d5207a2b7ce18713eda482557cfa3bec79f3ee77a2e3153c946234230070e2fae85d3a9ab67b5877b5

  • SSDEEP

    6144:1LQ1p/2p5e+D2jFHO+iZoy6u9FlfrXEz9NQNQNQNQNQNQNQNQNQNQNQNQNQNQNQQ:GTYe+D2jFu+iZoUFhAz

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-09_bc0920bf926ce5afd4b3bddbe164c661_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-09_bc0920bf926ce5afd4b3bddbe164c661_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2324
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\acvtwibq\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2452
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\toskalnl.exe" C:\Windows\SysWOW64\acvtwibq\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2644
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create acvtwibq binPath= "C:\Windows\SysWOW64\acvtwibq\toskalnl.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-09_bc0920bf926ce5afd4b3bddbe164c661_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2840
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description acvtwibq "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2664
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start acvtwibq
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2784
    • 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:2968
  • C:\Windows\SysWOW64\acvtwibq\toskalnl.exe
    C:\Windows\SysWOW64\acvtwibq\toskalnl.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-09_bc0920bf926ce5afd4b3bddbe164c661_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2712
    • 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:2252

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    13.1MB

    MD5

    2f8bde7c494147c4c2fe77429129adf9

    SHA1

    c66b499690a17d4a33cb988575ec59a0376d0d23

    SHA256

    f99188ba7e9e347ef35d341da30566484af155ca0e92e6d85853267a7bec1b1d

    SHA512

    ebbbbff940de6740aee4c27724bd16ea3f999f8e98a22e1b48877d1ccc37699fc1e314eff1270cb95c45ed9fd5483eaf8a6b25a8d055b25e291d4a9feabb220b

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

    Filesize

    4KB

  • memory/2252-16-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

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

    Filesize

    84KB

  • memory/2252-12-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    76KB

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

    Filesize

    84KB

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

    Filesize

    76KB

  • memory/2324-7-0x0000000000400000-0x00000000004C1000-memory.dmp

    Filesize

    772KB

  • memory/2324-1-0x0000000000610000-0x0000000000710000-memory.dmp

    Filesize

    1024KB

  • memory/2712-17-0x0000000000400000-0x00000000004C1000-memory.dmp

    Filesize

    772KB