Emerging Topics
In this chapter:
-
AI and cybersecurity
-
Blockchain and virtual currencies
-
Offensive cyberwarfare
-
Quantum computing and cryptographic security
In this chapter we raise some issues emerging in the field of computer security. By “emerging” we mean that these areas are starting to be recognized outside the security community, although we do not mean there are solutions or even approaches to the attendant security problems. Instead, we raise these as interesting topics to watch over time. In this chapter we discuss the impact of artificial intelligence on cybersecurity, rise of blockchains and virtual currencies (also known as cryptocurrencies), and use of computing to pursue offensive cyberwarfare. We also preview quantum computing, a technology that, although still in its infancy, could have profound impact on cryptography.
These are not new issues. A conference held at Dartmouth College in 1956 is taken as the modern origin of artificial intelligence; since then, researchers have tried to apply the principles of machine learning to addressing computer security problems. Similarly, the cryptography to support blockchaining and virtual currencies is not new; in the 1980s David Chaum [ CHA82 , CHA85 ] described the basic cryptographic protocols on which assured but untraceable payments are based. What is new is the speed of computers, the capacity of storage, and the ubiquity of networking that underlie blockchaining and support public authentication of a ledger of transactions.
As introduced in Chapter 1 , Willis Ware [ WAR70 ] and James P. Anderson [ AND72 ] wrote reports in the early 1970s asserting the need to safeguard national military and political data. Almost from the beginning, computer security was called on to defend important military and diplomatic secrets, in a type of cat-and-mouse game of adversary against defender. The stakes of the game and the available weaponry have changed over time.
This cat-and-mouse game is not the only mode of security that we now have to consider. As digital technology has become ubiquitous and used to deliver many essential and statutory services, computer and network security is also needed to enable people to access the services to which they are entitled. This makes for a tension between protecting digital technologies and services from attack and enabling universal access. We see this tension play out in the topics we examine in this chapter.
What brings a topic to this chapter is that it is unsettled: No consensus exists on how far to let these topics proceed. Should there be regulation? If so, of what kind? You may very well be engaged in the research in those areas. Are there research directions technologists should not pursue? What promising approaches should be encouraged right now? Consequently, we introduce several subjects and note some of the questions that have arisen. But we do not try to answer these questions now because it is too early for answers. More understanding is needed, and we hope some of you, our readers, will take up these challenges, improve that understanding, and perhaps even devise effective policies and techniques over time.
As with many earlier security issues, technology and functionality are advancing at a rapid pace. As we have seen in earlier chapters, security concerns may not rise to the attention of the general public until there is a serious security issue, by which time the ability to integrate security techniques into the domain will have passed or been made far more difficult than building in security from the beginning. In other words, past experience with securing emerging technologies does not inspire confidence. We hope this pattern will change, and that you, as current and future security professionals, can work to see that security is addressed early, as technology evolves.
13.1 AI and Cybersecurity
Artificial intelligence ( AI ) enables computers to make decisions in a human-like way. Algorithms are designed to use data from the surrounding environment, from the interactions the algorithms experience, and from the data specifically directed to them to make decisions. AI is shaping societies, our relationships with government and other service providers, and the ways we both see and are seen by others in digitally mediated environments. Increasingly, AI is used to determine who does and does not get to access core services central to our welfare. AI affects our relationships with government and other service providers through the AI-driven personalization of these services that determines the usefulness of the service and the functions shown to us.
Increasingly, AI determines what services we receive from government and businesses.
AI also affects how we and others are projected online; digital platforms, apps, and algorithms introduce us to people with whom the algorithms believe we have shared interests, determine to whom our profile and work is displayed, and dictate which of our web-published activities are promoted. AI fundamentally changes the nature of civic engagement by making computers active participants in how our businesses, criminal justice systems, healthcare and education systems, and governments are run; replacing parts of the workforce; and giving older technologies new decision-making capabilities. The decisions that algorithms make raise questions about fairness, justice, equality, and digital responsibility in society.
AI and cybersecurity interact in a number of ways. AI is part of the access control and authorization mechanisms that allow or deny access to digital services and technologies. AI assists in security management of data and technology and is particularly suited to assisting in the management of complex systems such as cloud computing. AI also plays an increasing role in our threat landscape through the intentional and unintentional misuse and mis-design of autonomous algorithms.
AI-Based Decision Making
We should begin by considering how we and most other people use words. We often say that a computer algorithm “makes decisions.” Traditionally we would make the point that a computer following an algorithm merely computes, assembles data, and highlights connections; any decision making is the responsibility of humans who design and execute that algorithm. However, as computational power increases, organizations increasingly defer to algorithms to determine and execute strategies and tasks [ SCH17 ]. The tendency to defer to algorithms is driven by two important changes.
First, the increasing speed of computers and their data storage capacity have allowed computations far more complex and based on far more data than ever before possible. This means that human decision makers are being presented with analyses based on deeper and broader work that is far beyond what any human could assemble, let alone analyze. Not only might this mean that humans can be tempted to accept the work of the computer, but also that organizations design processes where the results of computational analysis are used in lieu of human decision making. Increasingly, efficiency savings and lack of human resources push organizations toward relying on computational analysis for day-to-day decisions. For example, computer programs can be used to decide whether welfare applicants are eligible for payments. A computer manages the workflow from the submission of the payment application to the determination of the welfare payment amount and payment of that amount, with human intervention occurring only if an anomaly is raised or a complaint lodged. Thus, in many instances, the computer derives and finalizes a judgment with no human participation or review.
The other important change is in the nature of AI: The algorithms are constantly evolving. An output derived today might not be the same as one from yesterday because the algorithm has adapted based on a day’s experience and additional data. Here, again, people are tempted to defer to the computer that is continually learning and, supposedly, improving the quality of its analyses. Learning from our mistakes is a human characteristic, and a good one at that, so users of AI are inclined to trust that the computer keeps getting better. For these two reasons, humans defer more to the results of computers and struggle with how to interrogate or substantiate the determinations that result. Although strictly speaking it may not be entirely correct to say that a computer is “making a decision,” it is clearly the case that many humans with decision-making responsibility accept without question what the computer proposes.
AI algorithms—and the decisions they yield—are constantly evolving.
AI and cybersecurity intersect in several ways. AI provides attackers new ways to manipulate systems (adversarial AI) but also provides defenders with more possibilities to gather intelligence about potential attacks, detect potential attacks, and automate the response (AI-driven security management). Such technologies herald a data-driven approach to cybersecurity. Numerous data driven tasks ensue [ SAR20 ]:
-
Gathering and analyzing data
-
Reducing the volume of data that needs to be forwarded for further analysis; summarizing data
-
Extracting insights and patterns from data
-
Automating security management models based on dynamic data analysis
-
Targeting security alerts based on the knowledge and insights gained about patterns of behavior, and minimizing false security alerts
-
Optimizing resources to meet security goals
These tasks can be undertaken at speed and on large data sets, precisely the strength of computing and AI, by attackers and defenders alike. Precisely this duality leads to some of the main controversies in this area. Given that tools developed in this area can be used to both attack and defend at considerable scale and speed, the question arises as to whether and how such tools can be regulated and how we can ensure that using such tools has the effect we intend and nothing more.
AI-Driven Security Management
AI-driven cybersecurity is a collection of techniques including machine learning, deep learning methods, natural language processing, knowledge representation and reasoning, combined with rule-based expert systems [ SAR21b ]. In the traditional model of security management, a few security specialists analyze data with the help of security controls that regulate access at the perimeter of security domains. That model treats data and its security as a static object, one that can be isolated and examined. This static approach does not scale well in an environment where there are many sources of data, where the data change constantly, and where the security perimeter is either not clear or nonexistent.
AI-driven cybersecurity has the potential to increase the intelligence of security management responses by independently learning about human behaviors and practices. Automated examination of patterns of human and machine practice seeks to identify practices that indicate risky or malicious behaviors. This capability, for example, enables the detection and immediate response to malware and identifies potential bot misbehavior. It can also pinpoint areas of human noncompliance that can indicate the need for further investigation or a change to awareness programs. AI-driven security management is particularly promising when it comes to carrying out the initial analysis on data feeds, sorting alerts, categorizing alerts and alarms, and automating initial or simple responses. As described in Chapter 6 , network security devices such as firewalls and intrusion detection systems increasingly use AI approaches to identify potential malicious behavior and even learn new harmful activity as it develops.
AI is particularly good at deriving and applying patterns.
Plugging the Capability Gap
One controversy emerging from AI-driven security management is the extent to which AI can and should be used to plug capability gaps. AI can potentially undertake security management tasks such as checking and correcting access permissions on data and categorizing alerts. This capability is seen by some as a potential response to the cyber skills gap because it allows a computer to deal with the more mundane tasks of checking and correlating, thus leaving the human workforce free to address issues requiring human wisdom. It remains to be seen whether AI can successfully provide the decision-making capability needed for such tasks. Another concern is that using AI in this way will exacerbate the gap between those organizations that can afford such capabilities and those that cannot.
In the last decade organizations have implemented an ever-wider array of devices, implementing sensor technology and cyber–physical systems as well as becoming more reliant on supply chains and third parties to deliver products and services. Think, for example, of the amount of video obtained by surveillance cameras. The digital estate for many organizations has therefore grown exponentially, and with it the number of data feeds that have to be examined. With the explosion in data inputs comes a similar and potentially unmanageable growth in the attack surface. AI-driven security management is called on to process these large data feeds and use them to create intelligence on people’s security-related behaviors and practices.
To an extent these AI-driven security management capabilities can be used to supplement first- and second-line support in security operations. This helps larger organizations to automate security support intelligently and plug the gaps in smaller teams.
AI-driven security management also potentially enables an organization to augment its anti-malware controls. These controls typically use a signature database, which means that newest viruses have not been registered yet. By contrast, AI can be used to monitor the patterns of behavior and detect incipient attacks that might be too subtle for humans or existing anti-malware controls to notice.
Knowledge and Learning Models and AI-Driven Security Management
AI-driven security management includes machine learning to analyze combined collections of historical cybersecurity data, isolating patterns of security behaviors by both people and machines. Such patterns of misbehavior might indicate security incidents that otherwise would go undiscovered or could highlight precursors to security incidents. By being able to combine a range of data sources, such learning techniques are better able to uncover complex patterns and match the ability of attackers to connect disparate weaknesses in a system to build an attack path.
AI may be able to discover complex attack patterns from a wide range of data sources.
Traditional security technologies, such as intrusion detection, and perimeter controls, such as firewalls and routers, use custom-written rules or manually defined heuristics to identify anomalies [ SAR20 , RUM20 ]. Such approaches take considerable manual effort to ensure that they remain up to date and effective, and there is a limit to the range of patterns of behavior that can be detected in this way. Sarker [ SAR20 ] describes a security model for machine learning as a collection of security-related audit logs of machine, application, algorithmic, and human behaviors analyzed using algorithms to identify behaviors that might indicate phishing attacks, malware, or malicious insider attacks.
Machine Learning Methods
Several types of machine learning methods, including deep learning methods, are often incorporated in an AI-driven cybersecurity model.
Machine learning uses structured, labeled data to derive predictions. This means that humans must identify and categorize specific features of the input data. The input data might not initially be labeled with these features and must be pre-processed so that they are structured before the algorithm processes the data.
By contrast, deep learning does not require its data to be pre-processed to the same extent. Instead, deep learning algorithms take unstructured data and extract features as part of the algorithmic processing; essentially, deep learning clusters the data into similar groups, imposing structure on the unstructured data set. Deep learning can be used to detect network intrusions, identify and classify malware, and locate backdoor attacks. For example, deep learning is being used by voice-enabled digital assistants that develop an understanding of their users’ voices, sentence structures, favorite categories, and correct responses. As deep learning progresses, a virtual assistant may be able to suggest without being prompted, which offers both promise and peril in security enforcement.
Machine learning and deep learning rely on different types of processes, usually termed supervised and unsupervised learning. Supervised learning can be used in task-driven approaches. It uses labeled data sets in which the features of the data have been pre-identified. This approach is useful for anticipating future events from patterns of data. For example, supervised learning methods can be used to detect denial-of-service attempts. It might do this by using data structured with pre-specified features such as source IP address, web request, and web request format. In this example, the algorithm is trained to learn the web request frequency and format that indicate a denial-of-service attempt. Training takes place using a training data set to build a model of the structure of a denial-of-service attack and then uses a test data set to test the model. Ford and Siraj [ FOR14 ] examined the use of machine learning in anti-phishing methods to evaluate six machine learning classifiers. They demonstrated that some classifiers are more accurate than others, and the accuracy of the classifier is important for the effectiveness of the machine learning algorithm that will be making predictions from the input data.
By contrast, unsupervised learning methods are able to work with data that have not been pre-labeled; for this reason, the data are called unstructured. Such learning methods can identify patterns from the data. For example, such a method can cluster users of a particular application and identify data they are likely to access. Ford and Siraj [ FOR13 ] used clustering, one of the most common unsupervised learning techniques, to identify patterns of smart meter usage and link a pattern with a particular energy user. Clustering smart meter usage in this way enables utility providers to identify potential energy fraud when energy consumption deviates abruptly from the standard pattern of consumption for that user.
Natural Language Processing
Machine learning is not the only type of modeling that AI-driven security management uses. Natural Language Processing (NLP) is also an important technique because it enables computers to understand and interpret human language. This ability makes NLP particularly powerful when analyzing unstructured data sets. NLP has a lexical analysis capability that breaks up text into smaller structures such as keywords and identifiers. Such identification enables terms to be classified. For example, terms might denote certain types of maliciousness. In addition to lexical analysis, NLP also offers syntactic analysis that enables analysis of text according to grammatical rules, such as identifying subjects, verbs, and objects and distinguishing commands from queries. Such a capability enables fast extraction of useful data from a large body of unstructured text. Finally, NLP also offers semantic analysis, which derives the context and perception of words and how sentences are structured. Sarker and colleagues [ SAR21a ] give the following examples of NLP-based security modeling:
-
Malicious domain name detection: to identify malicious domain names in DNS traffic using NLP’s text classification capabilities to identify words and combinations of words that are often used to name malicious domains.
-
Phishing identification: to detect phishing attacks. NLP techniques are used to extract features from phishing content such as URLs, email addresses, message content, and message composition. For example, NLP techniques can be used to identify typical forms of bad grammar and misspellings that often appear in phishing emails [ UKW21 ].
-
Malware family analysis: to identify families of malware from the words that are used that can then be combined with deep learning models or machine learning techniques to block the malware. For example, NLP can be used to detect common text that, combined with deep learning models, could block ransomware attacks [ VIN19 ].
Limitations of Learning Methods
Knowledge and learning models are not without their limitations. As well as the ongoing debate as to whether the cost of such technologies exacerbates the gap between those who can and cannot afford dedicated security resources, such models raise concerns as to the quality of the decisions made from such pattern recognition.
There is concern generally in AI as to the extent to which bias, injustice, and unfairness creep into algorithmic decision making [ YAM16 ], and such concerns are as relevant for AI-driven cybersecurity management as in other areas of AI use. Bias, for instance, is widely found in AI results (see, for example, [ SCH22 ]). The original designers of AI systems unwittingly implement their own biases, and the learning algorithms perpetuate these same criteria.
AI system designers can unwittingly implement their own biases.
Consider the use of an AI approach to selecting candidates for admission to a school. Such an approach will initially select applicants who resemble the current student body; when those applicants ultimately enroll, the algorithm learns to preference even more candidates with those same characteristics. If the initial student body was deficient in some regard, say, for example, in its proportion of women, people of color, or older students, the AI algorithm would learn that people in these groups are different from the existing student body. Preferring people who match the existing pattern can even lead an AI algorithm to reduce the already small proportion of people from underrepresented groups. Because many schools want a diverse student body, administrators pay close attention to possible biases in recommendations from an AI-based algorithm. Significant research has exposed bias in school admissions use of AI. A similar bias could affect AI applications looking at insider threats, applicants for access to sensitive resources (for example, through security clearances), and selection of candidates to serve on security response teams.
Other biases can be more subtle and easy to overlook, however. If malicious code comes disproportionately from people from certain countries, that can cause an AI algorithm to scrutinize programs from those countries but also to more willingly pass code from other places. If attacks come more frequently at certain times of the day, AI algorithms can learn to apply more stringent standards then; attackers who detect that pattern may shift the timing of their attacks correspondingly. Without inspecting the large number of data items going into an AI-based analyzer, humans may be unaware of the effect of bias in the algorithm’s selected results.
The linguistic classification techniques found in NLP can be used to undertake so-called sentiment analysis, which is sometimes termed “opinion mining” or “emotion AI.” Sentiment analysis combines NLP techniques with computational linguistics and text analysis. Sentiment analysis was initially designed to enable computers to categorize statements expressed in a text as positive, negative, or neutral. Subsequently, sentiment analysis tools have been broadened to assess the shading of concepts in the text (for example, words used to heighten or relax the sentiment expressed by the concept).
Many significant challenges remain for accurately analyzing text in this way, including the volume of text being generated; the difficulty of understanding the role of context in the sentiment expressed; the complications of correctly understanding metaphors; and the trickiness of correctly interpreting writing styles, slang and jargon, humor, sarcasm, irony, and nuance. Yet despite these challenges, sentiment analysis is being used in the design of many recommender systems and e-business feedback systems, which drive much of our experience of online services.
Sentiment analysis is complicated by slang, humor, nuance, and irony—all the things that characterize vibrant use of language.
Similar concerns apply when thinking about pattern recognition in AI-driven security management. For example, are algorithm designers able to determine what comprises a malicious action or intent or who is (or is not) an attacker? Can such malicious intent be ascertained from keyword analysis or the semantic analysis of what has been written? How accurate are the tools that do this analysis, and what happens if they draw incorrect conclusions?
Adversarial AI
As we can see from the previous section, AI is rapidly being deployed to defend against cyberattacks. But attackers can use AI equally well to compromise systems (both traditional systems and AI systems), challenge defenses, and find new attack vectors. Adversarial AI is the term used to describe the development and use of AI technologies for malicious purposes.
Such behaviors represent a threat to AI safety. Attackers gain a number of advantages by using adversarial AI: such techniques can expedite attacks, increase the volume of attacks and the number of targets, and enable attacks to adapt to different contexts. An example of such an attack might be in an autonomous vehicle scenario where fake input is created so that the vehicle thinks it detects a stop sign when none is there. AI can also be used to attack other AI systems, and this becomes an important attack vector as AI becomes important in the delivery of security management.
Consider the effects of software. As we describe in Chapter 1 , the integrity of a program—that it does what its designers and users expect—is critical. For some situations, a failure has little negative impact; if a program misreports the current temperature in a remote city, most people will not be bothered. However, faulty software to control an aircraft or perform robotic surgery could have serious consequences. AI safety is concerned with the potential for intelligent software to cause harm. While we acknowledge that the most concerning category of hazardous intelligent software is that which is designed to be malevolent, harm can also be caused by programming flaws or an error in decision-making logic. Compounding this difficulty is that we may never know whether or when a piece of intelligent software has been compromised—maliciously or not.
We may never know that AI-driven software is incorrect—from malicious cause or not.
Adversarial AI primarily focuses on AI technologies that are dangerous by design, but we must also recognize technologies that are accidentally dangerous due to poor design or implementation [ YAM16 ]. Identifying AI that is dangerous by design is not a clear-cut classification. AI might be initially designed as safe, intelligent software but subsequently be configured, trained, or modified in such a way that it becomes malicious. For an example of malicious training of AI software, see Sidebar 13-1 .
Sidebar 13-1 Microsoft Tay Shushed
An example of malicious training is Tay, a Microsoft chatbot. Tay,whose name represents “thinking about you,” was made public on 23 March 2016. It was a project of Microsoft’s research division. In less than 24 hours, Tay had gained in excess of 50,000 followers and produced nearly 100,000 tweets. That certainly sounds like a successful launch, right?
Tay was developed to improve Microsoft’s response to customers using voice recognition software. The chatbot, released on social media (including Twitter, Gip, and Kik), was aimed at 18 to 24 year olds. The purpose of Tay was to engage social media users in casual, playful, and entertaining exchanges. Tay was designed to mimic the language patterns of a 19-year-old American girl and would learn, building up her language patterns, from interacting with humans on Twitter. The designers apparently thought they could improve their responses by training the bot with input from real users in an unstructured setting.
What they found instead was that Tay learned far too easily from others. Attackers enjoyed the game of getting her to mimic what she was fed, including racist and sexually charged messages. Not only did she add hate speech terms and phrases to her vocabulary, she came to believe them, in a sense. When bombarded with the same propaganda from many sources, Tay inferred that the messages were true. If one person told her the moon was made of blue cheese (to invent an inoffensive meme), she might file it away without paying much attention. However, if she received the same distortion from a huge number of people, she came to believe it, to the extent that if later asked of what the moon was made, she might have responded “blue cheese.” On the internet it is easy to enlist many people (or bots) to mislead. Tay became a Holocaust denier and spouted misogynistic and other deeply offensive messages.
The corruption of Tay is an example in which an attacker manipulates the data stream. The manipulation of Tay was coordinated and revealed how chatbots can be misled to cause harm. Microsoft had tested the robustness of Tay in its benign laboratory but had not foreseen the scenario where social media would be used to coordinate a corruption of Tay’s input feeds.
Microsoft took Tay offline less than 24 hours after introducing her. Describing her behavior as the result of “a subset of people exploiting a vulnerability in Tay” [ LEE16 ], Microsoft said it “cannot fully predict all possible human interactive misuses without learning from mistakes.” AI approaches heavily depend on the data from which they learn. As the adage says, “garbage in, garbage out.”
But is it appropriate to call what happened with Tay “a vulnerability”? Tay did exactly what her designers expected and, indeed, what lies at the basis of AI: She learned from the full set of inputs she received, ascribing validity to volume. In the benign setting of the Microsoft lab, she learned the structure and syntax of conversation. She had no reason to learn not to believe all she was told. Alas, as we have exclaimed repeatedly in this book, the world is not benign.
O’Sullivan details a number of possible attacks against AI [ OSU21 ]:
-
Poisoning attacks. Malicious or incorrectly labeled data is supplied during the training phase. As a result, the model is trained to make incorrect predictions that can result in legitimate data being rejected after the training phase is complete. The vulnerability to this type of attack depends in part on the frequency of training. For those models that are trained only once, attackers have less opportunity to poison the input to the training models. For those models where training takes place continuously, the attacker has more opportunity to disrupt.
-
Evasion attacks. The data used by the model to make predictions is modified. This involves an attacker manipulating the data stream. In the example of the nonexistent stop sign, an evasion attack is being conducted where the image recognition model used by the car is being disrupted.
-
Model stealing attacks. The attacker seeks to obtain or infer the underlying analysis model to find where it is vulnerable.
As these examples show, adversarial AI can take place when an AI system itself is attacked (often by other AI systems) and when such a system either deliberately or unintentionally causes harm.
Responsible AI
Surrounding AI-driven cybersecurity is the moral framework that we first set out in Chapter 11 . AI and machine learning allow service providers, employers, governments, and individuals to learn and understand how others create and use data. This increased understanding raises questions about what others need to know about us, why they need to know it, and who is allowed to use that knowledge. Perhaps worse, simply having that knowledge changes the relationships among individuals and between individuals and organizations.
End-to-end decision making relates to responsible use of AI. The massive volume of data collected and processed to support AI approaches can give many people the basis for making decisions (including security control and compliance decisions). Previously, only senior managers had access to enough data to make informed decisions, and thus decision making became largely hierarchical. Now, decision making can be devolved using this information. It might be delegated to computers, or it might be assigned to members of the senior manager’s team, However, for decentralized decision making to work and not result in competing decisions, an organization needs a clear structure for decision-making responsibilities and governance to decide when, to whom (or what programs), and under what conditions decision making is devolved. Furthermore, controls must ensure that decisions made by computers are consistent with human intentions.
Knowing that another person or organization can track your digital actions and (correctly or incorrectly) infer motivations and possible follow-on actions changes the power relations between you and those parties. It can result in people being less open or willing to engage with digital platforms, it can erode trust in the relationship more generally, and it can lead people to resist the surveillance through either attempting to disrupt the patterns being generated or taking evasive action through shadow digital practices. Security management and compliance programs have always relied heavily on trust and good relations with the employees of an organization or the users of a service. This means that the use of AI to drive cybersecurity needs to be handled responsibly.
Responsible AI is a framework to define the purpose of using AI; to set out the policies, processes, and techniques for ensuring that AI meets those goals; and to do so in a safe, fair way that does not take advantage of those using the AI system. Reid Blackman [ BLA20 ] sets out steps toward realizing responsible AI that we have adapted for AI-driven cybersecurity management:
-
Identify existing infrastructure that a data and AI ethics program can leverage: Cybersecurity management processes, such as risk assessment and management, audit, training, and awareness, can be used both to raise ethics questions of the different teams planning AI-driven technology management programs and to capture and examine the logic that the AI is implementing. Cybersecurity governance bodies need to ensure that the findings from this AI-related enquiry are then reviewed.
-
Create an AI and data ethics risk framework that extends the existing cybersecurity framework, to identify the potential risks of deploying AI-driven cybersecurity and potential mitigations of those risks. Using an integrated framework also makes it possible to evaluate the ways in which AI-driven cybersecurity might either enhance or reduce the effectiveness of existing security controls.
-
Design an AI-driven cybersecurity framework that includes consideration for how a user of an organization’s technology might opt out of AI-driven cybersecurity controls. Implement an informed consent process to make clear to employees, temporary workers, visitors, and customers where (and how) they may opt out of such controls and where such controls are mandatory.
-
Develop granular guidance for technology teams so that AI-driven cybersecurity is correctly configured to respond to ethical and informed consent considerations.
-
Build organizational awareness for how AI is shaping and changing the capabilities of an organization’s cybersecurity approach.
-
Create an awareness of the potential benefits of using AI-driven cybersecurity and ensure that those designing AI-driven cybersecurity are clear (and honest) about the benefits to different groups of users of an organization’s technology.
Open Questions
The discussion about responsible AI raises a number of questions around AI-driven cybersecurity. We set out on some of these open questions in the following sections.
Can and Should Cybersecurity Algorithms Be Explainable?
Numerous governance, legal, and regulatory frameworks require organizations to explain automated decision making. For example, many countries prohibit discrimination on the basis of race, color, religion, sex, national origin, age, disability, or other bases in matters such as employment, housing, lending, or access to education. For example, the government may require a bank to document that a decision to deny a loan was not based on a prohibited criterion. With human decision making, a loan executive can list the criteria by which loan applicants are evaluated (income, job stability, previous loans, ability to repay) and show that the same conditions apply to all applicants. With AI-based decision making, however, there is no record of consistent application of terms; the algorithm changes continuously in response to feedback from previous decisions. As we note earlier, an AI algorithm’s decision today may not be the same as the one it derived yesterday.
Automated security decision making would also fall into this category. This raises the question as to whether the strength of the control is weakened by explaining the logic of the control. It also raises the question as to how people might respond if they do not agree with the logic of the control.
Does More Data Lead to Better Security?
Many of us live in societies where technology is regarded as the answer to many of our contemporary problems, whether it is climate change, labor shortage, or infection control. The COVID-19 pandemic is an example of how people expected (hoped?) technology would rapidly solve a crisis: Approaches ranged from contact tracing apps to automated detection systems. Unfortunately, Chakravorti [ CHA22 ] details a number of reasons technology, and specifically AI, failed to meet these goals: “For health care systems facing a brand new, rapidly spreading disease, AI was—in theory—the ideal tool. AI could be deployed to make predictions, enhance efficiencies, and free up staff through automation; it could help rapidly process vast amounts of information and make lifesaving decisions. Or, that was the idea at least. But what actually happened is that AI mostly failed.” A team of researchers from the University of Cambridge reviewed over 400 studies of use of AI techniques to assist in diagnosis of COVID-19; they concluded:
In this systematic review, we consider all published papers and preprints, for the period from 1 January 2020 to 3 October 2020, which describe new machine learning models for the diagnosis or prognosis of COVID-19 from CXR or CT images. All manuscripts uploaded to bioRxiv, medRxiv and arXiv along with all entries in EMBASE and MEDLINE in this timeframe are considered. Our search identified 2,212 studies, of which 415 were included after initial screening and, after quality screening, 62 studies were included in this systematic review. Our review finds that none of the models identified are of potential clinical use due to methodological flaws and/or underlying biases. [ ROB21 ]
That is, AI did not deliver on arguably the biggest healthcare emergency of our time. This is not to say that AI could not be effective over time; perhaps it will. And analyzing these failures will almost certainly be of great importance to future AI developers. But in the immediate crisis, technology was not the solution people hoped for. The reasons for these failures are many and varied, but lack of data was not one.
AI-driven cybersecurity is often cited as an enabler of great progress for organizational security, allowing security teams to process large numbers of data feeds, identifying wrongdoing and potential wrongdoing. However, will this give us better security? Some argue that the more data we can process, the more we can anticipate wrongdoing. Others argue that such capabilities improve security only when they are part of an overall security structure that foregrounds human interaction and the importance of human relationships in the protection of people and things.
When AI-Driven Cybersecurity Gets It Wrong, Who is Liable?
AI-driven cybersecurity has the potential to make significant security decisions that, if incorrect, will have serious consequences or cause unintended harms. In this case, who is liable for the error? Working with AI is not the same as configuring a computer. AI-driven controls will learn from their surroundings and will arrive at conclusions perhaps not foreseen by the teams that work alongside them. This raises questions about liability and who is responsible if the AI tool gets it wrong.
13.2 Blockchains and Cryptocurrencies
Next we turn to another topic that has recently attracted significant attention. A currency is just a way for people to perform financial transactions easily. Bartering, paying for goods and services with other goods and services, is probably the way people first engaged in commerce long ago. Paying for firewood with dozens of eggs was probably inconvenient, which led to currency. Use of gold as an exchange medium dates at least back to the Egyptians of 4000 BC ; coins seem to have been invented in Lydia Minor around 700 BC . Since those times, money has changed little; we still use paper notes and metal coins whose value is not in the object itself but in what people accept it for.
Ledger currency is a successor to physical currency, in which a person’s finances are represented by accounts of money; we pay for things by moving money from one person’s account to another’s. The rise of computers has seen great dependence on ledger currency using devices such as credit and debit cards, electronic funds transfers, payroll direct deposits, non-bank transfers such as Apple Pay and PayPal, and peer-to-peer instant payment systems like Zelle. All these technologies still reconcile transactions in traditional government-issued currencies.
Cryptocurrencies are the first truly new currencies in some time. In this section we briefly describe how a cryptocurrency is implemented. Before explaining cryptocurrencies, however, we need to present blockchains, a structure critical to their use. The blockchain concept is a natural extension of cryptographic chaining and integrity hashing presented in Chapter 12 .
What Is a Blockchain?
Blockchains are shared, immutable ledgers for recording transactions, tracking assets, and building trust. A blockchain is a list of records, called blocks , that are linked cryptographically. Each block contains a hash of the previous block, the timestamp of the transaction represented in the current block, and the content of the transaction itself. Because each block depends on the previous one, blocks are logically connected, which precludes altering or forging any block. By including the transaction data and the timestamp of the transaction, the hash acts as proof that the transaction took place at a particular time. The use of a hash function in this way makes it relatively inexpensive to audit and verify transactions.
A blockchain is a string of records linked cryptographically.
The transactions of a blockchain are bound together in a structure called a Merkle tree . In a Merkle tree, each pair of transactions, at the leaves of the tree, is hashed together. Then the hashes of these pairs of leaf nodes are hashed, then pairs of the pairs, and so on, until the root contains a hash reflecting all transactions, as shown in Figure 13-1 .
FIGURE 13-1 Merkle Tree
The top of the tree shows Hash of Transactions 1, 2, 3 and 4 which leads to Hash of Transactions 1, 2, 3 and 4, and Hash of Transactions 3 and 4. Hash of Transactions 1, 2, 3 and 4 leads to Hash of Transaction 1 and Hash of Transaction 2. Hash of Transaction 1 leads to Transaction 1 and Hash of Transaction 2 leads to Transaction 2. Hash of Transactions 3 and 4 leads to Hash of Transaction 3 and Hash of Transaction 3. Hash of Transaction 3 leads to Transaction 3 and Hash of Transaction 4 leads to Transaction 4.
These hash values tie all pieces of the blockchain together, as shown in Figure 13-2 . This whole concept should look familiar. It is just a use of chaining, as presented in Chapter 12 .
FIGURE 13-2 Blockchain Blocks
Block 1: Merkle Root of Block 1 Transactions (Block 1 Header) and Block 1 Transactions. Block 2: Hash of Block 1 Header, Merkle Root of Block 2 Transactions, and Block 2 Transactions. Hash of Block 1 Header, and Merkle Root of Block 2 Transactions are the Block 2 Header. Block 3: Hash of Block 2 Header, Merkle Root of Block 3 Transactions, and Block 3 Transactions. Hash of Block 2 Header, Merkle Root of Block 3 Transactions are the Block 3 Header. Block 1 Header points to Block 2 Header which points to Block 3 Header.
The blockchain header contains more than just the hash of previous headers and the hash of the current block’s transactions. We said that along with the transactions are timestamps to show when the transactions occurred. And for a reason we will explain soon, the header contains another value called a difficulty factor.
Blockchain is not just for cryptocurrencies. The basic concept of a blockchain is a chain of transactions that have been agreed (authenticated) by all participants to the chain. Other possible uses of blockchaining include voting systems, contracts and payments, and peer-to-peer payment processing.
The important feature of a blockchain is its transparency: nobody can cheat because everybody computes the hashes to verify the authenticity of every block in the chain. There is no owner or supreme authority of the chain, so it does not depend on (nor can it be changed by) any government or other superpower.
Commerce and Trust
Consider a typical commercial situation: You have money in your bank, with which you communicate, as shown in Figure 13-3 . Your communication with your bank is probably of a client–server nature; your bank’s software is the server to which you, probably through your browser, are the client.
FIGURE 13-3 Simple Client–Server Relationship
Perhaps you have a phone, so you interact with your phone provider in another client–server relationship, and you instruct your bank to pay your phone bill to your provider. But actually, your bank pays your provider’s bank, for the benefit of your provider. Your provider may use the same bank as you or a different one. We show these relationships in Figure 13-4 .
FIGURE 13-4 Multiple Client–Server Relationships
The illustration shows a human icon labeled, you, linked to a building icon labeled, your bank. The bank is linked to a building labeled, your phone provider's bank, which is linked to a building labeled, your phone provider, and then again to you.
Your bank maintains all your banking records and your phone provider all your phone records. Other people use the same bank, other people use the same phone provider you do, and all of you have relationships with other people and businesses. Because each entity keeps its own records, sharing data among them becomes a challenge. Arranging to pay someone in a different country often involves working with intermediaries, for example, to convert one currency to another.
All this complexity has costs. Each intermediary charges a fee for services. Furthermore, each step along the way takes additional time. Computers and networks transfer data at close to the speed of light, but when a transaction must move from one system to another, speed can plummet, as depicted in Figure 13-5 . Part of the degradation in speed is due to trust: Each transfer step requires two parties to have or develop a trust relationship to move ledger currency funds.
FIGURE 13-5 Inefficiencies in a System
The illustration shows a human icon labeled, you, linked to a building icon labeled, your bank. The bank is linked to a building labeled, currency exchange, which is linked to a building labeled, transfer agent. The transfer agent is linked to a ship labeled, transfer company, which links to a building labeled, receiving agent. The receiving agent is linked to a building labeled, forwarding agent, which is linked to a camel, labeled, delay agent. The delay agent is linked to a building labeled, your merchant's bank which is linked to a building labeled, your merchant.
A serious issue is integrity or correctness of these data. People and businesses make mistakes; worse, some people are deceitful. Can your bank trust data it receives from others? Can you review data about you for correctness? If your bank incorrectly says you instructed it to transfer money from your account, how can you prove otherwise? The answers are largely held in proprietary, noninteroperable databases maintained by individual people and businesses. A similar situation exists with educational institutions, medical service providers, government agencies, real estate transfers, stock transactions, and many other areas of public and private business: Data are held in separate, noninteroperable files and databases, all opaque, and all outside your control.
This book contains many examples of system compromises. As frequent news articles underscore, an attack on one system seldom affects just one user; more frequently, thousands or even millions of people are affected. Cryptocurrencies attempt to address these deficiencies. First, the entire payment and processing system is decentralized. Instead of a client–server–server ... server–client model, the relationship is peer-to-peer. You interact directly with your merchant, cutting out countless support agents. The costs, delays, and complexities of intermediaries disappear. Privacy also improves because your data are not exposed to outsiders.
We begin by exploring how a cryptocurrency is implemented.
What Is Cryptocurrency?
Cryptocurrency is a digital currency implemented using cryptography. The cryptography makes it infeasibly difficult to counterfeit or doublespend a transaction. Cryptocurrencies enable people to make peer-to-peer financial transactions without the intervention of governments or other third parties in the transaction. However, cryptocurrencies not only enable financial transactions but also enable people to enter into peer-to-peer contracts.
Cryptocurrency is a digital (ledger) currency implemented using cryptography.
The technology underpinning cryptocurrencies, called digital ledger technology , exhibits these characteristics [ RAU18 ]:
-
shared recordkeeping
-
multiparty consensus on a shared set of records
-
independent validation by each participant
-
evidence of nonconsensual changes
-
resistance to tampering
Cryptocurrencies could potentially have an impact on institutions including the legal and finance sectors, due to low transaction costs and safeguards against counterfeiting and doublespending. In some ways, cryptocurrency is also easier to store than traditional currency; paper money and coinage requires physical storage, whereas cryptocurrency has no physical representation. Cryptocurrency can therefore benefit sectors that can take advantage of speed and mobility in their transactions. However, transactions using cryptocurrency are subject to anti-money-laundering restrictions, and further regulation is required if cryptocurrency is to be fully accepted in these sectors.
There are many cryptocurrencies, each secured by cryptography but often with different architectures. More than 20,000 different cryptocurrencies and over 500 exchanges exist worldwide, according to CoinMarketCap, a price-tracking website for crypto assets. All cryptocurrencies are designed to be free from government intervention. ( Fiat currency is money issued by a government but backed only by the credibility of the government, not by a valuable commodity such as gold or silver. Dollars, pounds, euros, and yen are all fiat currencies.)
Specific Cryptocurrencies
A person using the name Satoshi Nakamoto launched the bitcoin protocol in January 2009, creating the most well-known cryptocurrency, also called a Bitcoin . (Confusingly, Bitcoin, with a capital letter B, denotes the specific currency created by Nakamoto. Blockchain currency in general is called bitcoin or bitcoins, much as we might use the term “paper money” to denote all notes or bills of a fiat currency.) Bitcoin was not the first cryptocurrency. It is often claimed that the first was eCash developed by David Chaum’s company DigiCash. Other early attempts at cryptocurrency included B-money, Bit Gold, and Hashcash before Bitcoin was created.
Other cryptocurrencies are sometimes called altcoins , alternatives to Bitcoin. These alternative cryptocurrencies typically have specific functionality that makes them appropriate for a specific type of transaction. Altcoins include the following products:
-
Ether is a currency that runs on the Ethereum, a decentralized blockchain platform. The Ethereum platform was designed to implement distributed apps and contracts. Ether is a cryptocurrency developed to pay transaction costs and pay for computational services.
-
Tether is termed a stablecoin and is structured in such a way that its value is pegged to a fiat currency or other external reference point to try to reduce volatility of its value.
-
Unlike other altcoins, the Factom cryptocurrency uses a platform that implements a distributed mechanism for locking data from various sources and making it resistant to tampering. This platform vastly reduces the cryptographic work to generate and validate cryptocurrency coins.
-
Zcash and Monero are cryptocurrencies designed to make it harder to trace the original source and ultimate recipient of the funds.
-
Binance coin is a so-called utility currency that is designed to be used as a payment method for the fees that arise from trading on the Binance Exchange.
Tokens are another type of cryptocurrency. Basically, a token is a form of cryptocurrency that represents an asset that can be traded. A token might run on top of another one of the cryptocurrencies. For example, one token might represent fractions of another cryptocurrency, such as 1/1,000 Bitcoin, for use with small transfers. A token might also represent other items of value, such as an investor’s stake in a company, or be used to create and execute a smart contract. Smart contracts are programs set up to run when certain conditions have been met. For example, Home Depot, a chain of home improvement stores, uses smart contracts in its large and complex supply chain to update the stock inventories when vendors’ stock is received by the different stores. Smart contracts in this context are a form of settlement that enable fast identification of where there is a problem with supply and why. Tokens often serve as bridges between blockchain technology and another medium, such as stocks, loans, or digital assets.
Crypto Exchanges
Cryptocurrency (or crypto ) exchanges are one of the mechanisms that enable cryptocurrencies and fiat currencies to interoperate. Crypto exchanges are digital marketplaces; on them you can buy cryptocurrency, trade units of one cryptocurrency for another, or sell cryptocurrency for fiat money. Some crypto exchanges are specifically set up to trade cryptocurrencies; others implement more traditional financial services, such as PayPal.
A bitcoin is only digital; it has no physical representation. Owners store bitcoins in a wallet, a data structure protected under public key cryptography. A crypto wallet is a means for storing such a private key. The wallet can be like a USB memory device that you must physically secure, or it can be a protected online database that you access with appropriate strong authentication. The USB device, which is not normally accessible from the internet, is called a cold wallet , while an internet-connected database or application is called a hot wallet .
Crypto exchanges and individuals can hold their cryptocurrency wallets online or offline. As with other digital resources, being connected to the internet increases risk of attack: A document stored on a memory stick is subject only to physical harm—theft, loss, destruction—but online storage opens the door to all the vulnerabilities discussed throughout this book. It is important to determine what proportion of its cryptocurrency assets a crypto exchange holds offline (safe from internet-based attacks).
Security is an important consideration when deciding which crypto exchange to use. As cryptocurrencies are not regulated under the types of government frameworks used with fiat currencies, it falls to the consumer to check the security provision put in place by a crypto exchange. Crypto exchanges have a history of being compromised; for an example, see Sidebar 13-2 . Attacks have led to the failure and closing of some crypto exchanges, such as MtGox, FTX, and Flexcoin.
Sidebar 13-2 Bitmart Cryptocurrency Exchange Hack
Bitmart is a cryptocurrency trading platform that experienced a significant breach in December 2021. It was reported that hackers obtained a secret key that enabled access to two hot wallets (wallets connected to the internet) [ SIG21 ]. Using this key, the hackers then stole cryptocurrency from the Ethereum blockchain and the Binance smart chain (described later in this chapter). Such currency exchange attacks are not uncommon because criminals are attracted by the potential size of the payout.
Once in possession of stolen cryptocurrency, the attacker’s next challenge is to exchange the stolen currency (that can be traced back to the theft) for so-called clean currency, a process akin to laundering the paper proceeds of a bank theft or ransom payment. To achieve this, the hackers in this example first used a decentralized exchange to swap the stolen cryptocurrency for Ether, a cryptocurrency used to pay for transactional fees and computational services.
The hackers then used a service sometimes called a cryptocurrency tumbler or mixing service. The hack had a direct effect on Bitmart’s business, and trading volumes fell after the hack. Decentralized exchanges, implemented on top of blockchain, are marketplaces where traders use smart contracts to carry out peer-to-peer transactions to buy and sell cryptocurrencies. Such exchanges remove the need for an intermediary to oversee transactions. Decentralized exchanges preserve anonymity when currency is exchanged because users do not go through an identification process. Mixing cryptocurrency lumps together currencies, making it harder to identify the original source of individual cryptocoins. A sender sends cryptocoins, and the transaction is split down into smaller amounts and mixed with other cryptocoins. These coins are then typically sent on to other crypto exchanges where they are mixed with coins from other traders. The sender receives the same value of cryptocoins but not the same set of coins that was originally submitted.
Mining and Verifying
Anyone can join a blockchain ledger—each computer owner that joins is called a node . All transactions are broadcast to the entire network where the node owners each verify the correctness of the hashes in a blockchain ledger. Some blockchain groups require unanimous concurrence of the accuracy of a blockchain; in other groups, a specified majority (say, 75%) suffices (to account for the case that some owners may be unavailable).
Units of cryptocurrency are created through a process called mining , which involves using computer power to solve extraordinarily complicated mathematical problems that generate coins. People called miners bundle transactions into blocks by completing a cryptographic hash that is hard to generate but easy to verify. If the miner’s calculation is proven correct, the block is added to the blockchain and the miner is rewarded in bitcoin. The reward varies depending on the value of the block (the difficulty factor to which we alluded earlier). Miners therefore focus on high-value transactions to bundle into blocks. The fees constitute the incentive framework that keep miners operating. Botnets have been set up to mine for cryptocurrency using the spare computing power of conscripted computers.
Bitcoin
Bitcoin is the most widely used cryptocurrency, the most popular, and the most valuable. Bitcoin was launched in 2009.
It is growing in acceptance. For example, PayPal allows its customers to buy and sell in Bitcoin. McDonald’s in Switzerland, Burger King and Pizza Hut in Venezuela, and KFC in Canada do or did accept payment in Bitcoin. So do Microsoft, AT&T, and Home Depot, according to buybitcoinworldwide.com , a service connecting users with bitcoin exchanges.
Cryptocurrency in the World Context
Cryptocurrencies, like many of the topics considered in this book, have two aspects: First, there is the technology: How is it implemented, what bit shifts, algorithms, and computing devices make it possible? Technologists are good at addressing such problems with code and hardware. We have just outlined the structures and algorithms that let cryptocurrency work. The second aspect is similarly important but can be overlooked in a drive to implement a new technology: How does it work in society? How do people accommodate its use, and what impact does it have on how people live their lives and do business? In this section we raise some of these latter considerations.
Cryptocurrencies and Controversies
Many controversies surround cryptocurrencies:
-
Availability. How can someone acquire and then spend a bitcoin? Convert fiat currency to cryptocurrency and back again?
-
Demand for cryptocurrency. The price of a bitcoin fluctuates dramatically. One Bitcoin initially cost less than US$0.10. But by October 2022 its value was nearly US$20,000. Other cryptocurrencies have had similarly extreme price changes.
-
The cost of generating cryptocurrency. Doing the mathematical computation to add a block to a blockchain requires prodigious amounts of computing power, which in turn requires prodigious amounts of electricity. At what point does the real drain on the electrical system become too great?
-
Competition. Different cryptocurrencies serve different needs, but in a sense all compete with all others. Will the market slim down? What will happen to unpopular currencies, and to the value their users have stored in them? What will cause a thinning of the market?
-
Regulatory constraints. Cryptocurrencies are mostly unregulated by governments. Customers of a cryptocurrency exchange have none of the protection of customers at a traditional bank sanctioned and regulated by a government.
-
Media sentiment. Because few people understand what cryptocurrencies are, let alone how they operate, members of the public are heavily influenced by what they read about such currencies. The correct or incorrect slant of a particular article can have a significant effect on readers.
All these controversies affect the viability of cryptocurrencies. In this section we explore some in greater detail.
Demand and Value
Cryptocurrencies respond to supply and demand forces. Because it is increasingly expensive to create and append blocks to a blockchain, the corresponding value of a bitcoin tends to rise. The value of one Bitcoin went from less than $0.10 in 2008 to almost $20,000 in 2022 (all figures are in U.S. dollars). Along the way, in 2013 it went from $700 to $400, back to $700, and then to $500 in less than a month. It hit a peak of approximately $68,000 in November 2021 before falling approximately 14% by that year’s end, less than two months later. On paper these swings are easy to dismiss. To a Bitcoin owner, however, a drop of 40% from $700 to $400 overnight or even a loss of 14% in two months can be devastating. Suppose an owner set aside the Bitcoin to pay university expenses, medical bills, or construction costs.
Several factors affect these prices. For these dramatic price swings, however, the most important cause may be hysteria. People see the price going up and think they have to get in on the game, so they buy, pushing the price higher. Finally, however, all new buyers have entered the market and existing owners want to convert their paper gains to fiat currency; they sell. But selling pushes the price down, causing some speculators to want to get their investment out—at a gain or, more likely, a loss. The market trends and investor sentiment lead to wide fluctuation.
Fiat currencies change daily; perhaps the dollar gains a little or the yen loses a little. World events—such as natural disasters, political unrest, a world health crisis—affect exchange rates. Because the cryptocurrency market is small relative to markets for other instruments such as fiat currencies or stocks, the cryptocurrency market exhibits far greater volatility.
Regulation
One controversy surrounding cryptocurrencies is the debate about how to control cryptocurrency transactions. Cryptocurrency is popular because it is not controlled by banks, it offers a degree of anonymity, and it is used by people (for example, media personalities) who prefer their spending habits not be known by the general public. It also offers a cheaper and more efficient means for transferring money in some contexts. For example, the use of cryptocurrency can both reduce the cost and speed up the process of sending money overseas. Regulation and legislation can be used to prevent cryptocurrency being used for illegal activities.
Traditional fiat currencies have authority because they are underwritten by a central government or financial authority (such as the Bank of England). Every merchant in England accepts pounds. The legal status of cryptocurrency has to be defined in each jurisdiction. This has implications for how cryptocurrencies can be used within and across legal jurisdictions.
The Financial Action Task Force (FATF) is an intergovernmental body to fight global money laundering and terrorist financing; its policies are endorsed by more than 200 countries. FATF has advised that virtual assets (including cryptocurrencies) pose a risk for money laundering. In June 2019, FATF introduced a global standard for measures to combat money laundering and financial terrorism and announced it would be working internationally to ensure that the standards were adopted. The main concerns center around the use of person-to-person cryptocurrency transactions because such transfers increase the potential for money laundering and financial terrorism.
Because cryptocurrencies are exclusively digital, the blockchains do not necessarily contain the names of the coins’ owners; people incorrectly assume that cryptocurrency transactions are anonymous. With careful cryptographic forensic analysis, however, investigators can often infer the owner of a specific bitcoin by observing the pattern of other transactions from the same wallet, for example.
Public Perception
Cryptocurrencies are often tainted by links with crime. For example, botnets have been set up to conduct cryptocurrency mining; as described in Chapter 6 , the owners of computers conscripted as bots may not be aware that their machines have been taken over. Similarly, the tumbling and mixing described in the Bitmart Exchange hack provide ways in which criminals can launder money in an attempt to keep their transactions anonymous.
A trail shows where an individual bitcoin has gone—to whom and when, or more precisely, in which transaction and when. Thus if a bitcoin is used to pay a ransom demand, that specific coin can be traced, so police can potentially determine when and in what way that coin was received. There is no facility for reversing a bitcoin operation, however. The police cannot retrieve that bitcoin, especially if the trail passes through countries hostile to banking and police practices. A court could order restoration of the bitcoin to the party who had to pay it in ransom, but if the receiver is in a country outside the court’s jurisdiction, the court order has no impact.
Defending cryptocurrency from illicit use requires regulation and intervention from governments. Herein lies the controversy because such interventions challenge the freedom from government access on which cryptocurrencies are founded.
Environmental Impact
The Cambridge Bitcoin Electricity Consumption Index (CBECI) estimates that bitcoin mining uses more power globally per year than some entire countries, including the Netherlands and Pakistan. Part of that cost is due to the fact that mining new bitcoins becomes more difficult as each one is mined because the computation to find one involves numbers that increase in size with each number found.
It is not just the mining that uses intense amounts of energy; transactions—transfers from one user to another—also consume a lot of electricity. A single Bitcoin transaction is estimated to burn 2,292.5 kilowatt hours of electricity, enough to power a typical U.S. household for over 78 days. The CBECI estimates that in 2019 Bitcoin transactions used an estimated 85 Terawatt hours (TWh) of electricity (0.38% of the world’s electricity use) and about 218 TWh of energy (0.13% of energy production) at the point of production—more than the countries of Belgium and Finland. These usage numbers are for Bitcoin alone ; the second most widely used cryptocurrency, Ether, used another 62.77 TWh of electricity per year. Thus, the energy demands of mining and using bitcoins are significant.
Digital currencies are intentionally difficult to mine and take a lot of computing power to generate so no one person or group could wrest control of the entire network. This feature is part of what gives cryptocurrencies their resistance to compromise.
Because everyone on the network is fighting to be the first to solve these equations and get the monetary reward, the person with the most processing power has the best chance to win. That leads people to put together larger mining rigs (or even networks of mining rigs) that grind through equations faster. Since the amount of energy used depends on the size of the mining network, ever increasing amounts of energy are needed to mine new coins.
What Gives Cryptocurrency Its Value?
Currency is useful if it can maintain its value over time. The value of currency originally came from its intrinsic physical properties: Eggs had value because they could be used as food, and a dozen eggs represented a dozen units of that food value. You cannot save a dozen eggs to use months in the future; they will spoil. Thus, people developed currency that had a value that did not deteriorate over time.
In later currencies, a silver coin or a gold bar had a certain value because people chose to assign it that value. The value of a painting is whatever a willing buyer will pay for it; a genuine van Gogh painting is today worth millions of dollars, although during the painter’s lifetime he could scarcely find buyers willing to pay anything for his works.
Cryptocurrencies in general differ from fiat currencies in the way the exchange rate is determined. Cryptocurrencies are decentralized, and therefore exchange rates are not set centrally. Instead, a unit of cryptocurrency is worth exactly what a willing buyer will pay on the spot; that value can fluctuate without limit from one transaction to the next.
Let’s use Bitcoin to illustrate. In September 2021, one Bitcoin was worth approximately US$45,000, but one year later it was worth only US$22,395. Bitcoin’s value depends, in part, on a limit to the number of Bitcoins in circulation, fixed at no more than 21 million Bitcoin. This limit was established in 2009 when Bitcoins were defined. (As of 2022, over 17 million Bitcoin have been mined.)
Investment in any cryptocurrency requires a careful analysis of how and why it accrues and retains value. The following list summarizes the characteristics of money, and as we can see from an investment evaluation, a cryptocurrency such as Bitcoin fulfills these criteria [ KEL22 ]:
-
Designed-in scarcity. Approximately every four years, the software makes it twice as hard to generate new Bitcoins, and the rewards for mining them are reduced. When Bitcoin was first available, it was possible to mine with a regular computer. As each Bitcoin is mined, the mathematical puzzle to find the next becomes more challenging. Now the calculations are so complex that they require high computational power and a considerable amount of electricity. The cost of the resources needed to compute bitcoins, combined with the volatility of the bitcoin markets, make it financially risky for many miners to operate, as mining can be more expensive than the reward. Remember that the reward goes to the first person to complete the mathematical calculation to mine a bitcoin. The runner-up in that race gets nothing for all the computation expended (and electricity used).
-
Portability. A Bitcoin can be easily loaded into a wallet or some other storage device. However, Bitcoin and other cryptocurrencies cannot be spent everywhere; only certain sellers are willing to accept bitcoins in payment.
-
Divisibility. A Bitcoin can be divided by up to seven decimal places; other bitcoin currencies can be divided similarly.
-
Accessibility. Apps are in place to provide an accessible front-end to the currency that makes it usable by all.
-
Durability. The medium Bitcoin and such currencies use endures and is not perishable.
-
Uniformity. Bitcoin currencies can be counted and measured.
Scamming
Cryptocurrency consumers are as vulnerable to scams as fiat currency users are, perhaps even more so because of the unique properties of cryptocurrencies. These currencies are decentralized (they exist as distributed ledger entries), are not backed by banks or governments, and have no consumer protection framework. If you make a transaction in error, for example, you have no means of reversing it or gaining your money back. This lack of consumer protection framework, combined with the lack of controls and regulations we associate with financial activity in the physical world, make consumers particularly vulnerable to being scammed. Digital scammers can create a fake context to trick people into parting with considerable sums of money. For more detail on scams involving cryptocurrencies, see Sidebar 13-3 . Again, from other sections of this book, you understand that scams are frequent in the digital environment.
Sidebar 13-3 Scamming and Cryptocurrencies
Like any form of money, cryptocurrencies are vulnerable to scamming, particularly investment scamming. Criminals often go to many lengths to ensure that their scams are credible.
One elaborate investment scam is known as “pig butchering” where criminals feed information to victims to encourage them to invest money. Some pig butchering scams are known as cyber romance scams because victims are sometimes identified and contacted on dating apps. Lonely and isolated people are particularly vulnerable to cyber romance scams because scammers exploit that loneliness to build a relationship. Other approaches include sending a text message to a random phone number, pretending it was an accident, and using that initial interaction to build a rapport.
CNBC reported one story in which a victim met her scammer on a dating app [ DEV22 ]. The scammer built a relationship with the victim, moving from messaging through the app to daily calls and text messages. The scammer then suggested to the victim that they invest together to build a financial nest egg for the future and encouraged the victim to invest in a fake stock trading site. The victim lost approximately US$400,000 in this way.
In pig butchering scams, victims are lured to a fake cryptocurrency trading platform. Once convinced of the authenticity of the platform, the victim invests money and is then abruptly terminated from the trading platform before the victim can withdraw the money.
COVID-19 has been used as a hook to encourage investment [ GLO22 ]. For example, one victim reported meeting a female on the dating app Tinder, and after building a rapport, the woman introduced the victim to a fake cryptocurrency called Vaccine Smart Chain that was purported to use blockchain technology and smart contracts to distribute COVID vaccines. The victim researched the cryptocurrency and found a considerable amount of documentation that reassured him that cryptocurrency was genuine. The victim invested US$21,000 in the scheme but then became suspicious when the scammer asked for more money. When the victim tried to withdraw the money, he was blocked.
Little can be done at a technical level to prevent such scams apart from increasing consumer awareness and shutting down the scammers if they are discovered. Although investment scams have been seen before the digital era, with cryptocurrency they can take place on a vast scale both in terms of the amount an individual can lose and the number of people who can be scammed.
Cryptocurrency Transactions
The many cryptocurrencies have different features, aimed at different distributed transaction situations. One significant use of bitcoin is in the remittance economy. Cryptocurrencies are used as an intermediate currency to transfer money across borders. The remittance economy is the market where migrant workers send money to family members in a different country. Many such workers use informal, and hence unregulated, money transfer services, often accessed at neighborhood check-cashing shops. Private money transfer services are more prone to abuse and can make both sender and recipient more vulnerable to being defrauded. Governments and financial agencies are trying to increase the use of formal, regulated money transfer mechanisms, but to do this, the overhead and cost of transfer of conventional banks need to be reduced. As an alternative, a migrant worker’s fiat currency is converted to bitcoin, sent to the migrant worker’s home country, and then converted to the home country’s fiat currency. This is done to streamline the costs of the transfer of the remittance.
Currency is accessed using software, an online service, or hardware. Cryptocurrency offers several desirable security properties: it is difficult to spend bitcoins you don’t own, to copy bitcoins, and to create fake bitcoin.
There are three ways of acquiring bitcoins:
-
Buying them using traditional currency
-
Selling something and being paid in bitcoin
-
Using a computer to generate a new bitcoin
Bitcoins can be sold on cryptocurrency exchanges. The seller can be paid in a traditional fiat currency. Bitcoin mining maintains the network and brings new coins into existence. Mining in this case occurs when a computer is tasked with making a complex calculation that consumes significant computing resources. The calculations are so complex that it can take years to generate a single bitcoin.
Is the Implementation of Cryptocurrencies Secure?
In this section we consider how cryptocurrencies are protected. Not surprisingly, attackers are drawn to items of value. Let’s consider the potential vulnerabilities that attackers might exploit. First we consider the mechanism itself: blockchaining and cryptography. Then we look at the infrastructure under which cryptographic blockchains are implemented. Finally, we consider the human factors.
Cryptographic Underpinnings
Cryptocurrency blockchains use several encryption algorithms and cryptographic techniques. For example, the SHA-256 algorithm that we describe in Chapter 12 underpins Bitcoin cryptography. Cracking the cryptography to fraudulently gain the private key is infeasible as there are more possible private keys 2 256 than there are atoms in the universe (approximately 10 80 ). Thus, with current computer technology the cryptographic security of cryptosystems is sound. (See the last topic in this chapter for a new development in computing technology that could put such cryptography at risk, although not for a substantial number of years.) Thus, for now at least, there is little concern about the strength of the cryptographic structure on which cryptocurrency is based
Cryptography is used across the nodes in the ledger to obtain consensus on who owns which Bitcoin. A private key is used to prove ownership of funds to the network of nodes when carrying out a transaction. Each transaction is publicly broadcast to all the nodes. Every ten minutes or so, the transactions are gathered by miners and permanently sealed into a block that is added to the blockchain. The block needs to be verified by all nodes in the Bitcoin network so that the transactions in the block cannot be forged. (Each cryptocurrency has its own rules of blockchain verification; some rules state all node owners must agree to form consensus, whereas others require only a certain percentage, such as 70%.) The number of independent node owners in a cryptocurrency blockchain makes fraud unlikely.
Cryptocurrency nodes have, so far at least, not been targets of attack. In theory, if all or most nodes of a blockchain were controlled by an attacker, consensus could be forced to accept a fraudulent coin (block in the blockchain). Compromise of a large number of nodes is an unlikely risk, especially because all the blockchain activity is public: If an attacker were to compromise one node, in order to accept a block with fraudulent transactions, other nodes would notice their disagreement and question the legitimacy of that block’s activity. A successful attack would require compromise of most or all nodes simultaneously, an unlikely coincidence.
The Cryptocurrency Infrastructure
The known hacks of cryptocurrency exchanges have involved websites, not the currency networks themselves. All the attack techniques described in other chapters of this book apply against the websites of cryptocurrency exchanges, the websites holding digital wallets, the people who work at cryptocurrency exchanges and mining operations, the browsers and network connections through which people access cryptocurrencies, and the databases holding cryptocurrency accounts. That vulnerability should not surprise you: Cryptocurrency is just like any other business and is subject to the familiar attacks. Method–opportunity–motive applies equally well to cryptocurrency.
Cryptocurrencies offer hackers and scammers the potential to trick individuals out of money, but these are tricks against the bitcoin owners, not the bitcoin system itself. Although such attacks are becoming more frequent, it is extremely difficult to elicit details about the attacks. It is often difficult to identify exactly how much money was stolen and from where, in part because cryptocurrency trading has none of the tracking and oversight of traditional financial dealings, and in part because many victims are ashamed to have been tricked.
Some people incorrectly assume cryptocurrency transactions are anonymous. In fact, these transactions are pseudonymous, meaning that the sender and receiver in a crypto transaction are identified by pseudonyms, not actual names. But the pseudonym can also identify or point to a set of likely suspects. Consider Superman, also known as the reporter Clark Kent. An astute colleague might notice that Clark Kent ducked into a telephone booth and disappeared whenever Superman appeared to counter evil activity. Similarly, a criminal might demand and receive 100 Bitcoin for a ransom. Each of those Bitcoin is unique, and its path through the Bitcoin blockchain can be followed. The criminal receives a Bitcoin, then spends it, for example, to purchase a luxury villa. Alas, the villa’s ownership becomes a public land record that reveals the name of the owner of not just that Bitcoin but of the 99 others received in the heist. The trail may be more circuitous than this one-step transaction, but diligent forensic analysis, aided by computers to manage the massive database of crypto transactions and transactors, can often associate a name with a Bitcoin [ EPC21 ]. Such forensic analysis of Bitcoin transactions is a burgeoning area of academic research [ BLA22 , ROB22 ] that will likely only develop further in the coming years.
The limitation for financial accountability is often the country in which the digital funds are converted to fiat currency or other property. Most countries cooperate on prosecuting digital financial crimes, so some fraudulent transactions can be recovered. Other countries—notably Russia and Iran—are havens in which ill-gotten gains are safe.
Crypto Keys
Although cryptocurrency is generally secure, ownership of an item in a blockchain is determined by the private key that matches the public key of the transaction conferring one unit to someone. The problem then becomes how to securely store that private key.
A cryptocoin is represented by a private cryptographic key that encrypts a blockchain entry showing ownership of that particular coin.
Paying for something with cryptocurrency usually requires performing an operation with the private key, so the result of the computation must be transmitted online. Therefore, many users prefer a hot wallet that gives immediate access to the stored key. Storage of the cryptocurrency is potentially hackable depending on the implementation. Users can also buy currencies from brokers, and then store and spend them using cryptographic wallets.
Bitcoins and other cryptocurrencies are files stored in a digital wallet. The wallet gives you an IP address for transactions. If you buy a bitcoin, it is transferred to your wallet; if you sell a bitcoin, it is transferred from your wallet. Each of these transfers is a transaction entered on a blockchain. This makes it possible to ensure that bitcoins are not fraudulently sold or that transactions are not duplicated or fraudulently undone.
Humans and Bitcoins
Cryptocurrencies are proclaimed to be a digital currency for a digital economy and digital society. Some people assert they are perfect for online shopping because shoppers do not need to give away sensitive personal details in a transaction. Costs and fees for use are lower than other media such as credit or debit cards. Especially attractive to some is the absence of government involvement.
Open Questions
Many open questions surround cryptocurrencies. Cryptocurrency was initially designed with the belief that everyone should be able to access cryptocurrency, and the transaction mechanisms should be self-regulating. The belief was that cryptography would prevent misuse. However, actual usage reveals that there are many forms of misuse that a cryptographic algorithm cannot protect against. As we maintain in Chapters 2 and 12 , cryptography is not magic; its systems are subject to fraud and misuse just as are noncryptographic systems. If cryptocurrency is to live up to its ideal of being a currency that anyone can access and use, the system requires regulation to protect against misuse and fraud.
13.3 Offensive Cyber and Cyberwarfare
In recent years, many governments have turned their attention to cyberwarfare, asking several key questions:
-
When is an attack on the cyber infrastructure considered to be an act of warfare?
-
Is cyberspace different enough to be considered a separate domain for war, or is it much like any other domain (such as land, sea, or air)?
-
How is cyberwarfare being practiced now, and how does that differ from how it was conceived of initially?
-
What are the benefits and risks of strategic cyberwarfare and tactical cyberwarfare?
In this section we deviate from our consideration of attacks to examine these important questions. We begin by looking at the definition of cyberwarfare: What are we protecting, and what acts might be considered acts of war? We follow the definition with several recent examples of purported cyberwarfare activities worldwide. We then examine how cyberwarfare was imagined and how, in reality, it is unfolding with the emergence of the term “offensive cyber.” Next, we discuss some the critical issues involved in using cyberwarfare as a national tool. Finally, we pose questions for you to consider and debate about the policy, legal, and ethical implications of conducting cyberwarfare.
What Is Cyberwarfare?
One of the main controversies surrounding the concept of cyberwarfare is whether it represents a valid form of warfare. We begin our consideration of cyberwarfare by asking what we are protecting.
The U.S. Department of Defense defines cyberspace as “a global domain within the information environment consisting of the interdependent network of information technology infrastructures, including the Internet, telecommunications networks, computer systems, and embedded processors and controllers” [ DOD08 ]. Thus, the Defense Department recognizes a broad cyber infrastructure. But what exactly is an act of cyberwar, and how does cyberwarfare differ from cybercrime or cyberterrorism?
Definition of Cyberwarfare
The definition of cyberwarfare is less settled than you would think. Some experts, such as McGraw and Arce [ MCG10 ], argue that the cyber domain is not like other theaters of war because a country cannot overtake or “own” cyberspace in the same way an army dominates land, sea, or air. Libicki [ LIB09 ] distinguishes between operational and strategic cyberwarfare: The former uses cyberattacks to support war fighting, while the latter uses cyberattacks to support state policy. By Libicki’s definition, cyberespionage can be an act of cyberwarfare.
However, others suggest that cyberwarfare is more like other kinds of warfare. For example, Eneken Tikk, former head of the legal and policy branch of the NATO Cooperative Cyber Defence Centre of Excellence, says that a cyberwar causes “the same type of destruction as the traditional military, with military force as an appropriate response” [ GRO10 ].
Anup Ghosh [ GHO10 ] has a more nuanced view: He distinguishes cybercrime, cyberespionage, and cyberwarfare. He says that cybercrimes are committed when illegal cyber-based actions are aimed at monetary gain. Cyberespionage is different. “[Today’s] cyber intrusions are not bringing down the network, destroying the power grid, the banking system, imploding chemical factories, bringing down airplanes, or destroying common governmental functions. Instead they are doing reconnaissance, collecting data, and exfiltrating the data through a series of network relays.” Note, however, that after Ghosh made that statements, attackers have attempted to disable sections of the internet, the power grid, petroleum distribution, and the banking system, temporarily, at least.
Cyberwarfare is larger than cyber mischief, cybercrime, cyberespionage, cyberterrorism, or cyberattack. “Warfare” is a term typically reserved for active conflict between nation states.
What is left is what is often called special operations. As Ghosh comments, “Occasionally we’ll see an outbreak where machines get corrupted, networks go down, perpetrators get caught red-handed, and we may even strike back. Is this warfare? It certainly seems to fit the bill…. The perpetrators may be well-trained cyber warriors with specific military/intelligence objectives—the equivalent of special ops in the military branches today. It’s special warfare in the cyber world.” That is, Ghosh suggests that cyberwarfare is special operations actions that occur in the cyber domain. Sommer and Brown [ SOM11 ] offer a similar definition: “A true cyberwar is an event with the characteristics of conventional war but fought exclusively in cyberspace.” Both imply that cyberwarfare must be done by state actors, not by arbitrary groups; that distinction separates cyberwarfare from cyberterrorism.
Where Ghosh parts company with Sommer and Brown is in the restriction to cyberspace. Sommer and Brown doubt that a true cyberwar can happen, but Ghosh sees it differently: “[Cyberwar] may escalate to a low intensity conflict. Ultimately it will likely serve a role in traditional warfare in prepping the battlefield through intel collection and softening defenses by taking out command and control synchronized with kinetic attack. Is Cyber War real? Yes.”
Possible Examples of Cyberwarfare
Many actions are called acts of cyberwarfare. In this section we present a few that fit most definitions: They have been attributed to state actors and occur in cyberspace.
Estonia
Beginning in April 2007, the websites of a variety of Estonian government departments were shut down by multiple, massive distributed denial-of-service attacks immediately after a political altercation with Russians. However, Estonia’s defense minister admitted that there is no definitive evidence that the attacks originated in Russia or that it was state sponsored. Both NATO and Eneken Tikk, then Estonian advisor to the United Nations First Committee Group of Governmental Experts on International Information Security, refused to view the Estonian attack as cyberwarfare [ GRO10 ], but others did.
Iran
As we saw in Chapter 6 , the virulent Stuxnet worm attacked a particular model of computers used for many production control systems. The press reported in 2010 that Iran’s uranium enrichment facility at Natanz had been attacked by that worm, which caused failures of many pieces of equipment. Because Stuxnet recorded information on the location and type of each computer it infected, researchers at Symantec determined that the attack occurred in three stages and that the 12,000 infections could be traced to only five points of infection: domains within Iran linked to industrial processing. The first successful infection, probably through an internet vector, occurred in June 2009, and by the end of 2009, almost 1,000 centrifuges had been taken offline. The second infection, in April 2010, involved a Windows vulnerability exploited by insertion of an infected USB drive. Further details of the attack are available in [ ALB11 ] and [ MAR11 ].
But who was the perpetrator? We may never know, but the New York Times reported in January 2011 that Israel had built a replica of an Iranian uranium enrichment plant at a classified site [ BRO11 ]. Other press reports suggest that the United States and Israel instigated the attack.
Israel and Syria
Missiles fired in 2007 by Israeli planes did not show up on Syrian radar screens because software had replaced live images with fake, benign ones. But attribution is tentative; here is an example of how the attack is described: “From what journalists have discerned, Israel jammed Syrian radar and other defenses, allowing sufficient time to launch the strike undetected. During the attack, cyber tactics appeared to involve remote air-to-ground electronic attack and network penetration of Syria’s command-and-control systems” [ MIL10 ].
But the network was not just disabled. “[Analysts] contend that network penetration involved both remote air-to-ground electronic attack and penetration through computer-to-computer links.” Fulghum et al. [ FUL07a ] refer to an analyst describing spoofs of the Syrian command and control capability, done through a network attack. Fulghum [ FUL07b ] later described a technology likely used in this attack: “The technology allows users to invade communications networks, see what enemy sensors see and even take over as systems administrator so sensors can be manipulated into positions so that approaching aircraft can’t be seen, they say. The process involves locating enemy emitters with great precision and then directing data streams into them that can include false targets and misleading messages [and] algorithms that allow a number of activities including control.”
In short, not only did the Israelis presumably intercept or block signals, but they also inserted signals of their own into the air defense network. Envision an air defense screen that shows an empty sky while enemy jets are racing through the air.
Canada
In January 2011, the Canadian government revealed that several of its national departments had been the victims of a cyberattack: the Treasury Board, the Finance Department, and Defense Research and Development Canada. Ian Austen [ AUS11 ] reported that the departments had little or no internet access for two months. “The breaches were traced back to computer servers in China although there is no way of knowing whether those who perpetrated the attacks were actually in China or simply routing the attacks through China to cover their tracks” [ CBC11 ].
It was suspected that the target of the attacks was the confidentiality of the Canadian budget. In Canada the federal budget is proposed by the prime minister; after it is presented to the Parliament, it is accepted as is—no debates, no changes. For this reason, the proposed budget is kept under wraps, and it is thought that the attackers were trying to reveal its details.
The perpetrators appear to have used two kinds of attacks, both involving social engineering. First, using “executive spear phishing,” they took control of computers belonging to senior officials in the affected departments. Then, they generated messages to the departments’ IT support system, appearing to be from the officials, so that they could obtain passwords to key systems.
Second, the attackers sent email messages, purportedly from the officials, with PDF files attached. When the recipients opened these files, hidden programs were launched that sent confidential information and files back to the attackers. However, a Canadian cybersecurity researcher “was skeptical that Canadian government investigators could demonstrate that no information was stolen from the systems” [ AUS11 ].
Russia
According to the New York Times (14 October 2014), Russian hackers exploited a flaw in the Windows operating system to infiltrate the computers of NATO and various national governments, in particular, Ukraine. The attacks seem to have been used to perform espionage on government officials. Of particular interest were activities related to the diplomatic standoff between Russia and Ukraine. The spying may have begun as early as 2009 and continued at least through the September 2014 NATO summit meeting at which Russian hostility toward Ukraine was the central topic.
What is more sacred to the notion of democracy than free and fair elections? Between 2013 and 2016 the Internet Research Agency (IRA), a Russian company engaged in propaganda, created thousands of social media accounts to influence voters in the 2016 U.S. presidential election in which Donald Trump defeated Hillary Clinton. The U.S. Office of the Director of National Intelligence reported [ DNI17 ] that an influence campaign was directly ordered by Russian President Vladimir Putin. State election databases were probed, the Russian intelligence service GRU gained access to servers of the U.S. Democratic National Committee as early as 2015, and the Russian government employed its trolls at the IRA to use social media to spread untrue statements negative toward candidate Clinton. Russia had previously used the IRA similarly to advocate for pro-Russian causes in Ukraine.
Are These Examples of Cyberwarfare?
Each of these situations certainly qualifies as cyber harm and probably as cyberwar, although it is uncertain that they were caused by state agents as opposed to groups of individuals; we may never know who sponsored these attacks. The difference is important: If an attack is state sponsored, the nation being attacked is justified in mounting a diplomatic, economic, technological, and military retaliation against the offending country. Such escalation is unwarranted if independent individuals are the culprits, however.
In all cases, stopping or diminishing the harm is a first priority. For those reasons, technologists and policymakers have begun to consider a so-called kill switch, a means to halt or destroy computer equipment remotely by sending a signal, as described in Sidebar 13-4 . With your background from reading the rest of this book, you should immediately recognize that such a countermeasure is dangerous because an enemy could use the same function to halt critical computers, especially if the disruption were to accompany a concurrent noncyber attack.
Sidebar 13-4 A Kill Switch—Helpful or Harmful?
More and more, military around the world are concerned about loss of control over what might be inside their more and more sophisticated electronic systems. “Nearly every military system today contains some commercial hardware. It’s a pretty sure bet that the National Security Agency doesn’t fabricate its encryption chips in China. But no entity, no matter how well funded, can afford to manufacture its own safe version of every chip in every piece of equipment” [ ADE08 ].
One way the military is trying to control this uncertainty about malware in its systems is to build in a kill switch, something with which the military could disable some system or software from afar. For example, after the Israeli attack on a suspected nuclear installation in Syria, there was much speculation that an electronic “backdoor” had been built into chips used in the Syrian radar system. “By sending a preprogrammed code to those chips, an unknown antagonist had disrupted the chips’ function and temporarily blocked the radar” [ ADE08 ].
The appeal of such a kill switch is clear: If something goes wrong, the system or some part of it can be disabled remotely. There are several ways to build such a switch, including addition of extra logic to a chip or extra software capabilities to a large, complex system. The latter may be especially difficult to find: “Say those 1000 transistors are programmed to respond to a specific 512-bit sequence of numbers. To discover the code using software testing, you might have to cycle through every possible numerical combination of 512-bit sequences.… Tim Holman, a research associate professor of electrical engineering at Vanderbilt University, in Nashville, [says] ‘There just isn't enough time in the universe’” [ ADE08 ].
As we explain in Chapter 3 , depending on secrecy is a risky countermeasure, especially for a technology as powerful as this.
Cyberwar or Offensive Cyber?
Academics and political commentators have noted that cyberwar has not emerged in the way it was perhaps imagined. Rather than wars beginning and ending in cyberspace, acts of cyber aggression are carried out primarily by teams of civilians acting on behalf of states. Such teams carry out these activities in a fragmented and diffuse way, and these activities are interwoven into other acts of state craft. The term offensive cyber has emerged to describe this more nebulous form of state-backed cyber aggression. The indications are that states will use cyber operations to carry out acts of aggression without actually going to war [ MAS21 ].
Cyberwar then shifts to offensive cyber, which includes “activities in cyberspace that manipulate, deny, disrupt, degrade or destroy targeted computers, information systems, or networks” [ HAN18 ]. Maschmeyer contends offensive cyber offers states a means of covertly exerting power when diplomacy has failed and open war would be too costly or risky. Examples of offensive cyber have been given throughout this book. Solar Winds, Stuxnet, and the NotPetya self-replicating virus are all examples of offensive cyber activity. We explore the details of NotPetya in Sidebar 13-5 .
Sidebar 13-5 NotPetya
NotPetya is part of the family of Petya encrypting malware. Petya was originally discovered in 2016. It targets Microsoft Windows systems by infecting the master boot record to make it possible to encrypt the computer’s hard drive file system table, which, in turn, prevents the Windows operating system from booting up.
The initial NotPetya cyberattack took place in June 2017. The target of the NotPetya attack was the Ukrainian government and Ukrainian financial institutions. The NotPetya attack was made possible by a malicious encryption tool inserted into a piece of legitimate software used by Ukrainian financial and government institutions. Once computers were infected, the malicious software encrypted the computer’s data and sent a ransom note demanding payment in return for decryption. The malicious software spread rapidly using trusted networks. It did not travel via the internet, which meant that it was not blocked by perimeter controls.
The attack was designed to look like a ransomware attack, but the payment process was flawed in such a way that the attacker would have been unable to decrypt the data even if the victim made a ransom payment. As a result, NotPetya is regarded as a destructive attack masquerading as a ransomware attack. One vulnerability NotPetya exploits is in Microsoft’s Server Message Block protocol. The tool that exploits this vulnerability is called EternalBlue, and Microsoft released a patch for the vulnerability in March 2017. NotPetya combined EternalBlue with use of the Mimikatz exploitation that enables attackers to retrieve passwords from a computer’s RAM. Using these passwords, NotPetya could gain access to other computers accessible with the same credentials. The combination of EternalBlue and Mimikatz made NotPetya so powerful: EternalBlue used an unpatched vulnerability to compromise a machine, and Mimikatz entered that machine to find passwords allowing access to other machines, even patched ones. NotPetya went on to infect computers across the world and is regarded by some security analysts as the most devastating cyberattack in history [ GRE18 ].
As in conventional wars, civilians suffer much of the destruction. Affected private companies (with loss amounts in U.S. dollars) included pharmaceutical giant Merck ($870 million), delivery service FedEx ($400 million), Danish shipping company Maersk ($300 million), food company Mondelēz—parent company of Nabisco and Cadbury—($188 million), and British conglomerate Reckitt Benckiser ($130 million)—owner of Lysol cleaning products and Durex condoms. The total estimated loss due to the NotPetya attack exceeds $10 billion [ GRE18 ]. The devastation is in large part due to the speed with which the malware propagates from one computer to another.
One of the key controversies that surrounds NotPetya is attribution: Which actor carried out the attack? In 2018, the U.K. government announced its judgment that the Russian military was responsible for the attack [ NCS18 ]. However, perhaps more controversially, the EternalBlue and Mimikatz exploits were not originally designed in Russia; EternalBlue is attributed to the U.S. National Security Agency, and Mimikatz was written by a French security researcher as a proof-of-concept vulnerability demonstration. Although the evidence points to Russia carrying out the original NotPetya attack, the origin of the core ingredients resides in a number of countries. Thus, if NotPetya is an act of cyberwarfare, who is the responsible party: the creator of the attack code or the country that employs it?
Offensive cyberwarfare differs from conventional warfare in another significant way: With conventional weapons, one side tries to prevent the other side from learning the capabilities of the first’s weapons. A fighter jet, for example, is often loaded with explosives so a downed pilot can destroy the plane with its valuable intellectual property: the electronics for targeting, communications, and evasion. Cyberweapons are not so easy to conceal. You launch an attack mechanism—a virus, for example—and the code persists on the victim’s network. Worse, if the victim can determine how the attack was carried out, the victim can then turn that attack method back against the attacker. So, NotPetya employs the EternalBlue exploit, which is believed to have been developed by the U.S. National Security Agency. It is thus an ironic twist that EternalBlue was reused against many companies in the United States.
Military doctrines and policy documents refer to war, which brings to mind soldiers firing at enemies on a front line. In reality, cyber acts of state aggression are carried out by technologists supported by a wide array of tools to identify and exploit vulnerabilities in systems. These technologists often work at desks in settings a great distance from the actual theatre of war. These teams, who may not be formally part of the military, work on behalf of states to attack systems of value to other states; such attacks are often part of covert operations. The tools, techniques and exploits deployed in these attacks are familiar cyber tools and techniques.
This description highlights another distinction of cyber versus conventional warfare. With conventional warfare, we envision armies of combatant soldiers charging up a hill to advance a battle line. It is clear who the participants are. They are all members of an armed force, either regular soldiers or mercenaries. By contrast, who are cyber warriors? Are they members of a military branch? If one country attacks another by cyber means, and the attackers are aided by what we might call cyber civilians (like-minded hackers), are these cyber civilians combatants? Even if they do not act on the orders of military personnel?
As explained by Devanny and colleagues [ DEV21 ], it is not so much the cyber techniques that make offensive cyber distinctive but the organizational structures a state creates to deploy such techniques and the ways in which such structures are motivated by political doctrine. When civilian teams operate in this way on behalf of the state, acting in the shadows and not participating in a declared state of war, a country is in a peculiar legal situation: Actions permitted during a declared state of war may be less acceptable in peacetime. The involvement of legal experts, and the way they have to be embedded in every stage of the offensive cyber activity, underscores how contested such activities are. It also indicates the difficulties in building such a capability.
Smeets [ SME22 ] explains that the challenges to creating an offensive cyber capability can be broken down into five areas:
-
People. Technologists alone cannot offer an offensive cyber capability. Additional skills are required such as from analysts, front-office support, legal experts, and so on.
-
Exploits. Choosing the right type of exploit to challenge an adversary is a complex decision. It is not necessarily the case that unknown or zero-day exploits are the best choice. For many environments, a lack of comprehensive patching and gaps in an organization’s monitoring and surveillance systems mean that carrying out a carefully chosen known exploit can be more effective.
-
Tools. Difficult and careful choices need to be made when selecting which tools will be used to carry out exploits.
-
Infrastructure. Offensive cyber requires infrastructure such as cyber ranges for testing and training exploits and tools. For a cyber offensive capability to be robust and effective, a considerable amount of training in the right type of environment is required.
-
Organization. Having the right mix of skills is important for an offensive cyber operation to work, but so too is having the organizational structure aligned with political doctrine so that this rich mix of skills can be used effectively.
Maschmeyer notes that offensive cyber focuses on subversion rather than force. Vulnerabilities are exploited so that as systems become subverted they are used secretly against the adversary [ MAS21 ]. The objective of an offensive cyber operation might be regime change or it might be the destabilization of small institutions important to the adversary.
Critical Issues
Many countries, including Britain, France, and the United States, have created “cyber commands”: military entities focused on using cyber capabilities for both offensive and defensive purposes. But, as we have seen, many critical issues must be addressed if acts of cyber aggression are to be a reasonable approach to solving international problems.
We now pose some large questions concerning these issues for you to analyze and debate. There is no single right answer to these questions, nor is there even majority agreement on these answers. We invite you to think through these questions, develop your own answers, and perhaps debate them with friends, family, colleagues, or classmates.
When Do Acts of Cyber Aggression Become Cyberwarfare?
What constitutes an act of war? According to some war historians, the action must be taken by uniformed members of the attacking country’s military, and the result must be acknowledged as a military action by the attacked country.
By this standard, the attack on Estonia was not an act of war. It may have been instigated by organized criminals or a group of angry citizens, and it was not acknowledged as a military action by any national government. What about the other examples in the previous section: Which are likely to be true acts of warfare by this standard? And is this standard reasonable for acts in cyberspace?
How Likely Is It?
Sommer and Brown [ SOM11 ] claim that there will never be a true cyberwar. They offer several reasons, including the difficulties of predicting the true effects of a cyberattack: “On the one hand [attacks] may be less powerful than hoped but may also have more extensive outcomes arising from the interconnectedness of systems, resulting in unwanted damage to perpetrators and their allies. More importantly, there is no strategic reason why any aggressor would limit themselves to only one class of weaponry.”
At the same time, they point to the proliferation of cyberweaponry: “Cyberweapons are used individually, in combination and also blended simultaneously with conventional ‘kinetic’ weapons as force multipliers. It is a safe prediction that the use of cyberweaponry will shortly become ubiquitous” [ SOM11 ].
Cyberweapons act like conventional ones: They destroy or disrupt a population’s ability to function, weaken the economy, and devastate morale. However, whereas a bomb destroying a bridge or factory can lead to a long recovery time, electronic equipment is fungible and easily replaced. Cyber conflict may shut down a network, but network connectivity and routing have been designed for resilience, so recovery can occur reasonably fast. Other aspects of recovery are examined in Sidebar 13-6 .
Sidebar 13-6 How Long Is a Cyber Response Effective?
A great deal of media attention was given to the Stuxnet attack, and a great deal of discussion ensued about how best to defend against such attacks. But less attention was paid to the way in which Iran recovered from the attack. In early 2011 David Albright, Paul Brannan, and Christina Walrond [ ALB11 ] released their analysis of Iran’s recovery efforts. “While it has delayed the Iranian centrifuge program at the Natanz plant in 2010 and contributed to slowing its expansion, it did not stop it or even delay the continued buildup of low-enriched uranium,” they noted. Indeed, the International Atomic Energy Agency (IAEA) watched the process on video cameras installed for monitoring purposes. Hundreds of centrifuges were dismantled and discarded, but they were replaced almost immediately by new machines. The IAEA found “a feverish—and apparently successful—effort by Iranian scientists to contain the damage and replace broken parts, even while constrained by international sanctions banning Iran from purchasing nuclear equipment.” Indeed, in the aftermath of the attack, Iran had “steady or even slightly elevated production rates” at Natanz during 2010 [ WAR11 ].
Similarly, when Mubarak shut down the internet in Egypt for five days, as described in Sidebar 13-7 , the populace communicated by mobile phone. In particular, by taking pictures and video with their cell phone cameras and then transmitting them through mobile phone technology, they kept the wider world apprised of what was happening in their country [ PRE11 ].
These events suggest that it is important to ask not only whether cyberwar is effective but also for how long. Many discussions among computer security practitioners focus on the possibility of attack (is there a vulnerability to be exploited?) but not on whether the attack will result in sustained damage or disability.
What Are Appropriate Reactions to Acts of Cyber Aggression?
Both Eneken Tikk, Estonian international law and cyber policy expert, and Prescott Winter, a former CIO and CTO at the U.S. National Security Agency, suggest that governments and companies should prepare for coordinated attacks. However, they note that it is difficult to prepare for cyberwar because few precedents exist. “Governments know how to negotiate treaties and engage in diplomacy to head off conventional wars, but no one really knows how a confrontation between nations would escalate into a cyberwar,” Winter noted. “There’s a whole dance that nations go through before a traditional war, and diplomacy can often avert conflict.… That doesn’t really exist yet in the cyberdomain” [ GRO10 ].
Winter emphasized that nations do not yet have rules of engagement for cyberwar, including how to use private-sector networks to reroute traffic and shut down attacks. Tikk urged governments to develop cyberwar policies, leveraging cooperation between nations. This kind of cooperation is one of the outcomes of joint cybersecurity exercises [ GRO10 ].
Nations should develop rules of fair engagement, similar to the Geneva Conventions, for cyberwarfare; these rules need to be set before conflict occurs.
Some governments are considering increased monitoring of activities on the cyber infrastructure as a way of watching for unwelcome behavior. But civil liberties organizations urge care in implementing monitoring, as we discuss in Chapter 9 .
Other Policy, Ethical, and Legal Issues
Myriad policy, ethical, and legal issues must be addressed if cyberwarfare is to be a viable strategy. We consider several here.
Does a “Kill Switch” Make Sense?
There have been movements worldwide to implement a variety of kill switches in the cyber infrastructure, ways to shut down an attack in progress. For example, in the commercial world, Australia has implemented a voluntary code of practice for Australian ISPs. Known as the iCode, it contains four key provisions:
-
a notification and management system for compromised computers
-
a standardized information resource for end-users
-
a source of the latest threat information for ISPs
-
in cases of “extreme threat,” a way for affected parties to report to CERT Australia, facilitating both a national high-level view of an attack’s status and coordination of private and public responses
Included in the extreme threat response is a kill switch that would allow ISPs to shut down parts of the infrastructure, although this approach would be accomplished by human network engineers, not an electronic signal.
Similarly, in the United States, a bill called “Protecting Cyberspace as a National Asset (S3480)” was introduced in Congress in 2010. Nicknamed the “Kill Switch Bill,” it contained a provision that would grant the “president power to act [if] a cyberattack threatens to cause more than $25 billion in damages in a year, to kill more than 2,500 people or to force mass evacuations.” The president would have the ability to pinpoint what to clamp down on without causing economic damage to U.S. interests, for anywhere from 30 to 120 days with the approval of Congress. Although S3480 did not progress beyond committee, the concept could be reintroduced. The bill was based on and would extend the 1934 statute that created the Federal Communications Commission. This existing legislation authorizes the president to “use or control” communications outlets during moments of emergency involving “public peril or disaster.” The proposed change does not explicitly create a kill switch, but it requires only that the president notify Congress before taking control of infrastructure. Other rulers have already taken such sweeping action, as described in Sidebar 13-7 .
Sidebar 13-7 How Egypt Pulled the Switch
In the midst of the 2011 Egyptian revolt against Hosni Mubarak’s rule, a technological revolt was missed by some observers: “the government’s ferocious counterattack, a dark achievement that many had thought impossible in the age of global connectedness. In a span of minutes just after midnight on Jan. 28, a technologically advanced, densely wired country with more than 20 million people online was essentially severed from the global Internet,” reported New York Times journalists James Glanz and John Markoff [ GLA11 ]. Although the blackout lasted only five days and did not help Mubarak stay in power, it offers lessons about security engineering.
The biggest vulnerability exploited by Mubarak was government ownership of the cyber infrastructure. Glanz and Markoff point out that this vulnerability is widespread. “Similar arrangements are more common in authoritarian countries than is generally recognized. In Syria, for example, the Syrian Telecommunications Establishment dominates the infrastructure, and the bulk of the international traffic flows through a single pipeline to Cyprus. Jordan, Qatar, Oman, Saudi Arabia, and other Middle Eastern countries have the same sort of dominant, state-controlled carrier.… Activists in Bahrain and Iran say they have seen strong evidence of severe Internet slowdowns amid protests there. Concerns over the potential for a government shutdown are particularly high in North African countries, most of which rely on just a small number of fiber-optic lines for most of their international Internet traffic.”
But government ownership is not the only problem. Others include the small number of connections to the outside world, each of which is also government controlled, and the reliance on content coming only from outside Egypt. What resulted was a topology that made it easy for the government to cut Egypt off quickly and almost completely.
Do Existing National Compacts Apply to Cyberwarfare?
National and international cooperation depend on international compacts. But do existing international compacts apply to cyberwarfare? There are basic differences in approach to security from one country to another. For example, as presented in Chapter 9 , the European Union’s General Data Protection Regulation gives an EU citizen the right to control his or her personal information, but in the United States, no such right is guaranteed by law. How can these national differences be overcome so that information can be shared among allies fighting a cyberwar?
At a meeting in September 2014, NATO member countries agreed that a cyberattack on any of them could trigger a response from all. This action reaffirmed Article 5 of NATO’s foundation agreement, which states that “an armed attack against one or more of [the member states] shall be considered an attack against them all.”
Does Release of Defensive Information Help the Attackers?
Even when information sharing is enabled, how can it be shared without assisting the attackers? We have seen examples where attackers learn by observing the nature of system changes as the system is repeatedly attacked. How can information be shared without aiding attackers?
Is Cyberwarfare Only a Military Problem?
McGraw and Arce [ MCG10 ] argue that cybersecurity is “a complex network of intertwined economic, cultural, diplomatic and social issues.” Moreover, the geographical boundaries influencing other types of warfare do not exist in cyberspace, and the suppliers of the cyber infrastructure are a vivid, multinational mixture of cultures and perspectives. National war doctrines and political debates do not fit well on the unbounded internet, where the rules of a single country or alliance are impossible to enforce. Given these difficulties, how can we balance the military’s perspective with these other perspectives? Indeed, with much of the cyber infrastructure in private hands, what role does the military play at all?
13.4 Quantum Computing and Computer Security
As our last topic we describe a radical change of the design of computers, one that could dramatically increase the speed of computing. Although in most regards such an improvement would be welcome, there is one aspect of cybersecurity in which that would be devastating.
Quantum Computers
As detailed in Chapter 12 , cryptography depends on known hard problems. Factoring in finite groups is the basis of both RSA and ECC public key cryptography. Furthermore, AES encryption depends on a large number of time-consuming steps. For both these approaches, cryptologists reject the brute force solution of trying all possible key values, which is guaranteed to work but is so time consuming as to be infeasible. A work factor of 2 256 operations is enormous.
Quantum computing involves a different approach to algorithm design from the classical straight-line approach used even by today’s supercomputers. Whereas a bit in an ordinary computer has a value of either 0 or 1, a qubit , the equivalent of a bit in a quantum computer, can hold several values in combination. Groups of qubits can create complex, multidimensional computational spaces.
Quantum computing is now a commercially available technology. A quantum computing processor wafer, the analog to a chip, is similar in size to a CPU in a laptop. The limitation on quantum hardware is cooling; the superconducting processor of a quantum computer must be kept extremely cold, to approximately 0.1 degrees above absolute zero. Thus, the laptop-sized quantum computing device requires a cooling system about the size of an automobile. Although the technology for quantum computing is available, size and the cooling restriction keep it from being widely deployable—for now, at least.
Still, computer security experts do not rest on the strength of today’s world; they have to prepare for a future in which massive computing power may be available to adversaries.
Quantum-Resistant Cryptography
One area in which massive computer power could be revolutionary is cryptography. In general we have dismissed the brute force attacks of trying all possible key values because these attacks are infeasible. DES was broken in 1997 and 1998 mostly because its 56-bit key length, although satisfactory in 1977, was overcome by the never-ending speed improvement in computing technology. Brute force succeeded only because hardware became fast enough. The response to this compromise was AES, with keys of 128 bits and more, putting the brute force possibility well out of reach.
Or so the planners thought. With qubits able to hold multiple values at once, each qubit can fork two processes: one for the value 0 and one for 1. Thus, whereas a conventional computer would have to follow these two paths sequentially, so they represent two amounts of effort, a quantum computer could follow the two paths in parallel, with no additional effort. Given parallelism, quantum computing can move brute force attacks on cryptographic keys from infeasible to theoretically possible.
In 2016 the National Institute of Standards and Technology (NIST) challenged cryptologists to develop new algorithms that would be immune to quantum computer speed-up. In July 2022, NIST announced the first four encryption tools designed to withstand the power of quantum computing. Four additional algorithms are expected to be announced at a later time. These eight algorithms will be folded into a future document detailing publicly available cryptography for the era of quantum computing.
The first named algorithm is Kyber , specifically Kyber-512 (a version intended to be comparable in strength to AES with a 128-bit key), Kyber-768 (comparable to AES-192), and Kyber-1024 (comparable to AES-256). Kyber was defined by a team drawing experts from several research centers in Europe and the United States. Kyber is already in use by some commercial applications.
NIST intends that new public key cryptography standards will specify one or more additional unclassified, publicly disclosed algorithms for digital signatures, public key encryption, and key-establishment that will be available worldwide. These encryption tools should be capable of protecting sensitive government information well into the foreseeable future, including after the advent of quantum computers.
Commercial computer manufacturer IBM has called the 2020s “the quantum decade.” IBM’s own offerings of quantum supercomputers are increasing exponentially in capacity, as are those of other manufacturers. These new hardware designs will require a fundamental change in the basis of cryptography.
13.5 Conclusion
In this chapter we examine four topics that are the subject of current attention and will likely be the topic of research and development in the computer security community. However, the discussion needs to move beyond computer security students and professionals and beyond even technologists. The issues here are both technological and personal. How do we decide whether a technology is secure enough for widespread use? And who makes those decisions? These questions do not have easy answers in technology; they come only from the political arena.
We do not provide exercises for this chapter, for two reasons. First, as we describe in the opening of this chapter, these topics are the subjects of significant current research, which implies likely change. There is no point in posing exercise questions that could well be outdated soon. Second, these topics are big, including both technological and policy aspects. Although we could ask you, our readers, to speculate on proper uses of these subjects, the debate over such uses does not readily lead to simple questions or conclusions.
Thus, the situations raised in this chapter are actually challenges to you as readers, students, professionals, scientists, and engineers. You need to work to communicate the technical aspects of these issues so people outside your peer group can understand them. At the same time, you need to energize the public to engage in these discussions. As you understand from reading this book, we all suffer when security fails. Security can succeed only when the broader public understands and supports it.