Analysis

  • max time kernel
    142s
  • 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
    02-02-2025 21:26

General

  • Target

    2025-02-02_ffb1c128dd6c9b76f12d313ac34055a7_mafia.exe

  • Size

    11.2MB

  • MD5

    ffb1c128dd6c9b76f12d313ac34055a7

  • SHA1

    ff5ff74d8c39aa23ea782b559a3a6f561603445d

  • SHA256

    cf04fcade0de67cd50b38c82d12af9e044fc4fac1f563d9249f0a30583c0142a

  • SHA512

    1a897932c8538b96a0d9519600b026a962989ba8c88f55997c7885dd7c54fdc1264027ebff6b908796faa86e2fb1f54c6dbc21756f3a62abd98af077a44a2171

  • SSDEEP

    24576:rEfmTNIkv/ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZj:4fot

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-02_ffb1c128dd6c9b76f12d313ac34055a7_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-02_ffb1c128dd6c9b76f12d313ac34055a7_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3196
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\tacmhksq\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1020
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\namjcpue.exe" C:\Windows\SysWOW64\tacmhksq\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2496
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create tacmhksq binPath= "C:\Windows\SysWOW64\tacmhksq\namjcpue.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-02_ffb1c128dd6c9b76f12d313ac34055a7_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4444
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description tacmhksq "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4708
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start tacmhksq
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3936
    • 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:1632
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3196 -s 1028
      2⤵
      • Program crash
      PID:2680
  • C:\Windows\SysWOW64\tacmhksq\namjcpue.exe
    C:\Windows\SysWOW64\tacmhksq\namjcpue.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-02_ffb1c128dd6c9b76f12d313ac34055a7_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3656
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4128
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3656 -s 508
      2⤵
      • Program crash
      PID:4476
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 184 -p 3196 -ip 3196
    1⤵
      PID:2036
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 488 -p 3656 -ip 3656
      1⤵
        PID:2892

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.2MB

        MD5

        84b97e159f232757b674b366eebfb1f5

        SHA1

        8b6197ffab47704825e3c31e2edf6efc77e4a049

        SHA256

        176bfd9a5916516fed12fb603da693d02d002bc7a621437f3fc801b936fee25b

        SHA512

        af31756730460090977929021078331073ecb28b8462fbf13ed6f4020d9839cdbf629718ffde133efebb9cadd9a98c3fd9cc4a16a78d2e4b413f3be8b61498ff

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

        Filesize

        84KB

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

        Filesize

        84KB

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

        Filesize

        76KB

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

        Filesize

        76KB

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

        Filesize

        312KB

      • memory/3196-1-0x0000000000780000-0x0000000000880000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

      • memory/4128-14-0x0000000000930000-0x0000000000945000-memory.dmp

        Filesize

        84KB

      • memory/4128-16-0x0000000000930000-0x0000000000945000-memory.dmp

        Filesize

        84KB

      • memory/4128-17-0x0000000000930000-0x0000000000945000-memory.dmp

        Filesize

        84KB