Not at the door. Not testing the locks. Inside, reading your email, mapping your systems, copying your files, and waiting. Your screens look normal. Your staff is productive. Your security software says everything is fine. And you have no idea.
That is not a movie plot. It is the central idea of this book.
I believe that many businesses, governments and pieces of critical infrastructure have already been compromised, and that most of them do not know it. Some have been compromised for years. Skilled attackers do not announce themselves. They do not lock your files and demand a ransom on day one; that is the amateur’s move. The professional is patient. A threat actor can sit quietly inside a system for months, even years, collecting everything and touching nothing, until the day it becomes useful to act. Security professionals call the time between an intruder’s arrival and their discovery dwell time, and the longer it runs, the more there is to lose.
If that sounds like paranoia, consider what government security agencies have said publicly. In 2024, they warned that state-sponsored hackers had maintained access to some critical infrastructure networks for at least five years. The targets included communications, energy, transportation, and water and wastewater systems: the systems that keep the lights on and the taps running. Five years, before anyone found them.
I wrote my first programs in 1979, when I was eleven years old and there were no computer games to buy, so I built my own. In the decades since, I have set up and secured systems for a bank and worked on the computer network of a manufacturer of military jet engines. Everywhere I went, I learned the same lesson. The people who build systems are focused on making them work. The attackers are focused on the one place they do not.
This is a book about that second way of thinking. Espionage once required trench coats, border crossings and dead drops. Today a spy needs a laptop and patience. Cyber war has no front line, no declaration and no uniforms. The battlefield is your inbox, your router, your vendor, your employee’s phone. And in this war there are no spectators. Everyone is a player, whether they know it or not. This is your handbook.
In these pages you will learn how attackers think, how they get in, and how they stay hidden. You will see why governments, militaries, companies and ordinary people are all targets, and what you can do, starting today, to find them and close the door.
Here is my challenge. Read this book as if you have already been breached. Do not ask if. Ask how long, and how would I know? If you cannot answer that second question, you are exactly who this book was written for.
Some will say it is antivirus software. Others will say strong passwords, or a firewall, or the person in the IT department who keeps telling them to update their computer. Each of those answers describes a piece. None of them describes the whole.
For me, cyber security is both an art and a science.
The science is the part you can measure and repeat: permissions, configurations, encryption, testing, monitoring. There are right ways and wrong ways to set these up, and the best practices exist because someone, somewhere, learned the hard way.
The art is everything else. It is judgment. It is knowing where a patient attacker will look first, deciding what must be protected above all else, and finding the balance between a network that is locked down and a network people can actually work on. A scanner can find a weak setting. Only experience can tell you which one matters.
And the job is bigger than most people think. Cyber security is not only about protecting data. It is about protecting the infrastructure that the data lives on and travels across: the cables, the switches, the servers, the accounts and the people. It means securing all of it from beginning to end, and then keeping it secure throughout the entire process. Security is not something you finish. It is something you maintain.
When I build a network, I start with the infrastructure. I make sure it is secure before a single computer comes onto the network. Nobody builds a house, moves the family in, and then decides to pour the foundation. The same logic applies here. When the foundation is secure first, every device that joins the network inherits a safe environment instead of bringing its own risks along for the ride.
As a cyber security consultant, I believe any network should be secured from the very beginning.
Most people do not get to start from zero. Most organizations already have a network in place, and it did not arrive all at once. It grew. A server was added here. A contractor was given access there. A “temporary” exception was made for a project that ended years ago, and nobody ever turned it off. Over time the network becomes a layer cake of decisions, many of them made by people who are no longer around.
So how do you secure a network that is already in place?
The first thing I look at is who on the network has administrator or root permissions. These are the master keys. An account with administrator rights can create other accounts, change settings, read nearly anything, delete nearly anything, and even switch off the tools that watch for intruders. If an attacker takes control of one of those accounts, the attacker gets all of that too.
Here is what I do. I revoke administrator permissions from every account on the network, with one exception: the chief technology officer, whose permissions stay in place. Everyone else has to log back in and ask. As each request comes in, the chief technology officer grants the permissions that person actually needs, and no more. If your organization is too small to have a chief technology officer, give that authority to the one person who is ultimately responsible for technology. One person, not five.
I know this sounds inconvenient. Someone will be locked out of something at the worst possible moment, and they will let you know about it. But a few hours of inconvenience is a small price for what it buys you.
You will not believe how many networks still have administrator accounts that belong to people who are long gone. They quit. They retired. They were let go. A contractor finished the job years ago. Nobody removed their access, so their accounts sit there with full power, doing nothing, watched by no one.
That is exactly what makes them dangerous. An attacker who signs in with a forgotten administrator account sets off no alarms, because as far as the system is concerned, an administrator just logged in. This is how some intruders stay hidden for years.
The beauty of the reset is that it flushes these ghosts out. Current employees will come asking for their access back. The accounts of people who left never will. Whatever remains unclaimed does not get a second look. It gets purged.
Security professionals have a name for what we just did: the principle of least privilege. Every person and every system gets the minimum access needed to do the job, and nothing more. Access is earned and recorded, not inherited and forgotten. Then make it permanent. Add “remove all access” to the checklist for every departure, on the same day the person leaves, and review on a regular schedule who holds administrator rights.
Knowing who holds the keys is only the beginning. But it is the step most networks skip, and it is the one an attacker is hoping you never take.
In the last chapter we talked about who holds the keys. Now let us talk about the people who want them. There are dozens of ways to attack a network, and new ones appear every year, but they all share the same goals: get in, stay quiet, and then take something or break something. If you understand the playbook, you can start to see the attack coming.
Phishing is a fake message designed to look real. It might be an email from your “bank,” a text about a “missed delivery,” or a phone call from someone claiming to be the help desk. The goal is to get you to click a link, open an attachment or hand over a password. It works because it does not attack the machine. It attacks the person using it.
The giveaway is almost always pressure. Act now. Your account will be closed. Your boss needs this immediately. Attackers want you to move before you think. Some phishing is sent to thousands of people at once. Some, called spear phishing, is written for one person, using details gathered from social media and public records so that it feels personal. Texts and phone calls have their own names, but the trick is the same.
The defense is simple, if not easy: slow down. Verify any unexpected request through a second channel, such as calling the person on a number you already have. And turn on multi-factor authentication everywhere, so a stolen password alone is not enough to get in.
Imagine a mail carrier who secretly opens every letter, reads it, copies it, reseals it and delivers it. Neither the sender nor the receiver ever suspects a thing. That is a man-in-the-middle attack. The attacker slips between two parties who believe they are talking directly to each other, and then listens, records and sometimes changes what passes between them.
These attacks thrive where traffic is not protected: free public wireless networks in airports and coffee shops, fake hotspots set up to look like the real one, and routers that have been taken over or never properly secured. Anything sent without encryption, such as a password or a payment, can be read as it passes by.
The defenses are encryption and caution. Use secure connections, and never click past a browser warning about a certificate that does not look right. Use a trusted virtual private network on any network you do not control. And secure your own router, because the middle of the conversation is often your own front door.
Behind most websites sits a database, and databases speak a language called SQL. When you type your name into a search box or a login form, the website passes what you typed to the database. If the website does not check that input carefully, an attacker can type database commands instead of a name, and the database obeys them.
The result can be devastating. The attacker may be able to read records that should be private, change or delete data, or walk right past a login screen. It is one of the oldest attacks on the web, and it still works wherever developers are careless.
The fix is a mindset: treat everything a user types as data, never as a command. Developers do this by validating input and by using parameterized queries, which keep the commands and the user’s input strictly separate. And remember Chapter 1. The website’s database account should have the least privilege it needs, so that even if someone gets in, there is little they can do.
IT HAPPENS TO REAL SOFTWARE. Even trusted tools have flaws. Recently, a popular network-monitoring tool was reported to have an unpatched weakness that let a stranger with no password trick it into running commands on the server. The cause was the same one you just read about: the software trusted what it was given. Monitoring tools often hold the keys to the whole network, so one weak server can open every door. When a flaw like this is announced, turn off any features you do not need, hide the tool from the internet, and install the fix the day it arrives.
All software has flaws. When a security flaw is discovered and confirmed, it is added to a public catalog of known vulnerabilities, and each entry receives a unique identification number. These are the Common Vulnerabilities and Exposures, usually called CVEs. Think of the list as a public dictionary of known weaknesses, with a description of each and a number you can look up.
That list is a double-edged sword. Defenders use it to find and fix the holes in their systems. Attackers read the very same list to hunt for anyone who has not fixed them yet. The gap between the day a flaw is published and the day you patch it is the attacker’s playground. Many breaches do not use anything clever. They use a flaw everyone already knew about.
Then there is the zero-day: a flaw that nobody but the attacker knows about, so no fix exists yet. You cannot patch what has not been found, but you can make a zero-day far less useful by limiting access, watching for strange behavior, and keeping your software as small and as current as possible.
My advice starts with an inventory. You cannot patch what you do not know you have. List every system, application, device and piece of firmware on your network, compare that list against the known vulnerabilities, and patch the internet-facing and most critical systems first. Retire software that is no longer supported. Nobody is writing fixes for it, but attackers are still writing exploits.
These are the attacks that get the headlines, but they are far from the whole list. Here are others every network owner should know.
MALWARE AND RANSOMWARE. Malicious software that spies, damages or hijacks. Ransomware locks your files and demands payment to unlock them, and the quiet attackers may have been inside long before the demand arrives.
DENIAL OF SERVICE. The attacker floods a website or network with so much traffic that real users cannot get through. When it comes from thousands of machines at once, it is called a distributed attack.
PASSWORD ATTACKS. Guessing passwords by brute force, or taking passwords stolen from one breach and trying them everywhere else, because people reuse them.
CROSS-SITE SCRIPTING. Planting malicious code on a trusted web page so that it runs in the browsers of everyone who visits.
MISCONFIGURATION AND DEFAULT SETTINGS. Devices left with factory passwords, services left open that nobody needs, permissions set too wide. No clever hacking required.
INSIDER THREATS. A disgruntled employee, or simply a careless one. Remember the ghost accounts from Chapter 1.
SUPPLY CHAIN ATTACKS. Instead of attacking you, the attacker compromises a vendor or a software update that you already trust, and rides in through the front door.
UNSECURED DEVICES. Cameras, printers, thermostats and other connected gadgets that nobody remembers to update, and that attackers love to find.
Remember the rule from Chapter 1: secure the foundation before a single computer comes onto the network. The same rule applies to software. Before a new application, website or network change goes live, find its weaknesses first, before somebody else does.
Artificial intelligence has made that faster than ever. It can read through code and flag the kinds of mistakes that lead to injection attacks. It can review configurations for risky settings, check the components you use against the known vulnerability lists, build test cases, and simulate attacks against a safe copy of your system. It can then summarize what it found and rank the problems by how serious they are. What once took a team days can take an afternoon.
But use it wisely. Test in a staging environment, a safe copy that is separate from the live system, and never on production first. Treat AI as a tireless assistant and not as the final judge, because it can miss real problems and raise false alarms, so have a qualified person review the results. Protect your secrets: never paste passwords, keys or confidential code into any tool you do not control. And retest after every change, because new code means new risk.
Most of all, remember that attackers have the same technology. If you do not use it to find the holes in your systems, someone else will use it to find them for you.
Attackers have a playbook. Now you have read it.
Almost nothing on your network was written by you. Your accounting package, your browser add-ons, your drivers, your mobile apps, the free utility someone downloaded last Tuesday: all of it is third-party software, written by people you have probably never met. And every one of those programs runs on your machines, with whatever permissions you gave it.
Here is the part that should keep you up at night. The programmer who created that software can write anything and everything he wants inside it. The program can read your files, record your keystrokes, open a connection to a server on the other side of the world, or sit quietly and do nothing at all until the day it is told to act. You cannot see the code. You can only see the screen it chooses to show you.
That is why Chapter 1 matters so much. A program installed with administrator rights has the master keys to your network, and it can use them just as freely as any person can. Even software whose code is open for anyone to read is only as safe as the people who actually read it. Most people never do.
There is something else that surprises people when I explain it. Many threat actors are not brilliant programmers. They are customers.
Malicious software is written by skilled developers, who then sell or rent it to buyers. The buyers take that software and distribute it: they hide it inside fake downloads, bundle it with pirated programs, disguise it as an update, or attach it to an email. Then they collect fees, steal and sell data, or extort money from the victims. The developer builds the weapon. The distributor delivers it. The victim pays.
Cyber crime has become a business, with developers, distributors and customers, and the person attacking you may not understand a single line of the code he is using. It does not matter. The software does the work. Keep this in mind whenever you are tempted by a “free” download, because someone may be paying a great deal to put it in front of you.
In Chapter 2 we talked about accidental flaws, the mistakes that end up on public vulnerability lists. This is different. Any third-party software could have bugs written directly into it, on purpose, by the person who wrote it.
Some are back doors, which deserve a section of their own below. Some are logic bombs, code that sleeps until a certain date or condition and then wakes up. Some are trojans, programs that really do something useful while quietly doing something else in the background, such as copying your data. And a program that was honest yesterday can turn dishonest tomorrow. The developer may sell his project to someone new, an update may be tampered with, or his own account may be stolen. You trusted the program once. That does not mean you can stop watching it.
Of everything a programmer can hide inside a program, the back door may be the most valuable. A back door is a secret way into the software, built in on purpose, that lets the programmer get into any copy of the program he has ever sold or given away. He does not need your password. He does not need your permission. And he does not need you to know.
It can take many forms: a hidden login, a built-in password that never changes, a special command that unlocks features nobody was told about, or a program that quietly checks in with the programmer’s own server and waits for instructions. From his side, it is a master key to every door he ever built.
Why do programmers do it? Sometimes the reason is plainly criminal. Sometimes it is described as a convenience, a way to provide “support” or “maintenance” without bothering the customer. And sometimes it is a leftover from development that nobody ever removed. The intent matters less than you would think. A back door that exists for support is still a back door, and once one exists, it does not belong to the programmer alone. Anyone who discovers it, steals the key or buys it can walk through, and a single discovery can work on every installation of that program in the world.
Remember that the program runs with the permissions you gave it. When the programmer walks in through his back door, he arrives with those permissions too. He can read your files, copy them, change them, install more software, or use your network as a launching pad to attack someone else. And because the traffic can look perfectly normal and the program keeps working as expected, you may never notice. You cannot see the code, so you cannot see the door.
You cannot always find a back door, but you can build your network so that a back door opens onto as little as possible.
ASK DIRECTLY. Ask every vendor, in writing, whether the software contains any remote or maintenance access, who controls it, and how to turn it off. A vendor with nothing to hide will answer plainly.
CLOSE THE DEFAULTS. Change every built-in password, and disable every account and service you do not use.
BLOCK BY DEFAULT. Allow a program to connect out only to the places it genuinely needs, and block everything else. A back door that cannot call home is a much weaker back door.
KEEP PROGRAMS APART. Do not let a small utility sit on the same flat network as your most sensitive systems. Separate them, so that one compromised program cannot see everything.
WATCH AND LOG. Keep logs, and investigate any account you do not recognize and any unexpected connection. In a test environment, watch a new program closely before it ever touches your real network.
If you cannot see the code, assume someone else may hold a key, and design your network so that key opens as little as possible.
KNOW WHAT YOU HAVE. Start with the inventory from Chapter 2. For every program, you should be able to say what it does, why it is there and who owns it. If nobody can answer, it is a candidate for removal.
VET THE SOURCE. Download only from the publisher’s official site. Check who made it, how long they have been around, and whether they actually maintain and update it. Where a digital signature or a checksum is offered, verify it, because that proves the file you received is the file they published. Never run cracked or pirated software. The price is not zero. It is just paid in a different way.
ASK WHAT IT NEEDS. A calculator that wants access to your contacts, or a small utility that asks for administrator rights, is telling you something. Give every program the least privilege it needs to do its job and nothing more.
TEST BEFORE YOU TRUST. Install new software first in an isolated test environment, separate from your real network. Scan it, as we discussed in Chapter 2, and then watch what it does. Which addresses does it contact? What files does it touch? A program that behaves oddly in the lab should never reach production.
WATCH WHAT IT SAYS TO THE OUTSIDE. Monitor the traffic leaving your network. A program that quietly calls out to unknown servers in the middle of the night is a program that needs explaining.
ASK FOR THE INGREDIENT LIST. Serious vendors can tell you what components are inside their software, a list sometimes called a software bill of materials. If a vendor cannot or will not tell you, that is an answer too.
UPDATE WITH CARE. Patches matter, but test updates before rolling them out everywhere, and take them only from the original source.
REMOVE WHAT YOU DO NOT USE. Every forgotten program is an unlocked door. If nobody uses it, uninstall it.
Every program on your network was written by someone. Make sure you know who.
You have probably heard the word blockchain, usually next to talk of digital money. Most people nod along without being sure what it means. In this chapter I will explain what a blockchain is, how it works, why it is so hard to attack, and when you should and should not use one.
To me, a blockchain is like a checkbook register. You can add entries to the register, but you can never delete them.
Say you have $1,000 in your checking account and you write a check for $100. Now you have $900. Later you get a $20 credit back on that purchase. You do not go back and erase the $100, and you do not change it to $80. Instead, you add the $20 credit as a brand new line. The history stays exactly as it happened, and the balance always tells the truth.
| ENTRY | AMOUNT | BALANCE |
|---|---|---|
| Opening balance | +1,000.00 | 1,000.00 |
| Check written | −100.00 | 900.00 |
| Credit returned | +20.00 | 920.00 |
A blockchain works the same way. Entries can be added, and once they are in, they stay there from the moment the chain was created until the end of time.
A blockchain keeps its records in blocks. Each block is a batch of entries, whether payments, votes or anything else, and each block carries a unique digital fingerprint of the block that came before it. That is what links them into a chain. If anyone tries to change an old entry, its fingerprint changes, which breaks the link to every block after it, and the tampering shows.
But the real strength is not the chain itself. It is the number of copies. A blockchain does not live on one server. It lives on many servers, all holding identical copies, all synchronized and talking to each other constantly. A new entry only becomes part of the record when the servers agree that it is valid.
Now suppose a hacker breaks into one of those servers and changes an entry. That server’s copy no longer matches the others. The rest of the servers recognize that the change is not correct, outvote it and change it back. The more servers on the blockchain, the stronger it becomes, because every server is another witness.
To truly rewrite the record, an attacker would have to take control of most of the servers at the same moment and make the same changes on all of them before the others could react. On a large blockchain, that is nearly impossible.
Compare that to an ordinary database, which has one master copy guarded by one organization. If the guard fails, everything fails. A blockchain has no single point of failure.
A blockchain is a powerful tool, but not every problem needs one. It earns its place when several parties must share one record and do not fully trust one another or a middleman, when the record must be permanent and tamper-evident, and when an audit trail of who did what and when really matters. Good examples include voting, financial transactions, tracking goods through a supply chain, property and ownership records, professional credentials, and logs of who has accessed sensitive information.
It is the wrong tool when one organization controls the data and everyone already trusts it. An ordinary secure database is faster, cheaper and simpler. And because nothing can ever be deleted, never put private personal information directly onto a blockchain. A mistake there is permanent. Keep sensitive data off the chain and record only a fingerprint or a reference to it.
Voting is one of the most compelling uses for a blockchain. An election depends on one thing above all: every eligible vote counted once, and no vote ever changed. A ledger that can be added to but never erased is built for exactly that.
Here is how I picture it. A voter registers and proves citizenship with a passport, a birth certificate or other forms of identification. Once that proof is complete, the voter casts a ballot using an app, much like a banking app, protected by multi-factor authentication: facial recognition, a fingerprint, a passcode, even an iris or retina scan, with AI technology confirming that a living person is really there and not a photo or a recording. The vote is recorded on the blockchain, where it can never be altered. And the voter can do all of this from anywhere, without standing in line at the polls.
Not everyone agrees that this is a good idea, and a security book should say so. A blockchain guarantees that a vote cannot be changed after it is recorded. It cannot guarantee that the vote was entered correctly in the first place. A voter’s phone might be infected with malware, as we saw in Chapter 3. The system must confirm who you are without revealing how you voted, and it must protect you from someone pressuring you over your shoulder. Many security experts remain cautious about voting over the internet for these reasons, while supporters point to convenience, access and speed.
Whatever side you take, one thing is not debatable. No such system should ever go live until it has been built on a secure foundation, tested relentlessly with AI-assisted scanning and human review, and watched constantly afterward. Those are the lessons of Chapters 1 through 3.
The use of blockchain that caught the world’s attention first was money. Digital currency, usually called crypto, lives on a blockchain for safety and protection, to keep hackers and threat actors from stealing or altering it.
Whatever kind of currency it is, whether it is paper money issued by a government or a private digital coin, it only gains value when people use it to exchange goods and services. Anyone can create a digital coin. But if nobody uses it, it is pretty much worthless. If everyone uses it, it becomes a very powerful currency. And because that value rests on trust and use, it can swing sharply. This book is about security, not investment advice.
A well-built blockchain is very hard to rewrite. But criminals do not attack the strongest wall. They look for the weakest door, and many of the thefts connected to blockchains happen around the chain rather than inside it.
STOLEN KEYS AND PASSWORDS. Ownership on a blockchain is proven with a secret key. Whoever holds the key holds the money. A stolen key is a stolen checkbook, and there is no bank to call.
PHISHING AND SCAMS. The attacks of Chapter 2 work just as well here. Fake websites, fake support calls and fake “investment opportunities” trick people into handing over their keys.
FLAWED SMART CONTRACTS. Some blockchains run small programs that execute automatically. If a bug is written into one, by accident or on purpose, as we saw in Chapter 3, it is just as permanent as everything else on the chain. You cannot delete a bug from a blockchain either.
THIRD-PARTY SOFTWARE. Wallets, exchanges and apps sit between you and the chain. If one of them is compromised, the strength of the chain behind it does not save you.
That is the lesson of this whole book. Security is only as strong as its weakest link, and a blockchain protects one link in a very long chain.
As threat actors grow more sophisticated, so must the people who defend against them. A blockchain is a powerful tool. It is not a substitute for security.
So far we have looked at the attackers, their playbook and the software they hide inside. Now comes the practical question: how do you protect your network? The answer is less glamorous than most people expect. It is a checklist, done on schedule, over and over again. Attackers are counting on you to get busy and skip it.
Start by auditing every system, and every administrator and root user, on a regular rhythm: daily, weekly, monthly and yearly. Each has a different depth. The daily check is a quick look for anything that has changed. The yearly check is a full inspection of everything. Here is how I break it down.
| DAILY |
|
| WEEKLY |
|
| MONTHLY |
|
| YEARLY |
|
Write it down, put a name next to every item, and sign off when it is done. An audit nobody owns is an audit nobody does. Your own people should do this work. An independent advisor can make sure they are pointed in the right direction.
The first thing I do when I sit down at my computer is check for new updates. Every single day. Updates are how known flaws get fixed, and as we saw in Chapter 2, attackers read the same public lists of flaws that defenders do. Every day you wait is another day that door stays open.
Updating daily does not mean updating blindly. Audit every piece of software and every update before it goes out to everyone on the network. Install it first on a small group of test machines, look at what it changes, and watch how it behaves. Then roll it out in stages. Take updates only from the original source, as we discussed in Chapter 3, because a tampered update is one of the best ways in. Keep a way to roll back if something goes wrong. When a fix is urgent because attackers are already using the flaw, shorten the testing, but never skip it.
Here is a trap that catches careful people. Updates sometimes change your configuration back to the default settings. You close a port, and then during an update that port quietly opens again. A password you changed reverts. A setting you turned off switches back on. You believe the door is locked, and it is standing open.
The defense is a baseline: a saved record of what “secure” looks like for each system. After every update, compare the system to its baseline. Check the ports, the settings and the accounts. Verify, do not assume.
Every computer has thousands of numbered doors called ports. Programs and services listen at those doors, waiting for connections. Every open port is a place an attacker can knock, and a port that is open for a service nobody uses is a door with no reason to exist.
List what is open on your network, the way an attacker would look at it, and ask of each one: what is using this, and who needs it? If nobody can answer, close it. Turn off the service itself, not just the door. Where a port must stay open, limit it to the specific trusted addresses that need it. Then check again every week, and after every update.
Most computers run twenty-four hours a day. At 5:00 in the afternoon you clock out and go home, but your computer keeps running through the evening and the night. It is on, it is connected, and nobody is sitting in front of the screen. That is the perfect time for a hacker to attack. No one sees it. No one reports it. By morning, the damage may already be done.
So I turn my computer off when I go to lunch. I turn it off when I finish for the day. I only turn it on when I am using it. It saves energy, and it keeps an attacker from reaching a machine that is not even there.
Some systems, such as servers, have to run around the clock. Those need different protection: monitoring and alerts that bring in a real person when something unusual happens at night, and tight limits on who and what can connect after hours. Schedule your updates and backups for a set maintenance window, and do not leave any machine running “just in case.”
No two businesses use their networks the same way. A medical office, a law firm, a factory, a school and a small shop all have different devices, different data and different risks. A one-size-fits-all checklist will always leave gaps. Your protection has to be customized to your organization, its devices and the way you actually work.
That is why, when people ask me, “What can I do to secure my network?” I answer with a question of my own: How do you use the network and the devices attached to it?
WHO CONNECTS? Employees, contractors, vendors, guests, remote workers. Who has access, and from where?
WHAT IS CONNECTED? Computers, phones, printers, cameras, machinery, anything with a plug or a signal.
WHERE IS THE VALUABLE DATA? Know what an attacker would want most, and where it lives.
WHAT MUST NEVER STOP? The systems that cannot go down are the ones that need your strongest protection and your best monitoring.
Answer those honestly and you have the beginning of a security plan that fits you, rather than one that fits nobody.
Security is not something you buy. It is something you practice.
Most people work on a local area network. That simply means the computers in an office or a building are wired together. Inside those walls, your data travels over cables you own and a network you control. But what happens when it leaves the building and goes to another location, in another city, another state or another country? Then it crosses networks you do not own and cannot see.
Without encryption, this is where the man-in-the-middle attack is most prominent. A message is intercepted somewhere between where it left and where it is going. It is changed and altered, and then sent along its path to its destination as if nothing had happened. The original message now carries embedded code that the sender never knew about, and the receiver has no reason to doubt it.
Notice what that means. The attacker does not have to break into your office. He only has to reach the road in between.
Encryption scrambles readable information, called plain text, into unreadable gibberish, called ciphertext, using a secret key. Only someone holding the right key can turn it back. If an attacker intercepts an encrypted message, all he gets is noise.
Good encryption does a second job as well. It lets the receiver check that the message has not been changed along the way, much like the digital fingerprints that link a blockchain in Chapter 4. A message that has been altered fails the check and is rejected. That is exactly what stops the embedded code from slipping in.
Most companies only encrypt when something is being sent to another location, and they usually encrypt from one office to the other office, not from device to device. It is like hiring an armored truck to drive between two buildings while the package sits unprotected on the loading dock at each end. The highway is safe. The driveways are not.
So when are you really encrypted? Let us follow one email.
You write an email and send it. It goes to your office email server. That server encrypts it and sends it to another email server at another office. That server decrypts it and delivers it to the person it was meant for.
Look at the two weak links. The first is between your computer and your own email server, before the message is encrypted. The second is after the destination server has decrypted it and is passing it to the recipient. Anyone who can reach either stretch can read the message, copy it or change it. And both servers hold the readable message at some point, so an attacker who takes over one of those servers gets everything that passes through it.
You are really encrypted only when the message is scrambled the moment it leaves the sender’s device and stays scrambled until it reaches the recipient’s device. That is called end-to-end, or device-to-device, encryption. Nobody in the middle can read it, not even your own servers.
DO NOT TRUST THE INSIDE. Encrypt traffic inside your own network too. A rogue device, an infected computer or an unhappy employee can all listen to a local network.
ENCRYPT WHAT IS STORED. Laptops get lost, phones get stolen and backups get copied. Encrypt the data on them as well as the data in motion.
PROTECT REMOTE WORKERS. Anyone connecting from home, a hotel or an airport should connect through an encrypted tunnel from their own device.
DECIDE ON PURPOSE. Some organizations must scan or archive messages for legal reasons, which means reading them at some point. If that is you, make that point the most heavily protected place on your network, and make the choice deliberately.
We began this book by asking who holds the keys. Encryption brings the question back. Encryption is only as strong as the protection of its keys. Store them apart from the data they protect, limit who can hold them, change them on a schedule, and cancel them the day someone leaves. Never invent your own encryption. Use well-tested, current standards, and retire old methods as they weaken. When you send an encrypted file, send the password by a different route, such as a phone call, never in the same email.
A tunnel protects the road. Encryption protects the message.
A virtual private network, or VPN, is one of the most popular security tools in the world, and one of the most misunderstood. People think of it as a magic cloak. It is not. In this chapter we will look at what a VPN really does, where its protection ends, and why attackers love it just as much as you do.
A VPN builds an encrypted tunnel between your device and another computer, called the VPN server. Everything you send travels through that tunnel scrambled, so someone listening on the network between you and the server sees only noise. The VPN server then sends your traffic on to its destination, which makes it appear that you are located wherever the server is.
That is useful. A remote worker can connect safely back to the office. A traveler can use a public wireless network without handing their data to a man in the middle, as we discussed in Chapter 2. And a company can give its people secure access to systems that should never be open to the whole world.
Here is what most people miss. Even with a VPN, you are only encrypted from the point of origination to the VPN location. After that, the VPN’s protection is gone.
Let us say you live in one country and connect through a VPN to a server in another country. Your data is encrypted all the way to that server. Then the VPN sends it on to its final destination, and from that moment the VPN no longer protects it. If the next connection is not encrypted, the message travels in the open, exactly like the exposed stretches we saw in Chapter 6. That is why you should always make sure the next connection is encrypted too. Remember also that the VPN company itself sits at the end of the tunnel, where it can see your traffic. You are placing your trust in whoever runs that server.
If you were going to rob a bank, what is the first thing you would do? You would put on a ski mask. Why? To hide your identity. An attacker does the same thing. His ski mask is the VPN.
An attacker who wants to hide where he really is connects through a VPN, often through several, so that he appears to be somewhere else entirely. Then he attacks a company or a government site. When the victim looks at the logs, the attack seems to come from the VPN’s location, which is not where the attacker actually is.
Now the compromised site blames a country that was never the attacker. That can cause serious international friction, and the real attacker is long gone.
This is the lesson I most want you to remember. Never trust where the data seems to be coming from. Most likely the attacker is using a VPN to change his location.
And never trust the name of the hacking organization. A name costs nothing, and an attacker who wants to blame someone else can choose one on purpose. He might pick a name that is familiar to a particular country: an animal associated with it, a color, a symbol, a phrase in its language, anything that points a finger in that direction. He may even leave clues in his code or work during that country’s business hours, all to look like someone he is not.
Unfortunately, I cannot use the names of countries as examples in this book. Naming them would only cause more friction in international affairs, and that is exactly the point. You may read between the lines. Just because something says, or alludes to, a certain country does not mean the attackers are from that country. It could be a decoy, an attacker using a VPN to associate himself with a country that he is thousands and thousands of miles away from.
When I hear on the news that one country is cyber attacking another, the first thing that comes to my mind is the attacker. He probably used a VPN to put the blame on someone else. You have to see beyond the headline, and that only comes with years of experience.
To be fair, that does not mean the real source can never be found. Investigators can sometimes trace an attack with real confidence, but they do it with far more than an address in a log. They study the code, the tools, the servers behind the scenes, the habits and the patterns of the people involved. A location by itself is the weakest clue of all. So when you read a claim about who is behind an attack, ask one question: how do they know, beyond where it seemed to come from?
JUDGE BY BEHAVIOR. Ask what the intruder did, how he got in and what he touched. Those answers help you defend yourself. A location, on its own, does not.
DO NOT RELY ON BLOCKING COUNTRIES. It may cut down the noise, but a determined attacker will simply appear to come from somewhere you did not block.
KEEP THE EVIDENCE. Preserve your logs, and bring in the proper specialists and authorities. Do not try to hack back, and do not announce who you think is to blame without proof.
USE YOUR OWN VPN WISELY. Choose a provider you can verify and trust, remembering that a “free” service may be paid for with your data, as we saw in Chapter 3. Require multi-factor authentication on every login. Keep VPN software and servers updated, because they are attractive targets. And give each VPN user only the access they need, as we learned in Chapter 1.
When a criminal wears a mask, the mask tells you nothing. Watch what he does.
When an IT team discovers an attacker on the network and locks him out, the room celebrates. High fives. A job well done. I do not celebrate. I ask questions. How long has the attacker been on the network? What did he take? What did he leave behind?
Think back to the Introduction. Skilled attackers can sit quietly inside a system for months or even years. If one of them has been inside for a year, then locking him out today does not undo that year. It only closes a door he has already been walking through.
Imagine that someone breaks into your house and leaves with your valuables. The next day you hire a company to install an alarm and new locks. Nobody would call that a success. The robber is gone, and so is everything he took.
That is exactly what a lockout is when it comes after a breach. The job of cyber security professionals is to lock up the house before the robbery, not to celebrate after it.
Still, sometimes an attacker does get in, and when you find him, the real work begins. Do not rush to wipe and rebuild until you have preserved the evidence you will need.
HOW LONG WERE THEY INSIDE? Your logs will tell you, if you kept them. If your logs only go back a few weeks, you cannot know whether he arrived a few weeks ago or a few years ago. Keep logs long enough to answer this question.
WHAT DID THEY TAKE? Find out which systems, files and accounts the attacker touched, and treat everything he could reach as taken.
WHAT DID THEY LEAVE BEHIND? Hunt for new administrator accounts, changed settings, hidden programs and back doors, the things we talked about in Chapters 1 and 3. An attacker who knows he may be discovered often plants a second way back in.
RESET EVERYTHING HE COULD HAVE TOUCHED. Change every password and every key the attacker could have reached, including the encryption keys from Chapter 6.
FIX HOW HE GOT IN. If you do not find the original door and close it, the lockout lasts only until he returns. Then tell the people who must be told, such as customers, partners and the proper authorities, and get legal advice on what you are required to report.
The better answer is to find the holes before the attacker does. Look for vulnerabilities in your network the way an attacker would, using the same tools an attacker uses. This is called penetration testing, or ethical hacking. It is the same tools in the opposite hands.
A good test looks at your organization from the outside, exactly as a stranger would. What can the outside world see about you? Which ports are open, as we discussed in Chapter 5? Which software is out of date and exposed to the known flaws of Chapter 2? How strong are your passwords, and are people reusing them? Would your employees click a convincing phishing email? Can an attacker get in through a third-party program, as in Chapter 3, or through remote access, as in Chapter 7? And if he gets in, can he move from one machine to the next until he reaches what matters?
Above all, a test tells you whether anyone noticed. If someone attacked your network for a week and nobody saw it, then your monitoring has failed, and you have just learned that without paying the price of a real breach. The AI-assisted scanning we talked about in Chapter 2 can help here too.
One rule matters more than all the others: only ever test with written permission. Testing a network you do not own, or going beyond what you were authorized to do, is a crime, no matter how good your intentions. Agree in writing on exactly what will be tested, when and by whom. Use qualified, trusted people. Then fix what they find, and test again.
Here is something that humbles the profession. Most IT professionals have many certifications and a college education. I have a degree and certifications myself, and I value them. Yet some of the most wanted people in cyber crime have been teenagers with no college education and no certifications at all.
Why? Because credentials prove that you have studied what is already known. Attackers specialize in what is not known yet. They are curious, patient and obsessed, and they have hours and hours to spend finding the one gap you missed. As we said at the start of Chapter 2, they only have to be right once.
That is not a reason to admire the criminals. It is a reason to respect them, and to never assume that a degree or a certificate makes your network safe. Hire and train for curiosity, not just credentials. Teach your people to think like an attacker. And remember that the same talent and the same curiosity can be pointed the other way, toward defending the house instead of robbing it.
Lock the house before the robbery.
Artificial intelligence is everywhere in the headlines, and so is the argument about what to call it and where it is headed. Before we talk about how it changes cyber security, let me tell you how I think about the name, where I first met the technology, and why I believe the most important thing to protect is not the intelligence at all. It is the network that carries it.
“Artificial intelligence” has always been a funny phrase to me. In the dictionary, artificial simply means made by people rather than found in nature. But to my ear it has always carried a second meaning: not the real thing. Artificial intelligence, not real intelligence.
That is not so far from the truth. Today’s AI is remarkable at patterns, speed and scale. It can read, write, translate, recognize faces and spot anomalies faster than any person. But it does not understand the world the way you do. It can be confidently wrong, and it learns from data that someone else chose.
Some people have suggested dropping “artificial” altogether, calling it synthetic intelligence, or reaching toward something they call superintelligence, a machine smarter than people in every way. I am not sure it is so super. A machine like that does not exist today. And I do not think the world is ready for what some people imagine when they put it together with quantum computing: a quantum superbot. Quantum machines may one day break some of the encryption methods we discussed in Chapter 6, which is why researchers are already building new ones. Whatever we call it, the more powerful the technology becomes, the more carefully it needs to be protected.
I programmed my first AI bot in 1989. I was chatting in an online chat room and blogging years before there was any such thing as social media. I just called it the gossip channel. It was a place where people talked and information moved, and my little bot was part of the conversation.
It has evolved into something much bigger. Today those chats, blogs and bots are part of our communication network, along with telephones, satellites and every other way we share information.
Think about everything that makes up that network: telephone lines, cellular towers, cables under the ocean, satellites in orbit, data centers, the internet itself, and now the AI assistants sitting on top of all of it. Almost every message, every payment and every piece of news passes through some part of it.
And whoever controls the communication network controls the information people receive. They decide what flows and what is blocked. They can read what passes through, as in the man-in-the-middle attacks of Chapter 2. They can change it on the way, as we saw in Chapters 6 and 7. They can make a false message look like a true one.
Ask a military strategist how to attack an enemy, and one of the first things you will hear is to take down his communications. Without them, orders cannot be given, units cannot work together, and people cannot find out what is happening. The same logic applies far beyond the battlefield.
If the network goes down, things come to a halt. Banks cannot move money. Hospitals cannot reach their records. Emergency calls do not connect. Shipments stop, power controls go dark, and nobody knows what is true. So we have to protect our telecommunication system at all cost.
AI has changed the contest on both sides.
FOR ATTACKERS. AI writes phishing messages that are fluent, personal and tireless, far better than the clumsy ones of the past. It can imitate a voice, or even a face on video, so that a request that appears to come from your boss may be a fake. It can search for weaknesses faster, and it can be used to flood the network with false information.
AGAINST AI ITSELF. The data an AI learns from can be tampered with, and its inputs can be crafted to fool it. An AI tool is also third-party software, so everything we said in Chapter 3 applies: know where it came from, and never paste passwords, keys or confidential information into a tool you do not control.
FOR DEFENDERS. AI can watch huge volumes of activity for the odd behavior a person would miss, which helps answer the question from Chapter 8: how long has the attacker been inside? It can also test code before deployment and sort the real alarms from the false ones.
AI is a powerful tool, not a replacement for judgment. Keep a qualified person responsible for every decision that matters.
Attackers do not only use AI. They attack it. One well-known technique is called a jailbreak. The attacker words a request in a way that tricks the AI into ignoring the safety rules its makers built in, for example by asking it to play a character with no rules, by wrapping the request in a story, or by hiding it in an odd format. AI agents can now scan and probe systems on their own. Defenders use this with permission; criminals use it without, so patch fast.
A related and more dangerous trick is the hidden instruction. An attacker plants commands in a web page, an email or a document, hoping an AI assistant will read them and obey. This matters most when the AI is connected to your email, files or accounts, because a tricked assistant can act with every key you gave it. This is called prompt injection, and it should sound familiar. It is the same flaw as the SQL injection of Chapter 2: data and commands get mixed, and the AI cannot always tell an order from words it was only meant to read.
Defend it like any other system. Give an AI tool only the access it needs, as in Chapter 1. Treat everything it reads from outside as untrusted data, never as orders. Require a person to approve any action that moves money, sends data or changes settings. And test them only with written permission.
Encryption protects our messages, our money and our networks, and today it is strong. But no lock lasts forever. Experts are watching how fast AI is advancing, and some worry that it could one day help find weaknesses in the math behind today’s encryption. Nobody has shown that happening, and it could just as easily prove the math stronger. Prepare either way. Layer your defenses so no single lock protects everything, keep your systems updated, and be ready to move quickly to newer protections.
BUILD IN BACKUPS. Do not rely on a single connection, a single provider or a single power source. Have a second path ready for when the first one fails.
PLAN FOR THE DAY IT GOES DOWN. What will you do at nine o’clock on a morning when the network is dead? Keep printed contact lists and procedures, and a way to reach your people that does not depend on your own network. Then practice it.
PROTECT THE CRITICAL POINTS. Secure the equipment rooms and cables physically. Watch for floods of traffic, and keep the most important systems separated from everything else, as we discussed in Chapters 3 and 7.
VERIFY BEFORE YOU ACT. If a voice or a video asks you to move money or hand over access, confirm it by calling back on a number you already know. In a world of convincing fakes, a second channel is your best defense.
If the network goes down, things come to a halt. Protect it at all costs.
In Chapter 9 we talked about what a military strategist does first: he goes after the communications. Ask him what comes next, and he will give you a short answer. Kill the power.
Take away electricity and you do not simply lose the lights. You lose the modern world. That one act could send us back to the dark ages, and it would not take long to feel it.
If you have ever lived through a power outage, you already know what I am talking about. Nothing works. The telephones are dead. The internet is gone. Cell towers run out of battery. The traffic lights go dark, the pumps stop, the registers stop, and the people around you stop and look at one another wondering what to do next.
Now imagine that outage lasting days instead of hours, and imagine that it was not a storm or an accident, but the work of someone who planned it.
Every network in this book depends on power: the data centers, the routers, the satellites’ ground stations, the telephone exchanges and the devices in your pocket. The communication network we protected in Chapter 9 cannot survive without the power grid beneath it. That makes the power companies the foundation of all our networks.
And there is a hard truth about that foundation. For most of what we depend on, there is no backup source of power other than batteries and generators. Batteries and generators buy us time, but only limited time and limited capacity. Batteries drain. Generators need fuel, maintenance and someone to deliver the next load. They were built to bridge a short gap, not to replace the grid.
Consider what happens in the first hours of a long outage.
HOSPITALS. The backup generators start up, but they can only run for a limited time. Alarms begin to sound. Equipment that keeps people alive must be switched to whatever power is left, and doctors must decide what comes first. Companies lose money in an outage. Hospitals lose lives.
COMMUNICATIONS. Telephone service, emergency calls and the internet fade as backup batteries run down, one site at a time.
EVERYTHING ELSE. Banks cannot process payments. Water and sewage systems lose their pumps. Food spoils. Fuel cannot be pumped. Factories stop. Security systems, including the ones that protect everything else in this book, lose power too.
It is essential that we keep the power grid on.
I believe utility companies should treat cyber security as their first priority. Not one priority among many, but the highest one. When a store is breached, customers lose data. When a utility is breached, a whole region can lose the ability to function.
Today’s power systems are controlled by computers that monitor and operate equipment across enormous distances. Many of those control systems were designed for reliability, in an era when they were not connected to anything else, and long before anyone thought about attackers. As they have been connected to business networks and the internet for convenience, the old assumptions no longer hold. Everything we have discussed, from default settings and unpatched software to old administrator accounts and third-party programs, applies here, with much higher stakes.
Remember Chapter 8, too. An attacker who has been quietly inside a utility’s network for years is not a problem that ends when you lock the door. The question is always: how long have they been there, and what have they learned?
If I had to give a utility one policy to start with, it would be this: no unauthorized personnel in. Is that the best policy? It is the best place to begin.
It applies in two places. In the physical world, substations, control rooms and equipment buildings should be locked, monitored and visited only by people who are known, approved and logged. In the digital world, the same rule means strong identity checks, least privilege (Chapter 1), and a control system kept separate from the business network so that a stolen password in an office cannot become a hand on a switch.
That includes visitors, vendors and contractors. Every person with access, and every outside company with a remote connection, is a door. Count your doors, and keep as few of them open as you can.
I chose cyber security, not because it is easy, but because it is hard. It takes years to learn, and the problems keep changing. No product you can buy will do it for you.
So I believe power companies should invest in good quality, knowledgeable cyber security people who are passionate about what they do. Tools are only as good as the person using them. A passionate professional will notice the small thing that does not look right, will keep studying after the workday ends, and will push back when someone wants to take a shortcut.
It is the best investment a power company will ever make. It costs far less than a single day in the dark.
When the power goes out, everything else follows. Protect the grid first.
First the communication network goes down. Then the power goes out. What does the strategist go after next? The banking system. Nothing will cause more chaos than a failed one.
You may remember from school that the mitochondria is the powerhouse of the cell. The banking system plays the same role in our daily lives. It is the powerhouse of the economy, the mitochondria of everyday life. Paychecks, rent, groceries, fuel, mortgages, business payrolls and the payments between companies all move through it. Most of us never think about it, because it simply works.
Money today is mostly information. A balance is a number in a database, and a payment is a message from one computer to another. That is what makes banking convenient, and it is also what makes it a target.
Imagine you wake up and the card in your wallet is declined. The ATM does not respond. The banking app will not load. You cannot pay for gas or buy groceries, and neither can anyone around you.
At first it feels like a glitch. Within a few hours it feels like a threat. People rush to the branches and the machines. Stores stop accepting payments. Employees cannot be paid, and the bills do not stop coming. Fear spreads faster than facts, and fear is its own kind of damage, because panic can do harm that the original attack never could.
This is why the order matters. When communication and power have been cut, banks cannot easily recover, and the confusion makes everything else worse.
People give their savings to a bank on a promise: that the money will be safe. That is a duty, and in most places it is also a legal one. Banks are trusted with the life savings, the retirement funds and the business accounts of the people they serve. Protecting that trust means protecting the systems that hold it.
Banks are also among the most attractive targets for cyber criminals, and that has been true for a long time. The reason is simple, and it is the same one people give for robbing them in the physical world: that is where the money is. A criminal who breaks into a bank does not have to sell stolen goods. He can go straight to the money, or to the personal information of customers, which can be used to take money elsewhere.
So cyber security should be number one on a bank’s list. Not number one on the list of things a bank does when there is time left over, but number one, period.
THE MONEY AND THE RECORDS. Accounts, balances and transaction histories must be accurate and available. An attack need not steal anything to do harm; altering or locking away records can be enough.
THE CUSTOMERS. Customers are targeted with phishing, fake websites, fake phone calls and stolen passwords, as we discussed in Chapter 2. Banks have to protect them, and teach them to protect themselves.
THE PEOPLE INSIDE. Employees, administrators and vendors all hold keys. Chapter 1 applies without exception: purge old accounts, grant the least privilege, and audit the administrators.
THE CONNECTIONS. A bank is connected to other banks, payment processors, software suppliers and cloud providers. Each connection is a door, and a partner’s weakness can become the bank’s, as in Chapter 3.
THE LOCKS ON THE VAULT. A bank’s vault is now made of math, and no lock lasts forever. Know where encryption is used, inspect it, and plan early to move to newer standards. Customers should use strong passphrases, multi-factor authentication, and a call back before acting on any urgent money request.
It takes two things to guard all of this. The first is a good cyber security policy: written rules for who may access what, how software is approved and updated, how often accounts are audited, how data is encrypted, and what the bank will do on the worst day. A policy kept only on paper is worthless, so follow it, test it and update it.
The second is highly skilled and well-trained cyber security people. Tools alone cannot do this work. It takes professionals who understand how attackers think, spot a strange pattern, and keep learning, because the attackers do. A bank that treats its security staff as an expense is making the most expensive mistake it can make.
And remember Chapter 8: never be satisfied with locking an intruder out. Ask how long he was inside, what he took, and what he left behind.
I think of cyber security as the police officer of information technology and of the cyber space it lives on. A good officer does not wait for the crime. He walks the beat, checks the locks, knows the neighborhood and notices what is out of place. When something does happen, he is the first one there.
A bank without a good police force is a vault with the door left open. The money is not safe, the customers are not safe, and the trust that the whole system rests on is not safe either.
Money is trust, and trust is stored in systems. Guard the systems.
Communication. Power. Banking. Imagine all three have been compromised. The phones are dead, the lights are out, and nobody can reach their money. There is one line of defense left before a government falls, and that is the military.
The military is the muscle of the government. The air force in the sky, the navy at sea, the marines on the shore, the army on the ground. Boots on the ground. This is where it gets real.
Everything else in this book, the networks, the power, the banks, exists in peace because something stands behind it. The military is the barrier that lets a nation’s people go to work, raise their families and sleep at night. When that barrier holds, we hardly notice it. If it fails, there is nothing left behind it.
I grew up in a military family, moving from base to base. I know what life looks like on the inside of that barrier. I learned early what it means to be safe behind it, and I learned how much of that safety depends on people who are willing to stand in front of it.
The military provides our freedoms and our safety. I do not take that for granted, and no one who has lived close to it ever does. It cannot be compromised. Whatever it takes.
Here is what makes this chapter part of a cyber security book. Today’s military is not only ships, aircraft and soldiers. Every one of them is connected to something. Command and control, logistics, intelligence, navigation, communication and weapons systems all depend on computers and on the networks that join them.
That connectedness is a great strength. A commander can see more, decide faster and coordinate across the entire world. But everything we have talked about in this book follows it there. The same vulnerabilities, the same patient attackers, the same mistakes, only with higher stakes.
It also means the military is not a separate world. It depends on the same power grid, the same telecommunication networks and the same banking system as everyone else. That is why the order matters. An adversary does not have to defeat a military in the field if he can weaken the foundation it stands on. Protecting communication, power and banking is part of protecting the military.
THE SUPPLY CHAIN. A modern military buys equipment and software from thousands of outside suppliers. As we learned in Chapter 3, any third-party product could contain a bug or a back door that someone wrote on purpose. One weak supplier can become a weak point for everyone downstream.
THE PEOPLE. Phishing and impersonation work on soldiers just as they work on office workers. Strong training, and a culture where it is normal to question an odd request, matter as much as any technology.
THE LONG GAME. Remember Chapters 1 and 8: an intruder may be inside for years without being noticed. In a military network, patient access means patient intelligence gathering. Locking someone out is never the end of the question. The questions are how long they were there and what they learned.
THE CONNECTIONS. Satellites, radios and data links are the nervous system of a modern force. They have to be encrypted from end to end, protected from jamming and false messages, and backed up with ways to operate when they are lost.
In a military setting, the policy I suggested for power companies in Chapter 10 is not a suggestion. No unauthorized personnel in. Strict least privilege. Constant auditing. Skilled, trained and trusted cyber security professionals at every level, and the funding and authority to do their jobs. And a force that has practiced operating when the network is down, because that day may come.
The people who wear the uniform give everything to protect the rest of us. The least we can do is make sure that the systems behind them are as strong as they are.
The military cannot be compromised. Whatever it takes.
Before this book ends, I want to say something to the people who make it all possible. They are the people who read the logs at three in the morning, who install the update nobody asked for, and who say no to the shortcut that would have been so easy. This chapter is for them.
Cyber security is a strange profession. When it is done well, nothing happens. The lights stay on, the bank opens on time, the hospital runs, and the email arrives where it was supposed to go. Nobody calls a cyber professional to say thank you for the attack that never came.
There is little glamor in the work and very little recognition. Movies show hackers typing in dark rooms and the world changing in a few seconds. The real job is patient, careful and often tedious: audits, patches, checklists, reports, and meetings to explain why something must be done a certain way. When things go well, no one notices. When something goes wrong, they notice very quickly.
They are the reason things work. They are the administrators who remove old accounts and the analysts who spot the one strange connection among a million normal ones. They are the engineers who test new software before it is deployed, and the responders who give up a holiday weekend when an intruder is found. They are the teachers who show a whole company how to recognize a phishing message.
They are men and women who care. They do not do it for the money, though the pay can be good. You cannot do this job well for money alone. It takes curiosity, stubbornness and a real sense of responsibility for other people, most of whom they will never meet.
Consider what the job asks of them.
THEY HAVE TO BE RIGHT EVERY TIME. An attacker needs to find one weakness. A defender has to cover every one of them, every day. That is a heavy weight to carry, and they carry it quietly.
THEY NEVER STOP LEARNING. The threats change every year. The tools change, the technology changes, and the tricks change. Those who do this well are always students.
THEY WORK WHEN OTHERS REST. Attacks do not keep business hours. Many professionals carry a phone that can ring at any hour, because someone has to be ready.
THEY OFTEN BEAR THE BLAME. When a breach is discovered, the first question is often who failed. Seldom does anyone ask who warned about it, or who asked for the budget and was refused.
They asked for no recognition. No fame, no glory. They are the wings beneath our networks. You do not see wings when a plane is in the sky and flying smoothly, but nothing would fly without them. Every network in this book, the communication network, the power grid, the banks and the military, stays aloft because of people who work in the background and ask for nothing.
I have spent most of my life in this field, from the time I was a boy writing his own games late at night. I have worked alongside many of these professionals, and I know what it takes. So I say this as one of them: thank you.
A salute is good, but it should come with something more. If you manage or lead an organization, here is how to honor the people who protect it.
LISTEN. When your security people give you a warning, treat it as information, not as an inconvenience.
FUND THEM. Give them the budget, the tools, the training and the time to do the job properly.
THANK THEM. Say it out loud, and say it when nothing has gone wrong. The quiet days are the victories.
FOLLOW THE RULES. The surest way to support a cyber professional is to follow the policies they ask for, even when it is inconvenient.
BE ONE. The field needs more people, and it needs people who care. If you have the curiosity, learn the craft, and do it the right way, with written permission and a clean conscience.
To every cyber professional everywhere: thank you, and well done. We salute you.
You have reached the end of this book, but not the end of the war. The cyber war continues every day. While you read this page, somewhere a network is being probed, a password is being guessed, a message is being sent to fool someone, and a defender is watching.
We began with what cyber security really is: an art and a science that protects the data and the infrastructure, from the beginning to the end, and keeps them protected throughout the entire process. We learned how attackers get in, through phishing, man-in-the-middle attacks, injections and known vulnerabilities. We learned to know the programs we run, because someone wrote every one of them, and to ask whether a back door was written in.
We looked at how to protect a network with audits, patches, closed ports and good habits, and at why encryption must go from device to device. We learned that a VPN is not a magic cloak and that no one should trust the name of an attacker or the place an attack seems to come from. We learned that locking an attacker out is not a win until we know how long he was inside and what he took.
Then we looked at what stands on top of it all: the communication network, the power grid, the banking system and the military, the four layers a society depends on. Each depends on the others, and each is protected, in the end, by people.
There is no day on which security is finished. Software gets new flaws. Attackers get smarter, and they get new tools, including the ones built on AI. Every update, every new device and every new employee changes the picture. The network you secured last year is not quite the network you have today.
That is not a reason to despair. It is the nature of the work. Safety is not a product you buy once. It is a habit you keep, like locking the door every night, and a discipline you practice, like a pilot running a checklist before every flight.
This is our promise. We give our best to battle the attacks against us. We will not fall, and we will not falter. We will not fail, and we will not fade. We will keep watching when nothing is happening, we will keep learning when we think we know enough, and we will keep going when it is hard. I chose this field because it is hard, and I would choose it again.
There is no single answer that fits everyone. As we said in Chapter 5, every business is unique, and so is every home and every person. A hospital, a small shop, a family with children and a retired couple all use their networks and devices differently, so they face different risks.
That is why the goal is refined, customized solutions: protection that is built around how you actually use your network and your devices, and not a generic checklist from a box. It means looking at what you have, what you need to protect, and where you are exposed, and then building a plan to fit you. For every network. For every home. For every person.
That is our mission: to keep you safe and protected.
I believe the best defense is built by the people who know your organization best: your own employees. My role is to give you advice and point them in the right direction. If you would like a second set of eyes on your plan, visit 911re.com and send me a message through the contact form.
You do not have to do everything at once. Start with a few things you can do before the day is over. The next page turns them into a 30-day plan.
CHECK WHO HAS ACCESS. Remove the accounts of people who no longer need them.
UPDATE. Check for updates first thing, and install them.
CLOSE WHAT YOU DO NOT USE. Turn off unnecessary services, and turn off devices when you are done.
THINK BEFORE YOU CLICK. Verify any urgent request by a second channel.
ASK FOR HELP. Find a qualified professional who cares, and give them your trust and your support.
The cyber war continues every day, and so do we. We keep you safe and protected. We will win, whatever it takes.
Work through one week at a time, and check each box as you finish it.
DAILY. Check updates and alerts. Review new administrators. Shut down idle devices.
WEEKLY. Review all administrator and root users. Scan ports. Confirm backups.
MONTHLY. Match accounts to current staff. Compare software and settings to your baseline. Test a restore.
YEARLY. Audit everything, get an independent test, update your policies.
Your own people should do this work. For guidance, visit 911re.com.
Security is a team effort, and the people on the team rarely hear thank you. I would like to say it here.
TO THE IT AND CYBER SECURITY PROFESSIONALS who come to work every day to protect our assets, our data, our research and everything that everyone has worked so hard to achieve: thank you. Most of what you prevent is never seen.
TO THE EXECUTIVES who make the right decision: thank you for hiring good, qualified and confident professionals, and for having the vision to foresee threats and keep attackers out of your networks.
TO THE POWER COMPANIES for providing the resources we need to run everyday life: the pumps that bring us water, and the energy that lets hospitals keep us healthy.
TO OUR MILITARY LEADERS for keeping us safe and for providing the freedoms we have grown accustomed to.
TO THE WORLD LEADERS for choosing diplomacy and keeping tensions to a minimum. Remember what this book has shown: attackers can come from anywhere, and not necessarily from the country they appear to come from, because they can use virtual private networks to hide their location.
AND TO YOU, THE READER, for caring enough to learn how to protect what matters to you.
Mike Thomas has been writing code since 1979, when he was eleven years old. Back then there were no computer games to buy, so if he wanted to play one, he had to build it himself. He spent countless nights and weekends programming in BASIC, learning how computers really think, long before anyone worried about how they could be attacked.
Thomas grew up in a military family, moving from base to base, and served as a junior cadet in a military youth program. Surrounded by aviation and defense technology, he became fascinated early on with aeronautics and with cyber security, years before cyber security became the issue it is today.
He attended high school in Colorado Springs, Colorado, a hub of military and technology, and went on to earn a Bachelor of Science degree from a university in the same city.
In 1995, Thomas became one of the first certified systems engineers with credentials in internet technologies, and he beta tested a major operating system before its public release. He worked on a server support team at a leading computer manufacturer, then moved to Florida to work on the computer network of a manufacturer of aircraft engines for military fighter jets. Also in Florida, he worked for a federal bank, setting up and securing the systems that ran its infrastructure.
Today, Thomas is a cyber security consultant, a real estate technology expert and a financial strategist whose vision and innovation may shape tomorrow’s future. As a consultant, he advises organizations and points their own employees in the right direction.
911re.com