Windows 7 deprecation

Windows 7 will be removed from tria.ge on 2025-03-31

Analysis

  • max time kernel
    150s
  • max time network
    144s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20241007-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    19/01/2025, 20:19

General

  • Target

    2025-01-19_24a8c7936e334ee7ab9ff26103ac6b25_mafia.exe

  • Size

    14.1MB

  • MD5

    24a8c7936e334ee7ab9ff26103ac6b25

  • SHA1

    02650252a3393d59ee832c4ff28fdabb22a21f9c

  • SHA256

    e2679cbb1ef3e09480268cb51f3e9b10947e19fdf15fb951629f83b8097f1533

  • SHA512

    3ba123dd0c3dbeb8d88bf1bc129e40459a25da0e5d7e5d9b3c1db3d08995ba4c615aecad4bc5655c59a7a1ee096bd9ab58c12eb5e6f5ac9b7049a4f071f463a1

  • SSDEEP

    24576:LpomTTN9tttttttttttttttttttttttttttttttttttttttttttttttttttttttV:doo

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-19_24a8c7936e334ee7ab9ff26103ac6b25_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-19_24a8c7936e334ee7ab9ff26103ac6b25_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1040
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\psjronmn\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:536
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\mdzgxwae.exe" C:\Windows\SysWOW64\psjronmn\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:992
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create psjronmn binPath= "C:\Windows\SysWOW64\psjronmn\mdzgxwae.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-19_24a8c7936e334ee7ab9ff26103ac6b25_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:312
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description psjronmn "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4904
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start psjronmn
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2504
    • 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:4424
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1040 -s 1036
      2⤵
      • Program crash
      PID:2316
  • C:\Windows\SysWOW64\psjronmn\mdzgxwae.exe
    C:\Windows\SysWOW64\psjronmn\mdzgxwae.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-19_24a8c7936e334ee7ab9ff26103ac6b25_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4048
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3380
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4048 -s 516
      2⤵
      • Program crash
      PID:348
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 448 -p 1040 -ip 1040
    1⤵
      PID:1540
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 364 -p 4048 -ip 4048
      1⤵
        PID:2848

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.6MB

        MD5

        db1a4de9ac468c7beaa367616d2e928b

        SHA1

        cffc0988e3f202a37c937ab86485fd173d987110

        SHA256

        5a4f4643669afe174a77d97007e813f6f057e41e53a7fe37378fb2d5ae95bdf1

        SHA512

        d306df56e533d35dbc8666b2be08dffb000039358136aa1561df223dd14ee2eb4f1170fb5857145f087f21e0eb00c4e01f60d3b2e41907daaddab6ab16dd2bb9

      • memory/1040-8-0x0000000000490000-0x00000000004A3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/1040-2-0x0000000000490000-0x00000000004A3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        312KB

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

        Filesize

        84KB

      • memory/1040-1-0x0000000000630000-0x0000000000730000-memory.dmp

        Filesize

        1024KB

      • memory/3380-14-0x0000000000320000-0x0000000000335000-memory.dmp

        Filesize

        84KB

      • memory/3380-16-0x0000000000320000-0x0000000000335000-memory.dmp

        Filesize

        84KB

      • memory/3380-17-0x0000000000320000-0x0000000000335000-memory.dmp

        Filesize

        84KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB