Analysis

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

    arch:x64arch:x86image:win10v2004-20250129-enlocale:en-usos:windows10-2004-x64system
  • submitted
    30-01-2025 18:55

General

  • Target

    2025-01-30_e3d8c336ab898de229a8409743a5c707_mafia.exe

  • Size

    10.7MB

  • MD5

    e3d8c336ab898de229a8409743a5c707

  • SHA1

    812278f9a8f70c264bf4c12149fb18881cb9b508

  • SHA256

    3e5a7d45e7f5f0c1b5522e6d387d5b6f5dd53ba4c4bf7864b428bdcb8e3bba07

  • SHA512

    3ced12ff027f30c38f1770abe40fac0429c79443647e312554e24c20d4709229b2d50809d8601377f21143344bf4927709965ae8bd120d580a065eacb6c523d9

  • SSDEEP

    3072:nLBgXOXcdW8tar7vGdq8c7YMl2b8anmMXnb58XuDP9het3Zv1oSW1za2E+w5C2/0:+OMdRQr7OB0ypmMXnl8XEPM3noSWOCJ

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.

  • Program crash 2 IoCs
  • 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-01-30_e3d8c336ab898de229a8409743a5c707_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-30_e3d8c336ab898de229a8409743a5c707_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4944
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\fsxnvzpz\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2672
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\prkvckyo.exe" C:\Windows\SysWOW64\fsxnvzpz\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2284
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create fsxnvzpz binPath= "C:\Windows\SysWOW64\fsxnvzpz\prkvckyo.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-30_e3d8c336ab898de229a8409743a5c707_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1188
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description fsxnvzpz "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1584
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start fsxnvzpz
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3744
    • 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:532
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4944 -s 1168
      2⤵
      • Program crash
      PID:1884
  • C:\Windows\SysWOW64\fsxnvzpz\prkvckyo.exe
    C:\Windows\SysWOW64\fsxnvzpz\prkvckyo.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-30_e3d8c336ab898de229a8409743a5c707_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1728
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4976
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1728 -s 508
      2⤵
      • Program crash
      PID:4000
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 408 -p 4944 -ip 4944
    1⤵
      PID:2376
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 468 -p 1728 -ip 1728
      1⤵
        PID:1264

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.2MB

        MD5

        ea8096f7ae10830a342ced58c3734c72

        SHA1

        490431269e5b7e68224f1f8f09516a4a17611b08

        SHA256

        5642ed99aba7acf6368546f03a9e1757bbb27c7cc141b185b442046d36ca06a0

        SHA512

        47cc312024d3ed9a12c644ff63cc67b6c70d8a067021268dfda057c721bb0ea80a1fbfaee3f4751861cf2da38a20aeb0b808caf66aca135f1d5167ef185cbee0

      • memory/1728-12-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB

      • memory/1728-11-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB

      • memory/1728-13-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB

      • memory/1728-19-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB

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

        Filesize

        84KB

      • memory/4944-2-0x0000000000560000-0x0000000000573000-memory.dmp

        Filesize

        76KB

      • memory/4944-7-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB

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

        Filesize

        84KB

      • memory/4944-8-0x0000000000560000-0x0000000000573000-memory.dmp

        Filesize

        76KB

      • memory/4944-1-0x0000000000720000-0x0000000000820000-memory.dmp

        Filesize

        1024KB

      • memory/4976-14-0x0000000000D50000-0x0000000000D65000-memory.dmp

        Filesize

        84KB

      • memory/4976-16-0x0000000000D50000-0x0000000000D65000-memory.dmp

        Filesize

        84KB

      • memory/4976-17-0x0000000000D50000-0x0000000000D65000-memory.dmp

        Filesize

        84KB