Analysis

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

    arch:x64arch:x86image:win7-20241010-enlocale:en-usos:windows7-x64system
  • submitted
    13-01-2025 19:58

General

  • Target

    2025-01-13_e90cd7091a0e5827b979fa8024529000_mafia.exe

  • Size

    12.1MB

  • MD5

    e90cd7091a0e5827b979fa8024529000

  • SHA1

    9379994ffb40d7baf0195ba19d247524c6a8bb72

  • SHA256

    783769984f55579b42bb8c8ef0eb5583f366714cdd259d693ed7ce8a1f34898b

  • SHA512

    61dec5935ff2b9d1442fda08920ad2c319d92b173a35ca1af0feaf38e8e927fc6a4906ff16b180b003dd46920fe873b2be9d0dead9523c23664514b4d76116fc

  • SSDEEP

    49152:iqE0YKr3fYPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPn:iqtYc3

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-13_e90cd7091a0e5827b979fa8024529000_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-13_e90cd7091a0e5827b979fa8024529000_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1628
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ngxdfhhm\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3000
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\beketepv.exe" C:\Windows\SysWOW64\ngxdfhhm\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2212
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create ngxdfhhm binPath= "C:\Windows\SysWOW64\ngxdfhhm\beketepv.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-13_e90cd7091a0e5827b979fa8024529000_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2024
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description ngxdfhhm "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2144
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start ngxdfhhm
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3060
    • 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:2152
  • C:\Windows\SysWOW64\ngxdfhhm\beketepv.exe
    C:\Windows\SysWOW64\ngxdfhhm\beketepv.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-13_e90cd7091a0e5827b979fa8024529000_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2180
    • 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\beketepv.exe

    Filesize

    11.2MB

    MD5

    6d71fd428ebc45bce57bfd19b39008ae

    SHA1

    f0326e8117dea4372f8aebea77291bad011fee10

    SHA256

    cdf0147acfb77b62a6fbe3da5fce96a3a9f5e8a93a2598dc2ba7b8225af61517

    SHA512

    3875ea820817f6bc0dcc4d41b7d3df8aa592a18be76e26e7c3d673e4cfbe9ab66a218b6ec1edb2517cf833a8a2c296665a18292847bf2eb96f811a2f8064dfcd

  • memory/1628-7-0x0000000000400000-0x0000000002DC3000-memory.dmp

    Filesize

    41.8MB

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

    Filesize

    84KB

  • memory/1628-2-0x0000000000220000-0x0000000000233000-memory.dmp

    Filesize

    76KB

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

    Filesize

    84KB

  • memory/1628-8-0x0000000000220000-0x0000000000233000-memory.dmp

    Filesize

    76KB

  • memory/1628-1-0x0000000002F50000-0x0000000003050000-memory.dmp

    Filesize

    1024KB

  • memory/2180-15-0x0000000000400000-0x0000000002DC3000-memory.dmp

    Filesize

    41.8MB

  • 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-17-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

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

    Filesize

    84KB