Analysis

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

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

General

  • Target

    2025-02-01_055e230a9f4a4326b302456ed21f443d_mafia.exe

  • Size

    10.7MB

  • MD5

    055e230a9f4a4326b302456ed21f443d

  • SHA1

    d8c00df30523cf25b19fa25054539fc84412928f

  • SHA256

    22c8895bc9d3d7a67787d17179332adba9a59b6753d2feddf9752e725e967ae1

  • SHA512

    acbdcc8f84a86d15538396a3d61ead759ac233546f0528518b153186219e565779b281bc9c48c820c3dbf5276959780588a30101dc6abb02a12e5e25d7c8c0f8

  • SSDEEP

    6144:DLQ1p/2p5e+D2jFHO+iZoy6u9FlfrXEz9NQNQNQNQNQNQNQNQNQNQNQNQNQNQNQ1:4TYe+D2jFu+iZoUFhAz

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-01_055e230a9f4a4326b302456ed21f443d_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-01_055e230a9f4a4326b302456ed21f443d_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4788
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ksyurjky\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3128
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\zzalghfn.exe" C:\Windows\SysWOW64\ksyurjky\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3368
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create ksyurjky binPath= "C:\Windows\SysWOW64\ksyurjky\zzalghfn.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-01_055e230a9f4a4326b302456ed21f443d_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:556
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description ksyurjky "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2204
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start ksyurjky
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:5088
    • 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:1976
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4788 -s 1044
      2⤵
      • Program crash
      PID:3272
  • C:\Windows\SysWOW64\ksyurjky\zzalghfn.exe
    C:\Windows\SysWOW64\ksyurjky\zzalghfn.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-01_055e230a9f4a4326b302456ed21f443d_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:5040
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3680
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 5040 -s 512
      2⤵
      • Program crash
      PID:1572
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 460 -p 5040 -ip 5040
    1⤵
      PID:2012
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 488 -p 4788 -ip 4788
      1⤵
        PID:2696

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.6MB

        MD5

        4dc8c3b13adb294c79f1406cb6c8eeb6

        SHA1

        0995a1f56df9814c381d3c623cf8795958a8827d

        SHA256

        591f2e7bb536fb650dd48c44511d418d067204280df1745bc2ad6ffe5244717d

        SHA512

        db339826cec6cbaa8d79b3af8f28c8b035927ff60e56e8e20069cb2dea6d884a3a55028a4fe2c0a5355d967d8db049a3d0894252e219d4230221f0cb1c5aa7aa

      • memory/3680-11-0x0000000000580000-0x0000000000595000-memory.dmp

        Filesize

        84KB

      • memory/3680-22-0x0000000000580000-0x0000000000595000-memory.dmp

        Filesize

        84KB

      • memory/3680-14-0x0000000000580000-0x0000000000595000-memory.dmp

        Filesize

        84KB

      • memory/3680-21-0x0000000000580000-0x0000000000595000-memory.dmp

        Filesize

        84KB

      • memory/3680-20-0x0000000000580000-0x0000000000595000-memory.dmp

        Filesize

        84KB

      • memory/4788-17-0x0000000000400000-0x00000000004C1000-memory.dmp

        Filesize

        772KB

      • memory/4788-1-0x00000000006A0000-0x00000000007A0000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        84KB

      • memory/4788-2-0x00000000001D0000-0x00000000001E3000-memory.dmp

        Filesize

        76KB

      • memory/4788-19-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/4788-18-0x00000000001D0000-0x00000000001E3000-memory.dmp

        Filesize

        76KB

      • memory/5040-10-0x0000000000400000-0x00000000004C1000-memory.dmp

        Filesize

        772KB

      • memory/5040-16-0x0000000000400000-0x00000000004C1000-memory.dmp

        Filesize

        772KB

      • memory/5040-8-0x0000000000400000-0x00000000004C1000-memory.dmp

        Filesize

        772KB

      • memory/5040-9-0x0000000000400000-0x00000000004C1000-memory.dmp

        Filesize

        772KB