Analysis

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

    arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system
  • submitted
    18-01-2025 05:55

General

  • Target

    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
  • 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\2025-01-18_8cd2a63e98c2f43873a7b54f5de4a5ce_karagany_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-18_8cd2a63e98c2f43873a7b54f5de4a5ce_karagany_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1704
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\qpcvjhrj\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1384
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\dbiedmkb.exe" C:\Windows\SysWOW64\qpcvjhrj\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2540
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create qpcvjhrj binPath= "C:\Windows\SysWOW64\qpcvjhrj\dbiedmkb.exe /d\"C:\Users\Admin\AppData\Local\Temp\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:1940
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description qpcvjhrj "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2760
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start qpcvjhrj
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2856
    • 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:2188
  • C:\Windows\SysWOW64\qpcvjhrj\dbiedmkb.exe
    C:\Windows\SysWOW64\qpcvjhrj\dbiedmkb.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-18_8cd2a63e98c2f43873a7b54f5de4a5ce_karagany_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2988
    • 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:2756

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    11.8MB

    MD5

    1eb739fc8b8442c4821f5b83a2ee66b6

    SHA1

    f696985fd30c292dafcda6b009f270f93196ed18

    SHA256

    437d0c74b2d3a2d9744a3bacb024c03e6e1675e65855408e9f4e23c1a92faea5

    SHA512

    a9167a48da100ed877faab4fbadb33af2c7dca9fdc2079909e31cc00b29e583f30778f36929652aeee6fc707f504479ee32dadef0d7802eadf3bc985b5d82ede

  • memory/1704-1-0x00000000002D0000-0x00000000003D0000-memory.dmp

    Filesize

    1024KB

  • memory/1704-3-0x0000000000400000-0x0000000000482000-memory.dmp

    Filesize

    520KB

  • memory/1704-2-0x0000000000400000-0x0000000000415000-memory.dmp

    Filesize

    84KB

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

    Filesize

    84KB

  • memory/1704-8-0x0000000000400000-0x0000000000482000-memory.dmp

    Filesize

    520KB

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

    Filesize

    84KB

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

    Filesize

    4KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    84KB

  • memory/2988-16-0x0000000000400000-0x0000000000482000-memory.dmp

    Filesize

    520KB