Analysis

  • max time kernel
    144s
  • max time network
    139s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20250129-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20250129-enlocale:en-usos:windows10-2004-x64system
  • submitted
    05-02-2025 23:35

General

  • Target

    2025-02-05_5c8ed6be9c8ac04c865c298718f2ccfe_mafia.exe

  • Size

    10.5MB

  • MD5

    5c8ed6be9c8ac04c865c298718f2ccfe

  • SHA1

    ca7ad1ec8dff5c70baa0ef32f485bfe52f340e6a

  • SHA256

    8155d7a833a20b302c9a529ad3e7f7125ad23118c408f862e35536e079575b74

  • SHA512

    37a4873a0e837ce19f465ba1cd52cf053a8ef8c855bfd13b6cbf18a560026e7d5604af28da4eb7938aed935924e07c86955e72072eb005fe3e0db204b28cf6f8

  • SSDEEP

    196608:ZyXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/:UXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXv

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
  • Creates new service(s) 2 TTPs
  • Modifies Windows Firewall 2 TTPs 1 IoCs
  • Sets service image path in registry 2 TTPs 1 IoCs
  • Checks computer location settings 2 TTPs 1 IoCs

    Looks up country code configured in the registry, likely geofence.

  • 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 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\2025-02-05_5c8ed6be9c8ac04c865c298718f2ccfe_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-05_5c8ed6be9c8ac04c865c298718f2ccfe_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4764
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\oxzwqxbk\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2364
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\clfkcbws.exe" C:\Windows\SysWOW64\oxzwqxbk\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:944
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create oxzwqxbk binPath= "C:\Windows\SysWOW64\oxzwqxbk\clfkcbws.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-05_5c8ed6be9c8ac04c865c298718f2ccfe_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1380
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description oxzwqxbk "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2500
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start oxzwqxbk
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3864
    • 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:3780
  • C:\Windows\SysWOW64\oxzwqxbk\clfkcbws.exe
    C:\Windows\SysWOW64\oxzwqxbk\clfkcbws.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-05_5c8ed6be9c8ac04c865c298718f2ccfe_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3824
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3920

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    10.3MB

    MD5

    d8436dafdea8b1cd242c2d08aa06d706

    SHA1

    d1f835052faf8f6409534a48021c11b38a379ba7

    SHA256

    376ea5c074cb57ba0e9a971b7ef5a7799d149207c236a0eda5d0e45608194094

    SHA512

    4ed69b1112def19c2653064ac45978d42b661a634737e2c6a0923229acebbffa22e088c216d717848725155d34428f98c955e151b3f5622821365ec39d53fdb3

  • memory/3824-11-0x0000000000400000-0x000000000045D000-memory.dmp

    Filesize

    372KB

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

    Filesize

    372KB

  • memory/3920-12-0x0000000000B30000-0x0000000000B45000-memory.dmp

    Filesize

    84KB

  • memory/3920-16-0x0000000000B30000-0x0000000000B45000-memory.dmp

    Filesize

    84KB

  • memory/3920-15-0x0000000000B30000-0x0000000000B45000-memory.dmp

    Filesize

    84KB

  • memory/3920-19-0x0000000000B30000-0x0000000000B45000-memory.dmp

    Filesize

    84KB

  • memory/3920-20-0x0000000000B30000-0x0000000000B45000-memory.dmp

    Filesize

    84KB

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

    Filesize

    84KB

  • memory/4764-2-0x0000000000570000-0x0000000000583000-memory.dmp

    Filesize

    76KB

  • memory/4764-8-0x0000000000400000-0x000000000045D000-memory.dmp

    Filesize

    372KB

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

    Filesize

    84KB

  • memory/4764-1-0x0000000000760000-0x0000000000860000-memory.dmp

    Filesize

    1024KB

  • memory/4764-9-0x0000000000570000-0x0000000000583000-memory.dmp

    Filesize

    76KB