SOC Prime Bias: Середній

21 Apr 2026 18:16

Не просто настирливі оголошення: зв’язки рекламного програмного забезпечення, що доставляють Gh0st RAT

Author Photo
Ruslan Mikhalov Керівник досліджень загроз у SOC Prime linkedin icon Стежити
Не просто настирливі оголошення: зв’язки рекламного програмного забезпечення, що доставляють Gh0st RAT
shield icon

Detection stack

  • AIDR
  • Alert
  • ETL
  • Query

Резюме

Нещодавня кампанія поширює Gh0st Remote Access Trojan разом з компонентом рекламного програмного забезпечення CloverPlus. Його завантажувач приховує два зашифровані ресурси, записує їх у випадкові місця та запускає RAT через rundll32.exe. Шкідливе програмне забезпечення поєднує кілька методів збереження доступу з маніпуляцією токенами, захопленням DNS і клавіатурного журналювання, щоб зберегти доступ протягом часу, одночасно генеруючи дохід через зловживання кліками на рекламу. Використання легітимних бінарних файлів Windows і багатошарової обфускації ускладнює виявлення.

Розслідування

Команда досліджень загроз Splunk зробила реверс-інженеринг завантажувача та підтвердила, що він містить вбудовані Gh0st RAT DLL та модуль реклами CloverPlus. Поведінковий аналіз виявив підвищення привілеїв через токени, перевірки реєстру для VMware-середовищ, використання dead-drop резолвера, затримки сну на основі ping, спуфінг DNS та множинні техніки збереження, що закорінені в реєстр Windows. Слідчі також задокументували індикатори, включаючи незвичайні rundll32.exe виконання, запуск пейлоадів з %temp%, та специфічні модифікації реєстру, пов’язані з ланцюгом інфікування.

Усунення

Захисники повинні моніторити rundll32.exe завантаження файлів з незвичними розширеннями або виконання вмісту з нестандартних директорій. Команди безпеки повинні блокувати або попереджувати про створення вхід до реєстру керування маршрутизатором RemoteAccess та підозрілі зміни ключів Run. Мережеві контроли повинні обмежити доступ до визначеної dead-drop резолвер-URL і сигналізувати поведінку затримок на основі ping, пов'язану з ухилянням від шкідливих програм. Політики керування застосунками можуть зменшити ризик, запобігаючи завантаженням несанкціонованих DLL. router manager registry entry and suspicious changes to Run keys. Network controls should restrict access to the identified dead-drop resolver URL and flag ping-based sleep behavior associated with malware evasion. Application control policies can further reduce risk by preventing unauthorized DLLs from being loaded.

Відповідь

Коли ця активність виявлена, ізолюйте уражений хост, зберіть напівпостійні докази разом з підозрілими DLL та виконайте перевірки по хешах, щоб підтвердити загрозу. Видаліть будь-які шкідливі записи реєстру та служби, використані для збереження доступу. Скидайте потенційно скомпрометовані облікові дані, особливо ті, що пов’язані з використанням RDP, та перевіряйте налаштування DNS і файл hosts на наявність несанкціонованих змін. Проведіть повний судово-експертний огляд, щоб переконатися, що додаткові бекдори або вторинні компоненти не залишилися.

“graph TB %% Class definitions classDef action fill:#99ccff classDef tool fill:#ffcc99 classDef malware fill:#ff9999 classDef process fill:#ccccff classDef technique fill:#eeeeee classDef operator fill:#ff9900 %% Nodes u2013 Step 1 Loader Execution tool_wiseman[“Tool – Name: wiseman.exe
Description: Loader that decrypts embedded payloads (Gh0st RAT DLL and CloverPlus adware).”] class tool_wiseman tool action_loader[“Action – Loader Execution”] class action_loader action tech_reflective[“Technique – T1620 Reflective Code Loading
Loads code into memory without writing it to disk.”] class tech_reflective technique tech_obfuscate[“Technique – T1027.009 Obfuscated Files or Information: Embedded Payloads
Payloads are encrypted/obfuscated inside the loader.”] class tech_obfuscate technique %% Connections u2013 Step 1 tool_wiseman –>|executes| action_loader action_loader –>|uses| tech_reflective action_loader –>|uses| tech_obfuscate %% Nodes u2013 Step 2 Write DLL and launch via rundll32 process_write_dll[“Process – Write DLL to random folder in C:WindowsSystem32″] class process_write_dll process malware_gh0st[“Malware – Gh0st RAT DLL”] class malware_gh0st malware tool_rundll32[“Tool – rundll32.exe
Purpose: Executes DLLs as if they were executables”] class tool_rundll32 tool %% Connections u2013 Step 2 action_loader –>|writes| process_write_dll process_write_dll –>|contains| malware_gh0st malware_gh0st –>|launched by| tool_rundll32 %% Nodes u2013 Step 3 Token Manipulation tech_token[“Technique – T1134.002 Access Token Manipulation: Create Process with Token
Enables SeDebugPrivilege for later operations.”] class tech_token technique %% Connection u2013 Step 3 action_loader –>|modifies token| tech_token %% Nodes u2013 Step 4 Process Discovery of DNS service tech_proc_discovery[“Technique – T1057 Process Discovery
Enumerates running processes, identifies DNS service (port 53).”] class tech_proc_discovery technique tech_win_window[“Technique – T1010 Application Window Discovery
Collects window titles to aid process identification.”] class tech_win_window technique %% Connection u2013 Step 4 tech_token –>|performs| tech_proc_discovery tech_proc_discovery –>|supplements| tech_win_window %% Nodes u2013 Step 5 Terminate DNS and delete file tech_process_injection[“Technique – T1055.003 Process Injection: Thread Execution Hijacking
Hijacks DNS process thread to terminate it.”] class tech_process_injection technique tech_masquerade[“Technique – T1036.009 Masquerading: Break Process Trees
Creates a fake process hierarchy to hide malicious activity.”] class tech_masquerade technique tech_file_deletion[“Technique – T1070.004 File Deletion
Deletes the original DNS executable file after termination.”] class tech_file_deletion technique %% Connections u2013 Step 5 tech_proc_discovery –>|targets| tech_process_injection tech_process_injection –>|accompanies| tech_masquerade tech_masquerade –>|leads to| tech_file_deletion %% Nodes u2013 Step 6 Virtual Machine Discovery tech_vm_discovery[“Technique – T1673 Virtual Machine Discovery
Queries VMware registry key to detect analysis environment.”] class tech_vm_discovery technique %% Connection u2013 Step 6 tech_token –>|checks| tech_vm_discovery %% Nodes u2013 Step 7 Dead-Drop Resolver tool_ping[“Tool – ping.exe
Use: Introduces delay before further actions.”] class tool_ping tool tech_dead_drop[“Technique – T1102.001 Web Service: Dead Drop Resolver
Downloads a web page from a malicious URL to obtain C2 address.”] class tech_dead_drop technique %% Connection u2013 Step 7 tech_vm_discovery –>|if VM detected| tech_dead_drop tech_dead_drop –>|uses| tool_ping %% Nodes u2013 Step 8 Delay Execution tech_delay[“Technique – T1678 Delay Execution
Uses ping -n to wait before executing payload.”] class tech_delay technique %% Connection u2013 Step 8 tool_ping –>|implements| tech_delay %% Nodes u2013 Step 9 Hosts file modification and DNS spoofing tech_hosts_mod[“Technique – T1568.002 Email Spoofing (repurposed for DNS spoofing)
Modifies hosts file and crafts spoofed DNS responses to block security domains.”] class tech_hosts_mod technique %% Connection u2013 Step 9 tech_delay –>|modifies| tech_hosts_mod %% Nodes u2013 Step 10 Flush DNS cache action_flush_dns[“Action – Flush DNS Cache
Executes ipconfig /flushdns to ensure malicious entries take effect.”] class action_flush_dns action %% Connection u2013 Step 10 tech_hosts_mod –>|followed by| action_flush_dns %% Nodes u2013 Step 11 Collect hardware identifiers tech_snmp_dump[“Technique – T1602.001 Data from Configuration Repository: SNMP (MIB Dump)
Collects hardware IDs such as MAC address.”] class tech_snmp_dump technique tech_net_config[“Technique – T1602.002 Data from Configuration Repository: Network Device Configuration Dump
Collects hard-drive serial number.”] class tech_net_config technique %% Connections u2013 Step 11 action_flush_dns –>|collects| tech_snmp_dump action_flush_dns –>|collects| tech_net_config %% Nodes u2013 Step 12 Persistence via service and Run key tech_service_creation[“Technique – T1543.003 Create or Modify System Process: Windows Service
Creates a new Windows service that points to the malicious DLL.”] class tech_service_creation technique tech_run_key[“Technique – T1547.001 Registry Run Keys/Startup Folder
Writes a Run registry entry referencing the malicious DLL.”] class tech_run_key technique %% Connections u2013 Step 12 tech_snmp_dump –>|enables| tech_service_creation tech_snmp_dump –>|enables| tech_run_key %% Nodes u2013 Step 13 Hijack Execution Flow via Service Registry tech_hijack_service[“Technique – T1574.011 Hijack Execution Flow: Services Registry Permissions Weakness
Registers DLL under RemoteAccessRouterManagersIp (DllPath) and restarts service for auto-execution.”] class tech_hijack_service technique %% Connection u2013 Step 13 tech_service_creation –>|uses| tech_hijack_service tech_run_key –>|also uses| tech_hijack_service %% Operators for logical grouping (optional) op_and1((“AND”)) class op_and1 operator %% Example logical flow grouping action_loader –>|leads to| op_and1 op_and1 –>|continues with| tech_proc_discovery “

Потік атак

Імітація

Ми все ще оновлюємо цю частину. Зареєструйтеся, щоб отримати сповіщення

Повідомити мене