Catching Ransomware on the Wire Before File Servers Are Locked
Corporate networks commonly store sensitive files on shared servers, which users access via mapped network drives. This setup, while convenient, presents a significant target for ransomware operators. A single compromised laptop can initiate file encryption across the network, with the malicious activity traveling as ordinary file-sharing traffic. Traditional endpoint detection tools often fall short in this scenario because they monitor the machine they run on, and the server itself performs little of the visible work during a remote encryption attack.
To counter this, a team from La Trobe University in Melbourne has devised a detection method that operates directly on the network wire. Their framework is designed to read Server Message Block (SMB) traffic, the protocol widely used by Windows for file sharing. By analyzing the patterns of operations within this traffic, the system can flag ransomware activity.
The researchers' methodology involves identifying specific fingerprints left by different ransomware families, such as the characteristic size of dropped notes. Traffic that passes these initial checks is then fed into a machine learning model, specifically a Random Committee classifier, trained to detect ransomware families that might bypass signature-based detection. This model demonstrated an impressive accuracy of about 99.6% on their test data, successfully catching every ransomware sample in their evaluations while maintaining a low rate of false positives.
A key advantage of this framework is its ability to raise an alarm early in the attack chain. Even with a short window of activity near the beginning of an attack, the system achieved an accuracy of 99.44%, indicating its effectiveness in proactive detection. The team captured various network-encryption tools and bulk file operations, noting that these actions, which involve bursts of new files and heavy writes, leave a similar trace to ransomware.
While promising, the current data was derived from a single testbed environment with one client and one server, suggesting that further validation across diverse production networks is needed. The team has also offered a server-side script to report file and directory counts, allowing for feature adjustments based on the specific environment, a step they acknowledge still requires proof at scale.
Read original source