Analysis

  • max time kernel
    147s
  • max time network
    120s
  • platform
    windows7_x64
  • resource
    win7-20240903-en
  • resource tags

    arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system
  • submitted
    01-12-2024 23:11

General

  • Target

    2024-12-01_a4bcfd47b20fdddff6e2d31a46aaf5a2_karagany_mafia.exe

  • Size

    14.9MB

  • MD5

    a4bcfd47b20fdddff6e2d31a46aaf5a2

  • SHA1

    6a1e44869e3d8a4a0220a3a61b886f2ed217cbb4

  • SHA256

    9f2232ccdfb02bdb0276b198420129a9e4bf8d05f7d940b90cd40df6646a93d5

  • SHA512

    ac321de576115b419f7f7002c533ce8a38b88ff1cf6dc7fd881425c753d54c053300d32c0ec9cea4e4d4d1b489a5975d87652a2012658b1eb9a1040e51d9a42f

  • SSDEEP

    24576:FXzqpE5DpEMMMMMMMb4zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzT:FXPVpEMMMMMMMb

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-01_a4bcfd47b20fdddff6e2d31a46aaf5a2_karagany_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2024-12-01_a4bcfd47b20fdddff6e2d31a46aaf5a2_karagany_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1972
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\zfqgytkx\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2404
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\bzgcbkiz.exe" C:\Windows\SysWOW64\zfqgytkx\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2548
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create zfqgytkx binPath= "C:\Windows\SysWOW64\zfqgytkx\bzgcbkiz.exe /d\"C:\Users\Admin\AppData\Local\Temp\2024-12-01_a4bcfd47b20fdddff6e2d31a46aaf5a2_karagany_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2144
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description zfqgytkx "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1936
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start zfqgytkx
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2876
    • 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:2872
  • C:\Windows\SysWOW64\zfqgytkx\bzgcbkiz.exe
    C:\Windows\SysWOW64\zfqgytkx\bzgcbkiz.exe /d"C:\Users\Admin\AppData\Local\Temp\2024-12-01_a4bcfd47b20fdddff6e2d31a46aaf5a2_karagany_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2764
    • 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:2652

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    10.8MB

    MD5

    da4de337627b14ade51eb15f608f3090

    SHA1

    90086a841fefc9f25a7ff0765aa894107f1df0e6

    SHA256

    83e3fe5d3d82c8cd392503ba715a65e32cc9e4d5585589b4bc1eb909a8880cfd

    SHA512

    2893744283a0f9617e81817c044e4e9d18b6d6a5a0d7cd4ce15a5a56165ef37fa73afd61e56389f3aa86a5b30dc8c2a7ef207f21a575b15ddc50a63f35999b3b

  • memory/1972-7-0x0000000000400000-0x000000000047F000-memory.dmp

    Filesize

    508KB

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

    Filesize

    84KB

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

    Filesize

    76KB

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

    Filesize

    84KB

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

    Filesize

    76KB

  • memory/1972-1-0x0000000000640000-0x0000000000740000-memory.dmp

    Filesize

    1024KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    4KB

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

    Filesize

    84KB

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

    Filesize

    84KB

  • memory/2764-17-0x0000000000400000-0x000000000047F000-memory.dmp

    Filesize

    508KB