Analysis

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

    arch:x64arch:x86image:win7-20241023-enlocale:en-usos:windows7-x64system
  • submitted
    01-02-2025 19:23

General

  • Target

    2025-02-01_5e15ab1ff2fd29ddfd090e5a675e8569_mafia.exe

  • Size

    13.1MB

  • MD5

    5e15ab1ff2fd29ddfd090e5a675e8569

  • SHA1

    54053e5403871decfe48fab22f77a41bcdcb168e

  • SHA256

    df262ac57db73e286fb2c5e2f9565c948ced4ef7a078b79fb58a566f9bde381d

  • SHA512

    d9aae32da5d99086fdcf48bfbe449f53afe08bf49d5ba1e4ad63feb1635c168e8bbbf1e4f0c54f76deba7d293c22854eef9309d4c2be4ebf0b8a71b15673cf67

  • SSDEEP

    393216:JXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX3:

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_5e15ab1ff2fd29ddfd090e5a675e8569_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-01_5e15ab1ff2fd29ddfd090e5a675e8569_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2380
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\jariued\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2732
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\hfopyujf.exe" C:\Windows\SysWOW64\jariued\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2376
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create jariued binPath= "C:\Windows\SysWOW64\jariued\hfopyujf.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-01_5e15ab1ff2fd29ddfd090e5a675e8569_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:468
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description jariued "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2404
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start jariued
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1156
    • 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:2784
  • C:\Windows\SysWOW64\jariued\hfopyujf.exe
    C:\Windows\SysWOW64\jariued\hfopyujf.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-01_5e15ab1ff2fd29ddfd090e5a675e8569_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2760
    • 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:2876

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    12.0MB

    MD5

    e22bd18e3e108c61598dc51e7a82d7d7

    SHA1

    75fbe9069d7c40915f3cea9591139bfee696fd50

    SHA256

    c4b4a9eabb23c83ebbaa09a9b859eb607cc6171fcc7d3114580c7b6bcb3a5a92

    SHA512

    4bc5e1d3c04742c024b612b7c2d8bacfa91b88ddf5e9422fa427a2ed506cb140d1538ee644f43dda37d30ce2b51919ecc655d730e83b3710b0758477c1f96960

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

    Filesize

    84KB

  • memory/2380-4-0x0000000000400000-0x0000000000415000-memory.dmp

    Filesize

    84KB

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

    Filesize

    76KB

  • memory/2380-14-0x0000000000400000-0x000000000045D000-memory.dmp

    Filesize

    372KB

  • memory/2380-1-0x00000000005C0000-0x00000000006C0000-memory.dmp

    Filesize

    1024KB

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

    Filesize

    76KB

  • memory/2760-13-0x0000000000400000-0x000000000045D000-memory.dmp

    Filesize

    372KB

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

    Filesize

    84KB

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

    Filesize

    4KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    84KB