Analysis

  • max time kernel
    144s
  • max time network
    129s
  • platform
    windows7_x64
  • resource
    win7-20241010-en
  • resource tags

    arch:x64arch:x86image:win7-20241010-enlocale:en-usos:windows7-x64system
  • submitted
    24-11-2024 14:52

General

  • Target

    2024-11-24_5403a883573c96f0e4c7fdf5c023069a_karagany_mafia.exe

  • Size

    14.0MB

  • MD5

    5403a883573c96f0e4c7fdf5c023069a

  • SHA1

    f7dd588c14c1173492348a8a201ec3a006d3472a

  • SHA256

    f6857dbda764a9e366f4ba065eab36fc5f1bceec4d9af02cc2a81cf69f29a034

  • SHA512

    7de7b29996528d342483e22102b4187156766304e4bc7cbfb855954bcbb4a96546346786b130329f4a06c6eb3ac2af764f0cbcf0114ef02eeea6c01b010f377a

  • SSDEEP

    6144:pyXxZTquqxpXAdbbiFyKq3nUOcWfMMMMMMMbt:pyXzN8pXAdbbyyZtZfMMMMMMMb

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\2024-11-24_5403a883573c96f0e4c7fdf5c023069a_karagany_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2024-11-24_5403a883573c96f0e4c7fdf5c023069a_karagany_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:564
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\cgpxlyby\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2780
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ytaxwtpq.exe" C:\Windows\SysWOW64\cgpxlyby\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2920
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create cgpxlyby binPath= "C:\Windows\SysWOW64\cgpxlyby\ytaxwtpq.exe /d\"C:\Users\Admin\AppData\Local\Temp\2024-11-24_5403a883573c96f0e4c7fdf5c023069a_karagany_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1076
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description cgpxlyby "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2936
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start cgpxlyby
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2704
    • 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:2724
  • C:\Windows\SysWOW64\cgpxlyby\ytaxwtpq.exe
    C:\Windows\SysWOW64\cgpxlyby\ytaxwtpq.exe /d"C:\Users\Admin\AppData\Local\Temp\2024-11-24_5403a883573c96f0e4c7fdf5c023069a_karagany_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2840
    • 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:2508

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    10.1MB

    MD5

    f1a14ae95f282fed96d3418bdaf5f10c

    SHA1

    1418f8ecc29c45b55c2368ac0ac990d2196d7565

    SHA256

    1704012b0f1140d42ef47feed0522e35e54671680a72197dac580a8cdda03a37

    SHA512

    c32663d36e262bd4663634415247d063c08147e9cd53064d6da583c37cc6a204e71dfcb71c5af0a4fc6f7cf17fe21f3b6c8af3bbf5b295523c3c32cc802c3461

  • memory/564-8-0x0000000000220000-0x0000000000233000-memory.dmp

    Filesize

    76KB

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

    Filesize

    84KB

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

    Filesize

    76KB

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

    Filesize

    84KB

  • memory/564-7-0x0000000000400000-0x0000000000481000-memory.dmp

    Filesize

    516KB

  • memory/564-1-0x00000000005E0000-0x00000000006E0000-memory.dmp

    Filesize

    1024KB

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

    Filesize

    84KB

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

    Filesize

    4KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    84KB

  • memory/2840-15-0x0000000000400000-0x0000000000481000-memory.dmp

    Filesize

    516KB