Analysis

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

    arch:x64arch:x86image:win7-20240708-enlocale:en-usos:windows7-x64system
  • submitted
    05-02-2025 23:35

General

  • Target

    2025-02-05_5c8ed6be9c8ac04c865c298718f2ccfe_mafia.exe

  • Size

    10.5MB

  • MD5

    5c8ed6be9c8ac04c865c298718f2ccfe

  • SHA1

    ca7ad1ec8dff5c70baa0ef32f485bfe52f340e6a

  • SHA256

    8155d7a833a20b302c9a529ad3e7f7125ad23118c408f862e35536e079575b74

  • SHA512

    37a4873a0e837ce19f465ba1cd52cf053a8ef8c855bfd13b6cbf18a560026e7d5604af28da4eb7938aed935924e07c86955e72072eb005fe3e0db204b28cf6f8

  • SSDEEP

    196608:ZyXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/:UXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXv

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-05_5c8ed6be9c8ac04c865c298718f2ccfe_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-05_5c8ed6be9c8ac04c865c298718f2ccfe_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1716
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\bsoyijw\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2236
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\usbclhws.exe" C:\Windows\SysWOW64\bsoyijw\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2244
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create bsoyijw binPath= "C:\Windows\SysWOW64\bsoyijw\usbclhws.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-05_5c8ed6be9c8ac04c865c298718f2ccfe_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2268
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description bsoyijw "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2448
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start bsoyijw
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1220
    • 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:812
  • C:\Windows\SysWOW64\bsoyijw\usbclhws.exe
    C:\Windows\SysWOW64\bsoyijw\usbclhws.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-05_5c8ed6be9c8ac04c865c298718f2ccfe_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3036
    • 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:2632

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    14.2MB

    MD5

    24237a2789305a89f1896e3ccb0ac2a9

    SHA1

    2fed506660b4aeb759e788a627a90da167397963

    SHA256

    14e740ec6ac9be47b3d97db5d5568cc21e49e972e6b2c1d419692cefa6334f27

    SHA512

    522c7c0f593af9b70169b6d15a89eb5085b6566d63506b5538245044d117755ccf889a72d1b278232549e477834036e208c94fd68eb79d0b215c9399194319d5

  • memory/1716-7-0x0000000000400000-0x000000000045D000-memory.dmp

    Filesize

    372KB

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

    Filesize

    84KB

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

    Filesize

    76KB

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

    Filesize

    84KB

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

    Filesize

    76KB

  • memory/1716-1-0x00000000005E0000-0x00000000006E0000-memory.dmp

    Filesize

    1024KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    4KB

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

    Filesize

    84KB

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

    Filesize

    84KB

  • memory/3036-17-0x0000000000400000-0x000000000045D000-memory.dmp

    Filesize

    372KB