Analysis

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

    arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system
  • submitted
    01-02-2025 20:44

General

  • Target

    2025-02-01_d2a6285281b9251fad852e6674d627d5_mafia.exe

  • Size

    13.6MB

  • MD5

    d2a6285281b9251fad852e6674d627d5

  • SHA1

    00bae2fe3cf6f832252f453b8b3f1373b563b13c

  • SHA256

    ac07bd844dd88ff07f954b2a9fdf3a21fe90b78bb2866862ee5ff00e5604b8ee

  • SHA512

    1ede58994358725fa808b164cafc53e6f0ec383e747575b912cd0fa983bd584aef0c254da32c4cbeedfc1cdc67139b2d9d7ae450ca396cf9a194aeaa4b57ff0f

  • SSDEEP

    49152:2qE0YKr3fYPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP:2qtYc3

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-01_d2a6285281b9251fad852e6674d627d5_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-01_d2a6285281b9251fad852e6674d627d5_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2816
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\nnsekeia\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2760
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\wnvtdyft.exe" C:\Windows\SysWOW64\nnsekeia\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2724
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create nnsekeia binPath= "C:\Windows\SysWOW64\nnsekeia\wnvtdyft.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-01_d2a6285281b9251fad852e6674d627d5_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2944
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description nnsekeia "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2664
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start nnsekeia
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2624
    • 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:588
  • C:\Windows\SysWOW64\nnsekeia\wnvtdyft.exe
    C:\Windows\SysWOW64\nnsekeia\wnvtdyft.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-01_d2a6285281b9251fad852e6674d627d5_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2680
    • 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:2180

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    12.5MB

    MD5

    16e3ddc1782e139a006d0e2f087b4938

    SHA1

    126b33902fb2151dec55f08db9faeb1df2e7468a

    SHA256

    d3ac74c9788ff895e43322c3c4000c6f469bcda622644f9dd4dc6e04c62b73df

    SHA512

    5b0d3df4282ab6ab100735cd30414a9bfa3d74f71790195d98c549f45f6df1696610b84e1493ff2139d7f4ed4ab7843b9b45d46228a4c62c0cb74d7691ec8b30

  • memory/2180-8-0x00000000000C0000-0x00000000000D5000-memory.dmp

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    4KB

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

    Filesize

    84KB

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

    Filesize

    84KB

  • memory/2680-12-0x0000000000400000-0x0000000002DC3000-memory.dmp

    Filesize

    41.8MB

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

    Filesize

    84KB

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

    Filesize

    76KB

  • memory/2816-1-0x0000000002EF0000-0x0000000002FF0000-memory.dmp

    Filesize

    1024KB

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

    Filesize

    84KB

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

    Filesize

    76KB

  • memory/2816-14-0x0000000000400000-0x0000000002DC3000-memory.dmp

    Filesize

    41.8MB