Analysis

  • max time kernel
    144s
  • max time network
    120s
  • platform
    windows7_x64
  • resource
    win7-20240903-en
  • resource tags

    arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system
  • submitted
    06-02-2025 00:02

General

  • Target

    2025-02-05_894a9eefc5b05d243238afed2b573167_mafia.exe

  • Size

    13.1MB

  • MD5

    894a9eefc5b05d243238afed2b573167

  • SHA1

    7dc5bd6b457cac8c2b5b6ff3edc1ba5eb3d97a82

  • SHA256

    a5e7d70a29f30a9d82c922a5e49eff12db1d47772fceb8012988b4d6001a7b02

  • SHA512

    00fd31f17cef02f5f45156398e1a074230aa0e0383cddca5b2ca6daab68716da29db90d5d26f5f236dd0c795dd5d8870e903cc8ac833890efa8943a0a71d5818

  • SSDEEP

    24576:aEfmTNIkv/ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZn:zfotN

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_894a9eefc5b05d243238afed2b573167_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-05_894a9eefc5b05d243238afed2b573167_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2536
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\pfkisyao\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2408
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\zzalghfn.exe" C:\Windows\SysWOW64\pfkisyao\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1824
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create pfkisyao binPath= "C:\Windows\SysWOW64\pfkisyao\zzalghfn.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-05_894a9eefc5b05d243238afed2b573167_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2692
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description pfkisyao "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2708
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start pfkisyao
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2872
    • 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:2760
  • C:\Windows\SysWOW64\pfkisyao\zzalghfn.exe
    C:\Windows\SysWOW64\pfkisyao\zzalghfn.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-05_894a9eefc5b05d243238afed2b573167_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2912
    • 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:2732

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    10.0MB

    MD5

    3b38b1255f4f8f7f894edf96ce0b63cf

    SHA1

    f58ad45c5ec4e1bf4f4df4215f23d2a35da9a771

    SHA256

    c3b55025f94c97105fc1b856bee38ee1cc3b99fe4b81b2fb1cbb5b4e52c71db9

    SHA512

    76564763196c654800b2d756e9188b45185fc07612687811f8e89ca9a7ae3bc2d0d2639963ca5f20380fd0175447952297f08b2d1924d2d1410877adaad5015c

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

    Filesize

    76KB

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

    Filesize

    84KB

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

    Filesize

    76KB

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

    Filesize

    84KB

  • memory/2536-1-0x0000000000540000-0x0000000000640000-memory.dmp

    Filesize

    1024KB

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

    Filesize

    312KB

  • memory/2732-11-0x0000000000090000-0x00000000000A5000-memory.dmp

    Filesize

    84KB

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

    Filesize

    4KB

  • memory/2732-8-0x0000000000090000-0x00000000000A5000-memory.dmp

    Filesize

    84KB

  • memory/2732-17-0x0000000000090000-0x00000000000A5000-memory.dmp

    Filesize

    84KB

  • memory/2732-18-0x0000000000090000-0x00000000000A5000-memory.dmp

    Filesize

    84KB

  • memory/2912-13-0x0000000000400000-0x000000000044E000-memory.dmp

    Filesize

    312KB