Analysis

  • max time kernel
    145s
  • max time network
    121s
  • platform
    windows7_x64
  • resource
    win7-20241023-en
  • resource tags

    arch:x64arch:x86image:win7-20241023-enlocale:en-usos:windows7-x64system
  • submitted
    30-01-2025 20:04

General

  • Target

    2025-01-30_91db8558eace068815dcf94fe9d7120d_mafia.exe

  • Size

    11.5MB

  • MD5

    91db8558eace068815dcf94fe9d7120d

  • SHA1

    b74cc681cce044dca82a8c87fa5fee2f56a1157c

  • SHA256

    7cdc6699ebba552973ec083185ad2f4fdb9b7c3917cc459f5e9013ca62a5b813

  • SHA512

    2f2579188eebb85eea26334b8c1eb0ecc581846c61faeccf0e2132e4ad93627f423abf92dacfb16047c0a74535a09468582ba8563958a99e28d768365711d858

  • SSDEEP

    3072:mLBgXOXcdW8tar7vGdq8c7YMl2b8anmMXnb58XuDP9het3Zv1oSW1za2E+w5C2/T:POMdRQr7OB0ypmMXnl8XEPM3noSWOCa

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_91db8558eace068815dcf94fe9d7120d_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-30_91db8558eace068815dcf94fe9d7120d_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1576
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\apnrhxgn\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2280
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\tcwbtsnj.exe" C:\Windows\SysWOW64\apnrhxgn\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2200
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create apnrhxgn binPath= "C:\Windows\SysWOW64\apnrhxgn\tcwbtsnj.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-30_91db8558eace068815dcf94fe9d7120d_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2272
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description apnrhxgn "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2820
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start apnrhxgn
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1256
    • 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:2176
  • C:\Windows\SysWOW64\apnrhxgn\tcwbtsnj.exe
    C:\Windows\SysWOW64\apnrhxgn\tcwbtsnj.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-30_91db8558eace068815dcf94fe9d7120d_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:2828

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    11.3MB

    MD5

    ecb2495a59026138d05d4ebe23b34aca

    SHA1

    78e742bca3bdca3fffd9fced4a40601277712026

    SHA256

    fbb94795848a504cacaaa7623d6e65d6ecb9e8f587359e7c86bd8c549b3ffd1b

    SHA512

    d45e3a787f855a160c82885ca76ca6b985528927c745f8398a85121d4cdfbc2fc3bcb337efe07f668c594e5f04c3bd7b5ed5f714e7a47de41adb6d9db8af202c

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

    Filesize

    76KB

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

    Filesize

    84KB

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

    Filesize

    76KB

  • memory/1576-14-0x0000000000400000-0x000000000044E000-memory.dmp

    Filesize

    312KB

  • memory/1576-1-0x00000000002D0000-0x00000000003D0000-memory.dmp

    Filesize

    1024KB

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

    Filesize

    84KB

  • memory/2760-12-0x0000000000400000-0x000000000044E000-memory.dmp

    Filesize

    312KB

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

    Filesize

    84KB

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

    Filesize

    4KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    84KB