Analysis

  • max time kernel
    143s
  • max time network
    120s
  • platform
    windows7_x64
  • resource
    win7-20240903-en
  • resource tags

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

General

  • Target

    2025-02-01_aa8d578acf6c92b0968b8c7dbf672948_mafia.exe

  • Size

    13.3MB

  • MD5

    aa8d578acf6c92b0968b8c7dbf672948

  • SHA1

    0fa983431334849b7e4cef6ed327a8c128f25119

  • SHA256

    8bb9c66cc73b87c00009d7242459b2076fe1f3abade22c59acda2ec7d6b84f4e

  • SHA512

    30d04bd9e56ef823396d6b06d3b235b18f237da42b12585f36054eb3c62bfbc6f90bc411a1906a371410028b62d6b4711808edd32374ddff57fb6ead068ed8ae

  • SSDEEP

    24576:86WdLQkyQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQ4:RWdLQk

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_aa8d578acf6c92b0968b8c7dbf672948_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-01_aa8d578acf6c92b0968b8c7dbf672948_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2764
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\upypehsm\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2960
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\trabkgvr.exe" C:\Windows\SysWOW64\upypehsm\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2832
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create upypehsm binPath= "C:\Windows\SysWOW64\upypehsm\trabkgvr.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-01_aa8d578acf6c92b0968b8c7dbf672948_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2816
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description upypehsm "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 upypehsm
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2560
    • 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:2632
  • C:\Windows\SysWOW64\upypehsm\trabkgvr.exe
    C:\Windows\SysWOW64\upypehsm\trabkgvr.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-01_aa8d578acf6c92b0968b8c7dbf672948_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2588
    • 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:1996

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    10.3MB

    MD5

    d27aa3b7d15b171e758fb8ec473cd02a

    SHA1

    d894a1327d5710b75226e581970c69e56742cf7a

    SHA256

    fc17cebfde80f3bf7656117d9e656dd97e104f46e68775307067aecdf94ae1dc

    SHA512

    4aa00aab1e3bd0184e04c4e6ee6807c0ff7888eab1d45c5cd692af0af3cd20f169285f275146e013832e5f97a711ca25223efc4a7606a3c21c5163c934a74a4b

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    4KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    316KB

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

    Filesize

    84KB

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

    Filesize

    1024KB

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

    Filesize

    316KB

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

    Filesize

    76KB

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

    Filesize

    84KB

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

    Filesize

    76KB