Analysis

  • max time kernel
    144s
  • max time network
    120s
  • platform
    windows7_x64
  • resource
    win7-20240903-en
  • resource tags

    arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-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
  • Windows security bypass 2 TTPs 1 IoCs
  • Creates new service(s) 2 TTPs
  • Modifies Windows Firewall 2 TTPs 1 IoCs
  • Sets service image path in registry 2 TTPs 1 IoCs
  • 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.

  • 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 30 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⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1968
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\cbrdynhs\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2428
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\mohszhvl.exe" C:\Windows\SysWOW64\cbrdynhs\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:900
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create cbrdynhs binPath= "C:\Windows\SysWOW64\cbrdynhs\mohszhvl.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:2352
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description cbrdynhs "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2760
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start cbrdynhs
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2896
    • 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:2880
  • C:\Windows\SysWOW64\cbrdynhs\mohszhvl.exe
    C:\Windows\SysWOW64\cbrdynhs\mohszhvl.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:2824
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Windows security bypass
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2804

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    11.2MB

    MD5

    7752f47fa8a96af72c9837026e0cb16c

    SHA1

    1ebf28d996177d663e18aebaf2972698a83691f8

    SHA256

    b41ee5d0cb48ab6b8dafb7f8c95d94a2df55460ab73534d6afb5d58997b6c29f

    SHA512

    4f18012131ed329647a3aaa2283d7befef7f594a6e7f71b77f98959ae8033e3c5aec0346bd42474fbbbd49ed7086aca30f2d0ba7506a201eeb886d0bc8a57387

  • memory/1968-15-0x0000000000020000-0x0000000000033000-memory.dmp

    Filesize

    76KB

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

    Filesize

    84KB

  • memory/1968-2-0x0000000000020000-0x0000000000033000-memory.dmp

    Filesize

    76KB

  • memory/1968-16-0x0000000000400000-0x0000000000415000-memory.dmp

    Filesize

    84KB

  • memory/1968-1-0x00000000005D0000-0x00000000006D0000-memory.dmp

    Filesize

    1024KB

  • memory/1968-14-0x0000000000400000-0x000000000044F000-memory.dmp

    Filesize

    316KB

  • memory/2804-11-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/2804-10-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

    Filesize

    4KB

  • memory/2804-8-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/2804-17-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/2804-18-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

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

    Filesize

    316KB