Analysis

  • max time kernel
    148s
  • max time network
    123s
  • platform
    windows7_x64
  • resource
    win7-20241023-en
  • resource tags

    arch:x64arch:x86image:win7-20241023-enlocale:en-usos:windows7-x64system
  • submitted
    26-01-2025 18:30

General

  • Target

    2025-01-26_67130b094de0fe4c0539061c2ba38696_mafia.exe

  • Size

    12.9MB

  • MD5

    67130b094de0fe4c0539061c2ba38696

  • SHA1

    d8bf6739ccda3916988e174d9756dc1cffa36c3f

  • SHA256

    5166bc7f68594a18219bbe7ae713b68b3b4820848448d8db4525460d73ad84d8

  • SHA512

    ce05d1ccfbd527fbf66c77d4b68cc749eeef6106502355fdf237f746ed55cdcae7da7ce5244a57c3e7e59a8d094ba0cf8358bb8bc81375dc5a0d27880fb2019f

  • SSDEEP

    49152:XqE0YKr3fYPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPn:XqtYc3

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-26_67130b094de0fe4c0539061c2ba38696_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-26_67130b094de0fe4c0539061c2ba38696_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2824
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\eyilqsad\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2916
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\idhzpaca.exe" C:\Windows\SysWOW64\eyilqsad\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3008
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create eyilqsad binPath= "C:\Windows\SysWOW64\eyilqsad\idhzpaca.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-26_67130b094de0fe4c0539061c2ba38696_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2848
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description eyilqsad "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2840
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start eyilqsad
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2672
    • 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:264
  • C:\Windows\SysWOW64\eyilqsad\idhzpaca.exe
    C:\Windows\SysWOW64\eyilqsad\idhzpaca.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-26_67130b094de0fe4c0539061c2ba38696_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2720
    • 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:2404

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    13.7MB

    MD5

    dfd37cc4b5dc1b09406e8ebd4514d2ab

    SHA1

    93f80ea2399a59745f42070151b66448581c5693

    SHA256

    68b78d9be1fbb73b5d29c45c3f6cdcd136d017d6d113d8356fcb61962a874afa

    SHA512

    7a9f4f93365629614fe3374e8aae07356dfc7c64858bd6c6a5975691df6fb3fd85c1d7fdc8c738734aadb3e0ac69bd69d430f1aeb29c0e3a32cb0f3119a06268

  • memory/2404-8-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

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

    Filesize

    84KB

  • memory/2404-10-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

    Filesize

    4KB

  • memory/2404-17-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

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

    Filesize

    84KB

  • memory/2720-12-0x0000000000400000-0x0000000002DC3000-memory.dmp

    Filesize

    41.8MB

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

    Filesize

    84KB

  • memory/2824-1-0x0000000002F20000-0x0000000003020000-memory.dmp

    Filesize

    1024KB

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

    Filesize

    76KB

  • memory/2824-16-0x0000000000400000-0x0000000000415000-memory.dmp

    Filesize

    84KB

  • memory/2824-15-0x0000000000020000-0x0000000000033000-memory.dmp

    Filesize

    76KB

  • memory/2824-14-0x0000000000400000-0x0000000002DC3000-memory.dmp

    Filesize

    41.8MB