•Malicious software
In many cases, the purpose of social engineering is to install malicious software, also
known as malware, on a device to provide an advantage to an adversary. Sometimes the
purpose is to cause damage to a target system or to spy on the end user. Ransomware
is increasing in popularity because it is generating direct revenue for attackers, unlike
stealing credentials where the theft itself is only part of the chain necessary for an attacker
to monetize their exploits. There are many types of malicious software. Some of the major
categories are as follows:
• Viruses
• • Worms
• Trojans
• • Ransomware
• Spyware
• Many people get confused by the differences between similar malicious software types.
• Let's start with viruses.
*Viruses-
Computer viruses get their name from their ability to spread from one infected host to
another, normally on the same network. They are designed like biological viruses to be as
transmissible as possible. Like many biological viruses, the most dangerous among them
are the ones that lay dormant and replicate before causing noticeable damage. Computer
viruses are designed to either cause damage or steal information. Many years ago, viruses
were often used to cause damage for no apparent purpose. Modern viruses are designed
to steal data or destroy systems. Different threat actor groups are likely to use different
types of malicious software to accomplish their goals. Hacktivists and governments may
use viruses to destroy systems. Criminal groups are more likely to use viruses that steal
data so they can sell it for a profit or ransomware so they can extort victims directly. A key
characteristic of a virus is that it needs activation from a host. As a result, a virus must be
paired with a social engineering technique to be effective. While often conflated, worms
are different from viruses.
*Worms-
Worms are like viruses in their aims but are far more sophisticated. A worm can replicate
itself and infect other systems on a network without a user doing anything. Worms only
need to breach one system on a network and can compromise all other connected systems.
Worms can be extremely powerful and are often used by nation-state actors. One of the
most famous worms, Stuxnet, was used to disrupt Iran's nuclear program. You can read
more about Stuxnet in an example case in Chapter 3, Anatomy of an Attack, detailing the
operation. While worms are often more sophisticated and damaging than viruses, there
are successful worms available for sale on the dark web. As a result, an unsophisticated
attacker with resources can launch this advanced capability against unsuspecting victims.
While worms and viruses often seek to exploit systems as soon as they can do so, trojans
are a type of malicious software that are designed to remain undetected.
*Trojans-
Trojans get their name from the story of the trojan horse. A trojan is a piece of malicious
software masquerading as a legitimate piece of software. To work properly, a trojan
must have two sides. One side is the legitimate software that must function properly
for someone to keep it installed. The other side is the malicious side, which allows the
attacker some level of access to the machine. An example would be a game that a user
could download and install. They would be able to play the game and it would work, but
the software would also be providing remote access to an attacker. This type of trojan is
commonly called a Remote Access Trojan (RAT).
Other types of trojans lay dormant until activated by an attacker. An example would be a
Distributed Denial of Service (DDoS) attack. A DDoS attack occurs when an attacker
coordinates many machines that flood a target system with a large volume of illegitimate
requests, so it does not have the capacity to service legitimate requests. To successfully
launch such an attack, a bad actor must be able to access a large number of machines on
command. Trojans offer the ability for attackers to create these types of networks, often
referred to as a botnet. Some attackers will use trojans to build a botnet and then sell or
lease the network to other bad actors to monetize their attacks. Botnets can be used for
many types of attacks, such as credential-stuffing attacks, in addition to DDoS attacks.
Next, let's talk about a malicious software type that often makes headlines, ransomware.
*Ransomware-
Ransomware can be delivered as a virus or a worm, but it has become popular enough that
it warrants its own section. Ransomware is designed to hold files or systems for ransom
to demand payment from a victim. Often, it works by encrypting as many files as possible
and demanding ransom in exchange for the decryption key. If the ransom is not met
within a specific period, the files will be destroyed.
Ransomware has become popular largely because it is profitable and people are paying
the ransom. Ransomware groups have even dedicated resources to providing technical
support and ensuring that when victims pay the ransom, their files are restored. If
the victim believes they are doomed regardless, they are less likely to pay. As a result,
ransomware groups guard their reputation carefully. Unlike ransomware, spyware is
installed to collect information rather than to extort the victim.
*Spyware-
Spyware is designed to steal information and monitor activity rather than cause harm to a
system or explicitly steal data. An example is a keylogger. A keylogger creates a record of
everything you type on a keyboard for the purposes of finding information that could be
valuable to an attacker, such as a password or credit card number.
Spyware can also be used for industrial and state-sponsored espionage. Spyware is often
covert and designed to use as few resources as possible to remain undetected for as long as
possible. Think of spyware as the computer equivalent of a bug or listening devices from
decades past.
Now that we understand malicious software types, we will discuss the types of insider
threats. We will start with the largest population, well-meaning insiders.
*The three types of insider threats
Inside an organization, there are three basic human profiles. First, well-meaning insiders
are people trusted by the organization to perform a function and are attempting to
do so. Either for the sake of expediency or by error, those people can often expose the
organization to unnecessary risk. Second, trusted insiders can become compromised
through social engineering tactics, such as phishing, and someone outside the
organization may be masquerading as them. These compromised accounts can lead to
major data breaches and damage. Third, there are malicious insiders. These people are
trusted and likely started as well-meaning insiders, but at some point became malicious.
In some cases, the employees are bribed by outside actors. In other cases, they are
frustrated by real or perceived slights by the organization. Regardless, their knowledge of
the environment and privileges makes them very dangerous.
First, we will discuss well-meaning insiders.
*Well-meaning insiders
Most users in an organization are simply trying to do their jobs within the confines of
acceptable behavior. Supporting well-meaning insiders is an important function of any
effective information security program. The first way that well-meaning insiders expose
data or systems is by making simple mistakes.
*Mistakes leading to exposure
The first category of risk attributable to well-meaning insiders is a simple mistake.
One common mistake is sending the right information to the wrong person. For example,
you may have a John.Smith@abccompany.com and a John.Smith@xyzcompany.
com in your email address book. Since they have the same exact name until you get to
the company name, a person may mistakenly attach ABC company's information to
XYZ company's email. Doing so would be considered a data breach, but one that was
purely accidental. Another common mistake is sending an Excel spreadsheet where the
sensitive data is hidden but not entirely removed, so if the recipient or someone who
intercepted the message unhid the rows or tabs, they would be able to access
information inappropriately. Tools such as Data Loss Prevention (DLP) and secure email
gateways offer capabilities that help prevent these types of mistakes from causing harm to
the organization.
Outside simple mistakes, many large-scale data breaches happen because of
misconfigurations. In many cases, the person configuring the systems has not been
properly trained.
*Challenges with new technologies
Another common mistake people make is misconfigurations due to gaps in knowledge
around solutions they are managing. In many cases, the adoption of new technologies
happens faster than an organization's ability to retrain its staff on these new technologies.
In many cases, cloud configurations feel familiar to network administrators but have
significant differences, as noted in the following example case related to Alteryx. Issues
related to the shared security model are important for cloud administrators to understand.
With the skills gap in security, it is important to offer training opportunities for existing
team members as technologies change. Unfortunately, many professionals are put into
situations where they are asked to perform high-risk functions without the proper
training and support.
*Case: Alteryx
Alteryx is a technology company that builds software to power data science
and analytics. Because of the nature of their business, Alteryx has information
belonging to most American households. Collection of personal information for
the purpose of analytics is one of the practices that the General Data Protection
Regulation (GDPR) in the European Union and the California Consumer
Privacy Act (CCPA) seek to regulate. The massive Alteryx data breach is one of
the major reasons why regulations such as GDPR and CCPA exist.
Alteryx accidentally exposed information that belonged to 123 million of the
estimated 126 million households in America. If you live in America, there is a
97.6% chance that Alteryx made your sensitive information publicly available, but
most Americans do not know who Alteryx is or did not provide the information
directly to Alteryx. How did Alteryx gather the information before the breach?
They purchased it from Experian so they could analyze the information. Most
people also did not voluntarily give their information to Experian. Credit
monitoring agencies have historically had the ability to collect information
about individuals without their consent and then sell it to third parties without
notification. When organizations collected and curated information about people
in the past, it was common practice for them to resell that information to other
parties who may wish to use it, often without the knowledge of the data subject.
Cases such as Alteryx have made it popular to allow consumers to make their
own choices with respect to who has their information.
The information involved in the Alteryx breach was stored in a popular cloud
platform, Amazon Web Services (AWS). AWS is an Infrastructure as a Service
(IaaS) platform where companies can rent space and processing power. For
analytics companies such as Alteryx, renting high-powered computers or server
farms on-demand is simpler and more cost effective than building large data
centers filled with powerful servers sitting idle most of the time. The problem is,
security controls for AWS are different than on-premises systems, and the people
who work with AWS must be trained to secure the environment properly. The
good thing about the cloud is the data is accessible from anywhere. The bad thing
about the cloud is the data is accessible from anywhere. As a result, if it is not
secured properly with techniques such as access control, it can be accessible to
anyone. That is exactly what happened in the case of Alteryx.
Fortunately, Alteryx's mistake was discovered by a security researcher, not a
criminal (that we know of), and quickly corrected. In fact, "Chris Vickery, the
director of cyber risk research at cybersecurity start-up UpGuard, discovered the
data Oct. 6 on Amazon Web Services, or AWS" (Lien, 2017). Mr. Vickery and
UpGuard should be applauded for finding this vulnerability and making Alteryx
aware of it. However, it is difficult to know for sure if anyone else accessed the
information before the vulnerability was reported to Alteryx. Technology is
changing quickly. It is critical to ensure employees are trained properly when
working with new technologies and safeguards are put in place to ensure an
individual mistake cannot cause a large-scale data breach.