Analysis

  • max time kernel
    141s
  • max time network
    127s
  • platform
    windows7_x64
  • resource
    win7-20241010-en
  • resource tags

    arch:x64arch:x86image:win7-20241010-enlocale:en-usos:windows7-x64system
  • submitted
    07-02-2025 20:55

General

  • Target

    2025-02-07_2f2f89e2b33d2f20ebec6be976256c40_mafia.exe

  • Size

    10.9MB

  • MD5

    2f2f89e2b33d2f20ebec6be976256c40

  • SHA1

    2af56019e0f723893eececfbb11f59f465b1a75f

  • SHA256

    62ca5f1905eb749a4e3ffd61addfb03585a7b4159510e776c3872436c2ececdb

  • SHA512

    9a132b447bee185baeb62ee525af1083afa24cf9b16fdfa871ce343922341d1cc1a71f38652f0b700057d9673e16fa8999108b20971a185d3cad2f7cafdc3331

  • SSDEEP

    196608:KyXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXH:/XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

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-02-07_2f2f89e2b33d2f20ebec6be976256c40_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-07_2f2f89e2b33d2f20ebec6be976256c40_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1552
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\dsjvjebx\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2464
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\tphhetsg.exe" C:\Windows\SysWOW64\dsjvjebx\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2212
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create dsjvjebx binPath= "C:\Windows\SysWOW64\dsjvjebx\tphhetsg.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-07_2f2f89e2b33d2f20ebec6be976256c40_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3008
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description dsjvjebx "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3060
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start dsjvjebx
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2884
    • 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:2992
  • C:\Windows\SysWOW64\dsjvjebx\tphhetsg.exe
    C:\Windows\SysWOW64\dsjvjebx\tphhetsg.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-07_2f2f89e2b33d2f20ebec6be976256c40_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2172
    • 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:2944

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    11.5MB

    MD5

    d2223bb43c59bab6f64df04924340729

    SHA1

    55e18cfcda23ba1f5e074a2075b5395b9df79ce0

    SHA256

    fc2e90bc1f925c00c5736fe3c5c0f672e51627e7fdfe82528dfb1eab9dfda56a

    SHA512

    3a9c5e5d6a823f964c0931dd5738988b0437da0517d058d5e48bfaf752c524eef5597d43bb1fee30902de9c8f12445840e8bd590ba9ba23b278cb87f5c91d99d

  • memory/1552-8-0x0000000000400000-0x0000000000415000-memory.dmp

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    76KB

  • memory/1552-7-0x0000000000020000-0x0000000000033000-memory.dmp

    Filesize

    76KB

  • memory/1552-6-0x0000000000400000-0x000000000045D000-memory.dmp

    Filesize

    372KB

  • memory/1552-1-0x0000000000630000-0x0000000000730000-memory.dmp

    Filesize

    1024KB

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

    Filesize

    372KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    4KB

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

    Filesize

    84KB

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

    Filesize

    84KB