Analysis

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

    arch:x64arch:x86image:win10v2004-20250129-enlocale:en-usos:windows10-2004-x64system
  • submitted
    07-02-2025 12:44

General

  • Target

    2025-02-07_5f6da24126e4a10d918138c0fede00b3_mafia.exe

  • Size

    12.8MB

  • MD5

    5f6da24126e4a10d918138c0fede00b3

  • SHA1

    f4dbc10b7816a295ae5fbe0dedc97c0cc5a77efd

  • SHA256

    b8434955e89048aed065797f41580e2e57c4c88a0a041fe5dd318b93cd8bf488

  • SHA512

    d31544ad2aea2469c757f7d6ca9e432c9363a8907f3437a6b944dd339a28c092cd62934e6d1f98af7ec72c26e2487da6ffdca4c025876ff2c332d6a06bc75cb2

  • SSDEEP

    24576:BpomTTN9tttttttttttttttttttttttttttttttttttttttttttttttttttttttH:booh

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-02-07_5f6da24126e4a10d918138c0fede00b3_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-07_5f6da24126e4a10d918138c0fede00b3_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1552
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\fxnvfias\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:764
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\dpocnxfz.exe" C:\Windows\SysWOW64\fxnvfias\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3696
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create fxnvfias binPath= "C:\Windows\SysWOW64\fxnvfias\dpocnxfz.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-07_5f6da24126e4a10d918138c0fede00b3_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4504
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description fxnvfias "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2988
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start fxnvfias
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2996
    • 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:2680
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1552 -s 892
      2⤵
      • Program crash
      PID:4192
  • C:\Windows\SysWOW64\fxnvfias\dpocnxfz.exe
    C:\Windows\SysWOW64\fxnvfias\dpocnxfz.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-07_5f6da24126e4a10d918138c0fede00b3_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2604
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2408
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2604 -s 512
      2⤵
      • Program crash
      PID:3076
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 1552 -ip 1552
    1⤵
      PID:4612
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 508 -p 2604 -ip 2604
      1⤵
        PID:4272

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.4MB

        MD5

        46df4f07160d3d0b82d365ad7282d5f4

        SHA1

        d1a44d466c0aab1d8c0878cf34b5135616027e67

        SHA256

        561e0cee45dfdf298f4c6a89b263fe54c2b92731a803684e42458288285c9349

        SHA512

        5eb293708a7daaba2e762fc9cce9d4f8597ee67c4439334ad8568774e9062a5be0fdf1a4d63a797f6f7fc4be07466865f40965d9931aa4b2b51383a952304bcb

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/1552-2-0x0000000000890000-0x00000000008A3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        312KB

      • memory/1552-8-0x0000000000890000-0x00000000008A3000-memory.dmp

        Filesize

        76KB

      • memory/1552-1-0x0000000000590000-0x0000000000690000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        84KB

      • memory/2408-16-0x00000000003D0000-0x00000000003E5000-memory.dmp

        Filesize

        84KB

      • memory/2408-17-0x00000000003D0000-0x00000000003E5000-memory.dmp

        Filesize

        84KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

      • memory/2604-18-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB