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
    18-01-2025 20:43

General

  • Target

    2025-01-18_f3d769498f02e8f68fb85444b4893068_mafia.exe

  • Size

    10.2MB

  • MD5

    f3d769498f02e8f68fb85444b4893068

  • SHA1

    39bc846e09c574a21dc5809a3a78a6232f1ef96d

  • SHA256

    d17c61ddf9e340d1c5f213aa1fa64950b786036e143c2d098020c16a49d5d12f

  • SHA512

    43fe0ec173e671bdf992f56775b4c39988a26c76dd7f545f87b4567212437a1cbdf306800bb585626dd319c7bc6ef38e3e7a900480796f0b95284c3031a0eb9f

  • SSDEEP

    24576:xEfmTNIkv/ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZx:Kfot

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-18_f3d769498f02e8f68fb85444b4893068_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-18_f3d769498f02e8f68fb85444b4893068_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2412
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\wernfxfo\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2816
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\kpzuoaxz.exe" C:\Windows\SysWOW64\wernfxfo\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2976
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create wernfxfo binPath= "C:\Windows\SysWOW64\wernfxfo\kpzuoaxz.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-18_f3d769498f02e8f68fb85444b4893068_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2804
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description wernfxfo "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2940
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start wernfxfo
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2720
    • 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:2568
  • C:\Windows\SysWOW64\wernfxfo\kpzuoaxz.exe
    C:\Windows\SysWOW64\wernfxfo\kpzuoaxz.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-18_f3d769498f02e8f68fb85444b4893068_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2552
    • 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:2368

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    14.9MB

    MD5

    7f6ed30648a0074324c49b747852f06e

    SHA1

    16e9b993497aa9a79ab9fa2575964e5c9f67da59

    SHA256

    ba2432a94fb01a0889d6414d026f3600dd0cb7b6edf51ce0d727826c9686ca1f

    SHA512

    8183bd1daa5abc82838820126b2278ca2a2d4c9ee549e6817492019f248cdee659d81947ab646044dd0e8736f53dbd1e6cd7a6af0753adf732ce890270804ecb

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    4KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    76KB

  • memory/2412-7-0x0000000000400000-0x000000000044E000-memory.dmp

    Filesize

    312KB

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

    Filesize

    84KB

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

    Filesize

    76KB

  • memory/2412-1-0x00000000002D0000-0x00000000003D0000-memory.dmp

    Filesize

    1024KB

  • memory/2552-17-0x0000000000400000-0x000000000044E000-memory.dmp

    Filesize

    312KB