Analysis

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

    arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system
  • submitted
    24-01-2025 19:18

General

  • Target

    2025-01-24_ea224388b4e876dc9b37724ee20f15f3_mafia.exe

  • Size

    13.2MB

  • MD5

    ea224388b4e876dc9b37724ee20f15f3

  • SHA1

    0d5a7b79e2775a3927aacf1a619f256bca67f23c

  • SHA256

    a51519e61a97c8604ee59ff7d041604094d7f75e3c5c15c59cebee44eb8d7146

  • SHA512

    f47274f54587cbba207e4b19c8ed5d744e2881afca6e74de4364acc88b75d8eb3a5e810330a16e7e586e35089e59cc1391195a19f703062566128b990ad904bb

  • SSDEEP

    393216:cXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:

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-24_ea224388b4e876dc9b37724ee20f15f3_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-24_ea224388b4e876dc9b37724ee20f15f3_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2520
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\cacqcunp\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2164
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ytxpfqsq.exe" C:\Windows\SysWOW64\cacqcunp\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1528
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create cacqcunp binPath= "C:\Windows\SysWOW64\cacqcunp\ytxpfqsq.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-24_ea224388b4e876dc9b37724ee20f15f3_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:280
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description cacqcunp "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 cacqcunp
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2832
    • 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:2720
  • C:\Windows\SysWOW64\cacqcunp\ytxpfqsq.exe
    C:\Windows\SysWOW64\cacqcunp\ytxpfqsq.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-24_ea224388b4e876dc9b37724ee20f15f3_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2824
    • 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:2408

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    10.9MB

    MD5

    7caa969fbfba8419fd4c82af5cc05d47

    SHA1

    555c993974a692e613b52e3cc512262eadb93f3f

    SHA256

    4639b9f9c2b6813421b5f8e872e7b1e5341ecfb637289b70ca9f6c2f9f9c5b45

    SHA512

    1b8a943a3386bd002dc3c792e3005628b6a2cf14cb75bb62cff33324e3a7db582b7afcecab0ae7b2bdbd94121f10f8497c097e15c6a4a5ff50c67530e6a4e3db

  • memory/2408-15-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

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

    Filesize

    84KB

  • memory/2408-14-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

    Filesize

    4KB

  • memory/2408-12-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/2408-19-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    76KB

  • memory/2520-10-0x0000000000400000-0x0000000000415000-memory.dmp

    Filesize

    84KB

  • memory/2520-9-0x0000000000570000-0x0000000000670000-memory.dmp

    Filesize

    1024KB

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

    Filesize

    76KB

  • memory/2520-7-0x0000000000400000-0x000000000045D000-memory.dmp

    Filesize

    372KB

  • memory/2520-1-0x0000000000570000-0x0000000000670000-memory.dmp

    Filesize

    1024KB

  • memory/2824-18-0x0000000000400000-0x000000000045D000-memory.dmp

    Filesize

    372KB