Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    22-01-2025 20:07

General

  • Target

    2025-01-22_db790bf3ac4770ec2a11708dc44b6511_mafia.exe

  • Size

    11.0MB

  • MD5

    db790bf3ac4770ec2a11708dc44b6511

  • SHA1

    fac61ca027009a01a31152e57088e8d06e51742b

  • SHA256

    362ef16713a9205e9a1160df602cf09107ddb1bab2b1dbe79d5b04f226cdbece

  • SHA512

    b0bd6cf5fb2ad7a230ce0dcbf5270b9e10caba9a2a5d8853d732faa16830b5a255c72c2302a9e74a14c952b5446f0f9f4c082831bd1f13c564650a0df5294f9d

  • SSDEEP

    24576:H6WdLQkyQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQw:aWdLQk

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-22_db790bf3ac4770ec2a11708dc44b6511_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-22_db790bf3ac4770ec2a11708dc44b6511_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1724
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\dgjzgskq\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4820
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\tvozgocs.exe" C:\Windows\SysWOW64\dgjzgskq\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4956
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create dgjzgskq binPath= "C:\Windows\SysWOW64\dgjzgskq\tvozgocs.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-22_db790bf3ac4770ec2a11708dc44b6511_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4708
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description dgjzgskq "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2944
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start dgjzgskq
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:216
    • 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:3172
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1724 -s 1036
      2⤵
      • Program crash
      PID:4888
  • C:\Windows\SysWOW64\dgjzgskq\tvozgocs.exe
    C:\Windows\SysWOW64\dgjzgskq\tvozgocs.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-22_db790bf3ac4770ec2a11708dc44b6511_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2020
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1568
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2020 -s 516
      2⤵
      • Program crash
      PID:1408
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 416 -p 1724 -ip 1724
    1⤵
      PID:3232
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 496 -p 2020 -ip 2020
      1⤵
        PID:1836

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.9MB

        MD5

        aabf79388aabac1ed9c31a112f966460

        SHA1

        2a07b7e3d0cbf01f323781a0543fee27bdf5ef14

        SHA256

        ebb5d11aa27f40cf60e3816b58b9e597c9990771e5ab3bc994f7ebff9659a15c

        SHA512

        41df365423b25f0e63ca0e6be738c7cbeca2de8ceab93a4d1cb2db9f2bbec52b7e0840cc62b93199548e78def26c9e19cb4279cf15e1a9c80d305e8a56f44446

      • memory/1568-14-0x0000000000F60000-0x0000000000F75000-memory.dmp

        Filesize

        84KB

      • memory/1568-17-0x0000000000F60000-0x0000000000F75000-memory.dmp

        Filesize

        84KB

      • memory/1568-16-0x0000000000F60000-0x0000000000F75000-memory.dmp

        Filesize

        84KB

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

        Filesize

        84KB

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

        Filesize

        76KB

      • memory/1724-1-0x0000000000660000-0x0000000000760000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        316KB

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

        Filesize

        84KB

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

        Filesize

        76KB

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

        Filesize

        316KB

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

        Filesize

        316KB

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

        Filesize

        316KB

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

        Filesize

        316KB