Windows 7 deprecation

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

Analysis

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

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

General

  • Target

    2025-01-26_a91e967e7f944cbbfc94c3ce18fe1056_mafia.exe

  • Size

    13.7MB

  • MD5

    a91e967e7f944cbbfc94c3ce18fe1056

  • SHA1

    f91a5deba93700fc9a2daa53e4fa96f856da6c7f

  • SHA256

    459bbacf3bf7e2cf69859f33df878638d43368244a711f55e602ee69f623ee23

  • SHA512

    ad9a754b1fe8ab04d0b60789165d8cd605531a2d5a3c39c04100c1a885f9d618ff3d30fc821c10cf6e6fcf14325827183448a65b696e7c00b7c909e4d74b84ba

  • SSDEEP

    6144:jLQ1p/2p5e+D2jFHO+iZoy6u9FlfrXEz9NQNQNQNQNQNQNQNQNQNQNQNQNQNQNQF:YTYe+D2jFu+iZoUFhAz

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-26_a91e967e7f944cbbfc94c3ce18fe1056_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-26_a91e967e7f944cbbfc94c3ce18fe1056_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:224
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\klseqvty\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1616
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\pysxpojf.exe" C:\Windows\SysWOW64\klseqvty\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3328
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create klseqvty binPath= "C:\Windows\SysWOW64\klseqvty\pysxpojf.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-26_a91e967e7f944cbbfc94c3ce18fe1056_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4988
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description klseqvty "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3180
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start klseqvty
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3928
    • 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:2364
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 224 -s 1036
      2⤵
      • Program crash
      PID:4228
  • C:\Windows\SysWOW64\klseqvty\pysxpojf.exe
    C:\Windows\SysWOW64\klseqvty\pysxpojf.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-26_a91e967e7f944cbbfc94c3ce18fe1056_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1780
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3132
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1780 -s 516
      2⤵
      • Program crash
      PID:3040
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 428 -p 224 -ip 224
    1⤵
      PID:1000
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 420 -p 1780 -ip 1780
      1⤵
        PID:2936

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.5MB

        MD5

        292cfcc3e02ebd83178d5a0848950c4d

        SHA1

        4186ba02243e24ef1a29cc6facf4358527e48ba6

        SHA256

        8a6341ede7657bd81d35b78fe5f95ecf2d282be9ee50531dc0c1f9c3d6a243ed

        SHA512

        5bd18b801294f934175543fca55da50cd31c7fc2d67458740e538f28b03bcf039668a7d4d3dcb2d19374d31785e01792209d84f53df5b30bf5aa22224acdbbf2

      • memory/224-8-0x0000000000700000-0x0000000000713000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/224-1-0x00000000007B0000-0x00000000008B0000-memory.dmp

        Filesize

        1024KB

      • memory/224-7-0x0000000000400000-0x00000000004C1000-memory.dmp

        Filesize

        772KB

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

        Filesize

        84KB

      • memory/224-2-0x0000000000700000-0x0000000000713000-memory.dmp

        Filesize

        76KB

      • memory/1780-11-0x0000000000400000-0x00000000004C1000-memory.dmp

        Filesize

        772KB

      • memory/1780-12-0x0000000000400000-0x00000000004C1000-memory.dmp

        Filesize

        772KB

      • memory/1780-17-0x0000000000400000-0x00000000004C1000-memory.dmp

        Filesize

        772KB

      • memory/3132-13-0x0000000000540000-0x0000000000555000-memory.dmp

        Filesize

        84KB

      • memory/3132-15-0x0000000000540000-0x0000000000555000-memory.dmp

        Filesize

        84KB

      • memory/3132-16-0x0000000000540000-0x0000000000555000-memory.dmp

        Filesize

        84KB