Analysis

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

    arch:x64arch:x86image:win10v2004-20250129-enlocale:en-usos:windows10-2004-x64system
  • submitted
    05-02-2025 15:50

General

  • Target

    2025-02-05_3b9857de29e1beb7de6ec52a79d8b613_mafia.exe

  • Size

    12.4MB

  • MD5

    3b9857de29e1beb7de6ec52a79d8b613

  • SHA1

    55ca43e75483ae2de702728cc266484a4bc54792

  • SHA256

    25cd89351dd05bd4bc33b2a498ef0b672064f388c004129cdcfd1ef497ccff12

  • SHA512

    902a1ff4a0ff1e6e23c13a231843620ce9667bb0fca2c4170772e9a07e4b026146e565cb170efac070c4bae54d924406c3bddefe4698c0ca2f5a80bea102ea9e

  • SSDEEP

    49152:zqE0YKr3fYPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPy:zqtYc3/

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-05_3b9857de29e1beb7de6ec52a79d8b613_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-05_3b9857de29e1beb7de6ec52a79d8b613_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2432
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\gzpothtw\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1716
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\qqrcxywe.exe" C:\Windows\SysWOW64\gzpothtw\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4012
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create gzpothtw binPath= "C:\Windows\SysWOW64\gzpothtw\qqrcxywe.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-05_3b9857de29e1beb7de6ec52a79d8b613_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4076
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description gzpothtw "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2392
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start gzpothtw
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:636
    • 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:400
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2432 -s 740
      2⤵
      • Program crash
      PID:4728
  • C:\Windows\SysWOW64\gzpothtw\qqrcxywe.exe
    C:\Windows\SysWOW64\gzpothtw\qqrcxywe.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-05_3b9857de29e1beb7de6ec52a79d8b613_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1196
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4376
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1196 -s 508
      2⤵
      • Program crash
      PID:3480
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 464 -p 1196 -ip 1196
    1⤵
      PID:2628
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 500 -p 2432 -ip 2432
      1⤵
        PID:4700

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.5MB

        MD5

        bdf8ee1bb2ea5f8c7815fea66c0f92e3

        SHA1

        581d9c1cf4da60b8892b8fc275fe0fa9f92cbc0e

        SHA256

        67e6af929ab34e89b5f92b973bc7cc6e1bbdc5fcf775bc496db0ca6b6e47ac90

        SHA512

        0db070a1e272d503d706cc00747e33fa70a70f3eed35c4795df5544fe8f39667c815811a4c76167d6ba0d659a1c3216b90b9a0298a58dfce0d56d84274c3b71a

      • memory/1196-11-0x0000000000400000-0x0000000002DC3000-memory.dmp

        Filesize

        41.8MB

      • memory/2432-1-0x00000000030C0000-0x00000000031C0000-memory.dmp

        Filesize

        1024KB

      • memory/2432-2-0x0000000002EE0000-0x0000000002EF3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/2432-13-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/2432-12-0x0000000002EE0000-0x0000000002EF3000-memory.dmp

        Filesize

        76KB

      • memory/2432-10-0x0000000000400000-0x0000000002DC3000-memory.dmp

        Filesize

        41.8MB

      • memory/4376-8-0x0000000000770000-0x0000000000785000-memory.dmp

        Filesize

        84KB

      • memory/4376-14-0x0000000000770000-0x0000000000785000-memory.dmp

        Filesize

        84KB

      • memory/4376-15-0x0000000000770000-0x0000000000785000-memory.dmp

        Filesize

        84KB