Analysis

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

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

General

  • Target

    2025-01-19_08074404f8b31d0e87a7463ad0b8971d_mafia.exe

  • Size

    11.0MB

  • MD5

    08074404f8b31d0e87a7463ad0b8971d

  • SHA1

    6233da81ed9883318a02d5a87fcfcf52e3617cd9

  • SHA256

    bdc9e29f60050c116a263f1b183fd1f15c268e21a29ab43546cc9d1e40e66ab3

  • SHA512

    c02e3363a74a8bee633135005208305c6140b71d5a6f2994f408c80e840ce277a47d6df4de42b2a82dd235c4a4cf6fa7716e52e32ef9796c5d7e8ccb23dabbb8

  • SSDEEP

    24576:L6WdLQkyQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQ4:GWdLQk

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-19_08074404f8b31d0e87a7463ad0b8971d_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-19_08074404f8b31d0e87a7463ad0b8971d_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1992
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\dduymsmc\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2712
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\kpzuoaxz.exe" C:\Windows\SysWOW64\dduymsmc\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2808
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create dduymsmc binPath= "C:\Windows\SysWOW64\dduymsmc\kpzuoaxz.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-19_08074404f8b31d0e87a7463ad0b8971d_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2796
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description dduymsmc "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2228
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start dduymsmc
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2968
    • 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:2664
  • C:\Windows\SysWOW64\dduymsmc\kpzuoaxz.exe
    C:\Windows\SysWOW64\dduymsmc\kpzuoaxz.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-19_08074404f8b31d0e87a7463ad0b8971d_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1956
    • 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:2920

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    13.0MB

    MD5

    c66c8b9c15114894a10d7c513039b8b8

    SHA1

    d1f11f246036496bc1f70d7376ecd17bebb6254a

    SHA256

    652367c15756fd221424c27dfe4566fe8455beced81d94b34b0d1fdf29399e1d

    SHA512

    b442a2f8ed41f300750b1c50301c71d84e3ba8959dd107b901c214b8e62a9fea9be877eec925b106e14b465db638309412f969cdce6ddc8ac0a94ed01471d707

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

    Filesize

    316KB

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

    Filesize

    76KB

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

    Filesize

    84KB

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

    Filesize

    76KB

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

    Filesize

    84KB

  • memory/1992-1-0x00000000005B0000-0x00000000006B0000-memory.dmp

    Filesize

    1024KB

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

    Filesize

    316KB

  • memory/2920-8-0x00000000000C0000-0x00000000000D5000-memory.dmp

    Filesize

    84KB

  • memory/2920-11-0x00000000000C0000-0x00000000000D5000-memory.dmp

    Filesize

    84KB

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

    Filesize

    4KB

  • memory/2920-17-0x00000000000C0000-0x00000000000D5000-memory.dmp

    Filesize

    84KB

  • memory/2920-18-0x00000000000C0000-0x00000000000D5000-memory.dmp

    Filesize

    84KB