Analysis

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

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

General

  • Target

    2025-01-19_08074404f8b31d0e87a7463ad0b8971d_mafia.exe

  • Size

    11.0MB

  • MD5

    08074404f8b31d0e87a7463ad0b8971d

  • SHA1

    6233da81ed9883318a02d5a87fcfcf52e3617cd9

  • SHA256

    bdc9e29f60050c116a263f1b183fd1f15c268e21a29ab43546cc9d1e40e66ab3

  • SHA512

    c02e3363a74a8bee633135005208305c6140b71d5a6f2994f408c80e840ce277a47d6df4de42b2a82dd235c4a4cf6fa7716e52e32ef9796c5d7e8ccb23dabbb8

  • SSDEEP

    24576:L6WdLQkyQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQ4:GWdLQk

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-19_08074404f8b31d0e87a7463ad0b8971d_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-19_08074404f8b31d0e87a7463ad0b8971d_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2228
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\gvjivkba\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2828
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\xrritctv.exe" C:\Windows\SysWOW64\gvjivkba\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2744
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create gvjivkba binPath= "C:\Windows\SysWOW64\gvjivkba\xrritctv.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-19_08074404f8b31d0e87a7463ad0b8971d_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2960
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description gvjivkba "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2852
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start gvjivkba
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2564
    • 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:3048
  • C:\Windows\SysWOW64\gvjivkba\xrritctv.exe
    C:\Windows\SysWOW64\gvjivkba\xrritctv.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-19_08074404f8b31d0e87a7463ad0b8971d_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2636
    • 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:2604

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    15.0MB

    MD5

    2dbd1d0a77b49ed7bf3671d9e6fa671f

    SHA1

    e2e041ea97e398fe171513daf387e7b25af513ba

    SHA256

    74b07ba4135f6b5addc659ce9c6e3b4abc739f7ee5195a83317df07e2ae7d36c

    SHA512

    1aacbe301717ebccf7b7aafe3e53b2f4c1613dd78b1d1a1d9c7297c18c48e550112e67925379162c715ec6966c847370004dd6ec15946243c6a68b7e189057c5

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    76KB

  • memory/2228-14-0x0000000000400000-0x000000000044F000-memory.dmp

    Filesize

    316KB

  • memory/2228-1-0x00000000005F0000-0x00000000006F0000-memory.dmp

    Filesize

    1024KB

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

    Filesize

    76KB

  • memory/2604-11-0x00000000000D0000-0x00000000000E5000-memory.dmp

    Filesize

    84KB

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

    Filesize

    4KB

  • memory/2604-8-0x00000000000D0000-0x00000000000E5000-memory.dmp

    Filesize

    84KB

  • memory/2604-17-0x00000000000D0000-0x00000000000E5000-memory.dmp

    Filesize

    84KB

  • memory/2604-18-0x00000000000D0000-0x00000000000E5000-memory.dmp

    Filesize

    84KB

  • memory/2636-13-0x0000000000400000-0x000000000044F000-memory.dmp

    Filesize

    316KB