Analysis

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

    arch:x64arch:x86image:win7-20241010-enlocale:en-usos:windows7-x64system
  • submitted
    24-11-2024 15:02

General

  • Target

    2024-11-24_a78ecc2e78673cbde05577052782667b_karagany_mafia.exe

  • Size

    12.6MB

  • MD5

    a78ecc2e78673cbde05577052782667b

  • SHA1

    02e34071dbcd50a81db917bfcd3938064832248c

  • SHA256

    ef2914c44cb8edd1d9f2d62c7998b3c0b6755cecb519a7904f646b5275daaef7

  • SHA512

    3e7d03c5d29d3a93436f42635c49b0c91f428881a9871c06623105675c87566983b05d3d2758cacfb401f1686d16988443eac5e7d6de036c683073eaa67c90f2

  • SSDEEP

    6144:RyXxZTquqxpXAdbbiFyKq3nUOcWfMMMMMMMbt:RyXzN8pXAdbbyyZtZfMMMMMMMb

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-11-24_a78ecc2e78673cbde05577052782667b_karagany_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2024-11-24_a78ecc2e78673cbde05577052782667b_karagany_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2192
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\fnzbumjc\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:328
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\gphgpbfw.exe" C:\Windows\SysWOW64\fnzbumjc\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2088
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create fnzbumjc binPath= "C:\Windows\SysWOW64\fnzbumjc\gphgpbfw.exe /d\"C:\Users\Admin\AppData\Local\Temp\2024-11-24_a78ecc2e78673cbde05577052782667b_karagany_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2060
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description fnzbumjc "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2004
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start fnzbumjc
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1860
    • 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:2404
  • C:\Windows\SysWOW64\fnzbumjc\gphgpbfw.exe
    C:\Windows\SysWOW64\fnzbumjc\gphgpbfw.exe /d"C:\Users\Admin\AppData\Local\Temp\2024-11-24_a78ecc2e78673cbde05577052782667b_karagany_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1012
    • 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:2900

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    11.2MB

    MD5

    05ec2154b6c6f668ba79c6d7b258cabe

    SHA1

    99c79c28ce3463cd6aedf8190d6336f378cd2a97

    SHA256

    717fcc308eb9af2b5c246d661c6753d48bcf50caa59dffd81cb3ea0373a1b1c3

    SHA512

    f4ea14a0fea15b451e6951b9b2f06576652160910177b75d074456f9e7af94bc7231d16d841104f5e15359d910e5ebd14c1c9201d520b613b1c5991f1f1646f6

  • memory/1012-17-0x0000000000400000-0x0000000000481000-memory.dmp

    Filesize

    516KB

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

    Filesize

    516KB

  • memory/2192-1-0x00000000005C0000-0x00000000006C0000-memory.dmp

    Filesize

    1024KB

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

    Filesize

    84KB

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

    Filesize

    76KB

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

    Filesize

    84KB

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

    Filesize

    76KB

  • memory/2900-18-0x00000000000C0000-0x00000000000D5000-memory.dmp

    Filesize

    84KB

  • memory/2900-16-0x00000000000C0000-0x00000000000D5000-memory.dmp

    Filesize

    84KB

  • memory/2900-14-0x00000000000C0000-0x00000000000D5000-memory.dmp

    Filesize

    84KB

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

    Filesize

    4KB

  • memory/2900-11-0x00000000000C0000-0x00000000000D5000-memory.dmp

    Filesize

    84KB