Report on UPenn Criticisms of the P25 Radio: Cont 3

Looking at the packet structure, the UPenn authors claim that jamming a single bit will cause the packet top be unreadable, but in reality, there are multiple bits, any of which jammed would cause a packet to be unreadable: 72 bit IV (64 effective), 8 bit algorithm ID, 16 KeyID all jammable. if a single bit in an of these are lost, the packet cannot be decrypted.
“A well known weakness of stream ciphers is that attackers who know the plaintext content of any encrypted portion of transmission may make arbitrary changes to that content at will simply by flipping appropriate bits in the data stream. For this reason, it is generally recommended that stream ciphers always be used in conjunction with MACs, but the same design decision (error tolerance) that forced the use of stream ciphers in P25 also prevents the use of MACs.”
There is a solution. An even worse weakness is repeating the usage of an IV with a single key. A simple solution to this issue is for a radio, when broadcasting to a certain AlgoID-KeyID pair, to select a random IV value for the first packet and then increment this value by one for each following transmission. In this way, receiving radios can track the last known sent IV. Any IVs lower then the last transmitted can be rejected. This prevents an attacker from replaying information. If the attacker modifies the IV for a replayed packet, the IV will not be able to decrypt the packet, and it will be rejected.
EEC weakness – claimed a weakness allowing easier selective jamming.
User Interface Weaknesses will not be addressed.
Clear Traffic accepted – This is not a problem. At times, it is more important to communicate then it is to be secure. This is operationally correct.
Cumbersome keying. – operational issue.
Traffic analysis
These are not tactical radios. While being able to do frequency, sending receiver identification can lead to exposure of critical information in tactical (military) networks, this becomes much less of a concern in non-tactical nets.

“Transmitting radio sources are is generally susceptible to geolocation through direction finding and triangulation techniques.”
This is true for all broadcast signals. The reality is, direction finding wideband signals is not less difficult then it is for narrow band. If there is energy, it can be found, beam formed and form multiple locations, a probable location of the emitter can be found. This level of sophistication and coordination is not normally found in criminal activity but that of nation state.

Denial of service attacks
Again, this class of attacks are more easily found for well known signals like Cell, Wifi, and GPS jammers. Thus, the freq is nor more vulnerable to jamming then any other readily known signal.
The authors analysis of the methods of jamming analog signals are … naive and incorrect. Unfortunately, I cannot say much more then that about the subject matter.

“As a practical matter, the analog jamming arms race is actually tipped slightly in favor of the defender, since the attacker generally also has to worry about being discovered (and then eliminated) with radio direction finding and other countermeasures. More power makes the jammer more effective, but also easier to locate.”
The same holds true for digital jamming, even in ultra short burst rates. Beam forming techniques can readily discern multiple /simultaneous signals and can plot these over time. Even short burst signals can be found and discerned using time differential of arrival techniques.

“Spread spectrum systems [3], and especially direct sequence spread spectrum systems, can be made robust against jamming, either by the use of a secret spreading code or by more clever techniques described in [6, 1].”
This naive claim made me laugh; no signal is robust against jamming. If there is energy, it can be found. If it can be found, it can be interrupted.
“Without special information, a jamming transmitter must increase the noise floor not just on a single frequency channel, but rather across the entire band in use, at sufficient power to prevent reception. ”
Without special information, even on narrow band signals, a jammer must broadcast over a continuous interval to increase the noise floor. This applies for any signal and not just P25.

Posted in Uncategorized | Comments Off

Report on UPenn Criticisms of the P25 Radio: Cont 2

Comments Section 3 Security Analysis
This is where the authors of the paper begin to throw around terms which really start to give me concern.
Section two describes some of the encryption protocols and methods used in the P25 system. The beginning of section three starts out with the following claim.
“In the previous section, we described a highly ad hoc, constrained architecture that, we note, departs in significant ways from conservative security design, does not provide clean separation of layers, and lacks a clearly stated set of requirements against which it can be tested.”
1. “highly ad hoc” is never qualified, defined, described or justified.
2. “constrained architecture” again, this is not qualified how it is constrained. Nor is it explained how this is bad.
3. “we note, departs in significant ways from conservative security design” No place thus far have they noted the design departs in *any* way, let alone “significant.”
4. Again, a claim with no backing that the protocol does not provide a “clean separation of layers.”
5. Finally the claim “lacks a clearly stated set of requirements against which it can be tested”, which contradicts prior wording “The P25 protocols are quite complex, and the reader is urged to consult the standards themselves for The voice message begins with a Header, and then continues with Logical Link a complete description of the various data formats, options, and message flows.” If they are set in a standard, which has a “complete description,” it would follow there are requirements which can be used as testable features.

“This ad hoc design by itself represents a security concern, and could be considered a basic architectural weakness. In fact, the design introduces significant certificational weaknesses in the cryptographic protection provided.”
Again the authors make more claims as to ad hoc and claims “certificational” issues with the cryptographic protection without clearly stating what these are.

“Given the overall complexity of the P25 protocol suite, and especially given the reliance of upper layers such as the OTAR subsystem on the behavior of lower layers, such deficiencies make the security of the overall system much harder for a defender to analyze.”
Now the authors claim that upper layers relying on lower layers for security makes a system harder to analyze. Layered security approaches in communication have been used for many years. IPSec is a classic example of a layer three protection protocol used by higher layers for many years. I find it interesting the authors claim IPSec makes the security of a system harder to analyze.
“The P25 implementation and user interfaces, too, suffer from an ad hoc design…”
I am reminded of a quote from the move “The Princes Bride”, “You keep using that word. I do not think it means what you think it means.” The Cambridge American Dictionary lists the definition of ad hoc as “for a particular purpose or need, esp. for an immediate need.” So, since most user interfaces are built for a particular need, they all could be considered ad hoc. Likewise could be said abotu the protocol since it was built for the P25 specification needs. The authors fail to explain how this is bad.

“At the root of many of the most important practical vulnerabilities in P25 systems are a number of fundamentally weak cryptographic, security protocol, and coding design choices.”
So, lets look for where they make these two (or three, depending on how you parse the commas), separate points “weak cryptographic”, “weak cryptographic, security protocol” and “coding design choices”. (although coding design choices are not the fault of the protocol)

“Because no MACs are employed on voice and most other traffic, even in encrypted mode, it is trivial for an adversary to masquerade as a legitimate user, to inject false voice traffic, and to replay captured traffic, even when all radios in a system have encryption configured and enabled.”
It is difficult to discern what type of MAC the authors are referring to. If they mean no Media Access Control address, then depending on if the protocol broadcasts the MAC clear text as it does in many waveforms (see 802.11), it is also trivial to masquerade. If the authors are referring to a Message Authentication Code (as they did prior) and if the attacker does not have the encryption key, I would be very curious how they claim it is “trivial” to conduct a masquerading attack. (please note the use of and between the claims of masquerade and replay denotes both are “trivial.”) Without the proper key, there is no way they can (to my limited knowledge), produce a decryptable packet for false injection / masquerading. Once the false packet is received, decryption will be unsuccessful and any such injection will be thwarted.
Now, as to the author’s claim of a replay attack; this is the more interesting claim and one they *should* have investigated. It should also be noted that reply attacks do not “inject false traffic”, merely stale traffic which is not false.

“Even when encryption is used, much of the basic metadata that identifies the systems, talk groups, sender and receiver user IDs, and message types of transmissions are sent in the clear and are directly available to a passive eavesdropper for traffic analysis and to facilitate other attacks.”
This is of concern but sensitivity of such transmission security (TranSec) issues may not be of concern given these radios are not designed to carry/process classified information.

Posted in Uncategorized | Comments Off

Report on UPenn Criticisms of the P25 Radio: Cont 1

Looking into the introduction, more claims can be found:
“Practical attacks can leak information, including location information about members of a radio group, and can seriously mislead their users about the security state of their communication.”
If these attacks are so practical, it will be interesting to see the implementation because it is not good to “seriously mislead” users.

“We describe an active traffic analysis attack that permits on-demand determination of the location of all of the users of a radio network, even when they are not actively using their radios.”
How is “not using radios” defined. Are the radios off?

“We also describe very low- energy selective jamming attacks that exploit a variety of protocol weakness, with the effect that encrypted users can be forced (knowingly or unknowingly) to revert to unencrypted mode.”
Again, lets be careful with this claim. As I stated before, the “very low- energy selective jamming” can only occur under very limited operational scenarios. Also, of great interest is the claim “encrypted users can be forced (unknowingly) to revert to unencrypted mode.” This is the critical claim which needs to be examined closely.

“These attacks may also be used to entirely disable trunked mode communications for an entire radio network with strikingly low energy.” How is “strikingly low energy” defined; more sensationalistic terms?

“can prevent encrypted traffic from being received and can force the users to disable encryption” Again, a claim of forcing, as is against will, or as stated prior, without the users knowledge, disable encryption. Multiple times this claim has been made, lets see if it stands up.

Posted in Uncategorized | Tagged | Comments Off

Report on UPenn Criticisms of the P25 Radio

This following few posts are related to a paper published out of UPenn titled “Security Weakness in the APCO Project 25 Two-Way Radio System.”
Lets take a look at the Abstract.
From the Abstract “We find a number of protocol, implementation, and user interface weaknesses that can leak information to a passive eavesdropper and that facilitate active attacks.”
So, found was more then one of protocol, implementation and user interface issues and at least one of each which “can leak information to a passive eavesdropper.”
Also “In par- ticular, P25 systems are highly susceptible to active traffic analysis attacks,” How is “highly susceptible” defined?
“radio user locations are surreptitiously determined” This claim will be interesting to see how it is proven and validated.
“selective jamming attacks” Again, another claim which will be interesting to see how it is proven and validated.
“The P25 protocols make such attacks not only feasible but highly efficient” How is “highly efficient” defined?
Added “…requiring, for example, significantly less aggregate energy output from a jammer than from the legitimate transmitters.” This claim is dubious at best. If a jammer is at one extreme edge of the network from the transmitter, and the receive at the other, the jammer will require significantly more aggregate energy to overcome the simple fading channel issues.
Right from the start, the Abstract presents questionable information in sensationalist format.

Posted in Uncategorized | Tagged | Comments Off

More SCADA Vulnerablities

Recently, over ten zero day SCADA attacks and step by step instructions were published. SCADA devices are controllers used in automation of things like factories. The whole idea that there is a problem with SCADA device security is ludicrous. These devices control multi-billion dollar factories yet they do not take even the most simple security precautions.

I had one person ask me how to prevent their SCADA devices from getting hacked. The answer is very simple, air gap it. Take the entire production network and disconnect it from the internet and the rest of the company’s network. Furthermore, no USB drives can be brought into the network and any update information is verified by multiple people. Super glue USB drives to make them inoperable and prevent outside computers from being hooked into the system. This way, an infection can not get into the system in the first place. These production lines have their own isolated power and even physical access control but they connect the system into the internet?

Some limited data may need to be brought out of the production environment but it should be set up as the exception, on set times, from specific and limited computers specific ports with limits on the amounts of data flowing in either direction. No, the IT guys will not be able to VNC into the system at 3am from home and they will not like this.
Is it worth the cost of your production system going down for several weeks when (not if) you get hacked?

Posted in Uncategorized | Tagged | Comments Off

And This is Surprising Why?

From this article titled: Rootkit infection requires Windows reinstall, says Microsoft
MS is just now acknowledging this?

Microsoft is telling Windows users that they’ll have to reinstall the operating system if they get infected with a new rootkit that hides in the machine’s boot sector.

A new variant of a Trojan Microsoft calls “Popureb” digs so deeply into the system that the only way to eradicate it is to return Windows to its out-of-the-box configuration

Digging into the information, the article is a bit dramatic (drama sells). It requires the user to restore the OS, not reinstall. It is mainly to rewrite/fix the master boot record. This being said…
For the last several years, the only way to make sure all traces of an infection are gone is a reinstall. I’ve had to tell several friends and relatives I have given up delousing computers; just reinstall the OS. Infections for some time have gotten to the point that the only way to make sure is to nuke it from orbit.

Posted in Uncategorized | Comments Off

The Stakes just got Raised

It was only a matter of time as it has been hinted at for a while now. The Pentagon is going to officially announce that cyber attacks may be considered an act of war and the retaliation is justified. According to a Wall Street Journal article:

One idea gaining momentum at the Pentagon is the notion of “equivalence.” If a cyber attack produces the death, damage, destruction or high-level disruption that a traditional military attack would cause, then it would be a candidate for a “use of force” consideration, which could merit retaliation.

I am surprised it has taken this long.

Posted in Uncategorized | Comments Off

And this is News, Why?

Apparently a tool has been posted which claims “iOS 4 hardware encryption cracked.” It can take the tool up to 40 minutes to crack the password from a ROM dump, allowing it to decrypt all the device information.

Why is it a surprise that a four character password can be brute forced in under an hour?

Posted in Uncategorized | Comments Off

You would think Google would know better

Google built into Android an authentication mechanism to allow devices to “securely” communicate and sync with the various Google services. Yet, moronically, they forgot to protect the communication itself and as a result, the security credentials were passed clear text. That’s right, they did not use a simple and highly standard SSL to protect the authentication protocol information.
Just goes to show, very few people have a good understanding of security.

Posted in Uncategorized | Comments Off

Find your stolen camera/phone

Stolen Camera Finder allows you to upload a saved photo taken from a stolen camera to find if anyone has been using it. The site examines the information attached to the image (the camera serial number, model, etc) and runs a search against photos posted online. This way, when the new “owner” posts a picture, you have a chance of tracking them down.

Posted in Uncategorized | Tagged | Comments Off

NSA Recommendations: Best Practices for the Home Network

NSA published Best Practices for Keeping Your Home Network Secure. While nothing new for the security minded individual, it is a very good read for the slightly technically inclined, non-security person. It covers a range of issues such as keeping your OS secure, encrypting your information, web browser and PDF concerns, wireless network security and the home network, passwords, mobile devices, social network site concerns, email best practices and more.
I sent this out to all my friends and relatives.

Posted in Uncategorized | Tagged | Comments Off

Free Virtual “Cloud” Server Instance Fun

Amazon is offering, free for one year, a micro instance in their EC2 environment. I have been playing with this for a while now and use it as a personal proxy. It allows me to SSH into the server when at remote sites to tunnel all my traffic through. (protect confidentiality) You can also run a small web server and with 10 gig of space, some small, remote storage (encrypt what ever you are saving). If you want to play around with virtual “cloud” servers, this is the perfect opportunity.

Posted in Uncategorized | Tagged , , | Comments Off