Windows 7 deprecation

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

Analysis

  • max time kernel
    149s
  • max time network
    153s
  • 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, 01:32

General

  • Target

    2025-01-28_a8c1c593d630a0bfa5378ce57a912489_mafia.exe

  • Size

    13.6MB

  • MD5

    a8c1c593d630a0bfa5378ce57a912489

  • SHA1

    b36e5183a0bb250abe802483621cb439cc5b1d88

  • SHA256

    09d0d0467f93f111dd908c7059cd0164a4ace3ecc58f45e4cde0f28e913e8130

  • SHA512

    daeb183264b3279699292d162e4d3ae20f7a4e65d0d5a2f774be8929f0ba72d3c296018430de69ac2bb6a642792c60fbcb2ccb49a65411e6a578470f3275f7c6

  • SSDEEP

    24576:qpomTTN9tttttttttttttttttttttttttttttttttttttttttttttttttttttttH:+oo

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_a8c1c593d630a0bfa5378ce57a912489_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-28_a8c1c593d630a0bfa5378ce57a912489_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3344
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\bkhezffs\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1120
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\mggxirik.exe" C:\Windows\SysWOW64\bkhezffs\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4636
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create bkhezffs binPath= "C:\Windows\SysWOW64\bkhezffs\mggxirik.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-28_a8c1c593d630a0bfa5378ce57a912489_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2812
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description bkhezffs "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4324
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start bkhezffs
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3144
    • 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:876
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3344 -s 1044
      2⤵
      • Program crash
      PID:212
  • C:\Windows\SysWOW64\bkhezffs\mggxirik.exe
    C:\Windows\SysWOW64\bkhezffs\mggxirik.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-28_a8c1c593d630a0bfa5378ce57a912489_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1872
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4936
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1872 -s 512
      2⤵
      • Program crash
      PID:3552
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 416 -p 3344 -ip 3344
    1⤵
      PID:2508
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 1872 -ip 1872
      1⤵
        PID:4680

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.4MB

        MD5

        a3a149e6e8419a687d52ea76e6f7f3f0

        SHA1

        76e15e6b2e0c7e796db6383f53efd7caa6c3cbc3

        SHA256

        d480ed3791dd2fee5a37e22bc7b3128f44d728666940290ef2501fb6a615fc93

        SHA512

        65e898647f05f79de7e180c59addfe9ffdff7366a40de77c51cea9cd66ae892cacd3b2dd9d2f5e9c3eaa79bce52b631352d32e8934d44c5ecceb02f92684f5df

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        84KB

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

        Filesize

        76KB

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

        Filesize

        312KB

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

        Filesize

        84KB

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

        Filesize

        76KB

      • memory/3344-1-0x0000000000650000-0x0000000000750000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        84KB

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

        Filesize

        84KB

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

        Filesize

        84KB