Analysis

  • max time kernel
    145s
  • max time network
    119s
  • platform
    windows7_x64
  • resource
    win7-20240903-en
  • resource tags

    arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system
  • submitted
    29/01/2025, 17:43

General

  • Target

    2025-01-29_b8cbe229db5f5116bb60fa4475e58ea8_mafia.exe

  • Size

    12.8MB

  • MD5

    b8cbe229db5f5116bb60fa4475e58ea8

  • SHA1

    3fcce4344791f791ba62199ad71297387936f038

  • SHA256

    2923852431766d3da326baf4bffac6a92a0092e87be7f0f451e4633cb755626b

  • SHA512

    6fc0df22623afd501ca73b07790a2bb8f92e700294ba9a9aa6e119a9597596d2a7d10dc28fe650eedc718f118810fd15c349068fe78d95847dfa014b1120ec82

  • SSDEEP

    24576:NEfmTNIkv/ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZj:2fot

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-29_b8cbe229db5f5116bb60fa4475e58ea8_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-29_b8cbe229db5f5116bb60fa4475e58ea8_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\zupoyvhs\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2960
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\sstezayg.exe" C:\Windows\SysWOW64\zupoyvhs\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2884
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create zupoyvhs binPath= "C:\Windows\SysWOW64\zupoyvhs\sstezayg.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-29_b8cbe229db5f5116bb60fa4475e58ea8_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3056
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description zupoyvhs "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2764
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start zupoyvhs
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2856
    • 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:2752
  • C:\Windows\SysWOW64\zupoyvhs\sstezayg.exe
    C:\Windows\SysWOW64\zupoyvhs\sstezayg.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-29_b8cbe229db5f5116bb60fa4475e58ea8_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2720
    • 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:2584

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    13.9MB

    MD5

    686895e795eae2b68deabd35862ae94a

    SHA1

    96f626d44d2cd042397da3e5b378d68b2fae5bc1

    SHA256

    2f6a585609954a8cc41c2221cbe83bd13ae7e259e19a60d0b80922e748b8c258

    SHA512

    3a5d8ef9206d4c693696d72ea4a95dc3fc1d5f2705576be3293de0b0baf376895c8e8c5e4a46e12925b2a91809e137ac3cfecdb6bcac7a39e76ee45efa5acb47

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    76KB

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

    Filesize

    312KB

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

    Filesize

    1024KB

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

    Filesize

    76KB

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

    Filesize

    84KB

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

    Filesize

    4KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    312KB