Windows 7 deprecation

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

Analysis

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

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

General

  • Target

    2025-01-27_3b1c42b9fc861bf99b8982db9801462d_mafia.exe

  • Size

    10.7MB

  • MD5

    3b1c42b9fc861bf99b8982db9801462d

  • SHA1

    c5aad6d3a1a04f4dfffa0bf8ab5c64d5161d3797

  • SHA256

    e8407556a5ed4ef7b4dc4a2454b1ba82e9016d96b71e598b8c70981c4860ca76

  • SHA512

    4f55812888670754a2cff405cc9a9d9231a55f5db1825502a5e71066763d08f25ed93aa5dc5467bf8edc9eea41c0f65578eb0793b139d0db58702941bd3724f0

  • SSDEEP

    3072:nLBgXOXcdW8tar7vGdq8c7YMl2b8anmMXnb58XuDP9het3Zv1oSW1za2E+w5C2/Y:+OMdRQr7OB0ypmMXnl8XEPM3noSWOC

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-27_3b1c42b9fc861bf99b8982db9801462d_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-27_3b1c42b9fc861bf99b8982db9801462d_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4600
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\hviqjuhu\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3616
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\tbquhfoo.exe" C:\Windows\SysWOW64\hviqjuhu\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2892
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create hviqjuhu binPath= "C:\Windows\SysWOW64\hviqjuhu\tbquhfoo.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-27_3b1c42b9fc861bf99b8982db9801462d_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4004
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description hviqjuhu "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2684
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start hviqjuhu
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3152
    • 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:400
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4600 -s 1160
      2⤵
      • Program crash
      PID:1836
  • C:\Windows\SysWOW64\hviqjuhu\tbquhfoo.exe
    C:\Windows\SysWOW64\hviqjuhu\tbquhfoo.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-27_3b1c42b9fc861bf99b8982db9801462d_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3612
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2312
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3612 -s 508
      2⤵
      • Program crash
      PID:3608
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 408 -p 4600 -ip 4600
    1⤵
      PID:2032
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 440 -p 3612 -ip 3612
      1⤵
        PID:2896

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        11.5MB

        MD5

        e9c1ad443deaca6eb06de5b8bafe0170

        SHA1

        64cecd9aa3ceb32c1e07f9c9573d9f5e215c2a35

        SHA256

        c42d493cd8a035a232e31b880f87ed45450d5ee58a12a0d7679fe9d158e54329

        SHA512

        9f45a7f6a78a4f47ba4092e245097a8ae05278b915444c86ac08b957e51ef19b53a6fc67d0f68355e3aa98fcd3894f97b1835e295b638ad3bff5a82f0214e066

      • memory/2312-14-0x0000000000F90000-0x0000000000FA5000-memory.dmp

        Filesize

        84KB

      • memory/2312-17-0x0000000000F90000-0x0000000000FA5000-memory.dmp

        Filesize

        84KB

      • memory/2312-16-0x0000000000F90000-0x0000000000FA5000-memory.dmp

        Filesize

        84KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

      • memory/3612-19-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB

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

        Filesize

        84KB

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

        Filesize

        76KB

      • memory/4600-1-0x0000000000730000-0x0000000000830000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        312KB

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

        Filesize

        84KB

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

        Filesize

        76KB