Lỗ hổng đám mây GL.iNet: hacker cài mã độc lên router và thiết bị KVM — chủ thiết bị cần kiểm tra ngayGL.iNet cloud flaw: hackers planted malware on routers and KVM devices — owners need to check now
Mẹo: Dùng Microsoft Edge để nghe giọng đọc tiếng Việt tự nhiên hơn (HoaiMy, NamMinh).Tip: Use Microsoft Edge for more natural Vietnamese read-aloud voices (HoaiMy, NamMinh).

Ngày 20/11, GL.iNet xác nhận kẻ lạ đã khai thác lỗ hổng trong dịch vụ quản lý từ xa qua đám mây GoodCloud để cài mã độc lên router và thiết bị KVM của khách hàng. Đường tấn công đã bị chặn, nhưng bản vá không tự gỡ mã độc khỏi thiết bị đã nhiễm — ai đang dùng router hay KVM Comet của GL.iNet cần tự kiểm tra ngay hôm nay.On November 20, GL.iNet confirmed that an unauthorized party exploited a flaw in its GoodCloud remote-management service to plant malware on customers' routers and KVM devices. The attack path is blocked, but the patch does not remove malware from already-infected devices — owners need to check for themselves now.
Ngày 20/11, GL.iNet xác nhận kẻ lạ đã khai thác lỗ hổng trong dịch vụ quản lý từ xa qua đám mây của hãng để cài mã độc lên router và thiết bị KVM của khách hàng. Đường tấn công đã bị chặn, nhưng bản vá không tự gỡ mã độc khỏi những thiết bị đã nhiễm — ai đang dùng router hay KVM Comet của GL.iNet cần tự kiểm tra ngay hôm nay.
Diễn biến
- Ngày 19/11: chủ một thiết bị KVM GL-RM1 ghi lại log cho thấy dấu hiệu nhiễm: xuất hiện một script độc hại tên
ni.shcùng các payload khác được tải về từ máy chủ lạ. - Ngày 20/11: GL.iNet phát hiện lỗ hổng trong dịch vụ quản lý đám mây của hãng và công bố thông báo bảo mật. Hãng cho biết một "bên không được phép" đã khai thác lỗ hổng này để truy cập và cài phần mềm độc hại lên một số router và thiết bị KVM.
- Ngày 21/11: GL.iNet bắt đầu gửi email thông báo tới khách hàng; firmware beta có bản vá cho các mẫu KVM xuất hiện.
- Ngày 22/11: bản firmware ổn định chứa bản vá cho cả router và KVM được hẹn phát hành; BleepingComputer đưa tin chi tiết về vụ việc dựa trên bằng chứng do khách hàng và nhà nghiên cứu chia sẻ.
GL.iNet khẳng định: "Đường tấn công đã bị chặn. Chúng tôi đã sửa lỗ hổng đám mây và chặn quyền truy cập đã dùng trong vụ này. Thiết bị không thể bị nhiễm mới qua đường tấn công này nữa. Tuy nhiên các biện pháp này không gỡ mã độc khỏi những thiết bị đã bị nhiễm."
Cơ chế tấn công
Lỗ hổng nằm ở nền tảng quản lý từ xa qua đám mây GoodCloud của GL.iNet — dịch vụ cho phép mở bảng quản trị và terminal SSH của thiết bị từ bất cứ đâu. GL.iNet chưa công bố kẻ tấn công đã khai thác lỗ hổng này bằng cách nào.
Các nhà nghiên cứu của RemoteToHome Consulting đã chỉ ra một điểm yếu có thể liên quan: một handler dùng cho tính năng AstroWarp/SD-WAN trong GoodCloud client truyền giá trị do đám mây gửi tới vào lệnh shell chạy với quyền root mà không kiểm chứng đầy đủ. GL.iNet chưa xác nhận đây có phải đúng lỗ hổng đã bị khai thác hay không.
Mã độc được ghi nhận để lại các dấu hiệu sau — đây cũng là các chỉ dấu (IOC) để người dùng đối chiếu khi kiểm tra thiết bị:
- Tiến trình độc hại ngụy trang thành
crond -i /tmp/.log— đúng chuỗi mà GL.iNet đưa ra làm dấu hiệu nhận biết. - Trên thiết bị có thể xuất hiện script
ni.shcùng các file thực thi lạ têngl-helpervàgb; một số thiết bị bị nhiễm có kết nối ra địa chỉ170.39.226.219.
Một KVM bị nhiễm còn được ghi nhận phát sinh lưu lượng bất thường: kết nối tới khoảng 1.800 địa chỉ IP dân cư mỗi ngày và các cuộc gọi liên tục tới API của blockchain TRON — hoạt động gợi ý một mạng ngang hàng, nhưng mục đích thực sự chưa rõ và chưa có xác nhận các thiết bị bị nhiễm đang bị dùng làm proxy dân cư hay botnet.
Phạm vi ảnh hưởng
- Thiết bị bị ảnh hưởng: một số router GL.iNet dùng dịch vụ đám mây, cùng các thiết bị KVM dòng Comet — gồm RM1, RM1V2, RM1PE, RM4PE, RM10, RM10RC và RMQ1.
- Quy mô chưa rõ: GL.iNet chưa công bố có bao nhiêu khách hàng bị ảnh hưởng, cũng chưa rõ dữ liệu có bị đánh cắp hay không. Hãng đang điều tra liệu máy tính nối với các KVM bị nhiễm có bị ảnh hưởng theo hay không.
- Bằng chứng từ cộng đồng: RemoteToHome kiểm tra 183 router do họ sở hữu hoặc quản lý và thấy 152 chiếc có dấu hiệu đáng ngờ — trong đó 24 chiếc bị chiếm quyền điều khiển từ xa với quyền root, 47 chiếc có một backdoor cũ, 81 chiếc có dấu vết hoạt động xâm nhập đã diễn ra. Đây là mẫu tự chọn nên không đại diện cho toàn bộ khách hàng, và backdoor cũ có thể không liên quan tới đợt tấn công tháng 11.
- Có thể đã nhiễm từ lâu: một số file mã độc thu thập được mang timestamp từ tháng 12/2025 — một số thiết bị có thể đã bị xâm nhập nhiều tháng trước. Người dùng trên diễn đàn còn phát hiện thêm một backdoor cũ hơn, với file từ tháng 9/2025, mà hướng dẫn kiểm tra chính thức của GL.iNet không phát hiện được.
Đáng lo nhất là các thiết bị KVM: một KVM nằm giữa người dùng và máy tính — kẻ kiểm soát được KVM có thể xem màn hình và gõ bàn phím trên máy tính nối với nó. Vì vậy chủ KVM bị nhiễm không chỉ cần xử lý thiết bị KVM mà còn phải kiểm tra cả máy tính nối với nó.
Việc cần làm ngay
- Kiểm tra thiết bị của bạn. Trên router: vào Admin Panel → System → Advanced Settings → đăng nhập LuCI → Status → Processes, tìm
tmp/.log; hoặc qua SSH chạyps | grep tmp. Trên KVM: vào Toolbox → Terminal → Access, chạyps -a | grep tmp(mẫu RMQ1) hoặcps -aux | grep tmp(các mẫu khác). Nếu thấy tiến trìnhcrond -i /tmp/.logthì coi như thiết bị đã nhiễm. Một dòng chỉ chứa chính lệnhgrepthì không tính. - Nếu thấy dấu hiệu nhiễm: cài firmware bảo mật cho đúng mẫu máy — KVM: bản 1.10.3 trở lên (RM10, RM1, RM1V2, RM1PE, RM4PE), 1.10.3 beta trở lên (RM10RC), 1.8.7 trở lên (RMQ1); router: bản ổn định mới nhất. Hoặc khôi phục cài đặt gốc. Lưu lại bằng chứng trước khi reset, và đừng khôi phục nguyên cấu hình cũ — file độc hại có thể nằm trong thư mục cấu hình và sống sót qua một lần nâng cấp firmware thông thường.
- Nếu kiểm tra không thấy gì: vẫn cài bản firmware ổn định mới nhất cho đúng mẫu máy. Hướng dẫn kiểm tra của hãng có thể không phát hiện mọi trường hợp nhiễm.
- Nếu KVM bị nhiễm, kiểm tra cả máy tính nối với nó: rà soát chương trình lạ, extension trình duyệt, tài khoản người dùng, mục khởi động, tác vụ định kỳ và hoạt động mạng bất thường; chạy quét toàn bộ bằng phần mềm bảo mật đã cập nhật.
- Xoay lại mật khẩu và khóa truy cập có thể đã lộ qua thiết bị bị nhiễm.
- Không cần chờ email của GL.iNet mới hành động — hãng nói sẽ gửi email tới từng khách hàng bị xác định là ảnh hưởng, nhưng ai cũng nên tự kiểm tra ngay. Cộng đồng đã phát triển một công cụ quét/dọn mà GL.iNet dẫn link trong hướng dẫn chính thức; công cụ này kiểm tra sâu hơn (file mã độc đã biết, tiến trình đáng ngờ, tiện ích hệ thống bị sửa) nhưng chính tác giả của nó cũng cảnh báo không phát hiện được mọi trường hợp nhiễm.
On November 20, GL.iNet confirmed that an unauthorized party exploited a flaw in its cloud remote-management service to plant malware on customers' routers and KVM devices. The attack path has been blocked, but the patch does not remove malware from devices already infected — anyone using a GL.iNet router or Comet KVM needs to check for themselves today.
Timeline
- November 19: the owner of a GL-RM1 KVM device recorded logs showing signs of infection: the presence of a malicious script named
ni.shand other payloads originating from a strange server. - November 20: GL.iNet discovered the flaw in its cloud management service and published a security notice. The company said an "unauthorized party" had exploited the flaw to access and install malware on some routers and KVM devices.
- November 21: GL.iNet began emailing notifications to customers; beta firmware with a fix for the KVM models appeared.
- November 22: stable firmware containing the fix for both routers and KVMs was scheduled for release; BleepingComputer reported the affair in detail based on evidence shared by customers and researchers.
GL.iNet states: "The attack vector has been blocked. We have fixed the cloud vulnerability and blocked the access used in this incident. Devices can no longer be newly infected through this attack vector. However, these measures do not remove malware from devices that have already been infected."
Attack mechanism
The flaw sits in GL.iNet's cloud remote-management platform GoodCloud — the service that lets you open a device's admin panel and SSH terminal from anywhere. GL.iNet has not disclosed how the attackers exploited this flaw.
Researchers at RemoteToHome Consulting pointed to a possibly related weakness: a handler used for the AstroWarp/SD-WAN feature in the GoodCloud client passes cloud-supplied values into a shell command running as root without adequate validation. GL.iNet has not confirmed whether this is the flaw that was exploited.
The recorded malware leaves the following signs — these are also the indicators (IOCs) users can check their devices against:
- The malicious process disguises itself as
crond -i /tmp/.log— the exact string GL.iNet gives as the tell-tale sign. - A device may carry the script
ni.shalong with strange executables namedgl-helperandgb; some infected devices had connections out to the address170.39.226.219.
One infected KVM was also observed generating abnormal traffic: connections to about 1,800 residential IP addresses per day and continuous calls to the TRON blockchain API — activity suggesting a peer-to-peer network, though the real purpose is unclear and there is no confirmation that infected devices are being used as residential proxies or a botnet.
Scope of impact
- Affected devices: some GL.iNet routers using the cloud service, plus Comet-line KVM devices — including RM1, RM1V2, RM1PE, RM4PE, RM10, RM10RC and RMQ1.
- Scale unclear: GL.iNet has not announced how many customers are affected, nor whether data was stolen. The company is investigating whether computers connected to infected KVMs were affected as well.
- Community evidence: RemoteToHome checked 183 routers they own or manage and found 152 with suspicious signs — of which 24 had been taken over remotely with root privileges, 47 had an older backdoor, and 81 had traces of intrusion activity having taken place. This is a self-selected sample and not representative of all customers, and the older backdoor may be unrelated to the November attack wave.
- Possibly infected for a long time: some collected malware files carry timestamps from December 2025 — some devices may have been compromised many months ago. Forum users also found an even older backdoor, with files from September 2025, that GL.iNet's official check instructions do not detect.
The most worrying are the KVM devices: a KVM sits between the user and the computer — whoever controls the KVM can see the screen and type on the keyboard of the connected computer. So the owner of an infected KVM must not only deal with the KVM device but also check the computer connected to it.
What to do now
- Check your device. On a router: go to Admin Panel → System → Advanced Settings → log in to LuCI → Status → Processes, and look for
tmp/.log; or over SSH runps | grep tmp. On a KVM: go to Toolbox → Terminal → Access, runps -a | grep tmp(RMQ1) orps -aux | grep tmp(other models). If you see the processcrond -i /tmp/.log, treat the device as infected. A line containing only thegrepcommand itself does not count. - If you see signs of infection: install the security firmware for your exact model — KVM: version 1.10.3 or later (RM10, RM1, RM1V2, RM1PE, RM4PE), 1.10.3 beta or later (RM10RC), 1.8.7 or later (RMQ1); router: the latest stable release. Or restore factory settings. Preserve evidence before resetting, and do not restore the old configuration as-is — malicious files can sit in the configuration folder and survive a normal firmware upgrade.
- If the check finds nothing: still install the latest stable firmware for your exact model. The vendor's check instructions may not detect every infection.
- If a KVM is infected, check the connected computer too: review for strange programs, browser extensions, user accounts, startup entries, scheduled tasks and unusual network activity; run a full scan with updated security software.
- Rotate passwords and access keys that may have been exposed through the infected device.
- Don't wait for GL.iNet's email before acting — the company says it will email each customer identified as affected, but everyone should check for themselves now. The community has developed a scan/clean tool that GL.iNet links in its official guidance; the tool checks more deeply (known malware files, suspicious processes, modified system utilities) but its own author warns it cannot detect every infection.
Nguồn tham chiếuSource: BleepingComputer


