"In the case of compromised webmail accounts, it is not uncommon to find password reset links, financial information, and authentication credentials of other online accounts inside such webmail accounts. This makes webmail accounts particularly attractive to cybercriminals, since they often contain a lot of sensitive information that could potentially be used to compromise other accounts."Compromised webmail accounts certainly present attackers with a number of possibilities. But do those bad actors seize any of those opportunities? How do computer criminals leverage webmail accounts once they've been compromised? Do they prefer to abuse them for certain purposes over others? Those same questions intrigued Onaolapo, Mariconti, and Stringhini, so much so that they came up with an experiment of their own design in an attempt to answer them.
It Takes Some Honey to Observe a Computer CriminalIn an effort to understand what happens to compromised webmail accounts in the wild, the three researchers crafted an experimental infrastructure made up of two parts. The first part consisted of 100 dummy Gmail accounts. To make the accounts appear legitimate, the team populated them with emails they obtained from the Enron email dataset. They then modified all employee names and business information to make it seem like the accounts belonged to a fictitious company. Once they finished setting up those "honey accounts," as they called them, the researchers embedded scripts based on the Google Apps Script into them, tools which allowed the researchers to receive notifications of account activity such as when someone created a draft or opened a message. Onaolapo, Mariconti, and Stringhini also wanted to understand how attackers use webmail accounts stolen via malware. For that purpose, they designed the second part of the experiment: a malware sandbox infrastructure through which they supplied honey credentials to virtual machines (VMs). Those VMs triggered the malware, a process which automatically exfiltrated the webmail account credentials to command and control (C&C) servers under attackers' control. There's a lot that could have gone wrong with this experiment. The researchers foresaw some of those scenarios and subsequently accounted for them in their infrastructure's design:
"To prevent the honey accounts from sending spam messages while under the control of cybercriminals, we configured them to send all outgoing email messages to a mail server under our control. We also configured the mail server to simply dump the emails to disk, without forwarding them to the intended destination (as a normal email relay server would do). In addition, we imposed bandwidth and traffic restrictions on the malware sandbox infrastructure (described earlier) following best practices, to ensure that the infected VMs could not be used for harmful purposes, for instance, denial-of-service attacks. Finally, we obtained ethics approval for the experiments from our institution (UCL)."With those safeguards in place, Onaolapo, Mariconti, and Stringhini leaked the webmail account credentials to paste sites and forums as well as leveraged the VMs to simulate an information-stealing malware infection.
- Computer criminals that interacted with the honey accounts generally exhibited at least one of four behavioral types: Curious (accessed the accounts to see if they were real), Gold Digger (searched the accounts for sensitive information), Spammer (leveraged the accounts to send spam), and Hijacker (changed the accounts' login credentials).
- Criminals who obtained the accounts via malware outlets or paste sites went to more lengths to conceal information about themselves than those who found the accounts on forums. Some concealed data about their browsers, for example.
- Whenever they provided location information about the accounts, such as a claim that they originated from users located near London, the researchers noticed attackers accessing the accounts from locations that were close in proximity. Attackers pulled off that feat using proxies to evade raising a red flag with anomaly detection systems employed by webmail service providers.
ConclusionUsers have much to lose when someone compromises their webmail accounts. As the researchers point out:
"If they [the attackers] are able to obtain additional information about the victims, they can mount more effective attacks against such victims. For example, it is possible to obtain additional information about victims through online social networks. With the help of such information, they can then connect to the compromised accounts via proxies in a bid to appear close to the locations from which the victims usually connect to their accounts (to fool login anomaly detection systems)."That's why users should protect their webmail accounts with a strong, unique password. They also implement two-step verification (2SV) whenever it's available, as doing so will protect their accounts even if a bad actor somehow obtains their login credentials. For more information about Onaolapo, Mariconti, and Stringhini's experiment, please read their full paper here (PDF).