Analysis

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

    arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system
  • submitted
    30-01-2025 16:25

General

  • Target

    2025-01-30_8ba95e2c690ea0eaae268ccbea0bf6a5_mafia.exe

  • Size

    10.1MB

  • MD5

    8ba95e2c690ea0eaae268ccbea0bf6a5

  • SHA1

    347c94a8d5128b256eb0469229158d998c10a8b7

  • SHA256

    23add7fb45eafa098b31903d7ee76734723361eb68c915b07e2fc14ec4088e89

  • SHA512

    a0d54ccf907d79edfb2f4a24251051a1fda83c0949b35a11e50c973d69e468906b6a59be30544ee5eaf013414912e4f4a6e2e9e3c4d1c49784827b8778260301

  • SSDEEP

    24576:n6WdLQkyQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQP:6WdLQk

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-30_8ba95e2c690ea0eaae268ccbea0bf6a5_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-30_8ba95e2c690ea0eaae268ccbea0bf6a5_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2172
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\xsxtxwnm\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2740
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\bgqlfroq.exe" C:\Windows\SysWOW64\xsxtxwnm\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2664
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create xsxtxwnm binPath= "C:\Windows\SysWOW64\xsxtxwnm\bgqlfroq.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-30_8ba95e2c690ea0eaae268ccbea0bf6a5_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2576
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description xsxtxwnm "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:888
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start xsxtxwnm
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2596
    • 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:2660
  • C:\Windows\SysWOW64\xsxtxwnm\bgqlfroq.exe
    C:\Windows\SysWOW64\xsxtxwnm\bgqlfroq.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-30_8ba95e2c690ea0eaae268ccbea0bf6a5_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2536
    • 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:2708

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    13.2MB

    MD5

    9eab4aa2663ddb870eeb49fafd90cbcf

    SHA1

    4084b8c4e6799419d3976b35b4cf3681e6d5a19f

    SHA256

    25410abcd94e80f6583ee72264ff88e4993fb0cfdc68dfb248df5f654a905068

    SHA512

    7193fc14e08014052269cfd6fafb46e66736182cab187a474a7e8738dbc7163bf0aa44fcdc579668ee97ca4810e7f03e67338348c1f68c1a2fe89737b5baee04

  • memory/2172-8-0x0000000000400000-0x000000000044F000-memory.dmp

    Filesize

    316KB

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

    Filesize

    84KB

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

    Filesize

    76KB

  • memory/2172-10-0x0000000000400000-0x0000000000415000-memory.dmp

    Filesize

    84KB

  • memory/2172-9-0x0000000000020000-0x0000000000033000-memory.dmp

    Filesize

    76KB

  • memory/2172-1-0x0000000000290000-0x0000000000390000-memory.dmp

    Filesize

    1024KB

  • memory/2536-15-0x0000000000400000-0x000000000044F000-memory.dmp

    Filesize

    316KB

  • memory/2708-14-0x00000000000C0000-0x00000000000D5000-memory.dmp

    Filesize

    84KB

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

    Filesize

    4KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    84KB