Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    28-11-2024 14:58

General

  • Target

    2024-11-28_ec0a775053011547d1f706ba20161f62_karagany_mafia.exe

  • Size

    11.6MB

  • MD5

    ec0a775053011547d1f706ba20161f62

  • SHA1

    03cbdcdcce6d9dd80b0436e41df13c9eb3cdafd5

  • SHA256

    24ef2a9b7b906129acc102cf2831fbeb17be433096e35962bfcface7aae0e7d9

  • SHA512

    9253eb19eaae728aa1e240252e73cf95beced8828fefa1da01f37a9918ccdbce8d5eb027d934d5c2e8f9959326376b4050beafd702b6bd44df5721f47bd05d6c

  • SSDEEP

    6144:NXxZs2EcxJ8GD96ySzTVaFRFX53ncNnUUMMMMMMMMb5:NXzuKJ8GD96ySzTcANnQMMMMMMMb

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\2024-11-28_ec0a775053011547d1f706ba20161f62_karagany_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2024-11-28_ec0a775053011547d1f706ba20161f62_karagany_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3188
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\unnycfnh\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1400
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\hfmihqof.exe" C:\Windows\SysWOW64\unnycfnh\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1260
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create unnycfnh binPath= "C:\Windows\SysWOW64\unnycfnh\hfmihqof.exe /d\"C:\Users\Admin\AppData\Local\Temp\2024-11-28_ec0a775053011547d1f706ba20161f62_karagany_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:212
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description unnycfnh "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2256
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start unnycfnh
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3324
    • 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:3968
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3188 -s 572
      2⤵
      • Program crash
      PID:3316
  • C:\Windows\SysWOW64\unnycfnh\hfmihqof.exe
    C:\Windows\SysWOW64\unnycfnh\hfmihqof.exe /d"C:\Users\Admin\AppData\Local\Temp\2024-11-28_ec0a775053011547d1f706ba20161f62_karagany_mafia.exe"
    1⤵
    • Executes dropped EXE
    PID:2308
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 3188 -ip 3188
    1⤵
      PID:1684

    Network

    MITRE ATT&CK Enterprise v15

    Replay Monitor

    Loading Replay Monitor...

    Downloads

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

      Filesize

      14.9MB

      MD5

      895cbac2ce057e7225c05332d42d052f

      SHA1

      0784d21c51265ede8cdc03c3b7be197744fd81e4

      SHA256

      76c90938262ab2d00391642957c067849c6dfe70790533dacb23cafb7eb5bbf5

      SHA512

      777a8d4c323563d7e72e8755a1cb676c557abcf26243b0611cfbfa8e0fda88df01fbab7d56083270d0d75e00be9bc39203c8f0a713dbb53ab1610a4a44ba38ba

    • memory/3188-1-0x0000000000610000-0x0000000000710000-memory.dmp

      Filesize

      1024KB

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

      Filesize

      76KB

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

      Filesize

      84KB

    • memory/3188-6-0x0000000000400000-0x0000000000483000-memory.dmp

      Filesize

      524KB

    • memory/3188-8-0x0000000000400000-0x0000000000483000-memory.dmp

      Filesize

      524KB

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

      Filesize

      84KB

    • memory/3188-9-0x00000000001C0000-0x00000000001D3000-memory.dmp

      Filesize

      76KB