Analysis

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

    arch:x64arch:x86image:win10v2004-20250129-enlocale:en-usos:windows10-2004-x64system
  • submitted
    31-01-2025 05:25

General

  • Target

    2025-01-31_17cdf5af0f3bbd44fe4a61faee6c856e_mafia.exe

  • Size

    10.2MB

  • MD5

    17cdf5af0f3bbd44fe4a61faee6c856e

  • SHA1

    7cfd9c4f5cb3b202aa5abe7b39dd17c429fb6098

  • SHA256

    07624eb5d8e98eb16931b1d103e293f60cb1e832ada9c57bc9b188ef04d99511

  • SHA512

    adcce1d8653628e6b9faa870e1042cf8cb3521b05653d0af6a7e753558a6eeb91e523a329af0773962a4d73d2037c9c36d8b38d98f9192f940a3f7f92e547a03

  • SSDEEP

    24576:RpomTTN9tttttttttttttttttttttttttttttttttttttttttttttttttttttttD:roo9

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-31_17cdf5af0f3bbd44fe4a61faee6c856e_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-31_17cdf5af0f3bbd44fe4a61faee6c856e_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3348
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\gqqnggce\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3980
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\egzkrznd.exe" C:\Windows\SysWOW64\gqqnggce\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1608
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create gqqnggce binPath= "C:\Windows\SysWOW64\gqqnggce\egzkrznd.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-31_17cdf5af0f3bbd44fe4a61faee6c856e_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4544
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description gqqnggce "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4016
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start gqqnggce
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:5000
    • 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:2092
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3348 -s 1244
      2⤵
      • Program crash
      PID:4496
  • C:\Windows\SysWOW64\gqqnggce\egzkrznd.exe
    C:\Windows\SysWOW64\gqqnggce\egzkrznd.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-31_17cdf5af0f3bbd44fe4a61faee6c856e_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4712
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2912
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4712 -s 512
      2⤵
      • Program crash
      PID:3416
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 3348 -ip 3348
    1⤵
      PID:4820
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 500 -p 4712 -ip 4712
      1⤵
        PID:1420

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.3MB

        MD5

        e8277807b13fb321eb3880f6003b2d20

        SHA1

        c70e5cd0c648e24ab140f99e922227f695bda476

        SHA256

        748d2b6bf9689fd9d80add897c076ecce0597b4661806a95551573761acc691e

        SHA512

        69b19b07e68a69a88c0e37c6cb4bfb5ac74d2f5c0736ef3eccec357039aa29259ba6a405be913fe6ab1fae1e75d906fa7ac31c22664d0e9e7b27253678868119

      • memory/2912-14-0x0000000000150000-0x0000000000165000-memory.dmp

        Filesize

        84KB

      • memory/2912-17-0x0000000000150000-0x0000000000165000-memory.dmp

        Filesize

        84KB

      • memory/2912-16-0x0000000000150000-0x0000000000165000-memory.dmp

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/3348-8-0x0000000000560000-0x0000000000573000-memory.dmp

        Filesize

        76KB

      • memory/3348-1-0x0000000000700000-0x0000000000800000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        312KB

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

        Filesize

        84KB

      • memory/3348-2-0x0000000000560000-0x0000000000573000-memory.dmp

        Filesize

        76KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

      • memory/4712-19-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB