Analysis

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

    arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system
  • submitted
    03-02-2025 21:03

General

  • Target

    2025-02-03_5064cee5798d773cad820843b51d16e2_mafia.exe

  • Size

    14.6MB

  • MD5

    5064cee5798d773cad820843b51d16e2

  • SHA1

    e66564877d3ab5159df18a3b33e6e5d986abb001

  • SHA256

    20b143a42530912526b25054ae421a45ae7aeb25891b0ad8b92089c03187cb11

  • SHA512

    f444e8cc454bc0201a47c63fc78e8e8a12a87dd58614804ef7f28794c245bd371a13b38ee61275fbb937ca337c7f99721baa1c3eb263ff5abe9397bd18f2ba67

  • SSDEEP

    49152:PqE0YKr3fYPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP:PqtYc3

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-03_5064cee5798d773cad820843b51d16e2_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-03_5064cee5798d773cad820843b51d16e2_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2196
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ljfymtoa\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2768
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\dpocnxfz.exe" C:\Windows\SysWOW64\ljfymtoa\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2700
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create ljfymtoa binPath= "C:\Windows\SysWOW64\ljfymtoa\dpocnxfz.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-03_5064cee5798d773cad820843b51d16e2_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2384
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description ljfymtoa "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2188
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start ljfymtoa
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2748
    • 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:2544
  • C:\Windows\SysWOW64\ljfymtoa\dpocnxfz.exe
    C:\Windows\SysWOW64\ljfymtoa\dpocnxfz.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-03_5064cee5798d773cad820843b51d16e2_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2600
    • 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:2984

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    11.7MB

    MD5

    96ff259433e0be69761294f521e22f12

    SHA1

    923195cf987deaae3a7a1104f1d8609bd4a56733

    SHA256

    e978bf481b280693a6955453cf5d5cbc835706d17b97466bcfe032889054aed0

    SHA512

    b51359e229800ec59c92d0180d8d1bd9cc3f35728cb08e7359a9bb35ac1eef6c39b8c81cbb872050c179eb3494247ff8aae3ec6387402e692c13a6ddfc56671f

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

    Filesize

    41.8MB

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

    Filesize

    84KB

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

    Filesize

    76KB

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

    Filesize

    76KB

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

    Filesize

    84KB

  • memory/2196-1-0x0000000002F70000-0x0000000003070000-memory.dmp

    Filesize

    1024KB

  • memory/2600-17-0x0000000000400000-0x0000000002DC3000-memory.dmp

    Filesize

    41.8MB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    4KB

  • memory/2984-12-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

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

    Filesize

    84KB