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
    01-02-2025 01:47

General

  • Target

    2025-02-01_294baf6362d4f49cfe0cea1ed29d6345_mafia.exe

  • Size

    12.8MB

  • MD5

    294baf6362d4f49cfe0cea1ed29d6345

  • SHA1

    eec8cc0feeb35395e2defd1d53005501d5c1c53b

  • SHA256

    b4e5b6c2e6a59c349804cf87e5663bbcd50ac96aceaf926526d67398a1610fdb

  • SHA512

    9c111d5b6835c36de1ac4411359df8f042b9c90b0b5b30af076225487b7d373f334fa83f5c05f91023f1b47bb09dc5f5bc2a6dbe372a1c6c1310eff2a3a913bd

  • SSDEEP

    24576:mpomTTN9tttttttttttttttttttttttttttttttttttttttttttttttttttttttD:qoo9

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-01_294baf6362d4f49cfe0cea1ed29d6345_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-01_294baf6362d4f49cfe0cea1ed29d6345_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2972
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\mtwztdsj\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1740
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\srfhvstl.exe" C:\Windows\SysWOW64\mtwztdsj\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2380
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create mtwztdsj binPath= "C:\Windows\SysWOW64\mtwztdsj\srfhvstl.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-01_294baf6362d4f49cfe0cea1ed29d6345_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2148
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description mtwztdsj "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2740
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start mtwztdsj
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2900
    • 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:3020
  • C:\Windows\SysWOW64\mtwztdsj\srfhvstl.exe
    C:\Windows\SysWOW64\mtwztdsj\srfhvstl.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-01_294baf6362d4f49cfe0cea1ed29d6345_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2884
    • 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:2936

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    14.4MB

    MD5

    3b2d1c9f45c6349047e07c6fd1577f94

    SHA1

    e51ac688e45c92f0973b1d4e243f1fa999e217dd

    SHA256

    ac1018213f93e084be26853f8a4b430e7fd43faa037a0f1c2d44d7af3c19d72b

    SHA512

    f2bcdb18e2aad9a327bbb59392d466e412d2cb27e62538cffd5b9e37ae4faa0b264a6846e43c1bffed46b7a1ceae9a93979a0b2e73f6fd333d0910c4ddc6c2fa

  • memory/2884-15-0x0000000000400000-0x000000000044E000-memory.dmp

    Filesize

    312KB

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

    Filesize

    4KB

  • memory/2936-11-0x00000000000E0000-0x00000000000F5000-memory.dmp

    Filesize

    84KB

  • memory/2936-14-0x00000000000E0000-0x00000000000F5000-memory.dmp

    Filesize

    84KB

  • memory/2936-17-0x00000000000E0000-0x00000000000F5000-memory.dmp

    Filesize

    84KB

  • memory/2936-16-0x00000000000E0000-0x00000000000F5000-memory.dmp

    Filesize

    84KB

  • memory/2936-18-0x00000000000E0000-0x00000000000F5000-memory.dmp

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    76KB

  • memory/2972-7-0x0000000000400000-0x000000000044E000-memory.dmp

    Filesize

    312KB

  • memory/2972-1-0x0000000000520000-0x0000000000620000-memory.dmp

    Filesize

    1024KB

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

    Filesize

    76KB