Analysis

  • max time kernel
    149s
  • max time network
    123s
  • platform
    windows7_x64
  • resource
    win7-20240903-en
  • resource tags

    arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system
  • submitted
    07-02-2025 08:25

General

  • Target

    2025-02-07_3c18d492b070d12b0410b79cc5e04490_mafia.exe

  • Size

    12.4MB

  • MD5

    3c18d492b070d12b0410b79cc5e04490

  • SHA1

    a55d2116d24a0e1d6b19bf7cab14c425bbae3c6f

  • SHA256

    5d24aa9379dfd9b590efd8e7346fef96609a3d09b99e2bf28ffd8fdc11f204fb

  • SHA512

    6de497b6d76c2b875b498a8b279c92a7539284880b28e9d5433653ade9bcd64ee4eaf5e337b240ef7320e29d0fe706c4109cdb41a67ffc64a7458408ef1d32eb

  • SSDEEP

    24576:uEfmTNIkv/ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZD:HfotR

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-07_3c18d492b070d12b0410b79cc5e04490_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-07_3c18d492b070d12b0410b79cc5e04490_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2516
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ghvtkksy\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2544
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\gbfxnyay.exe" C:\Windows\SysWOW64\ghvtkksy\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2428
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create ghvtkksy binPath= "C:\Windows\SysWOW64\ghvtkksy\gbfxnyay.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-07_3c18d492b070d12b0410b79cc5e04490_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2056
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description ghvtkksy "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2896
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start ghvtkksy
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3032
    • 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:2692
  • C:\Windows\SysWOW64\ghvtkksy\gbfxnyay.exe
    C:\Windows\SysWOW64\ghvtkksy\gbfxnyay.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-07_3c18d492b070d12b0410b79cc5e04490_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:2204

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    13.6MB

    MD5

    8003f93e3fa8961f5a4582bf021dff14

    SHA1

    d34f1b348e33ddd9e16f68da8f594a09a7ff7563

    SHA256

    e5197407409045f784dab8948861f5e31860500dc205fa1e1a78dcc9f1b47ffe

    SHA512

    ef038eb66d3a15e370d87a2f1df835cc58ee04204066ed314479d0c8b3794d9e2031a13e2d13e474ac6fbf5838f994213f58a78f9f9cf2bff5fa265d806aeffb

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

    Filesize

    4KB

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

    Filesize

    84KB

  • memory/2204-8-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    84KB

  • memory/2516-2-0x0000000000220000-0x0000000000233000-memory.dmp

    Filesize

    76KB

  • memory/2516-1-0x0000000000600000-0x0000000000700000-memory.dmp

    Filesize

    1024KB

  • memory/2516-15-0x0000000000400000-0x0000000000415000-memory.dmp

    Filesize

    84KB

  • memory/2516-14-0x0000000000220000-0x0000000000233000-memory.dmp

    Filesize

    76KB

  • memory/2516-13-0x0000000000400000-0x000000000044E000-memory.dmp

    Filesize

    312KB

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

    Filesize

    312KB