Analysis

  • max time kernel
    145s
  • max time network
    117s
  • platform
    windows7_x64
  • resource
    win7-20240903-en
  • resource tags

    arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system
  • submitted
    15-01-2025 18:37

General

  • Target

    2025-01-15_495a4f5942be9c692b3f1a377dbd3ed6_mafia.exe

  • Size

    13.6MB

  • MD5

    495a4f5942be9c692b3f1a377dbd3ed6

  • SHA1

    18a101af5fb4920b2aca09125bc943204733e3bc

  • SHA256

    2e9ae7676eb981e72b227131076be16ea55bc28e1e719207da87ee3d5172601b

  • SHA512

    6e88c71d3bec5a100af88549e4fb38939c46853d95a31f004afbc4110622293d74e0edbbe36bf82ce8f3334ae1549a0925d68f8e5e4f148f1e77dfe5f91151f0

  • SSDEEP

    6144:JLQ1p/2p5e+D2jFHO+iZoy6u9FlfrXEz9NQNQNQNQNQNQNQNQNQNQNQNQNQNQNQw:KTYe+D2jFu+iZoUFhAz

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-15_495a4f5942be9c692b3f1a377dbd3ed6_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-15_495a4f5942be9c692b3f1a377dbd3ed6_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2908
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\yopglykp\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2540
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\xzsdksgw.exe" C:\Windows\SysWOW64\yopglykp\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2668
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create yopglykp binPath= "C:\Windows\SysWOW64\yopglykp\xzsdksgw.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-15_495a4f5942be9c692b3f1a377dbd3ed6_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2556
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description yopglykp "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2728
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start yopglykp
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2440
    • 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:2684
  • C:\Windows\SysWOW64\yopglykp\xzsdksgw.exe
    C:\Windows\SysWOW64\yopglykp\xzsdksgw.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-15_495a4f5942be9c692b3f1a377dbd3ed6_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2576
    • 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:2532

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    10.8MB

    MD5

    fc77aad7f1e1a0cc3f54ddb87015f8ee

    SHA1

    12ab635e20f0cf2b281dbb754c0e1275899abe5b

    SHA256

    2b53a5163c379da9c7991b1b90f2c1ddb5c90775cba0e1a5ca31e731237ce432

    SHA512

    2a83deb4e822d1314e8948dfc69f8b6667408927f1c559b876a34f23ef541d7a014d7d62035afcb4b1b8a96ca67c9ee7a680f4e8d5a7f983aba9672b17bcb0a9

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    4KB

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

    Filesize

    84KB

  • memory/2576-17-0x0000000000400000-0x00000000004C1000-memory.dmp

    Filesize

    772KB

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

    Filesize

    84KB

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

    Filesize

    76KB

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

    Filesize

    84KB

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

    Filesize

    76KB

  • memory/2908-7-0x0000000000400000-0x00000000004C1000-memory.dmp

    Filesize

    772KB

  • memory/2908-1-0x00000000005C0000-0x00000000006C0000-memory.dmp

    Filesize

    1024KB