Analysis

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

    arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system
  • submitted
    03-02-2025 21:19

General

  • Target

    2025-02-03_99c64ff1e1f52348d4b7dbbf5a0632f9_mafia.exe

  • Size

    12.9MB

  • MD5

    99c64ff1e1f52348d4b7dbbf5a0632f9

  • SHA1

    12eece8338d93ed9dd22903f4e6c64d8e6f6531a

  • SHA256

    87a0db19083558b7383108d51b80eb6505f25d869dfd6c36ba9e66292d74a490

  • SHA512

    7eabb767096cb2cd25a019470018f7e69a8bb75872970eea7cb5aabb4bffb84d11261df95e7f619a4c5562ab893928ef69d38d40ed87c65d360eba3594d3176e

  • SSDEEP

    24576:W6WdLQkyQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQY:XWdLQk

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-03_99c64ff1e1f52348d4b7dbbf5a0632f9_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-03_99c64ff1e1f52348d4b7dbbf5a0632f9_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1804
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\yajlqunl\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1216
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\sxhcwifh.exe" C:\Windows\SysWOW64\yajlqunl\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2528
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create yajlqunl binPath= "C:\Windows\SysWOW64\yajlqunl\sxhcwifh.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-03_99c64ff1e1f52348d4b7dbbf5a0632f9_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2148
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description yajlqunl "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2460
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start yajlqunl
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2756
    • 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:2740
  • C:\Windows\SysWOW64\yajlqunl\sxhcwifh.exe
    C:\Windows\SysWOW64\yajlqunl\sxhcwifh.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-03_99c64ff1e1f52348d4b7dbbf5a0632f9_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2888
    • 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:2732

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    12.1MB

    MD5

    6ef744b569934cae1f6926adfda93898

    SHA1

    d5eee0b354e1620d36eb443e956983daa9e2fcc0

    SHA256

    cf0ddb339a6b97285bfb7c16f6a6be25587b9d16c6741801980c243f8e425cbd

    SHA512

    9ce5d612d7523f0ca55b7344a2543ca4b18d93ff88759fd01e173233fdb79999dc97d6c9f58993343dceb87a1ece3a942e7e18bcb80337ac6a08ed0ede31dcb6

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

    Filesize

    76KB

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

    Filesize

    84KB

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

    Filesize

    76KB

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

    Filesize

    316KB

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

    Filesize

    84KB

  • memory/1804-1-0x0000000000550000-0x0000000000650000-memory.dmp

    Filesize

    1024KB

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

    Filesize

    84KB

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

    Filesize

    4KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    84KB

  • memory/2888-13-0x0000000000400000-0x000000000044F000-memory.dmp

    Filesize

    316KB