Windows 7 deprecation

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

Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    28/01/2025, 10:42

General

  • Target

    2025-01-28_5a4d47d675308426af33bf8cbd4b2e2f_mafia.exe

  • Size

    14.1MB

  • MD5

    5a4d47d675308426af33bf8cbd4b2e2f

  • SHA1

    4f0bf49757f0a0d2416e03ec3fdab61c06980a17

  • SHA256

    b57c516bc6526bc3b718001da64b5bca02fa7db74cffd8b32ebdb4acadf82938

  • SHA512

    91d73bf1b565132e6e30055b031b11148305008aad841508381939555af399ada348e9cbc63794403d0265679cee7e4fc621e90b328a0afe5a202fe7e50bc993

  • SSDEEP

    24576:rEfmTNIkv/ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZo:4fotW

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-28_5a4d47d675308426af33bf8cbd4b2e2f_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-28_5a4d47d675308426af33bf8cbd4b2e2f_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3680
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\snhvvteg\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3552
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\kjxznkld.exe" C:\Windows\SysWOW64\snhvvteg\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:712
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create snhvvteg binPath= "C:\Windows\SysWOW64\snhvvteg\kjxznkld.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-28_5a4d47d675308426af33bf8cbd4b2e2f_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2952
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description snhvvteg "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3116
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start snhvvteg
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:8
    • 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:968
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3680 -s 1232
      2⤵
      • Program crash
      PID:1620
  • C:\Windows\SysWOW64\snhvvteg\kjxznkld.exe
    C:\Windows\SysWOW64\snhvvteg\kjxznkld.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-28_5a4d47d675308426af33bf8cbd4b2e2f_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:5016
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4004
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 5016 -s 556
      2⤵
      • Program crash
      PID:4820
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 412 -p 3680 -ip 3680
    1⤵
      PID:2184
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 536 -p 5016 -ip 5016
      1⤵
        PID:3888

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.6MB

        MD5

        9446d130f48a90f99c8a65a33bcb8e22

        SHA1

        d71b06d08b7fca78848855d1b25c3cf21339a660

        SHA256

        fe39a8d5a34bbd67053d4acaa18b99d37ff8272e3d6d0d664381376e22773d8e

        SHA512

        db29fbfefeb52cfced8bcf0650ca7ed787e446ab60b1d3ac3db3362848d5c3a30aa23b06f6706080ceb93523dbb6a1a9662660cc6bfbe556c44d78e762d93fe1

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

        Filesize

        312KB

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

        Filesize

        84KB

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

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        76KB

      • memory/3680-1-0x00000000004B0000-0x00000000005B0000-memory.dmp

        Filesize

        1024KB

      • memory/4004-17-0x0000000000700000-0x0000000000715000-memory.dmp

        Filesize

        84KB

      • memory/4004-16-0x0000000000700000-0x0000000000715000-memory.dmp

        Filesize

        84KB

      • memory/4004-14-0x0000000000700000-0x0000000000715000-memory.dmp

        Filesize

        84KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB