Analysis

  • max time kernel
    141s
  • max time network
    130s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20250129-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20250129-enlocale:en-usos:windows10-2004-x64system
  • submitted
    02-02-2025 01:07

General

  • Target

    2025-02-02_a7c716f5d936c9276944313d870ed67e_mafia.exe

  • Size

    14.0MB

  • MD5

    a7c716f5d936c9276944313d870ed67e

  • SHA1

    896af91856ec814cb4be69d5e81ad86d91626a62

  • SHA256

    cd2ed79a77da92a3dffddabf2825cb5bc3f373a0d58da2117b42163bb7e154bb

  • SHA512

    c1371b705a83346eb4d1e8dbac89e9b42748b4d4233f9a8b5b001ab24ab874d02ce5977d29515912eb82e293629c98654cbafb08ae411808375442a77330d593

  • SSDEEP

    24576:+6WdLQkyQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQo:vWdLQk

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-02_a7c716f5d936c9276944313d870ed67e_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-02_a7c716f5d936c9276944313d870ed67e_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2540
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\zxclrleq\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4324
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\gaarclce.exe" C:\Windows\SysWOW64\zxclrleq\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4048
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create zxclrleq binPath= "C:\Windows\SysWOW64\zxclrleq\gaarclce.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-02_a7c716f5d936c9276944313d870ed67e_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3856
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description zxclrleq "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4484
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start zxclrleq
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2740
    • 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:4124
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2540 -s 1040
      2⤵
      • Program crash
      PID:3716
  • C:\Windows\SysWOW64\zxclrleq\gaarclce.exe
    C:\Windows\SysWOW64\zxclrleq\gaarclce.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-02_a7c716f5d936c9276944313d870ed67e_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4444
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2796
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4444 -s 528
      2⤵
      • Program crash
      PID:3580
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 2540 -ip 2540
    1⤵
      PID:3132
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 420 -p 4444 -ip 4444
      1⤵
        PID:2712

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        11.9MB

        MD5

        f3abc6fc8c7378e6a917cced97b89c41

        SHA1

        6930203fa5a364358cf7a5930b8b64532ddad7e6

        SHA256

        172c06bc95a7dc4cf4fdd0a96d86acac5b0bb6d56793cd420e50fdc099461604

        SHA512

        e40c1512634cc33db7556f4b67c997ecff4ed64245c7b5937470f46c5de761b76f4abb9db581e875181f31a4a8aa02983c3bfcd373a91974208667df54730a68

      • memory/2540-8-0x0000000000580000-0x0000000000593000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/2540-2-0x0000000000580000-0x0000000000593000-memory.dmp

        Filesize

        76KB

      • memory/2540-7-0x0000000000400000-0x000000000044F000-memory.dmp

        Filesize

        316KB

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

        Filesize

        84KB

      • memory/2540-1-0x00000000005B0000-0x00000000006B0000-memory.dmp

        Filesize

        1024KB

      • memory/2796-14-0x0000000000F00000-0x0000000000F15000-memory.dmp

        Filesize

        84KB

      • memory/2796-16-0x0000000000F00000-0x0000000000F15000-memory.dmp

        Filesize

        84KB

      • memory/2796-17-0x0000000000F00000-0x0000000000F15000-memory.dmp

        Filesize

        84KB

      • memory/4444-11-0x0000000000400000-0x000000000044F000-memory.dmp

        Filesize

        316KB

      • memory/4444-12-0x0000000000400000-0x000000000044F000-memory.dmp

        Filesize

        316KB

      • memory/4444-13-0x0000000000400000-0x000000000044F000-memory.dmp

        Filesize

        316KB

      • memory/4444-18-0x0000000000400000-0x000000000044F000-memory.dmp

        Filesize

        316KB