Analysis

  • max time kernel
    147s
  • max time network
    126s
  • platform
    windows7_x64
  • resource
    win7-20241010-en
  • resource tags

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

General

  • Target

    2025-02-07_9f57f133156ab888e4634aa88b4be52a_mafia.exe

  • Size

    12.9MB

  • MD5

    9f57f133156ab888e4634aa88b4be52a

  • SHA1

    b57ace31ad7c3d65b207cab351a34b2b86ed9ea5

  • SHA256

    70335ad42fc07389ef9216db1ba762cf6c94961c7f09ed79d312d3598531f16b

  • SHA512

    35f1c030ec8031afa29ca2790e42d136c21355568c72960c579341b8396c0d87c64017751428f77643d39848720b11c5ee552b8355a5ee44c0e7857f413d3b87

  • SSDEEP

    3072:6LBgXOXcdW8tar7vGdq8c7YMl2b8anmMXnb58XuDP9het3Zv1oSW1za2E+w5C2/Y:jOMdRQr7OB0ypmMXnl8XEPM3noSWOC

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_9f57f133156ab888e4634aa88b4be52a_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-07_9f57f133156ab888e4634aa88b4be52a_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\idnqsgrd\
      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\kshlywff.exe" C:\Windows\SysWOW64\idnqsgrd\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2212
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create idnqsgrd binPath= "C:\Windows\SysWOW64\idnqsgrd\kshlywff.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-07_9f57f133156ab888e4634aa88b4be52a_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 idnqsgrd "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 idnqsgrd
      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:2128
  • C:\Windows\SysWOW64\idnqsgrd\kshlywff.exe
    C:\Windows\SysWOW64\idnqsgrd\kshlywff.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-07_9f57f133156ab888e4634aa88b4be52a_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2948
    • 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:2816

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    11.3MB

    MD5

    d250e58a20bcbc35a083f97e358c409c

    SHA1

    008ab5269c8113a1cc47b36cb452043e8860043a

    SHA256

    f0a72179100e9ad669e1aa6593d31e078f3c3bcf90c43d79a0a852c1115c75b7

    SHA512

    06fc600ecd9131fee52d88d498992e5682c3fa5b2052c75ac6edb26ccc9cd7f8452ab156a333e805f3e74733ff83ebafba7c0a11a63228901b5e18412a303132

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

    Filesize

    84KB

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

    Filesize

    84KB

  • memory/1552-1-0x0000000000560000-0x0000000000660000-memory.dmp

    Filesize

    1024KB

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

    Filesize

    76KB

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

    Filesize

    312KB

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

    Filesize

    76KB

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

    Filesize

    84KB

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

    Filesize

    4KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    84KB

  • memory/2948-15-0x0000000000400000-0x000000000044E000-memory.dmp

    Filesize

    312KB