Analysis

  • max time kernel
    144s
  • max time network
    116s
  • platform
    windows7_x64
  • resource
    win7-20240729-en
  • resource tags

    arch:x64arch:x86image:win7-20240729-enlocale:en-usos:windows7-x64system
  • submitted
    15-01-2025 19:23

General

  • Target

    2025-01-15_052e6cb89d1215df489753b31e65d4b2_mafia.exe

  • Size

    14.4MB

  • MD5

    052e6cb89d1215df489753b31e65d4b2

  • SHA1

    7c538be17cdd5e617dd23034b5018549b9594d39

  • SHA256

    ab2150790dc854f0255900e275835b89d75cfa4c204ebeaacd4183babcc8576d

  • SHA512

    8e7aa3822b4c933717aeb3e54e91eedb9cf0e82da9a888cadb3bbe6516c0287dcd88f63df6772be5963c086dcdf38494484b022e0b6ec5e64c3f7b64eaaca679

  • SSDEEP

    24576:R6WdLQkyQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQ4:4WdLQk

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_052e6cb89d1215df489753b31e65d4b2_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-15_052e6cb89d1215df489753b31e65d4b2_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2532
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\kygmmyz\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2776
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\qynrecll.exe" C:\Windows\SysWOW64\kygmmyz\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2188
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create kygmmyz binPath= "C:\Windows\SysWOW64\kygmmyz\qynrecll.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-15_052e6cb89d1215df489753b31e65d4b2_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2728
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description kygmmyz "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2740
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start kygmmyz
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2212
    • 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:2756
  • C:\Windows\SysWOW64\kygmmyz\qynrecll.exe
    C:\Windows\SysWOW64\kygmmyz\qynrecll.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-15_052e6cb89d1215df489753b31e65d4b2_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2828
    • 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:2788

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    11.3MB

    MD5

    511bf0bd6555b577aaba5f42464f5088

    SHA1

    88d41f70a837865e5805f81a5bc43536159def9f

    SHA256

    fb1c61a455421e7cfa43390311e2eeb909e9e959efda4810e71507cbc6f025d5

    SHA512

    a233cf76a2325a0a61b09bacda3407d588aa36624979bd6c3aad6c55c2d1e3eab8fcb0a5c4eed3ee97f465c2196e155ca574867ac799633e2543960b55f9000a

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    76KB

  • memory/2532-14-0x0000000000400000-0x000000000044F000-memory.dmp

    Filesize

    316KB

  • memory/2532-1-0x00000000004C0000-0x00000000005C0000-memory.dmp

    Filesize

    1024KB

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

    Filesize

    76KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    4KB

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

    Filesize

    84KB

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

    Filesize

    84KB

  • memory/2828-12-0x0000000000400000-0x000000000044F000-memory.dmp

    Filesize

    316KB