Analysis

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

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

General

  • Target

    2025-01-10_9e52058daec83a315865f8c90795d4c8_mafia.exe

  • Size

    13.7MB

  • MD5

    9e52058daec83a315865f8c90795d4c8

  • SHA1

    a8cdaaeac7c10726f06d7ea25eb60964203cc39d

  • SHA256

    cdf608f60357488ef40b0977e2f39dba1f9180bc7a6f338b4500c7935faab9b3

  • SHA512

    1372a2124528d8dade2c23ffb21443d20c84a42b142b42c3262607aff8cd20ebc68410665b294c5db3c685914bfd6733fb9e1a32a39c7efd4f4573c3c95c11db

  • SSDEEP

    24576:66WdLQkyQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQo:zWdLQk

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-10_9e52058daec83a315865f8c90795d4c8_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-10_9e52058daec83a315865f8c90795d4c8_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2176
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ozqdccxn\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2792
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\jsmrjidz.exe" C:\Windows\SysWOW64\ozqdccxn\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2972
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create ozqdccxn binPath= "C:\Windows\SysWOW64\ozqdccxn\jsmrjidz.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-10_9e52058daec83a315865f8c90795d4c8_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2852
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description ozqdccxn "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2604
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start ozqdccxn
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2740
    • 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:2588
  • C:\Windows\SysWOW64\ozqdccxn\jsmrjidz.exe
    C:\Windows\SysWOW64\ozqdccxn\jsmrjidz.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-10_9e52058daec83a315865f8c90795d4c8_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2800
    • 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:1676

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    14.2MB

    MD5

    336bfc76abc73f03e7d905039677bde3

    SHA1

    57bb2cf256c31ad5eceb18994d693aa11c580ea1

    SHA256

    7138e2fae4897aa04f4fc98ae6cacb7de0cdf735f2ab59cdb2d52644e0aaae85

    SHA512

    02b1e005c4c9474ab509d85a299ad680193cff289033bafce0dfa35bf191d01806cdf2317c3cc6eaecbd626e24dfe114b1a14805d5e5b1d03bb5553d159b6e83

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

    Filesize

    4KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    84KB

  • memory/2176-4-0x0000000000400000-0x0000000000415000-memory.dmp

    Filesize

    84KB

  • memory/2176-1-0x0000000000290000-0x0000000000390000-memory.dmp

    Filesize

    1024KB

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

    Filesize

    84KB

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

    Filesize

    76KB

  • memory/2176-7-0x0000000000400000-0x000000000044F000-memory.dmp

    Filesize

    316KB

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

    Filesize

    76KB

  • memory/2800-17-0x0000000000400000-0x000000000044F000-memory.dmp

    Filesize

    316KB