Analysis

  • max time kernel
    146s
  • max time network
    121s
  • platform
    windows7_x64
  • resource
    win7-20240708-en
  • resource tags

    arch:x64arch:x86image:win7-20240708-enlocale:en-usos:windows7-x64system
  • submitted
    11-01-2025 18:25

General

  • Target

    2025-01-11_4d8443a6e2de3d95f08b47195eb2049e_mafia.exe

  • Size

    14.2MB

  • MD5

    4d8443a6e2de3d95f08b47195eb2049e

  • SHA1

    02b019101b6d8b2d2368e04eb35ce8a0b8fdc2fe

  • SHA256

    f405202646095edef5846fa1c75bfa27c489c80dce2b7ba9deaf4b6cd3d27f5f

  • SHA512

    65772b434c1c0588cc361b65082b8993f830bbe3d934d3a1b1d3d9549d72e597d2a1415c9d7d43bd9f09d0c6891ae9747485b765ff5f47fda8236dd76a12832b

  • SSDEEP

    24576:JEfmTNIkv/ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ:Cfot

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-11_4d8443a6e2de3d95f08b47195eb2049e_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-11_4d8443a6e2de3d95f08b47195eb2049e_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2180
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\qjqqznai\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2376
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\edrthefx.exe" C:\Windows\SysWOW64\qjqqznai\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1716
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create qjqqznai binPath= "C:\Windows\SysWOW64\qjqqznai\edrthefx.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-11_4d8443a6e2de3d95f08b47195eb2049e_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2304
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description qjqqznai "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2744
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start qjqqznai
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2824
    • 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:3020
  • C:\Windows\SysWOW64\qjqqznai\edrthefx.exe
    C:\Windows\SysWOW64\qjqqznai\edrthefx.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-11_4d8443a6e2de3d95f08b47195eb2049e_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2808
    • 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:2776

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    13.8MB

    MD5

    e09717d7be332d76d5c68e412f84c7df

    SHA1

    484eb1c2cd9391305184dc10ad0090065d4a5e68

    SHA256

    029a7636fb6c900f6b02734c3cbe0ae97e8bc6ca228b75de5612f0cb3cbcac67

    SHA512

    162d00a0ccc6bf69646355ac82ca34cc5adf370e5a1afb2fba3b5689b507ef78d83a4ab38e116e7956bde603436f28d4a61d86416756c6e85620b97a9a9f0b43

  • memory/2180-7-0x0000000000400000-0x000000000044E000-memory.dmp

    Filesize

    312KB

  • memory/2180-4-0x0000000000400000-0x0000000000415000-memory.dmp

    Filesize

    84KB

  • memory/2180-2-0x00000000002B0000-0x00000000002C3000-memory.dmp

    Filesize

    76KB

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

    Filesize

    84KB

  • memory/2180-8-0x00000000002B0000-0x00000000002C3000-memory.dmp

    Filesize

    76KB

  • memory/2180-1-0x00000000004D0000-0x00000000005D0000-memory.dmp

    Filesize

    1024KB

  • memory/2776-16-0x0000000000090000-0x00000000000A5000-memory.dmp

    Filesize

    84KB

  • memory/2776-14-0x0000000000090000-0x00000000000A5000-memory.dmp

    Filesize

    84KB

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

    Filesize

    4KB

  • memory/2776-11-0x0000000000090000-0x00000000000A5000-memory.dmp

    Filesize

    84KB

  • memory/2776-18-0x0000000000090000-0x00000000000A5000-memory.dmp

    Filesize

    84KB

  • memory/2808-17-0x0000000000400000-0x000000000044E000-memory.dmp

    Filesize

    312KB