Analysis

  • max time kernel
    146s
  • max time network
    120s
  • platform
    windows7_x64
  • resource
    win7-20241010-en
  • resource tags

    arch:x64arch:x86image:win7-20241010-enlocale:en-usos:windows7-x64system
  • submitted
    02-02-2025 16:22

General

  • Target

    2025-02-02_27747ecbdcce808c6ce32bfba76df845_mafia.exe

  • Size

    13.2MB

  • MD5

    27747ecbdcce808c6ce32bfba76df845

  • SHA1

    cbe66e57f5a6e322d0f4655244dec4ef71f2a615

  • SHA256

    8725b4f41a04a1ca522aef8849a5913c92ac25c25f48cfdc8088fedb849fa71a

  • SHA512

    c3ff3d5f7c58ac2287d7547d2a0cb7558149b96461e98f311e3876731d46ec80eeb49dbaab6604dda2efd388d5c291f0312bbde328ffa5585ca191202dacb8cc

  • SSDEEP

    3072:JLBgXOXcdW8tar7vGdq8c7YMl2b8anmMXnb58XuDP9het3Zv1oSW1za2E+w5C2/B:MOMdRQr7OB0ypmMXnl8XEPM3noSWOCW

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-02_27747ecbdcce808c6ce32bfba76df845_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-02_27747ecbdcce808c6ce32bfba76df845_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2832
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\teqpkndp\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2224
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\jlgmfsc.exe" C:\Windows\SysWOW64\teqpkndp\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2876
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create teqpkndp binPath= "C:\Windows\SysWOW64\teqpkndp\jlgmfsc.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-02_27747ecbdcce808c6ce32bfba76df845_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2788
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description teqpkndp "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2688
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start teqpkndp
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2796
    • 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:860
  • C:\Windows\SysWOW64\teqpkndp\jlgmfsc.exe
    C:\Windows\SysWOW64\teqpkndp\jlgmfsc.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-02_27747ecbdcce808c6ce32bfba76df845_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2460
    • 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:2720

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    13.4MB

    MD5

    b38773a5033672905bbb1cdff4002ae4

    SHA1

    81246e4ce7932d693474aff0bb201b8c460e8d19

    SHA256

    e39e0c7df21b0c465b043ec779c46ee14b763b195037f53cd67908163ab5be37

    SHA512

    b74653e7de8a66064dca8122bc967ddfe7f3ab7ad498710c42f52569d292f7f3e37ec717fa0d2a259ba8636ba1fe07fc74e5fb7fa3e0335adca0e1eeb31179ff

  • memory/2460-12-0x0000000000400000-0x000000000044E000-memory.dmp

    Filesize

    312KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    4KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    76KB

  • memory/2832-1-0x00000000008B0000-0x00000000009B0000-memory.dmp

    Filesize

    1024KB

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

    Filesize

    84KB

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

    Filesize

    76KB

  • memory/2832-14-0x0000000000400000-0x000000000044E000-memory.dmp

    Filesize

    312KB