Analysis

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

    arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system
  • submitted
    31-01-2025 05:22

General

  • Target

    2025-01-31_17cdf5af0f3bbd44fe4a61faee6c856e_mafia.exe

  • Size

    10.2MB

  • MD5

    17cdf5af0f3bbd44fe4a61faee6c856e

  • SHA1

    7cfd9c4f5cb3b202aa5abe7b39dd17c429fb6098

  • SHA256

    07624eb5d8e98eb16931b1d103e293f60cb1e832ada9c57bc9b188ef04d99511

  • SHA512

    adcce1d8653628e6b9faa870e1042cf8cb3521b05653d0af6a7e753558a6eeb91e523a329af0773962a4d73d2037c9c36d8b38d98f9192f940a3f7f92e547a03

  • SSDEEP

    24576:RpomTTN9tttttttttttttttttttttttttttttttttttttttttttttttttttttttD:roo9

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-31_17cdf5af0f3bbd44fe4a61faee6c856e_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-31_17cdf5af0f3bbd44fe4a61faee6c856e_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1996
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\lqrhglby\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1652
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ylxunafp.exe" C:\Windows\SysWOW64\lqrhglby\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2940
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create lqrhglby binPath= "C:\Windows\SysWOW64\lqrhglby\ylxunafp.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-31_17cdf5af0f3bbd44fe4a61faee6c856e_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:776
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description lqrhglby "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1380
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start lqrhglby
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2196
    • 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:2216
  • C:\Windows\SysWOW64\lqrhglby\ylxunafp.exe
    C:\Windows\SysWOW64\lqrhglby\ylxunafp.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-31_17cdf5af0f3bbd44fe4a61faee6c856e_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1708
    • 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:2592

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    14.5MB

    MD5

    0e117629bea7310213e5299e6d8522f7

    SHA1

    3d7d2008bd81f8714c1af2954ac7586e0fb87023

    SHA256

    30ecd6f613c2259348422d6167f34c01a5374d978d512b84f2a64e94d1b10d8e

    SHA512

    b136cba73db8d878ee01528117519371d55c284e592d025f6b3e05b8589fa2e5ba9568d8711fc28182c4575b23629470eeee4143b9edd385dc77f93a13f53a69

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

    Filesize

    312KB

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

    Filesize

    312KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    76KB

  • memory/1996-1-0x0000000000540000-0x0000000000640000-memory.dmp

    Filesize

    1024KB

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

    Filesize

    76KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    4KB

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

    Filesize

    84KB

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

    Filesize

    84KB