Analysis

  • max time kernel
    148s
  • max time network
    121s
  • platform
    windows7_x64
  • resource
    win7-20240903-en
  • resource tags

    arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system
  • submitted
    07-12-2024 18:43

General

  • Target

    2024-12-07_3a2ed34c3dc624d64a485f8634dde112_karagany_mafia.exe

  • Size

    10.0MB

  • MD5

    3a2ed34c3dc624d64a485f8634dde112

  • SHA1

    7b8b4aece7c01011127c489c5cd97130ba6f483b

  • SHA256

    bb55c73dc38027d6366b3403767f6036bd8671771183040d8db36e8da2eb6ec1

  • SHA512

    d56e7f26a625e4a2791dee32feb5e3ffdd8db041196a177287d4e09e220b78a9306013f0f23f9d9f41d6d9803f39211d35d5eae17ad3b9631597ad823996282e

  • SSDEEP

    6144:oXxZveEydmxZnXNMRaTuMUifWLKxNMMMMMMMbgb:oXzvvygxZnXxr+mxNMMMMMMMbg

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-12-07_3a2ed34c3dc624d64a485f8634dde112_karagany_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2024-12-07_3a2ed34c3dc624d64a485f8634dde112_karagany_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2092
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\zykxrebn\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2816
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\fhctkele.exe" C:\Windows\SysWOW64\zykxrebn\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2672
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create zykxrebn binPath= "C:\Windows\SysWOW64\zykxrebn\fhctkele.exe /d\"C:\Users\Admin\AppData\Local\Temp\2024-12-07_3a2ed34c3dc624d64a485f8634dde112_karagany_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2940
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description zykxrebn "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2296
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start zykxrebn
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2684
    • 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:2544
  • C:\Windows\SysWOW64\zykxrebn\fhctkele.exe
    C:\Windows\SysWOW64\zykxrebn\fhctkele.exe /d"C:\Users\Admin\AppData\Local\Temp\2024-12-07_3a2ed34c3dc624d64a485f8634dde112_karagany_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2600
    • 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:2292

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    12.4MB

    MD5

    863a877f15c5f054ca5b08954cec1e71

    SHA1

    bc956d3e4cecff22d94cf6eb7ad0ec60b254d9f7

    SHA256

    e93466fb3e3751ad70375e7a2567a86ce9d0214ce81f63db459428f05f200dde

    SHA512

    59fe46e05343efaedc3a80860c7b9429f7e1c026ae258d19471971e0094d9947e291af7a6108a5113667023960dc5e9d3e91fb3e60e4da74dd601f28682df3a1

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

    Filesize

    516KB

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

    Filesize

    84KB

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

    Filesize

    76KB

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

    Filesize

    84KB

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

    Filesize

    76KB

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

    Filesize

    1024KB

  • memory/2292-14-0x00000000000D0000-0x00000000000E5000-memory.dmp

    Filesize

    84KB

  • memory/2292-16-0x00000000000D0000-0x00000000000E5000-memory.dmp

    Filesize

    84KB

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

    Filesize

    4KB

  • memory/2292-11-0x00000000000D0000-0x00000000000E5000-memory.dmp

    Filesize

    84KB

  • memory/2292-18-0x00000000000D0000-0x00000000000E5000-memory.dmp

    Filesize

    84KB

  • memory/2600-17-0x0000000000400000-0x0000000000481000-memory.dmp

    Filesize

    516KB