Feeds

Can writing software be a crime?

Depends if you're the government

  • alert
  • submit to reddit

SANS - Survey on application security programs

Can writing software be a crime? A recent indictment in San Diego, California indicates that the answer to that question may be yes. We all know that launching certain types of malicious code - viruses, worms, Trojans, even spyware or sending out spam - may violate the law. But on July 21, 2005 a federal grand jury in the Southern District of California indicted 25 year old Carlos Enrique Perez-Melara for writing, advertising and selling a computer program called "Loverspy," a key logging program designed to allow users to capture keystrokes of any computer onto which it is installed. The indictment raises a host of questions about the criminalization of code, and the rights of privacy for users of the Internet and computers in general.

Like many nations, the United States has laws prohibiting the surreptitious eavesdropping of conversations. The federal law prohibits the "interception" of such communications while "in transmission," as well as the disclosure of the contents of any such unlawfully intercepted communications. Under federal law there are three exceptions to this. The first is where you are the government and you have either a Title III court order, a FISA court order, or what is called a "national security letter" permitting such interceptions. The second exception is where you are the "provider of communications facilities" and the interception is "in the ordinary course of business" and for particular stated purposes. Finally, the third exception is in situations where you have obtained the consent of at least one of the parties to the communication.

Thus, at least under federal law, it is legal to record a conversation, an e-mail, an internet communication if one and only one of the parties to the communication has given actual or implied consent to the "interception" or recording. Indeed, it is for this reason that most entities have "computer use policies" which explain that use of corporate computer systems implies their consent to monitoring of communications.

Loverspy and EmailPI

Carlos Enrique Perez-Melara developed, advertised and sold a spyware program called alternatively "Loverspy" or "E-Mail PI" on websites known as lover-spy.com or emailpi.com. They were sold for $89, and were advertised to be used to surreptitiously spy on anyone. The idea was that you would buy the Trojan program, e-mail it to your target (disguised in a greeting card) which would then cause the Trojan to be installed on any computer the purchaser directed it to - assuming the "victim" was dumb enough to open a greeting card from an ex-spouse.

Once installed, the Trojan gave the attacker full access to the victim's computer by logging keystrokes, capturing e-mail, capturing websites visited, and even allowing remote access to things like webcams and microphones. Thus, the software had several different components. First, it was able to be installed surreptitiously as a Trojan. Second, it had both a key logger or e-mail logging functionality. Third, it acted as a remote control client, similar to programs like MS Terminal Server or Remote User, or commercial software like GoToMy PC.

The government has prosecuted people under the federal wiretap laws for using keystroke loggers, most notably the indictment last year of Larry Lee Ropp, who at the time was an employee of Bristol West Insurance Group / Coast National Insurance company. Ropp installed physical key loggers onto his employers' computers to obtain evidence to support his assertion that the company was ripping off their customers. That case was dismissed when the federal judge ruled that the physical key logger, installed between the keyboard and the computer, did not capture communications "in interstate or foreign commerce" but rather captured them locally.

The Perez-Melara case, in comparison, represents the first time the government has attempted to prosecute the developer of a software that can be used for both lawful purposes (surreptitiously monitoring conversations with the consent of one party, or with the "implied" consent of an employee or a minor) or for unlawful purposes (eavesdropping without the consent of either party). To be sure, the government is also going after people who purchased and used the software. At the time Perez-Melara was indicted, the government also indicted four purchasers of the software for using the software to spy on ex-wives or girlfriends.

What exactly did Perez-Melara do that was illegal? Was it writing the software? Selling it? Advertising it? And how much illegal use must be made of the software before the software itself becomes a crime? There is all sorts of other software that can be used for legal and illegal purposes as well.

The wiretap law

In addition to criminalizing the actual interception, the U.S. law makes it a crime to either manufacture or possess any device if you have a reason to know that it is, "primarily useful for the purpose of the surreptitious interception of wire, oral, or electronic communications." This statute has been used, for example, to go after these "spy stores" that sell things like concealed voice activated tape recorders. Or in 1974 (remember Watergate?) the statute was used to prosecute someone for advertising a mini tape recorder that, "secretly tapes a conversation, interview, conference or lecture in your shirt pocket." In fact, the statute was even used to prosecute the manufacturer of a suction cup microphone which you could attach to your telephone to record a conversation.

Combat fraud and increase customer satisfaction

More from The Register

next story
Parent gabfest Mumsnet hit by SSL bug: My heart bleeds, grins hacker
Natter-board tells middle-class Britain to purée its passwords
Obama allows NSA to exploit 0-days: report
If the spooks say they need it, they get it
Web data BLEEDOUT: Users to feel the pain as Heartbleed bug revealed
Vendors and ISPs have work to do updating firmware - if it's possible to fix this
Samsung Galaxy S5 fingerprint scanner hacked in just 4 DAYS
Sammy's newbie cooked slower than iPhone, also costs more to build
Snowden-inspired crypto-email service Lavaboom launches
German service pays tribute to Lavabit
One year on: diplomatic fail as Chinese APT gangs get back to work
Mandiant says past 12 months shows Beijing won't call off its hackers
Call of Duty 'fragged using OpenSSL's Heartbleed exploit'
So it begins ... or maybe not, says one analyst
prev story

Whitepapers

Designing a defence for mobile apps
In this whitepaper learn the various considerations for defending mobile applications; from the mobile application architecture itself to the myriad testing technologies needed to properly assess mobile applications risk.
3 Big data security analytics techniques
Applying these Big Data security analytics techniques can help you make your business safer by detecting attacks early, before significant damage is done.
Five 3D headsets to be won!
We were so impressed by the Durovis Dive headset we’ve asked the company to give some away to Reg readers.
The benefits of software based PBX
Why you should break free from your proprietary PBX and how to leverage your existing server hardware.
Securing web applications made simple and scalable
In this whitepaper learn how automated security testing can provide a simple and scalable way to protect your web applications.