Security Measurements

Computer Security is an elusive concept; While it is a core-requirement of dependable digital infrastructure, it remains difficult to pinpoint what exactly makes systems secure. The concept has countless different facets, and building actually secure systems is difficult, while the existing threat landscape often seems overwhelming.

In our group, we use large scale network measurements to bring light to this issue. We leverage our intricate knowledge of existing protocols and implementations to find new ways of identifying and tracking attacker behavior on the Internet. Our work covers advances in long-standing matters, e.g., finding new ways to identify compromised SSH servers, as well as work on emerging challenges, e.g., finding ways to perform security scans and asset discovery on IPv6 networks.

SSH Public Key Scan-search for Compromised Hosts in the Wild:

Attackers regularly use SSH to compromise systems, e.g., via brute-force attacks, establishing persistence by deploying SSH public keys. This ranges from IoT botnets like Mirai, over loader and dropper systems, to the back-ends of malicious operations. Identifying compromised systems at the Internet scale would be a major break-through for combatting malicious activity by enabling targeted clean-up efforts. In this project, we present a method to identify compromised SSH servers at scale. For this, we use SSH’s behavior to only send a challenge during public key authentication, to check if the key is present on the system. Our technique neither allows us to access compromised systems (unlike, e.g., testing known attacker passwords), nor does it require access for auditing. With our methodology used at an Internet-wide scan, we identify more than 21,700 unique systems (1,649 ASes, 144 countries) where attackers installed at least one of 52 verified malicious keys provided by a threat intelligence company, including critical Internet infrastructure.

Furthermore, we find new context on the activities of malicious campaigns like, e.g., the ‘fritzfrog’ IoT botnet, malicious actors like ‘teamtnt’, and even the presence of state-actor associated keys within sensitive ASes. Comparing to honeypot data, we find these to under-/over-represent attackers’ activity, even underestimating some APTs’ activities. Finally, we collaborate with a national CSIRT and the Shadowserver Foundation to notify and remediate compromised systems. We run our measurements continuously and automatically share notifications.

Our tool detects malicious SSH keys by sending authentication challenges without accessing the compromised systems or requiring audit-level privileges. This approach ensures a non-intrusive and ethical method for assessing exploited SSH servers.

Distributed Reflection Denial of Service:

Distributed reflection denial of service (DRDoS) attacks are a well-known variation of distributed denial of service (DDoS) attacks that rely on bouncing traffic off third-party systems (reflectors) to amplify the size of messages sent to victims. Reflection attacks leverage connection-less protocols, most prominently UDP (User Datagram Protocol). A honeypot allows attackers to interact with a seemingly compromised or vulnerable system that will store any interaction for later evaluation of attacker behavior. Our work uses data collected from honeypots with the goal of better understanding how attackers interact with reflectors. The characterization of DRDoS attacks has received attention in the research literature, leveraging both data collected by honeypots and traffic flows observed at Internet exchanges. So far, however, the geolocation of attack victims has been taken into account only superficially. This work bridges this gap, comparing and contrasting DRDoS attacks across different continents and countries. We present an evaluation from data collected by four honeypots over four years. This evaluation considers the characteristics of the attacks observed, the particularities of some attacks, and what type of payload attackers use. Our objective is to ascertain differences among attacks when considering the geolocation of victims. This dataset also enables us to investigate how attackers interact with reflectors, and how such interactions vary according to the location of victims.

Fifteen Months in the Life of a Honeyfarm:

Honeypots have been used for decades to detect, monitor, and understand attempts of unauthorized use of information systems. Previous studies focused on characterizing the spread of malware, e.g., Mirai and other attacks, or proposed stealthy and interactive architectures to improve honeypot efficiency.

In this research, we present insights and benefits gained from collaborating with an operational honeyfarm, i.e., a set of honeypots distributed around the globe with centralized data collection. We analyze data of about 400 million sessions over a 15-month period, gathered from a globally distributed honeyfarm consisting of 221 honeypots deployed in 55 countries. Our analysis unveils stark differences among the activity seen by the honeypots-some are contacted millions of times while others only observe a few thousand sessions. We also analyze the behavior of scouters and intruders of these honeypots. Again some honeypots report orders of magnitude more interactions with command execution than others. Still, diversity is needed, since even if we focus on the honeypots with the highest visibility, they see only a small fraction of the intrusions including only 5% of the files. Thus, although around 2% of intrusions are visible by a majority of the honeypots in our honeyfarm, the rest are only visible to a few honeypots.

Malware is recognized as one of the most severe cybersecurity threats today. Although malware attacks are as old as the Internet, our understanding of which part of the Internet infrastructure is used to distribute malware software is still rather limited. In this work, we analyze more than 3 million sessions established with honeypots deployed in 55 countries that are associated with the download and execution of malware binaries. We identify two main tactics to load malware to infected machines: injection of malware by hosts initiating the connection (clients) and downloading malware from third parties (loaders). The latter tactic contributes to more than 80% of this class of sessions but involves a smaller number of cloud and content delivery servers with very different profiles than that of the clients.

Our analysis also shows that it is not uncommon for different malware families to rely on the same hosting infrastructures for downloading malware. Further investigation into the code executed to download and activate malware shows that criminals tend to hide their traces by deleting their history and modifying logs and files on the compromised machines.

We continue our analysis of data collected from a large-scale honeynet over a three-year period, shedding light on gradual shifts in attacker behavior. Our findings suggest a trend toward more exploratory attacks, with indications that attackers are increasingly moving beyond the blind execution of scripts. We observe changes in techniques as new bots appear with unique methods and established botnets modify their approaches over time. Furthermore, attackers have adopted a more scouting approach in recent months, showing increased adaptability in their tactics. Additionally, there is a clear preference for utilizing recently registered ASes as storage locations for malicious files.

Our findings also suggest that attackers are increasingly aware of honeypot presence. Some attackers actively search for these traps, while others exploit honeypots for their own purposes, underscoring the need for a new generation of more advanced honeypots. Lastly, we conduct a detailed investigation into one of the most prevalent attacks, challenging existing assumptions about the attacker’s identity. By correlating honeypot data with multiple external sources, we reveal potential links to state-sponsored actors and ongoing geopolitical events, providing critical insight into the broader context of SSH based cyber threats.

Unveiling IPv6 Scanning Dynamics: A Longitudinal Study Using Large Scale Proactive and Passive IPv6 Telescopes:

The advent of IPv6 has posed significant challenges to the detection and analysis of Internet scanning activity. This work addresses these challenges through novel techniques, unique vantage points, and comprehensive datasets. Our longitudinal analysis reveals a significant and sustained increase in IPv6 scanning activity over the past two years. We introduce new tools and vantage points that leverage proactive techniques to attract IPv6 scan traffic. By deploying the largest-ever IPv6 proactive telescope in a production ISP network, we collected over 600M packets of unsolicited traffic from 1.9k ASes in 10 months. This dataset allowed us to characterize the sources of unsolicited traffic, evaluate the effectiveness of five major features across the network stack, and study the strategies employed by scanners.

Investigating Domain and IPv6 Internet Scanning:

Humans are not the only entities browsing the Internet. In addition to visits from actual people, Websites also receive a myriad of traffic from automated Web crawlers. The intentions behind such bots vary: while some of them are run by benign companies or researcher who index or study the web, many others belong to malicious actors scanning for vulnerable sites to exploit. A comprehensive understanding of how and why such web crawlers operate therefore provides important insights into potential security threats on the web and opens up avenues to protect against them. Trough this research project, we seek to obtain a comprehensive view of the Web crawling landscape, shedding light on both crawlers’ behavior and intentions. We plan to deliberately attract a large number of diverse crawlers be systematically exposing domain names in various publicly accessible domain sources. We can then subsequently analyze the requests sent by these crawlers, allowing us to study both how they find targets, and what they are scanning for. The domain sources we want to utilize for this are: (1) TLD Zone Files; (2) The Tranco Top 1M List; (3) CT-Logs; and (4) Web pages on the Internet.