Analysis

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

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

General

  • Target

    2024-12-07_62d58192a77785f2b84ea8d0e7e68ff8_karagany_mafia.exe

  • Size

    12.5MB

  • MD5

    62d58192a77785f2b84ea8d0e7e68ff8

  • SHA1

    f154f6b8d9f8192c2a5312c940a7f5496411ed97

  • SHA256

    eb0ea2494a23b87ee6c07bd492afce2f6a0481f4a160fbb67c73fe18ed01ccf7

  • SHA512

    f9c27a7a5f547780b5705969135d27de39fcbfba93b992f69c6a7ec4854cd38b33022e20912c076e6b78b55f1c050edca374869db41e76fa760c4d87cf0b85cf

  • SSDEEP

    6144:4XxZveEydmxZnXNMRaTuMUifWLKxNMMMMMMMbgb:4XzvvygxZnXxr+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_62d58192a77785f2b84ea8d0e7e68ff8_karagany_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2024-12-07_62d58192a77785f2b84ea8d0e7e68ff8_karagany_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1708
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\xzkyqxut\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1904
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\kfmjifbc.exe" C:\Windows\SysWOW64\xzkyqxut\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2428
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create xzkyqxut binPath= "C:\Windows\SysWOW64\xzkyqxut\kfmjifbc.exe /d\"C:\Users\Admin\AppData\Local\Temp\2024-12-07_62d58192a77785f2b84ea8d0e7e68ff8_karagany_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2712
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description xzkyqxut "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2848
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start xzkyqxut
      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:2896
  • C:\Windows\SysWOW64\xzkyqxut\kfmjifbc.exe
    C:\Windows\SysWOW64\xzkyqxut\kfmjifbc.exe /d"C:\Users\Admin\AppData\Local\Temp\2024-12-07_62d58192a77785f2b84ea8d0e7e68ff8_karagany_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2616
    • 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:2892

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    13.3MB

    MD5

    92173f55925247680b27bfa53b5f43ef

    SHA1

    a7c5303e0a2f3678b86a2b8fba405c44055b03dc

    SHA256

    1d82da2504d33830e9d6459de45058bf90a521a47f517df95c96b3dd96b9e452

    SHA512

    ab9e1d53469d4a42110216f3352186b112044decdccd3f15c97472dbcbe2628a43ca759334d51a1e95d715b36eefee8967cb2dea9555a90c808617838764c187

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

    Filesize

    516KB

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

    Filesize

    84KB

  • memory/1708-1-0x0000000000570000-0x0000000000670000-memory.dmp

    Filesize

    1024KB

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

    Filesize

    84KB

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

    Filesize

    76KB

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

    Filesize

    76KB

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

    Filesize

    516KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    4KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    84KB