Encryption and Amateur Radio

Written 2014-02-01

Tags:Encryption Authentication HSMM Ham Radio Encoding 

Introduction

There's been some debate in the last ten years or so about encryption's purpose in ham radio. The part 97 rules prohibit "messages encoded for the purpose of obscuring their meaning, except as otherwise provided herein;".

In Data Encryption Is Legal, CQ magazine, August 2006 issue, Don Rotolo, N2IRZ, tries to make the case that if encryption is used to comply with another Part 97 rule, then the purpose of the encoding is not to obscure the meaning of the message, but to secure a repeater from unauthorized use, and so the encryption is incidental.

In the ARRL's response to RM-11699, states, "the ability to encrypt for the purpose of authentication of users in a data network, as discussed below, appears to be permissible, and the current Section 97.113(a)(4) has not been determined (to date) to inhibit HSMM/ wireless broadband experimentation in the Amateur Radio Service." The whole document is a pretty good read, and touches on a lot of related topics.

Although some folks say they've discussed this issue with the FCC, there hasn't been much update documented from the FCC on this issue, and no recent changes to the Part 97 rules. What follows is an overview of the relevant technology and rules, as well as some of the arguments for and against, and some of my notes.

Some Terms:

How is digital encryption different from digital encoding?

Mainly the presence(encryption) or absense(encoding) of variable keys. Encryption is a form of encoding, but many encoding schemes are not encryption.

Encryption combines a message with a chosen key to produce its output. Given the output and the key, it is easy to recover the message, but without the key, it is very difficult if not impossible.

Digital encoding converts one digital data stream to another. We sometimes do this to improve signalling in a radio protocol - NRZI is an example of this, and encoding for this purpose is known as scrambling, but since the protocol is public and there are no keys, it is easily unscrambled.

How is authentication different from encryption

It's possible to use encyption techniques to generate a digital signature that verifies a message was sent by a certain person, by appending this signature after the message. GNU Privacy Guard supports generating these.

Why do we want this stuff on amateur radio bands?

Encryption on Part 97 has and would serve many of the same purposes of encryption on Part 15. Interoperability with existing well-proven and widely-deployed protocols like SSH and HTTPS would be dandy, and these protocols use encryption. Additionally, authentication could be used to prevent unauthorized access to resources like repeaters, radio-bbs, and parts of AMPRNet.

That said, there has never been any expectation of privacy for communications under amateur license.

What are the relevant Part 97 sections?

Prohibition of retransmission of non-amateur signals - Title 47, Part 97.113.C

No station shall retransmit programs or signals emanating from any type of radio station other than an amateur station, except propagation and weather forecast information intended for use by the general public and originated from United States Government stations, and communications, including incidental music, originating on United States Government frequencies between a manned spacecraft and its associated Earth stations.

Aside from listed exceptions, amateur operators are not allowed to retransmit non amateur signals. On many bands this is easy, since you can place the repeater on a part of the band not shared by other services. However, many 13cm band radios overlap with Part 18 and Part 15 frequency ranges.

Although not directly related to encryption on amateur bands, this rule is often quoted as a loophole allowing encryption.

Telecommand of space (radio)stations - Title 47, Part 97.211.B

"A telecommand station may transmit special codes intended to obscure the meaning of telecommand messages to the station in space operation."

Specifically, telecommand messages sent to a space station may be obscured. Sounds simple enough, but there are still limits, even when commanding a space station. SSH cannot be used for amateur space telecommand because the SSH protocol requires both ends be able to transmit encrypted data - but under the above, only the commanding station may obscure its messages, not the commanded station.

Telecommand of model craft - Title 47, Part 97.215.B

"The control signals are not considered codes or ciphers intended to obscure the meaning of the communication."

RC control signals are exempt.

Telemetry - Title 47, Part 97.217 Telemetry.

"Telemetry transmitted by an amateur station on or within 50 km of the Earth's surface is not considered to be codes or ciphers intended to obscure the meaning of communications."

Most telemetry is exempt.

Unspecified data emission codes - Title 47, Part 97.309.B

"Where authorized by 97.305(c) and 97.307(f) of this part, a station may transmit a RTTY or data emission using an unspecified digital code, except to a station in a country with which the United States does not have an agreement permitting the code to be used. RTTY and data emissions using unspecified digital codes must not be transmitted for the purpose of obscuring the meaning of any communication. When deemed necessary by a District Director to assure compliance with the FCC Rules, a station must:

  1. Cease the transmission using the unspecified digital code;
  2. Restrict transmissions of any digital code to the extent instructed;
  3. Maintain a record, convertible to the original information, of all digital communications transmitted.
"

The FCC authorizes unspecified(by them) digital codes under some constraints. One of those constraints prohibits using unspecified digital codes for the purpose of obscuring the meaning of any communication.

What is "the meaning of the communication"?

To be terribly unhelpful, that's what we can't obscure, right? On HF voice, this is easy - what I say and what I hear are messages. On digital systems, it gets more complicated.

Lets take email for example. Without encryption, any other ham could read my email as it goes over the air. If I used an encrypted email protocol, any other ham could see that I'm doing encrypted email, but nothing inside each email - this obscures the meaning of the message, but not entirely. If I use a general-purpose encryption system like HTTPS to access a webmail or if I run my email client remotely over SSH, no other ham has any idea what I'm doing - the message has been entirely obscured.

Another area of concern is passwords - without encryption anyone with a receiver would be able to hear any password transmitted over the air. For our example mail service, I certainly wouldn't want to let any other ham read my email. Not having a password is not prudent, since anyone could delete or send mail from my account. A plaintext password is bad since anyone could copy it. Another approach would be to sign requests to the mail station with a digital signature - the request would still have all information publicly, and a new password on each message, that can only be generated by the owner of the account.

Why not allow encryption on amateur radio bands?

Most often, encrypted radio signals obscure the meaning of the message. SSH and HTTPS both implement continuous end-to-end encryption, so both the initial authentication of identities and all subsequent data is encrypted. An experienced listener could capture packets holding the encrypted data, but could not be expected to recover any further information.

If operators are not careful, encrypted radio signals can obscure the sender and receiver of the message. For example, unencrypted HSMM uses a ping packet containing the station callsign to identify the station, similar to how a 2-meter repeater periodically announces its callsign. But if HSMM were run with WEP encryption, those packets would be obscured, and the callsign of the station licensee could not be received by anyone without the keys. Doesn't do much good to announce your callsign in a way other operators cannot hear it.

I, for one, love hearing a new digital signal, and examining waterfall plots until I can identify and decode it. With encryption, after identifying the modulation, all that remains is a bytestream of garbage.

Some responses to common chatter

"HSMM is useless without HTTPS"

HTTPS is a standard that adds encryption to the HTTP protocol. It obscures your connection to the server, and it ensures nobody is sitting in the middle changing the traffic. HSMM still offers new features not found on other bands, like faster throughput than most other digital modes, cheap mass-produced antennas, amplifiers, and radios, and the ability to plug a 1.5kW amplifer into a 25dbi antenna to build a wireless microwave sword. Seriously though, read up on those exposure limits.

"If the purpose of encryption is not to obscure meaning, then it is permitted."

This is certainly a bit fuzzy, and too large of a blanket statement. For example, a WEP or WPA key is often added to a WiFi network to prevent unauthorized access, but the way that adding a key prevents unauthorized access is by obscuring all messages from any stations without the key.

"We already have encryption with ICOM's DSTAR"

DSTAR is a digital protocol for data and voice over RF. While there are plenty of arguments against closed or patent-encumbered protocols on amateur bands, DSTAR isn't encryption, it's just encoding. Since all DSTAR receivers can decode a DSTAR transmission on the same band, the barrier to recovering the meaning of a DSTAR message is relatively low, about $200 for a Dv Dongle or $500 for a tranceiver. To contrast this with an encrypted radio, if you don't have the key, you're not going to be listening.

"In an emergency, we need WebEOC."

In an emergency, emergency traffic gets priority. This is not news.

"Encryption is fine, as long as we give out the keys"

Maybe, and even if so, that's just silly, since it would no longer protect your data or authenticate your radios.

You'll still need to announce your call, although for networks operated by a single operator setting the SSID to the callsign is simple enough.

"Without encryption, how do I prevent Part 15 and Part 18 users from communicating with my Part 97 radios?"

On VHF/UHF repeaters we try to prevent unauthorized access with CTCSS or DCS tones, but this can be cheated.

One simple way would be to move down to a Part 97 channel that doesn't overlap with Part 15, as can easily be done with many modififed WiFi devices.

Another method would be to program a list of all the devices allowed to connect into the radio, but this isn't any fun, since you could only connect with known operators

Another solution would be open WiFi devices, but with an authenticated+open VPN running on top. With this setup, we can prevent unauthorized users from using the devices, and we only end up encrypting a very small part of the message - the signature, which itself doesn't contain any part of the meaning of the message. The downside is that it adds another layer of complexity and configuration.

Closing

There's yet to be demonstrated a real need for encryption on amateur radio. The legality still seems a little fuzzy to me. Perhaps the FCC will see fit to update the rules to make this more clear-cut, but for me, amateur radio has always been about talking to new people and playing with electronics, and encryption isn't required for either. As always, proper operation of an amateur stations is the reponsibility of both station owner and control operator.

73's,
KD0LIX