Analysis

  • max time kernel
    34s
  • max time network
    36s
  • 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:58

Errors

Reason
Machine shutdown

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:1564
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\xtnmvhon\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3652
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ljstcynj.exe" C:\Windows\SysWOW64\xtnmvhon\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3220
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create xtnmvhon binPath= "C:\Windows\SysWOW64\xtnmvhon\ljstcynj.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:4852
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description xtnmvhon "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3828
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start xtnmvhon
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2384
    • 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:1816
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1564 -s 1044
      2⤵
      • Program crash
      PID:4480
  • C:\Windows\SysWOW64\xtnmvhon\ljstcynj.exe
    C:\Windows\SysWOW64\xtnmvhon\ljstcynj.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:1784
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1432
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1784 -s 516
      2⤵
      • Program crash
      PID:2568
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 1564 -ip 1564
    1⤵
      PID:4428
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 524 -p 1784 -ip 1784
      1⤵
        PID:2464

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.6MB

        MD5

        4e54b032b0e29f95392df81f3cf86bdb

        SHA1

        b50b5080461a0d173dd5a5e24e09ef34fd62b5d1

        SHA256

        1ce7ff5421cf72e5d7a086932b66c09a3a5f36b7c832812fef73b7437e999c05

        SHA512

        6016a598869874f62f7499906545d65997c6d473b97e5a5bc66c1128d61671bdc4958d80c08d4be2f989869641f7ed2a9a236542b0e9ca8a843729bca3650307

      • memory/1432-14-0x0000000000800000-0x0000000000815000-memory.dmp

        Filesize

        84KB

      • memory/1432-17-0x0000000000800000-0x0000000000815000-memory.dmp

        Filesize

        84KB

      • memory/1432-16-0x0000000000800000-0x0000000000815000-memory.dmp

        Filesize

        84KB

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

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/1564-1-0x0000000000790000-0x0000000000890000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        312KB

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

        Filesize

        84KB

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

        Filesize

        76KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB