Analysis

  • max time kernel
    144s
  • max time network
    118s
  • platform
    windows7_x64
  • resource
    win7-20240708-en
  • resource tags

    arch:x64arch:x86image:win7-20240708-enlocale:en-usos:windows7-x64system
  • submitted
    26-01-2025 18:34

General

  • Target

    2025-01-26_6dd13a57c6a06a93be7ae34d9cb92a6a_mafia.exe

  • Size

    10.3MB

  • MD5

    6dd13a57c6a06a93be7ae34d9cb92a6a

  • SHA1

    4a7551506dcd411a6385e2a985ba4429de2f63ea

  • SHA256

    103f257a6c4a8617124389d69bc1ae7315e8c0d773548b1eed2d4a4044bdd2be

  • SHA512

    8dfcb3439993a08c21330a926ef161ff0a81f05879a81baad13bfb025c414f161d18590717277ae0c34fd4113caa66cc524589ee919a572936273ad0fa105cc9

  • SSDEEP

    49152:RqE0YKr3fYPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPn:RqtYc3

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-26_6dd13a57c6a06a93be7ae34d9cb92a6a_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-26_6dd13a57c6a06a93be7ae34d9cb92a6a_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2852
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ayvpqovs\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1688
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\zxghqmbx.exe" C:\Windows\SysWOW64\ayvpqovs\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2760
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create ayvpqovs binPath= "C:\Windows\SysWOW64\ayvpqovs\zxghqmbx.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-26_6dd13a57c6a06a93be7ae34d9cb92a6a_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2796
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description ayvpqovs "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2812
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start ayvpqovs
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2644
    • 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:2588
  • C:\Windows\SysWOW64\ayvpqovs\zxghqmbx.exe
    C:\Windows\SysWOW64\ayvpqovs\zxghqmbx.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-26_6dd13a57c6a06a93be7ae34d9cb92a6a_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2580
    • 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:2612

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    13.5MB

    MD5

    eef90936a783c977cdb6a583c984cedb

    SHA1

    443214bb43f8b97d37251d05fd4f069693655976

    SHA256

    fa3212bf7fc460879a36315f07db7d79c30125952706ff9c5b1f9c02599c290f

    SHA512

    9c78b0a59b75a9aa6952d5a379bea77c3712e2189186dbb9bf847e93222f258621ccc1f38432e340d791f07837c797b7c1ed8aab44a009bb87213c5baca33058

  • memory/2580-11-0x0000000000400000-0x0000000002DC3000-memory.dmp

    Filesize

    41.8MB

  • memory/2612-10-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/2612-9-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

    Filesize

    4KB

  • memory/2612-7-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

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

    Filesize

    84KB

  • memory/2612-15-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/2852-2-0x0000000000400000-0x0000000002DC3000-memory.dmp

    Filesize

    41.8MB

  • memory/2852-3-0x0000000000400000-0x0000000002DC3000-memory.dmp

    Filesize

    41.8MB

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

    Filesize

    41.8MB