Feeds:
Posts
Comments

Archive for the ‘Security’ Category

With the news of targeted attacks against election systems, should the American voter be concerned that the upcoming presidential election could be manipulated or invalidated by a foreign government or cyber-terrorists?

In my view, the short answer is “no.” The reason is that the US election system is so complex and distributed such that there is no single attack point.

Our founding fathers deliberately set up this complex system because of the reality of the late eighteenth century. At that point, the newly born United States with its thirteen states was larger than any country in Europe, spanning over 1,000 miles as the crow flies. Messages and people could only travel at the speed of a walking horse or a sailboat. Just getting from New York City to Philadelphia would usually take at least three days. A voter in Boston would know very little about a candidate from Virginia. With slow communications in mind, the Constitutional Convention made a series of compromises in the summer of 1787 to balance the rights of the individual states and the power the national government needed to make a strong country. One of those compromises gave us our House of Representatives, representing the people, and the Senate, representing the states. For the current topic, the two important compromises were the creation of the Electoral College and giving each individual states control over the election. The result is that each state is responsible for the number of precincts and the number of polling places in that state, and the manner in which votes are cast and collected. While various voting rights acts have impacted the way precincts and districts are defined, the states still retain control over the voting process. In many states, this responsibility is passed down to the individual counties, so that voters could be using multiple voting mechanisms within the same state. A few states, like Oregon, have switched or are in the process of switching to mail only voting.

In the 2004 election, according to Election Data Services, there were about 186,000 precincts. Each precinct represented between 436 and 2,703 registered voters, with an average of around 1,100 registered voters per precinct.

ABC News reported that Russian hackers have targeted more than twenty state voter registration systems and have been successful in hacking four (Illinois, Arizona, Florida, plus another that I have not be able to identify).   Of course, these are the states that have actually made the effort to determine if they had been hacked. How many others have been attacked?

The US Department of Homeland Security (DHS) has offered to help state election boards stay secure, but as of this posting only eighteen states have expressed any interest in that help. DHS has also offered a more comprehensive on-site risk assessment. While four states have expressed interest, DHS is offering this service so late that it will likely only be able to provide one state this service before Election Day. This is yet another example of how the US government is late and slow to respond to cyber security threats.

These attacks may be more about stealing personal information for future identity theft activities, but it is difficult to determine the real purpose of these attacks if they are from Russia.

The good news is that these voter registration systems are not integrated into the actual voting systems. Even if a registration system is damaged, each state has procedures for a “provisional ballot.” You submit a ballot on Election Day, usually on paper in a sealed envelope, and election officials have time to research and confirm or deny the ballot after Election Day but before the official results announcement. Provisional and absentee ballots are generally only counted if they could possibly make a difference for any ballot position or question. The insertion of the Electoral College process provides a significant time window to deal with absentee and provisional ballots.

We have more than fifty different voting systems from multiple vendors distributed across all fifty states, plus precincts in the District of Columbia, territories like Puerto Rico and foreign locations including some embassies and military bases. Since almost all of these voting systems are not connected to the Internet, it will be very difficult for hackers to make a successful attack that can impact an election.

The last word:

This does not mean that we will have a fraud-free election, but it means that we need to continue to be vigilant for the relatively few cases of voter fraud, voter intimidation by groups or individuals, or “lost” ballot boxes. If you are sleeping too much, search for “lost ballot box” on Google.

Comments solicited.

Keep your sense of humor.

Walt.

Advertisements

Read Full Post »

Tesla is having an interesting year with its Autopilot capabilities.   Its software, supported by cameras, radar and ultrasonic sensors, can automatically drive on a highway including changing lanes and adjusting speed depending on surrounding traffic. It can find a parking space and parallel park itself. It even comes when called. The Summon feature allows you to call your car from your phone and have it meet you at your front door. How many times have you wished for that feature when you can’t quite remember exactly where you parked in that huge shopping center lot on a rainy cold day?

Joshua Neally is quite happy with his Model X. On his way home in Springfield, Missouri, he suddenly felt something like “a steel pole through my chest.” He let his Tesla autonomously take him more than 20 miles to the off-ramp near the closest hospital. Neally had to drive himself the final stretch, but he survived a pulmonary embiolism, which kills 50,000 people a year, 70% in the first hour.

On the other hand, Joshua Brown had a different experience with his Tesla Model S in Williston, Florida. His car’s sensor system failed to distinguish a large white 18-wheeler crossing the highway on a bright sunny day. Joshua was killed when the top of his car was torn off when it went through the trailer.

Tesla cars are not fully autonomous: they require the driver to remain alert and keep their hands on the steering wheel. Neally’s car got him safely 20 miles and off the freeway, but he had to manually drive to the emergency entrance. Brown was apparently watching a Harry Potter movie at the time of the crash; at least the movie was still playing when the car finally stopped after snapping a telephone pole a quarter mile from the accident.

Uber in Pittsburgh is offering rides in self-driving Ford Fusion cars. There is still a driver who has to be ready to take over at any time. The current software will not automatically change lanes, like when a delivery van is double-parked on a city street. The driver needs to take control to safely go around the obstacle.

Like today’s cruise control, you must engage the self-driving features, and manually braking or accelerating disables the self-driving features.

Surprisingly, bridges can be a problem for autonomous vehicles. One might think that nothing could be simpler than a bridge: a straight set of well marked lanes with a definite right side and minimal distractions like pedestrians and cross streets. But that simplicity is a big part of the problem. Without so many environmental clues like buildings, it is harder for the car to figure out exactly where it is. This is one reason Pittsburgh was chosen for this first Uber self-driving car rollout. Pittsburgh also has four seasons, an irregular grid of roads, and lots of potholes, and Carnegie Mellon University robotics center. The robotics center providing the self-driving hardware and software.

We are in the awkward learning phase with autonomous vehicles. Having someone behind the wheel to take over is problematic. It is hard enough to stay focused on driving when you are actually driving, let alone when you have very little to do.

The last word:

If you have one of the current crop of semi-autonomous vehicles, you must pay attention at all times. Tesla emits an audible chime when it detects that the driver does not have his hands on the wheel. Uber currently has a engineer behind the wheel, and another ride-along engineer in the passenger seat monitoring the car and taking notes.

If you are riding in a semi-autonomous vehicle, like the Uber cars in Pittsburgh, do not distract the driver. Treat the driver like you would in a normal vehicle.

On the other hand, Teslas had been driven more than 130 million miles in autopilot mode prior to its first fatality, compared to one fatality every 94 million miles in the US and every 60 million miles worldwide.

Always remember, these software systems are still in beta. You won’t trust your business to beta software; don’t trust your life to beta software!

Comments solicited.

Keep your sense of humor.

Walt.

Read Full Post »

This is the last of a series of four blogs about quantum computing. The first was a quick view into the weird world of quantum physics, followed by a look at was capabilities a quantum computer would have. Last time we looked at the significant implications a quantum computer will have on data security.

Here are some examples of where we are today:

  • MIT has created a five-qubit quantum computer (Science, March 2016).
  • D-WaveThe Canadian company D-Wave Systems shipped its first quantum computer in 2010 with 128 qubits. D-Wave has announced the availability of the D-Wave 2X system with more than 1,000 qubits. On the other hand, there are lots of skeptics about whether what D-Wave is creating is really a quantum computer. It clearly uses some quantum capabilities, but if I understand it correctly (a big “if”), it deliberately avoids using superposition and quantum entanglement. If so, it will limit their quantum computer capabilities. However, they are way ahead of anybody else in actually building a computer based on quantum concepts.
  • The Australian company Shoal created a quantum computer for the Australian Department of Defense in 2014, and then spun off QxBranch as a quantum computing software company working closely with D-Wave.
  • California-based Rigetti Computing is developing fault-tolerant gate-based solid state quantum processors that they claim is highly scalable and low cost.

The largest prime number successfully factored by a quantum computer is 56,153 (241 x 233). At this point, the time to factor that 16-bit number with a quantum computer is longer than the time to factor it on modern classical computer. Today’s modern encryption keys have up to 768 bits.

How long will it take to have a quantum computer large enough to threaten today’s network security practices? It took 25 years from the first digital computer (Eniac, 1946) until computers were powerful enough and ubiquitous enough to create the first primitive networks (ARPANET, 1971). It took another 19 years until Tim Berners-Lee created the first web browser in 1990 and the formation of the Internet. It won’t take that long to get real quantum computers, maybe twenty years but more likely closer to ten.

The last word:

You don’t have to worry about a quantum computer cracking your network security and exposing all of your secrets. Yet. You do need to remain vigilant because sometime there will be such a quantum computer. You can bet the first such computers will be deep inside organizations like the US National Security Agency (NSA) and similar organizations in other countries.

For those of us who lived through or even participated in the space race, one of the significant differences between the US and the USSR was openness: the US did everything in public, the USSR did everything in secret and only revealed their successes after the fact. These days, the NSA acts much more like the Soviet model, keeping a tight rein on security products, and with the ability and inclination to prevent technologies from entering the marketplace until the NSA is ready.

Our first indication of the existence of a powerful quantum computer may be the successful attack on a nation’s political, military, financial or physical infrastructure.

Comments solicited.

Keep your sense of humor.

Walt.

Read Full Post »

This is the third in my Quantum Computing series. Last time I indicated that the two main areas in which quantum computers will be very much faster than digital computers are searching and factoring. The average individual and almost every company will rarely need the incredible searching capabilities of a large quantum computer, and I suspect that specialized companies will be created in the next twenty years or so to handle the special cases that do come up.

But everyone should be concerned about a quantum computer’s capability to almost instantaneously factor large numbers. To understand why, we have to understand how encryption is actually done in our digital world. There are two main types of encryption: symmetric-key encryption and public-key encryption.

Symmetric-key encryption uses the same key for both encryption and decryption. Both parties must have the same key in order to communicate securely. We use symmetric-key encryption every day: whenever you see https:// (instead of just http://) in an Internet URL, you are using symmetric-key encryption. Symmetric-key encryption algorithms are subject to various attacks based on the process that generates the symmetric key, but the biggest issue is how to securely transmit the key between the two parties. That key sharing usually involves some form of public-key encryption.

Public-key encryption has two keys: a published key that anyone can use to encrypt messages and a private decryption key that only the receiver has. While the process to generate the pair of keys is mathematically amusing, the key component of the process is to multiply two very large prime numbers together. The public key is that product plus another calculated value based on the two primes that form the product. The security of public-key encryption is based on the time it takes with current digital technology to determine the two prime factors that are used to compute the public and private keys. This factoring time goes up exponentially as the key gets larger, so that today by the time some organization could break a code, the data would be of historical interest only.

However, Peter Shor at MIT has shown that a quantum computer could factor large numbers easily, meaning very quickly. Oops.

Quantum computers could end the predominance of public-key encryption algorithms, which would also seriously impact symmetric-key encryption.

The ideal cryptographic protocol is the “one-time pad,” first described in 1882. A one-time pad is a random secret key that is only used once. It was original an actual pad of paper that contained the key, or more likely a set of keys. The pads were then physically carried from one party to the other, often using clandestine methods. The KGB created one-time pads that could fit inside a walnut shell. Today, most symmetric-key algorithms create a one-time use key in real time for short-term use. For example, https security creates a new key for each communication session. If you are communicating with https to multiple sites at the same time from the same browser, each of those communications has a different symmetric key.

Quantum computing to the rescue: Quantum Key Distribution (QKD) allows for the distribution of completely random keys at a distance solving the biggest security problem with symmetric-key encryption. A key generator creates two entangled qubits (perhaps a photon), and sends one to each party. Each party looks at one attribute of the qubit (say polarity), and assigns a bit (0 or 1) based on the attribute value. Due to entanglement, both parties will get the same answer. Repeating this process can generate a symmetric key of any appropriate length, normally no larger than 256 bits.

More importantly, the parties can tell if anyone intercepted their qubit. If someone does intercept the qubit distribution, that interception will disturb the entanglement and the keys will no longer match. Problem solved.

The last word:

Perhaps one of the strangest potential uses of a quantum computer is to simulate quantum systems. This will allow scientists to understand what is really happen at the quantum level, and could perhaps lead to amazing new products in a variety of areas.

We have no idea what the quantum computer will eventually do. Howard Aiken was a pioneer computer engineer and the original conceptual designer behind the IBM Harvard Mark I computer in 1944. In 1952, he said, “Originally one thought that if there were a half dozen large computers in this country, hidden away in research laboratories, this would take care of all requirements we had throughout the country.”

Comments solicited.

Keep your sense of humor.

Walt.

Read Full Post »

Last time we talked about the weird quantum universe, where particles can be in more than one state at the same time and can be entangled with another particle at great distances. What does this have to do with computers?

Since their beginning in the late 1930s, all digital computers are based on binary digits (bits), which can have a value of zero or one. Early computers might have a few thousand bits in a box the size of a refrigerator. Your smart phone probably has more than 100 billion bits in a box that fits in your pocket. Digital computers work because the computer can tell a particular bit to be a zero or a one, and it will stay in that state until it is explicitly told to change. This is a good thing, and a bad thing. It is good because we can rely on the state of that bit. It is bad because it takes time to set the value of a bit, and later to look at it to see what that state is. Because of that, there are problems that would take computers millions of years to solve.

The quantum world is a little different. Niels Bohr who won the 1922 Nobel Prize in physics for his work in quantum theory famously said, “If quantum mechanics hasn’t profoundly shocked you, you haven’t understood it yet.”

Quantum computers use quantum bits, called qubits. Qubits are very small; they must be to have quantum effects. They can be individual atoms, photons, or electrons. Unlike a digital computer, each qubit can be in multiple states simultaneously. The effect of that is that a quantum computer with a single qubit could solve two simple problems at the same time, one with two qubits could solve four simultaneously, and one with ten qubits could solve over a thousand simple problems simultaneously. This is called parallelism. A 30-qubit quantum computer would be at least a thousand times faster than today’s conventional desktop computer.

To solve very complex problems, the digital world has created computers to take advantage of problems that can be solved using parallelism techniques. Computer companies have created computers with dozens to thousands of separate processors, each doing the same function across a large array of data. IBM’s Blue Gene is one example of a massively parallel supercomputer. SETI@home (Search for Extraterrestrial Intelligence) is an example of a distributed parallelism approach, often called grid computing, where 290,000 computers around the world can work on the same problem across the Internet.

Blue Gene cost $100 million to build. SETI takes advantage of idle time on lots of computers, so it hard to put a dollar cost on it. In ten years, it managed to cover only about 20% of the celestial sphere.

One problem with a qubit is that if you look at it, it assumes a specific state and stays there; superposition disappears. This is where entanglement comes in: you can indirectly look at the value of qubit’s attribute.

Armed with a quantum computer, what could you do? In general, not what you do today on your digital mainframe, desktop, or phone. A quantum computer would be lousy at balancing a checkbook, creating a spreadsheet, or writing a book. (Unless you were trying to prove the infinite monkey theorem: a monkey sitting at a typewriter hitting the keys at random would eventually write the complete works of William Shakespeare.)

Quantum computers will be very good in two areas: search and factoring.

  • If you have a lot of data to search (like the SETI problem), a quantum computer could look at all of the data at once.
  • While it is easy for a digital computer to multiply two large numbers, even if they each have hundreds of digits. Determining the factors of a very large number, like one with 500 digits in it, is very difficult and can take thousands of years with today’s fastest computers. A quantum computer could factor a 500-digit number in seconds.

OK, a very quick search would be neat but Google is fast enough for me. And I never even want to think about factoring a 500-digit number, so I don’t care about that.

Next time we will explore why you should care.

The last word:

As you probably know, the US is far behind most of the rest of the world in cell phone and credit card technology. Almost every point of sale in Europe takes EMV cards, smart cards that store the card data in integrated circuits embedded in the cards or in RFID chip. If you are wondering what the acronym “EMV” stands for, it is ”Europay, Mastercard and VISA,” the three companies that created the standard.

There are two security concerns you should be aware of:

  1. The RFID chips in your smart credit card can be read over a distance of up to three feet. Anyone close to you for a second could be a thief stealing your card. Always carry it in an RFID shielded envelope, wallet, or purse.
  2. Because non-smart cards are a pain for the retailers in Europe, they don’t like to take them and when they do they are not very careful. They won’t bother checking the signature on the card, even if you have signed it with “CHECK ID.” Anyone who steals your physical card will have no problem using it. Your credit card company should cover your costs, but it will be a huge pain. Never carry debit cards – you have very little protection against someone emptying your bank account, and they can do it in a matter of minutes.

Comments solicited

Keep your sense of humor.

Walt.

Read Full Post »

I feel a little lazy this week. We just got back from a very busy spring with two cruises: one from Vancouver around Hawaii and back to Vancouver on Holland America and the other from Amsterdam to Budapest on a Viking Longboat. I strongly recommend both cruises. Between the trips we attended a family wedding at the other end of the state.

But cyber attacks continue unabated. Some of the more recent “highlights:”

  • On top of the 191 million voter registration records stolen in December 2015, another 56 million records were captured and exposed, probably by a Christian right-wing organization. While a lot of information in your voter registration file is public, it does include name, address, birth date, and party affiliation. Organizations can use that information to correlate other non-public information including voting history, religious affiliation, charity donations, work place, income level, political leaning, and some really strange information like whether you like auto racing.
  • State Farm had information on 77,000 customers stolen by a hack into DAC Group, a large advertising agency in the US and Canada. While it currently seems that no financial information was stolen; it is likely that these customers had their email addresses stolen. What is instructive, however, is that this information was stolen from a development server at DAC. Security on development systems is often not as comprehensive as on a production system, and one of the reasons to have a development system is to confirm that any enhancements have not impacted data security before the software moves to the production environment. You should never use production data in a development environment. DAC should have known better.
  • A Japanese travel agency, JTB Corp, had personal information for almost 8 million people. One of JTB group companies experienced a targeted email attack, and an employee opened an attached file, which infected their server.
  • On the lighter side, the Cowboys Casino in Calgary, Canada, was attacked and personal information on less than 2,000 customers and staff were stolen. You parents told you not to gamble.

These are just a few of dozens of attacks in June 2016. If you are not having trouble sleeping, check out Norse real-time threat intelligence. This shows a small sub-set in real-time of network attacks based on their service and port. This does not include email or other application-level or OS-level attacks.

The last word:

For those of you in the United States, enjoy the Fourth of July and think about the freedoms we have here.

A number of people we met on the European cruise were from the UK, and this cruise was just before the BREXIT election. Most of them were concerned that the UK might vote to leave. From my perspective, it is past time for the UK to leave the EU. The EU bureaucrats control far too much of what each individual country and company must do, down to specifying the size and shape of wine bottles. These bureaucrats all seem to be socialists. As a result, the growth of the European economy is in last place compared to Africa, Asia, North and South America. However, the European economy is growing faster than the economy of Antarctica.

In 1992, “everyone” predicted dire consequences for the UK economy when it refused to abandon the Pound and move to the Euro. In 1990, the UK entered the European Exchange Rate Mechanism, a prerequisite for adopting the Euro. The UK spent over £6 billion pounds trying to keep its currency within the narrow limits prescribed by the EU, but, led by Prime Minister Tony Blair and his successor Gordon Brown, finally ruled out conversion to the Euro in 2007. One of the best moves in recent UK history.

Before the BREXIT vote, the UK was the fifth largest economy in the world. Do you really think a European company will cease to trade with a UK company because they are no longer in the EU?

Comments solicited.

Keep your sense of humor.

Walt.

Read Full Post »

On 15 January 2014, George Osborne stated at the Open Europe Conference, “Europe accounts for just over 7% of the world’s population, 25% of its economy, and 50% of global social welfare spending.” The Right Honourable George Osborne, MP, is the current Chancellor of the Exchequer in England, the equivalent to the Treasury Secretary in the United States. On the surface, this seems like a typical politician’s claim and subject to doubt. But it is likely true.

According to Eurostat, the 27 nations that make up the European Union account for around 7.2% of the world’s population. If you include European nations that are not part of the EU, then it rises to 10.5%. Also according to Eurostat, the EU nations make up 25.8% of the world GDP (about 30% if you include all European nations). So if Mr. Osborne really meant the EU, he is spot on for the first two claims. The last number is a lot harder to pin down. Mr. Osborne credits German Chancellor Angela Merkel for the claim, but fullfact.org has not yet received an answer from the Chancellor’s office. In 2012 the World Bank published a report that Europe accounted for 58% of the world’s social welfare spending. This number included 36 countries as “European,” which includes the 27 EU members. So maybe the 50% number is reasonable for the EU.

Is it any wonder that the millions fleeing from the Syria, Afghanistan, Iraq, Kosovo, Albania, Pakistan, Eritrea, Nigeria, Iran and the Ukraine head to Europe? They are certainly not heading for Africa or Russia, even though Russia has a lot of empty space to house hundreds of thousands of refugees. Just as for many of the people who cross into the US from Mexico and further south, many of these people steaming into Europe are really economic refugees. On average in 2015, each EU country had 260 applicants for each 100,000 in local population, but of course it was not eevnly spread among the EU countries. Hungary had 1,799 applicants for each 100,000 in population, while Spain had 32.

Clearly the majority of these immigrants are fleeing terrible conditions where their lives are at great risk. In my view, these people are refugees that the receiving countries have some responsibility to deal with. But we see in the daily pictures from Europe, many able-bodied 18-35 year old men and women with no accompanying children. These people have no pride in their own land; they are not willing to stay and fight for their country and their culture. How much investment will they have in their new country?

This war-fed migration pales when compared with the fleeing masses during and after World War II. Some estimates put the European component of fleeing refugees at 60 million, with over a million of them still trying to find a place to settle five years after the conflict ended.

Perhaps the biggest difference between then and now is that this war still goes on. ISIS and other organizations still want to take over the world by any means. This migration provides the perfect opportunity for ISIS to infiltrate hundreds of fighters and organizers into Europe, and no way for the European countries to verify the identity and background of any of these people.

Another importance difference between now and just after World War II is the ability of these migrants to communicate. In some cases, and for really good reasons, these migrants are being given smart phones. They are an easy way for the authorities to provide information on where to get help and what options are available, and for the migrants to communicate with family members already in Europe. It also provides a way for the few invaders to communicate among themselves and with any sleeper agents or groups already in place.

The last word:

The US government created the Transportation Security Administration, with an annual budget of more than US$7 billion. The main result of this expense is to inconvenience the more than 800 million passengers in the US each year, adding wait hours to every passenger just to get on the plane. Based on the absence of any “we stopped this attack” information from TSA, it seems that actual attacks are stopped by passengers or crew, not TSA. TSA does provide a weekly report that, on average, reads like found six “artfully concealed prohibited items,” about a dozen weapons (mostly small pen knives), and arrested about a passenger a day for “suspicious behavior” or fraudulent travel documents. There is no indication that any of these incidents actually posed a threat to passengers. Rather, the long queues at checkpoints create clusters of people that are prime targets for those wishing to do us harm.

Comments solicited.

Keep your sense of humor.

Walt.

Read Full Post »

Older Posts »