Windows 7 deprecation

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

Analysis

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

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

General

  • Target

    2025-01-18_d6c6995eda7d5ae7cc5a7be0bb7eba8d_mafia.exe

  • Size

    14.7MB

  • MD5

    d6c6995eda7d5ae7cc5a7be0bb7eba8d

  • SHA1

    1b27e433065b4364f360759dbacf351072b7bbe7

  • SHA256

    cdb4d297bc53dcf661f9f58812fd44e494a64760a4dea483f8f89bee9791e2a4

  • SHA512

    e8db003a63ab17dc3b4c566027e69899b00f4bd981905b5c9e642df9e79b3fc2c24bd3ed239af27a5f9920a9a9f70e31a4463c9884a03db0ad08380b14472738

  • SSDEEP

    49152:wqE0YKr3fYPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPn:wqtYc3

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-18_d6c6995eda7d5ae7cc5a7be0bb7eba8d_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-18_d6c6995eda7d5ae7cc5a7be0bb7eba8d_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4972
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\trhawnql\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3956
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\idhzpaca.exe" C:\Windows\SysWOW64\trhawnql\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1676
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create trhawnql binPath= "C:\Windows\SysWOW64\trhawnql\idhzpaca.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-18_d6c6995eda7d5ae7cc5a7be0bb7eba8d_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3256
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description trhawnql "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2288
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start trhawnql
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1976
    • 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:3688
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4972 -s 1192
      2⤵
      • Program crash
      PID:2116
  • C:\Windows\SysWOW64\trhawnql\idhzpaca.exe
    C:\Windows\SysWOW64\trhawnql\idhzpaca.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-18_d6c6995eda7d5ae7cc5a7be0bb7eba8d_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3980
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1980
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3980 -s 560
      2⤵
      • Program crash
      PID:2016
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 464 -p 4972 -ip 4972
    1⤵
      PID:4996
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 480 -p 3980 -ip 3980
      1⤵
        PID:3456

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.6MB

        MD5

        377a3f5ad9e8c32661508d5d3c2eff6d

        SHA1

        913cc74ca9372df9d72df72d8ad3495d9ec1ca5b

        SHA256

        2e36e370a1df547b7de98979e65c86609787483e615a0f9560ebe867f00c5abf

        SHA512

        5e1eb34a8a4633a4f9aa529d1f57143656124fd5952b1a651ae0ac1620e5792b51b7bb256fdd371ff83cfe83cb663dce1ae2e437751bc6b839044e124516f2c1

      • memory/1980-8-0x00000000008E0000-0x00000000008F5000-memory.dmp

        Filesize

        84KB

      • memory/1980-14-0x00000000008E0000-0x00000000008F5000-memory.dmp

        Filesize

        84KB

      • memory/1980-15-0x00000000008E0000-0x00000000008F5000-memory.dmp

        Filesize

        84KB

      • memory/3980-10-0x0000000000400000-0x0000000002DC3000-memory.dmp

        Filesize

        41.8MB

      • memory/4972-1-0x00000000030B0000-0x00000000031B0000-memory.dmp

        Filesize

        1024KB

      • memory/4972-2-0x0000000002EE0000-0x0000000002EF3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/4972-13-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/4972-12-0x0000000002EE0000-0x0000000002EF3000-memory.dmp

        Filesize

        76KB

      • memory/4972-11-0x0000000000400000-0x0000000002DC3000-memory.dmp

        Filesize

        41.8MB