Windows 7 deprecation

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

Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    29/12/2024, 19:39

General

  • Target

    2024-12-29_a96468e58b3466b20b0c3ae964bad440_mafia.exe

  • Size

    14.0MB

  • MD5

    a96468e58b3466b20b0c3ae964bad440

  • SHA1

    0315c00f420825d06c91fe193dbfa8ed993b591d

  • SHA256

    2ebbb4ef6e9f5211032e4bad41c177a78da76bdcf758763ac303b4d83e337101

  • SHA512

    0d303dbf1b87bb3247e7c834cf169d5a30ee8cc4b0a607fd93fad78a06c0d124e95d7bea6099cb81cbad688294c2bd41c4ef2ceec5a9af1d184ee1984b8c47b4

  • SSDEEP

    3072:MLBgXOXcdW8tar7vGdq8c7YMl2b8anmMXnb58XuDP9het3Zv1oSW1za2E+w5C2/Y:pOMdRQr7OB0ypmMXnl8XEPM3noSWOC

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\2024-12-29_a96468e58b3466b20b0c3ae964bad440_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2024-12-29_a96468e58b3466b20b0c3ae964bad440_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2968
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\okelozuj\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3572
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\enhmedyu.exe" C:\Windows\SysWOW64\okelozuj\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4996
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create okelozuj binPath= "C:\Windows\SysWOW64\okelozuj\enhmedyu.exe /d\"C:\Users\Admin\AppData\Local\Temp\2024-12-29_a96468e58b3466b20b0c3ae964bad440_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:5096
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description okelozuj "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4820
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start okelozuj
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2792
    • 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:948
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2968 -s 592
      2⤵
      • Program crash
      PID:2976
  • C:\Windows\SysWOW64\okelozuj\enhmedyu.exe
    C:\Windows\SysWOW64\okelozuj\enhmedyu.exe /d"C:\Users\Admin\AppData\Local\Temp\2024-12-29_a96468e58b3466b20b0c3ae964bad440_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1256
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3536
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1256 -s 512
      2⤵
      • Program crash
      PID:4596
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 416 -p 2968 -ip 2968
    1⤵
      PID:2940
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 404 -p 1256 -ip 1256
      1⤵
        PID:4308

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.3MB

        MD5

        df9e6c14f062b4aa5cd111047e5ee69a

        SHA1

        3f008c5c85dc97738389c87bf859c31fe4235a10

        SHA256

        ad97d79a372f7962207415bca104c4a50a79f3cabdfa8667aa44e11fcd5c6e2f

        SHA512

        bd7a652911532eecc162b6650ced29ab5b7445325e3b867bf0322c2bc988fcb35379a1dea8fffed1159a2ac82d72ffc5c5ccae223274a46abef89ffe99412d1c

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        84KB

      • memory/2968-1-0x0000000000690000-0x0000000000790000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        312KB

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

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        76KB

      • memory/3536-14-0x0000000000C30000-0x0000000000C45000-memory.dmp

        Filesize

        84KB

      • memory/3536-16-0x0000000000C30000-0x0000000000C45000-memory.dmp

        Filesize

        84KB

      • memory/3536-17-0x0000000000C30000-0x0000000000C45000-memory.dmp

        Filesize

        84KB