DRYHOOK
Infostealer · Linux, Network Devices
What is DRYHOOK?
DRYHOOK is a malicious Python script categorized as an infostealer. Its primary function is to capture and exfiltrate sensitive login credentials from compromised systems. The malware is specifically designed to operate on Linux operating systems and various network devices. By running this script on a targeted machine, unauthorized parties gain the ability to harvest private information that may be used to access secure accounts or internal networks.
This threat primarily affects users, organizations, and administrators who manage Linux-based servers or networking hardware. You can reduce the risk of infection by ensuring that all system software and network device firmware are kept up to date with the latest security patches. It is also important to restrict administrative access to necessary personnel and monitor your systems for any unauthorized scripts or suspicious processes. Maintaining strong, unique passwords for all accounts further limits the potential impact if credentials are stolen.
Summary written with AI assistance from the sources listed on this page. Check the original sources for full technical details.
From MITRE ATT&CK
DRYHOOK is Python script used to steal credentials. DRYHOOK was first reported in January 2025, and has previously been leveraged by People's Republic of China (PRC) state-affiliated threat actors identified as UNC5221 and SYLVANITE.
How to protect yourself
Keep the operating system and applications updated, run a real-time antivirus, and be careful with email attachments and downloads. If you think a device is infected, follow our guide on removing malware and learn more about infostealer.
Techniques used
11 ATT&CK techniques, grouped by attack stage.
Questions about DRYHOOK
What is DRYHOOK?
DRYHOOK is a infostealer that targets Linux, Network Devices. DRYHOOK is Python script used to steal credentials. DRYHOOK was first reported in January 2025, and has previously been leveraged by People's Republic of China (PRC) state-affiliated threat actors identified as UNC5221 and SYLVANITE.
How do I remove DRYHOOK?
Disconnect the device from the network, run a full scan with an up-to-date antivirus and a second-opinion scanner, then change your passwords from a clean device. For servers and business networks, involve your IT or incident response team, because this kind of malware is often part of a wider intrusion.