Analysis

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

    arch:x64arch:x86image:win10v2004-20250129-enlocale:en-usos:windows10-2004-x64system
  • submitted
    29-01-2025 18:30

General

  • Target

    2025-01-29_5c6ae23b64fb57a3ebe7ecda833515a2_mafia.exe

  • Size

    11.4MB

  • MD5

    5c6ae23b64fb57a3ebe7ecda833515a2

  • SHA1

    6256587cfd31f1be773738ad6a4479f5e5a0917b

  • SHA256

    b59aa4374a432455ceb42acd312ca1286148d06249b170cb7b8368d5b972d1a4

  • SHA512

    1a26478d0b08a3b52247b1e24bbdf052ea7bf7e0e4e122f3f42fe93f335501b72942e88ad186901ca3cdc17d832265a6751b509baec0643be8f8fd5fdf345972

  • SSDEEP

    24576:l6WdLQkyQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQd:kWdLQkH

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-29_5c6ae23b64fb57a3ebe7ecda833515a2_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-29_5c6ae23b64fb57a3ebe7ecda833515a2_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3712
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\pqymevxg\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3468
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\cbprfcdv.exe" C:\Windows\SysWOW64\pqymevxg\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:956
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create pqymevxg binPath= "C:\Windows\SysWOW64\pqymevxg\cbprfcdv.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-29_5c6ae23b64fb57a3ebe7ecda833515a2_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3196
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description pqymevxg "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2988
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start pqymevxg
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3560
    • 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:2752
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3712 -s 1040
      2⤵
      • Program crash
      PID:2104
  • C:\Windows\SysWOW64\pqymevxg\cbprfcdv.exe
    C:\Windows\SysWOW64\pqymevxg\cbprfcdv.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-29_5c6ae23b64fb57a3ebe7ecda833515a2_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4476
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1748
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4476 -s 512
      2⤵
      • Program crash
      PID:532
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 440 -p 3712 -ip 3712
    1⤵
      PID:4632
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 412 -p 4476 -ip 4476
      1⤵
        PID:1968

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.7MB

        MD5

        6775ac32aad59feec6fdad0d900f96e1

        SHA1

        0328f7516265a1fff0a2bf505f3e216a9e485b12

        SHA256

        8bfbef801dc12d730a7e4264259a16f31054d36011fd7d0f9b7a3357ae540d74

        SHA512

        88ab03a342757b2e6336269d4a021b3b7db1011534b1680919eabc30fe54922b8220663798381ddc5f89b766b512a0ac475af810e2dd186bf50ecebde030528b

      • memory/1748-14-0x0000000001070000-0x0000000001085000-memory.dmp

        Filesize

        84KB

      • memory/1748-17-0x0000000001070000-0x0000000001085000-memory.dmp

        Filesize

        84KB

      • memory/1748-16-0x0000000001070000-0x0000000001085000-memory.dmp

        Filesize

        84KB

      • memory/3712-8-0x0000000000590000-0x00000000005A3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/3712-1-0x0000000000450000-0x0000000000550000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        316KB

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

        Filesize

        84KB

      • memory/3712-2-0x0000000000590000-0x00000000005A3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        316KB

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

        Filesize

        316KB

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

        Filesize

        316KB

      • memory/4476-19-0x0000000000400000-0x000000000044F000-memory.dmp

        Filesize

        316KB