Analysis

  • max time kernel
    147s
  • max time network
    142s
  • 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 22:33

General

  • Target

    2025-02-05_9cc55c14f3f8b827be600f06294a28ae_mafia.exe

  • Size

    12.1MB

  • MD5

    9cc55c14f3f8b827be600f06294a28ae

  • SHA1

    95cac66b7d32e4bbac545b42ab0b4a1e3d5bf0b6

  • SHA256

    7f4bf16cfb9771a3158632ca4deb1af275cdb5b52c807f6bfa5176f9cfaf2475

  • SHA512

    e0fef214e744710204e3e9897d83cdde34bc70953726975e6223b49ffa8638e66ebe48b7082d9d82b4f6b5972cbc49824f575fac89f1a4b7e88b451cab4382bd

  • SSDEEP

    49152:pLFuiE888888888888888888888888888888888888888888888888888888888x:pLMQ

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_9cc55c14f3f8b827be600f06294a28ae_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-05_9cc55c14f3f8b827be600f06294a28ae_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2252
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\kdzkkhkz\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1792
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\egbhanx.exe" C:\Windows\SysWOW64\kdzkkhkz\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:5028
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create kdzkkhkz binPath= "C:\Windows\SysWOW64\kdzkkhkz\egbhanx.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-05_9cc55c14f3f8b827be600f06294a28ae_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2772
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description kdzkkhkz "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3780
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start kdzkkhkz
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4816
    • 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:4728
  • C:\Windows\SysWOW64\kdzkkhkz\egbhanx.exe
    C:\Windows\SysWOW64\kdzkkhkz\egbhanx.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-05_9cc55c14f3f8b827be600f06294a28ae_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4992
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4840
  • C:\Windows\System32\rundll32.exe
    C:\Windows\System32\rundll32.exe C:\Windows\System32\shell32.dll,SHCreateLocalServerRunDll {9aa46009-3ce0-458a-a354-715610a075e6} -Embedding
    1⤵
      PID:4816

    Network

    MITRE ATT&CK Enterprise v15

    Replay Monitor

    Loading Replay Monitor...

    Downloads

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

      Filesize

      12.1MB

      MD5

      1a1b8ddf49f231361424feae64a3f305

      SHA1

      6c2738acb9be91d4ec218196e9b957b9d359ca0e

      SHA256

      d362a4e2720298047f6f2151acf371e148eb0cacdc47b4a656107836ec565cff

      SHA512

      c457f47a4100cc0d4272959fe5f6dd411c86ed418b18c2d676421868de1a0162b3d425831eb299195e0cc30e8ebf1b3520b194c414e947dae806575a1de1e097

    • memory/2252-1-0x0000000002EB0000-0x0000000002FB0000-memory.dmp

      Filesize

      1024KB

    • memory/2252-2-0x0000000002E00000-0x0000000002E13000-memory.dmp

      Filesize

      76KB

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

      Filesize

      84KB

    • memory/2252-13-0x0000000000400000-0x0000000000415000-memory.dmp

      Filesize

      84KB

    • memory/2252-12-0x0000000002E00000-0x0000000002E13000-memory.dmp

      Filesize

      76KB

    • memory/2252-11-0x0000000000400000-0x0000000002DBF000-memory.dmp

      Filesize

      41.7MB

    • memory/4840-8-0x00000000003D0000-0x00000000003E5000-memory.dmp

      Filesize

      84KB

    • memory/4840-14-0x00000000003D0000-0x00000000003E5000-memory.dmp

      Filesize

      84KB

    • memory/4840-15-0x00000000003D0000-0x00000000003E5000-memory.dmp

      Filesize

      84KB

    • memory/4992-10-0x0000000000400000-0x0000000002DBF000-memory.dmp

      Filesize

      41.7MB