Analysis

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

    arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system
  • submitted
    02-12-2024 21:22

General

  • Target

    2024-12-02_6a78c96bfc6f9c9957e4fc753858e158_karagany_mafia.exe

  • Size

    13.3MB

  • MD5

    6a78c96bfc6f9c9957e4fc753858e158

  • SHA1

    9f1c1ed1e963110addd477cf2c70e633fb889c3e

  • SHA256

    3741ce9fe249af187edf138e87543844f539fcb9b539d81e97832b44fb7dfe29

  • SHA512

    e195b4e519b87817cc4444dc171414e7d93133c05d1a610235ee4047a18f22620b6b7b88bb4589811054b6c1fab8cf63ffb923dc9500cc1cdb86c44106f5434d

  • SSDEEP

    6144:lXxZs2EcxJ8GD96ySzTVaFRFX53ncNnUUMMMMMMMMb5:lXzuKJ8GD96ySzTcANnQMMMMMMMb

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-02_6a78c96bfc6f9c9957e4fc753858e158_karagany_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2024-12-02_6a78c96bfc6f9c9957e4fc753858e158_karagany_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2908
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\qxqlwjqg\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2428
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\idkhgdza.exe" C:\Windows\SysWOW64\qxqlwjqg\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2912
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create qxqlwjqg binPath= "C:\Windows\SysWOW64\qxqlwjqg\idkhgdza.exe /d\"C:\Users\Admin\AppData\Local\Temp\2024-12-02_6a78c96bfc6f9c9957e4fc753858e158_karagany_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2516
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description qxqlwjqg "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1924
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start qxqlwjqg
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2760
    • 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:2836
  • C:\Windows\SysWOW64\qxqlwjqg\idkhgdza.exe
    C:\Windows\SysWOW64\qxqlwjqg\idkhgdza.exe /d"C:\Users\Admin\AppData\Local\Temp\2024-12-02_6a78c96bfc6f9c9957e4fc753858e158_karagany_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2772
    • 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:2784

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    14.7MB

    MD5

    3b05aabf9f0c076072f78f8eb529a306

    SHA1

    51adfd25722afa012e685c0335c9e239348f2a2a

    SHA256

    3df6add231f73701c9f6015c475d3f890c4f57e8bc0a0e7da76d11e4b8420c79

    SHA512

    5b7ca00f338048e463c6c7a6ffb5aefeb9b4f10c3b8cd0a1633c0f13fdd26628c2e9528d7e88ad52b7f899c46ffa6edf70ef67e004cc801a9b3a07f128000511

  • memory/2772-16-0x0000000000400000-0x0000000000483000-memory.dmp

    Filesize

    524KB

  • memory/2784-14-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

    Filesize

    4KB

  • memory/2784-15-0x0000000000100000-0x0000000000115000-memory.dmp

    Filesize

    84KB

  • memory/2784-18-0x0000000000100000-0x0000000000115000-memory.dmp

    Filesize

    84KB

  • memory/2784-12-0x0000000000100000-0x0000000000115000-memory.dmp

    Filesize

    84KB

  • memory/2784-19-0x0000000000100000-0x0000000000115000-memory.dmp

    Filesize

    84KB

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

    Filesize

    84KB

  • memory/2908-10-0x0000000000400000-0x0000000000415000-memory.dmp

    Filesize

    84KB

  • memory/2908-9-0x0000000000250000-0x0000000000350000-memory.dmp

    Filesize

    1024KB

  • memory/2908-8-0x00000000003C0000-0x00000000003D3000-memory.dmp

    Filesize

    76KB

  • memory/2908-7-0x0000000000400000-0x0000000000483000-memory.dmp

    Filesize

    524KB

  • memory/2908-1-0x0000000000250000-0x0000000000350000-memory.dmp

    Filesize

    1024KB

  • memory/2908-2-0x00000000003C0000-0x00000000003D3000-memory.dmp

    Filesize

    76KB