Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    10-01-2025 15:25

General

  • Target

    2025-01-10_bca290cedf0f3ff0b6fcdadb8b561871_mafia.exe

  • Size

    236KB

  • MD5

    bca290cedf0f3ff0b6fcdadb8b561871

  • SHA1

    89efca3114eab03cd160d3dc31c69a29980fc944

  • SHA256

    170e8cb3e4e81ef1e10adbd13e8172334a6ad1f62d7f64b2eb00688eee2abd53

  • SHA512

    cc4d41c3ceffe57a927300a84b022aa9df8dd43ed46f5aafbef17a0a82e91543271ec0eb16da7385ed581a45b899ccff0ddb1c2998c87d72fe5fb2c7c295cda0

  • SSDEEP

    3072:3RaPw6Jy/NyTEIzkzCrcUE1LxCcdtP40NL0aOFL6GpCKIOBvgY21KSt08NUj0DC/:ew68NpzxddVpKV6G7VgRqQdQ

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-10_bca290cedf0f3ff0b6fcdadb8b561871_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-10_bca290cedf0f3ff0b6fcdadb8b561871_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2536
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\szwfshrk\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:836
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\mhldtege.exe" C:\Windows\SysWOW64\szwfshrk\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1632
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create szwfshrk binPath= "C:\Windows\SysWOW64\szwfshrk\mhldtege.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-10_bca290cedf0f3ff0b6fcdadb8b561871_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1060
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description szwfshrk "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1196
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start szwfshrk
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3304
    • 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:3360
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2536 -s 1040
      2⤵
      • Program crash
      PID:3852
  • C:\Windows\SysWOW64\szwfshrk\mhldtege.exe
    C:\Windows\SysWOW64\szwfshrk\mhldtege.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-10_bca290cedf0f3ff0b6fcdadb8b561871_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:312
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3400
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 312 -s 516
      2⤵
      • Program crash
      PID:2932
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 404 -p 2536 -ip 2536
    1⤵
      PID:2384
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 412 -p 312 -ip 312
      1⤵
        PID:4756

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.9MB

        MD5

        ce51de01c94a639d9facef7e2785d5ca

        SHA1

        4a4c2a949db600e03b32641f9f20e6a2543c75f8

        SHA256

        cac1217b62e3d188c508d201e2a94a6a3a798b142d243e7adc4fbc624288c7ee

        SHA512

        787e13e139d1399690bb2c08e706ed6ef14f1f3d00ff916937710c62030ab85ebdd0069b1396f1f478dd059f39b95a418ade1378c5c980583aa2aaa5f036113a

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

        Filesize

        316KB

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

        Filesize

        316KB

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

        Filesize

        316KB

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

        Filesize

        316KB

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

        Filesize

        84KB

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

        Filesize

        76KB

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

        Filesize

        316KB

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

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/2536-1-0x0000000000780000-0x0000000000880000-memory.dmp

        Filesize

        1024KB

      • memory/3400-14-0x0000000000FC0000-0x0000000000FD5000-memory.dmp

        Filesize

        84KB

      • memory/3400-16-0x0000000000FC0000-0x0000000000FD5000-memory.dmp

        Filesize

        84KB

      • memory/3400-17-0x0000000000FC0000-0x0000000000FD5000-memory.dmp

        Filesize

        84KB