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
    01-02-2025 20:39

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:2408
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\rstlwiye\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2936
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\yhbgyxso.exe" C:\Windows\SysWOW64\rstlwiye\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2064
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create rstlwiye binPath= "C:\Windows\SysWOW64\rstlwiye\yhbgyxso.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:2992
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description rstlwiye "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2632
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start rstlwiye
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2752
    • 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:2820
  • C:\Windows\SysWOW64\rstlwiye\yhbgyxso.exe
    C:\Windows\SysWOW64\rstlwiye\yhbgyxso.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:2876
    • 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:2352

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    11.1MB

    MD5

    389bf032b9c6a97b03116ce2039579ac

    SHA1

    545dbc03e9e57c47d021f273851ffeb6b386e14b

    SHA256

    1378a98e9eeeaf3a6b7de727e5c6c4578bc0bc7457637d51b23adda4cb707435

    SHA512

    8408cf8565ca4c9ddd8a754544f28070195cb5671cae3d8d33286175984485ce02085d93bbeaef2f9e43d560eb930a02caa3884e40803518c78131f00f73dda1

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

    Filesize

    4KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    76KB

  • memory/2408-1-0x0000000002E90000-0x0000000002F90000-memory.dmp

    Filesize

    1024KB

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

    Filesize

    84KB

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

    Filesize

    76KB

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

    Filesize

    41.8MB

  • memory/2876-13-0x0000000000400000-0x0000000002DC3000-memory.dmp

    Filesize

    41.8MB