Analysis

  • max time kernel
    143s
  • max time network
    122s
  • platform
    windows7_x64
  • resource
    win7-20240903-en
  • resource tags

    arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system
  • submitted
    27-01-2025 11:10

General

  • Target

    2025-01-27_d8af0d10b9e34488660938c793da32bb_mafia.exe

  • Size

    12.5MB

  • MD5

    d8af0d10b9e34488660938c793da32bb

  • SHA1

    e62ece930116d75b30401b0212bba86b2bf2b8c7

  • SHA256

    98ea3d57064e121e454209ef7c15e6571d4d24a8194e635dfe46df99ef56c0f1

  • SHA512

    76a82f0e82436ada650b639d6a4e4f6f0a899239888de1950f7c8d03a0c8a67b1ca2b035b2825d0f047cfdbd062651d4bdb3bfc3141e603dc9b876de64b7fd68

  • SSDEEP

    393216:8XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX3:

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-27_d8af0d10b9e34488660938c793da32bb_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-27_d8af0d10b9e34488660938c793da32bb_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1768
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\tuvhcmxo\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1256
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\oqjubjxn.exe" C:\Windows\SysWOW64\tuvhcmxo\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1712
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create tuvhcmxo binPath= "C:\Windows\SysWOW64\tuvhcmxo\oqjubjxn.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-27_d8af0d10b9e34488660938c793da32bb_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3064
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description tuvhcmxo "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2208
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start tuvhcmxo
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2680
    • 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:2376
  • C:\Windows\SysWOW64\tuvhcmxo\oqjubjxn.exe
    C:\Windows\SysWOW64\tuvhcmxo\oqjubjxn.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-27_d8af0d10b9e34488660938c793da32bb_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2796
    • 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:2688

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    14.5MB

    MD5

    2cb45e2f4d272bb0b42b265f2e45778c

    SHA1

    21378a33f34078d59e86eaebab95b0696ce750c8

    SHA256

    211ea3d06d2f092ede4d3711d60cb470b6aff0b4db09e91cdc5e0ea23985e696

    SHA512

    53877e0523af91a6e696f694fcc0a51feebf3bc03f4ac94dee4511fd767154fcc11ebaf1424a6f5fbbe837349bad1ccfb3824553700440736c97b1d1f2324b3a

  • memory/1768-16-0x0000000000550000-0x0000000000650000-memory.dmp

    Filesize

    1024KB

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

    Filesize

    84KB

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

    Filesize

    76KB

  • memory/1768-17-0x0000000000400000-0x0000000000415000-memory.dmp

    Filesize

    84KB

  • memory/1768-1-0x0000000000550000-0x0000000000650000-memory.dmp

    Filesize

    1024KB

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

    Filesize

    76KB

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

    Filesize

    372KB

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

    Filesize

    84KB

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

    Filesize

    4KB

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

    Filesize

    84KB

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

    Filesize

    84KB

  • memory/2688-19-0x00000000000C0000-0x00000000000D5000-memory.dmp

    Filesize

    84KB

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

    Filesize

    372KB