Analysis

  • max time kernel
    147s
  • max time network
    117s
  • platform
    windows7_x64
  • resource
    win7-20240729-en
  • resource tags

    arch:x64arch:x86image:win7-20240729-enlocale:en-usos:windows7-x64system
  • submitted
    30-01-2025 21:32

General

  • Target

    2025-01-30_8239d411837194c15c188f06ffb1003c_mafia.exe

  • Size

    14.7MB

  • MD5

    8239d411837194c15c188f06ffb1003c

  • SHA1

    4c6edd70541223b1e7792d5e6aa5987200d9efda

  • SHA256

    ddaa428d2e3531994a4902d7a09f248edbc4be2d4fcff8be75f3616439b69707

  • SHA512

    ef6877cba0a22b80a53530f4353065f86967c7fd1548123a860b42d6124e5127bb187a244f81c39f0056b8cf9db5838f23892eca774bfde5950f75241be2e7fc

  • SSDEEP

    393216:GXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX7:a

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-30_8239d411837194c15c188f06ffb1003c_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-30_8239d411837194c15c188f06ffb1003c_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:908
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ytjddmkq\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2260
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\luotlkfb.exe" C:\Windows\SysWOW64\ytjddmkq\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2192
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create ytjddmkq binPath= "C:\Windows\SysWOW64\ytjddmkq\luotlkfb.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-30_8239d411837194c15c188f06ffb1003c_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2732
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description ytjddmkq "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2744
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start ytjddmkq
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2956
    • 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:2636
  • C:\Windows\SysWOW64\ytjddmkq\luotlkfb.exe
    C:\Windows\SysWOW64\ytjddmkq\luotlkfb.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-30_8239d411837194c15c188f06ffb1003c_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2832
    • 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:2616

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    14.7MB

    MD5

    ce037d7f6958307ef7fdac52e0b60405

    SHA1

    e11a2cb455023c46dbdad17713a58c034cb03daf

    SHA256

    305dfb9ca4aed233f788a8faeb181502d583c8e9cdc1e31a2239f153826ee708

    SHA512

    8eb73b87fc36d4c2e75f0206184dd4eeac059b14e47f5e30927cb56af56a9c23ea81ef18e9bf5ad21c5ba4ca5b4af27a1574284c2db18009920a9e33492e62a4

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

    Filesize

    84KB

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

    Filesize

    84KB

  • memory/908-2-0x0000000000220000-0x0000000000233000-memory.dmp

    Filesize

    76KB

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

    Filesize

    372KB

  • memory/908-1-0x0000000000620000-0x0000000000720000-memory.dmp

    Filesize

    1024KB

  • memory/908-15-0x0000000000220000-0x0000000000233000-memory.dmp

    Filesize

    76KB

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

    Filesize

    84KB

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

    Filesize

    4KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    84KB

  • memory/2832-12-0x0000000000400000-0x000000000045D000-memory.dmp

    Filesize

    372KB