Analysis

  • max time kernel
    145s
  • max time network
    123s
  • platform
    windows7_x64
  • resource
    win7-20241010-en
  • resource tags

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

General

  • Target

    2025-01-30_5c21d1621ae8aed4b888874b6440a2b6_mafia.exe

  • Size

    10.9MB

  • MD5

    5c21d1621ae8aed4b888874b6440a2b6

  • SHA1

    6aee183901b7c8e9fcdfd96111d8e738d90d8caa

  • SHA256

    db4582f33b218c1bfd904c331e03acd29217b75397b608c2e45352dfa9111613

  • SHA512

    ca39fef8c7376f085ccf808fdb4b20d0e171ac7e62cc1e2150804114cdc5c6abeab0926a43c98142d993a59aaf26ae6dde40873aba17a7a72bb76152e8733a9c

  • SSDEEP

    24576:TpomTTN9ttttttttttttttttttttttttttttttttttttttttttttttttttttttt7:Voop

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_5c21d1621ae8aed4b888874b6440a2b6_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-30_5c21d1621ae8aed4b888874b6440a2b6_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1684
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\gzytcqit\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2016
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\hjcnucqg.exe" C:\Windows\SysWOW64\gzytcqit\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1036
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create gzytcqit binPath= "C:\Windows\SysWOW64\gzytcqit\hjcnucqg.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-30_5c21d1621ae8aed4b888874b6440a2b6_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2572
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description gzytcqit "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2332
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start gzytcqit
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2092
    • 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:2800
  • C:\Windows\SysWOW64\gzytcqit\hjcnucqg.exe
    C:\Windows\SysWOW64\gzytcqit\hjcnucqg.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-30_5c21d1621ae8aed4b888874b6440a2b6_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2184
    • 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:2884

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    11.5MB

    MD5

    452a0f44d6263f479d520bcf8de1410e

    SHA1

    cb3a24fb95be298eac156759c6ac1c86a23161a0

    SHA256

    dfa62093693d4b76f9b59bfa4216e7829945a9a0586239929a99a3acd94dfbcf

    SHA512

    8bbc3774d758f8e80a3ea1346ccf6362a08fa4a465545accd09ec77a67906140a664f3be86b2d8d1c51015a9d89968a49497edd5908ec45e8423af021e3dd012

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

    Filesize

    84KB

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

    Filesize

    84KB

  • memory/1684-1-0x00000000002B0000-0x00000000003B0000-memory.dmp

    Filesize

    1024KB

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

    Filesize

    312KB

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

    Filesize

    76KB

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

    Filesize

    76KB

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

    Filesize

    312KB

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

    Filesize

    84KB

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

    Filesize

    4KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    84KB