Analysis

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

    arch:x64arch:x86image:win7-20241010-enlocale:en-usos:windows7-x64system
  • submitted
    21-01-2025 23:09

General

  • Target

    2025-01-21_c8478f4f5d94b9ac131ff2d84e5d3909_mafia.exe

  • Size

    11.1MB

  • MD5

    c8478f4f5d94b9ac131ff2d84e5d3909

  • SHA1

    4b7ca3f00711ea4a9c8b5aeef648044fc7e85255

  • SHA256

    8aeb2c30634da05e2c33aec859f61d05a3b0f69d41e76562fe37cc784fc1566c

  • SHA512

    a63d72342ad22ceba03c11a4ffe3e08c37bd9fc62ba34b0fec10bf4df22958638f54b37e2f9e3d3e0f59e2220045488b2ae7025e12d4480c13c7391b8a8a4199

  • SSDEEP

    196608:WyXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:7XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXn

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-21_c8478f4f5d94b9ac131ff2d84e5d3909_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-21_c8478f4f5d94b9ac131ff2d84e5d3909_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2272
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\vhfwgtkq\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1752
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\vakfzlik.exe" C:\Windows\SysWOW64\vhfwgtkq\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1356
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create vhfwgtkq binPath= "C:\Windows\SysWOW64\vhfwgtkq\vakfzlik.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-21_c8478f4f5d94b9ac131ff2d84e5d3909_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1868
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description vhfwgtkq "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2772
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start vhfwgtkq
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2860
    • 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:2776
  • C:\Windows\SysWOW64\vhfwgtkq\vakfzlik.exe
    C:\Windows\SysWOW64\vhfwgtkq\vakfzlik.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-21_c8478f4f5d94b9ac131ff2d84e5d3909_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2796
    • 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:2988

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    14.3MB

    MD5

    a922b9e298dc4dc7d26508ae60d3bf9f

    SHA1

    f3cc6ae3a89bdd94e0f396d3f82a6429718b3d63

    SHA256

    f51b5fb0a9b23d49ebcf169c9516a341d8021657221961f9520b18f6bc1b124f

    SHA512

    52d15827e32b4f2510fffb89090f993ff9bbe2a1ce4a82f61507694fb4482097da26e858f9b2f92dc0d16c9213eb99ab40a22f32c5bb64e4a32f9893cf3fa017

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

    Filesize

    372KB

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

    Filesize

    84KB

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

    Filesize

    1024KB

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

    Filesize

    84KB

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

    Filesize

    76KB

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

    Filesize

    76KB

  • memory/2796-17-0x0000000000400000-0x000000000045D000-memory.dmp

    Filesize

    372KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    4KB

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

    Filesize

    84KB

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

    Filesize

    84KB