Windows 7 deprecation

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

Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    03/02/2025, 18:02

General

  • Target

    2025-02-03_29b1f7c9d6998f93ca26325b82a59f24_mafia.exe

  • Size

    11.2MB

  • MD5

    29b1f7c9d6998f93ca26325b82a59f24

  • SHA1

    2d46160cf171e7e8f4704e94438e2a5072554369

  • SHA256

    0a00b714c94abdf3cf1a85956440a74e31fe3887f561d5627d8c7511672bb7a9

  • SHA512

    2289ae285a4a8e812cd7726a42cbce67e3afb8cacf966508b6058d5cc89258ae08edca5e6030110a73fdb53c50666ff80e7f2428caf4cf2f8f7a73ce94702951

  • SSDEEP

    3072:mLBgXOXcdW8tar7vGdq8c7YMl2b8anmMXnb58XuDP9het3Zv1oSW1za2E+w5C2/g:POMdRQr7OB0ypmMXnl8XEPM3noSWOCF

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-03_29b1f7c9d6998f93ca26325b82a59f24_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-03_29b1f7c9d6998f93ca26325b82a59f24_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4760
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\dfwpcagb\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3216
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\zxghqmbx.exe" C:\Windows\SysWOW64\dfwpcagb\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2916
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create dfwpcagb binPath= "C:\Windows\SysWOW64\dfwpcagb\zxghqmbx.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-03_29b1f7c9d6998f93ca26325b82a59f24_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2876
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description dfwpcagb "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2816
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start dfwpcagb
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4692
    • 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:1868
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4760 -s 1204
      2⤵
      • Program crash
      PID:792
  • C:\Windows\SysWOW64\dfwpcagb\zxghqmbx.exe
    C:\Windows\SysWOW64\dfwpcagb\zxghqmbx.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-03_29b1f7c9d6998f93ca26325b82a59f24_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4800
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1472
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4800 -s 508
      2⤵
      • Program crash
      PID:3240
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 412 -p 4760 -ip 4760
    1⤵
      PID:4620
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 4800 -ip 4800
      1⤵
        PID:400

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.2MB

        MD5

        a611edc90f48a3aac406e37d8e30a1b8

        SHA1

        41a2cb176ef678ea09a1f1d6a1db3ae8015fe853

        SHA256

        b401fe0cff811ef197b760e276e575601b4c9188599a039b00ca37f7646041ce

        SHA512

        64347374e2bdb18fbdb8dc3e2aec26369d421749d7b3fd24924ad546cfac9381f6ecdfb2ce9fcc956e201547220f6fe38bf7e04ef5ad409a00ede5f0e39e0258

      • memory/1472-14-0x0000000000B80000-0x0000000000B95000-memory.dmp

        Filesize

        84KB

      • memory/1472-17-0x0000000000B80000-0x0000000000B95000-memory.dmp

        Filesize

        84KB

      • memory/1472-16-0x0000000000B80000-0x0000000000B95000-memory.dmp

        Filesize

        84KB

      • memory/4760-8-0x0000000000670000-0x0000000000683000-memory.dmp

        Filesize

        76KB

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

        Filesize

        312KB

      • memory/4760-1-0x0000000000710000-0x0000000000810000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/4760-2-0x0000000000670000-0x0000000000683000-memory.dmp

        Filesize

        76KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB