Analysis

  • max time kernel
    145s
  • max time network
    119s
  • platform
    windows7_x64
  • resource
    win7-20240708-en
  • resource tags

    arch:x64arch:x86image:win7-20240708-enlocale:en-usos:windows7-x64system
  • submitted
    06-02-2025 14:27

General

  • Target

    2025-02-06_f5fb2495fddf41b528255e66542d47d5_mafia.exe

  • Size

    13.1MB

  • MD5

    f5fb2495fddf41b528255e66542d47d5

  • SHA1

    966ff2abd9b6193543eb58b58fc1683c833ae768

  • SHA256

    0387be2c453c92137a7c9cb0a3af0818319a4553908caca1360f81a7381e4bc5

  • SHA512

    ecbd2052029ff818a6c621af601ce24c3bd56b4851fe08ad5f63a1164945dfc786f6de077f147d81366563bac315ef57ec014f1ea8cd9ee22c6e61d3c7f689f3

  • SSDEEP

    6144:sLQ1p/2p5e+D2jFHO+iZoy6u9FlfrXEz9NQNQNQNQNQNQNQNQNQNQNQNQNQNQNQu:BTYe+D2jFu+iZoUFhAz1

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-06_f5fb2495fddf41b528255e66542d47d5_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-06_f5fb2495fddf41b528255e66542d47d5_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2364
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\pgekeyne\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2700
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ljstcynj.exe" C:\Windows\SysWOW64\pgekeyne\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2784
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create pgekeyne binPath= "C:\Windows\SysWOW64\pgekeyne\ljstcynj.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-06_f5fb2495fddf41b528255e66542d47d5_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 pgekeyne "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2712
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start pgekeyne
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2920
    • 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:2600
  • C:\Windows\SysWOW64\pgekeyne\ljstcynj.exe
    C:\Windows\SysWOW64\pgekeyne\ljstcynj.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-06_f5fb2495fddf41b528255e66542d47d5_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2224
    • 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:2616

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    12.3MB

    MD5

    381381242335bd0bee0747b0b1f9b5ab

    SHA1

    6f5c445fda03ebe6c1d543e0e77e9dea6483d4b1

    SHA256

    f6447aa548beb265ea43df6c97b9b55d10455908e8c3c6406375a99b84c14f32

    SHA512

    30d485e0c4ce7edfa8c483bb48ecfed4fdfb7105be2bd190b971d45d40add05a4e6d520b5608334a9638f994261645cfbf532c8e086b7885dc713f6072a6b7ed

  • memory/2224-15-0x0000000000400000-0x00000000004C1000-memory.dmp

    Filesize

    772KB

  • memory/2364-8-0x0000000000400000-0x00000000004C1000-memory.dmp

    Filesize

    772KB

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

    Filesize

    84KB

  • memory/2364-10-0x0000000000400000-0x0000000000415000-memory.dmp

    Filesize

    84KB

  • memory/2364-9-0x0000000000220000-0x0000000000233000-memory.dmp

    Filesize

    76KB

  • memory/2364-1-0x0000000000580000-0x0000000000680000-memory.dmp

    Filesize

    1024KB

  • memory/2364-2-0x0000000000220000-0x0000000000233000-memory.dmp

    Filesize

    76KB

  • memory/2616-17-0x00000000000C0000-0x00000000000D5000-memory.dmp

    Filesize

    84KB

  • memory/2616-16-0x00000000000C0000-0x00000000000D5000-memory.dmp

    Filesize

    84KB

  • memory/2616-14-0x00000000000C0000-0x00000000000D5000-memory.dmp

    Filesize

    84KB

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

    Filesize

    4KB

  • memory/2616-11-0x00000000000C0000-0x00000000000D5000-memory.dmp

    Filesize

    84KB

  • memory/2616-18-0x00000000000C0000-0x00000000000D5000-memory.dmp

    Filesize

    84KB