Analysis

  • max time kernel
    150s
  • max time network
    151s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20241007-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    18-01-2025 05:55

General

  • Target

    0QIQ2_2025-01-18_8cd2a63e98c2f43873a7b54f5de4a5ce_karagany_mafia.exe

  • Size

    13.7MB

  • MD5

    8cd2a63e98c2f43873a7b54f5de4a5ce

  • SHA1

    a8e11d82385377a4100167a5f2eda97203a154bc

  • SHA256

    ee8d18ee89bcf8ba343824cfc5d17013a93a8138629a37fb055061daff4bea6b

  • SHA512

    b8c23243eb246d731d667e7fa931807221cbef7408f6d8c70522ed06acf4a8db0f1b6311b146afb5a7fde3f3455465f01a5d8e65379d0f4ef439ae59ec170e90

  • SSDEEP

    6144:0ZXxZnMXxZX06XE1+wr1Zf/VmUL0PMMMMMMMb6:EXzMBZX0F+wrVRiMMMMMMMb

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
  • Creates new service(s) 2 TTPs
  • Modifies Windows Firewall 2 TTPs 1 IoCs
  • Checks computer location settings 2 TTPs 1 IoCs

    Looks up country code configured in the registry, likely geofence.

  • Executes dropped EXE 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.

  • Program crash 1 IoCs
  • System Location Discovery: System Language Discovery 1 TTPs 7 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 18 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\0QIQ2_2025-01-18_8cd2a63e98c2f43873a7b54f5de4a5ce_karagany_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\0QIQ2_2025-01-18_8cd2a63e98c2f43873a7b54f5de4a5ce_karagany_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2808
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\xyaqybpq\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3764
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\bemmkimv.exe" C:\Windows\SysWOW64\xyaqybpq\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4112
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create xyaqybpq binPath= "C:\Windows\SysWOW64\xyaqybpq\bemmkimv.exe /d\"C:\Users\Admin\AppData\Local\Temp\0QIQ2_2025-01-18_8cd2a63e98c2f43873a7b54f5de4a5ce_karagany_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1512
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description xyaqybpq "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4564
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start xyaqybpq
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4268
    • 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:4232
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2808 -s 1040
      2⤵
      • Program crash
      PID:8
  • C:\Windows\SysWOW64\xyaqybpq\bemmkimv.exe
    C:\Windows\SysWOW64\xyaqybpq\bemmkimv.exe /d"C:\Users\Admin\AppData\Local\Temp\0QIQ2_2025-01-18_8cd2a63e98c2f43873a7b54f5de4a5ce_karagany_mafia.exe"
    1⤵
    • Executes dropped EXE
    PID:4332
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 460 -p 2808 -ip 2808
    1⤵
      PID:3700

    Network

    MITRE ATT&CK Enterprise v15

    Replay Monitor

    Loading Replay Monitor...

    Downloads

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

      Filesize

      12.2MB

      MD5

      f7634dc87e83f502bca9cba3a1d1a665

      SHA1

      ecf59c8c5a54256553b5bd9ddd7885773478a71f

      SHA256

      08f1b8c5f91af290ea15bf2cd0088acffe57ddccbfdc5e8c7a62a56dabe354d4

      SHA512

      b89e2883c6c5a075732df1363684d998aecabee944cb632a189061659fed9bd5d136ce0041acfd61d797c6967e3a394dc39e9f8777a0d4f45af2db42f045b721

    • memory/2808-2-0x00000000001C0000-0x00000000001D3000-memory.dmp

      Filesize

      76KB

    • memory/2808-1-0x0000000000660000-0x0000000000760000-memory.dmp

      Filesize

      1024KB

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

      Filesize

      84KB

    • memory/2808-8-0x00000000001C0000-0x00000000001D3000-memory.dmp

      Filesize

      76KB

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

      Filesize

      84KB

    • memory/2808-7-0x0000000000400000-0x0000000000482000-memory.dmp

      Filesize

      520KB