Analysis

  • max time kernel
    146s
  • max time network
    121s
  • platform
    windows7_x64
  • resource
    win7-20240705-en
  • resource tags

    arch:x64arch:x86image:win7-20240705-enlocale:en-usos:windows7-x64system
  • submitted
    15-08-2024 14:45

General

  • Target

    2024-08-15_0b5830fc403efacf6492e62588fe2e3a_mafia.exe

  • Size

    10.0MB

  • MD5

    0b5830fc403efacf6492e62588fe2e3a

  • SHA1

    fdeb8f8b9cea48693c2cbdd08cb04e9ef90c5a8d

  • SHA256

    895e58e998394c5bad05cea208855f3ec100bbe82128cf9dc8aedd9dfa1a6be2

  • SHA512

    a66b328c757b52302a8bddbaa4c26dbbb5a272e128a97db7f5aff9d6e83450fe3f6329f9d57e30324cdefdc53382d7ea7f0826308bea9dc58189fc6a4c792052

  • SSDEEP

    6144:W+rWO2zeSPDjMXMH7Ll4aFpWVqIwUAP97GEwHrG2+e1x2:W+r1IeSXMXc7LlxWV4Ug97GZ+ej

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.

  • 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\2024-08-15_0b5830fc403efacf6492e62588fe2e3a_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2024-08-15_0b5830fc403efacf6492e62588fe2e3a_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2116
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\fyhecjys\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2744
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\puhhkjze.exe" C:\Windows\SysWOW64\fyhecjys\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2692
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create fyhecjys binPath= "C:\Windows\SysWOW64\fyhecjys\puhhkjze.exe /d\"C:\Users\Admin\AppData\Local\Temp\2024-08-15_0b5830fc403efacf6492e62588fe2e3a_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2096
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description fyhecjys "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2904
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start fyhecjys
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2812
    • 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:2144
  • C:\Windows\SysWOW64\fyhecjys\puhhkjze.exe
    C:\Windows\SysWOW64\fyhecjys\puhhkjze.exe /d"C:\Users\Admin\AppData\Local\Temp\2024-08-15_0b5830fc403efacf6492e62588fe2e3a_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2852
    • 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:2568

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    10.3MB

    MD5

    fa29d8d2cc7f86db5f9721657644585f

    SHA1

    fd183a34a40595bb1e90e6734f4604031910f0de

    SHA256

    f92320ab684976898b832da5b076dd27a53edad2e485d21527aee3992a2d7fa5

    SHA512

    f2f0094973a8008e1607c25a67d172058462e4a8e7c1f7555ff2aba88798d03b6214d9bfdafa66909e6cd8b87b0baade32fd6e5ed139deda2a5c50a6972ad795

  • memory/2116-1-0x00000000005B0000-0x00000000006B0000-memory.dmp

    Filesize

    1024KB

  • memory/2116-2-0x0000000000400000-0x0000000000415000-memory.dmp

    Filesize

    84KB

  • memory/2116-14-0x0000000000400000-0x0000000000415000-memory.dmp

    Filesize

    84KB

  • memory/2116-13-0x0000000000400000-0x000000000051A000-memory.dmp

    Filesize

    1.1MB

  • memory/2568-10-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/2568-9-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

    Filesize

    4KB

  • memory/2568-7-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/2568-15-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

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

    Filesize

    84KB

  • memory/2852-12-0x0000000000400000-0x000000000051A000-memory.dmp

    Filesize

    1.1MB