Analysis

  • max time kernel
    143s
  • max time network
    121s
  • platform
    windows7_x64
  • resource
    win7-20240903-en
  • resource tags

    arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system
  • submitted
    31-01-2025 20:01

General

  • Target

    2025-01-31_8b2bfd98f7a67be7cf3cca77f60b2c77_mafia.exe

  • Size

    11.7MB

  • MD5

    8b2bfd98f7a67be7cf3cca77f60b2c77

  • SHA1

    d5137cd797229cf309edaea9e77c9e840d564d7c

  • SHA256

    a8786e809db0f73eb45a3751cc5adeed5a3f298de5e9d79ed1833a4177ed12a5

  • SHA512

    c52a4a295e7dd38d4f6e2f8df7fb73c6fb65ae8776d9acdba53bd1989fad22d86984ada35a193feece095000ae6f9e158cf436e76461b54a39560db31814fe96

  • SSDEEP

    196608:IyXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:tXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXn

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-31_8b2bfd98f7a67be7cf3cca77f60b2c77_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-31_8b2bfd98f7a67be7cf3cca77f60b2c77_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2344
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\pehposuk\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1712
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\wihvgqys.exe" C:\Windows\SysWOW64\pehposuk\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2496
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create pehposuk binPath= "C:\Windows\SysWOW64\pehposuk\wihvgqys.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-31_8b2bfd98f7a67be7cf3cca77f60b2c77_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1392
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description pehposuk "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2788
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start pehposuk
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3016
    • 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:2592
  • C:\Windows\SysWOW64\pehposuk\wihvgqys.exe
    C:\Windows\SysWOW64\pehposuk\wihvgqys.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-31_8b2bfd98f7a67be7cf3cca77f60b2c77_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2712
    • 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:2948

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    13.9MB

    MD5

    0859d73aa0c2e1e77531705e93f78cac

    SHA1

    9988638473d2193a1db8cf842945bae0cbf58a3f

    SHA256

    98f78962eeef6064a213402045787f998567466fa030759764292882c5d1120d

    SHA512

    d29c039ff37fd14081b9b5adc6da780455c3299082e87d2f2704a787e223c2422c8ea25b7631e109358d58d4399538b783b773c6ca849a68cce84505e93fe639

  • memory/2344-7-0x0000000000400000-0x000000000045D000-memory.dmp

    Filesize

    372KB

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

    Filesize

    84KB

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

    Filesize

    76KB

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

    Filesize

    84KB

  • memory/2344-8-0x0000000000020000-0x0000000000033000-memory.dmp

    Filesize

    76KB

  • memory/2344-1-0x0000000000560000-0x0000000000660000-memory.dmp

    Filesize

    1024KB

  • memory/2712-17-0x0000000000400000-0x000000000045D000-memory.dmp

    Filesize

    372KB

  • memory/2948-13-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

    Filesize

    4KB

  • memory/2948-14-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/2948-16-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    84KB