HASP (Hardware Against Software Piracy) key dongle for LPT port

A software protection dongle (commonly known as a dongle or key) is an electronic copy protection and content protection device. When connected to a computer or other electronics, they unlock software functionality or decode content.[1] The hardware key is programmed with a product key or other cryptographic protection mechanism and functions via an electrical connector to an external bus of the computer or appliance.[2]

In software protection, dongles are two-interface security tokens with transient data flow with a pull[clarification needed] communication that reads security data from the dongle. In the absence of these dongles, certain software may run only in a restricted mode, or not at all. In addition to software protection, dongles can enable functions in electronic devices, such as receiving and processing encoded video streams on television sets.

Etymology

edit

The Merriam-Webster dictionary states that the "First known use of dongle" was in 1981 and that the etymology was "perhaps [an] alteration of dangle."[3]

A Rainbow Tech parallel port dongle PCB, front side. Note the numbers rubbed off the chips to make reverse engineering harder.
A Rainbow Tech parallel port dongle PCB, back side

Dongles rapidly evolved into active devices that contained a serial transceiver (UART) and even a microprocessor to handle transactions with the host. Later versions adopted the USB interface, which became the preferred choice over the serial or parallel interface.[citation needed]

A 1992 advertisement for Rainbow Technologies claimed the word dongle was derived from the name "Don Gall". Though untrue, this has given rise to an urban myth.[4]

Usage

edit
Daisy-chained parallel port copy protection dongles.

Efforts to introduce dongle copy-protection in the mainstream software market have met stiff resistance from users. Such copy-protection is more typically used with very expensive packages and vertical market software such as CAD/CAM software, cellphone flasher/JTAG debugger software, MICROS Systems hospitality and special retail software, digital audio workstation applications, and some translation memory packages.

In cases such as prepress and printing software, the dongle is encoded with a specific, per-user license key, which enables particular features in the target application. This is a form of tightly controlled licensing, which allows the vendor to engage in vendor lock-in and charge more than it would otherwise for the product. An example is the way Kodak licenses Prinergy to customers: When a computer-to-plate output device is sold to a customer, Prinergy's own license cost is provided separately to the customer, and the base price contains little more than the required licenses to output work to the device.

USB dongles are also a big part of Steinberg's audio production and editing systems, such as Cubase, WaveLab, Hypersonic, HALion, and others. The dongle used by Steinberg's products is also known as a Steinberg Key. The Steinberg Key can be purchased separately from its counterpart applications and generally comes bundled with the "Syncrosoft License Control Center" application, which is cross-platform compatible with both Mac OS X and Windows.

Some software developers use traditional USB flash drives as software license dongles that contain hardware serial numbers in conjunction with the stored device ID strings, which are generally not easily changed by an end-user. A developer can also use the dongle to store user settings or even a complete "portable" version of the application. Not all flash drives are suitable for this use, as not all manufacturers install unique serial numbers into their devices.

Although such medium security may deter a casual hacker, the lack of a processor core in the dongle to authenticate data, perform encryption/decryption, and execute inaccessible binary code makes such a passive dongle inappropriate for all but the lowest-priced software. A simpler and even less secure option is to use unpartitioned or unallocated storage in the dongle to store license data. Common USB flash drives are relatively inexpensive compared to dedicated security dongle devices, but reading and storing data in a flash drive are easy to intercept, alter, and bypass.

Issues

edit

There are potential weaknesses in the implementation of the protocol between the dongle and the copy-controlled software. For example, a simple implementation might define a function to check for the dongle's presence, returning "true" or "false" accordingly, but the dongle requirement can be easily circumvented by modifying the software to always answer "true".

Modern dongles include built-in strong encryption and use fabrication techniques designed to thwart reverse engineering. Typical dongles also now contain non-volatile memory โ€” essential parts of the software may actually be stored and executed on the dongle. Thus dongles have become secure cryptoprocessors that execute program instructions that may be input to the cryptoprocessor only in encrypted form. The original secure cryptoprocessor was designed for copy protection of personal computer software (see US Patent 4,168,396, Sept 18, 1979)[5]to provide more security than dongles could then provide. See also bus encryption.

Hardware cloning, where the dongle is emulated by a device driver, is also a threat to traditional dongles. To thwart this, some dongle vendors adopted smart card product, which is widely used in extremely rigid security requirement environments such as military and banking, in their dongle products.

A more innovative modern dongle is designed with a code porting process which transfers encrypted parts of the software vendor's program code or license enforcement into a secure hardware environment (such as in a smart card OS, mentioned above). An ISV can port thousands of lines of important computer program code into the dongle.[citation needed]

In addition, dongles have been criticized because as they are hardware, they are easily lost and prone to damage, potentially increasing operational costs such as device cost and delivery cost.

Jerry Pournelle in 1988 identified another problem with dongles: A possible security flaw. "I don't know what the thing is doing ... For all I know, the gizmo may infect my machine with a virus".[6]

Game consoles

edit

Some unlicensed titles for game consoles (such as Super 3D Noah's Ark or Little Red Hood) used dongles to connect to officially licensed ROM cartridges, in order to circumvent the authentication chip embedded in the console.[citation needed]

Some cheat code devices, such as the GameShark and Action Replay use a dongle. Typically it attaches to the memory card slot of the system, with the disc based software refusing to work if the dongle is not detected. The dongle is also used for holding settings and storage of new codes, added either by the user or through official updates, because the disc, being read only, cannot store them. Some dongles will also double as normal memory cards.[citation needed]

Further reading

edit
  • Jozwiak, Ireneusz J.; Marczak, Krzysztof (2007). "A Hardware-Based Software Protection Systems - Analysis of Security Dongles with Time Meters". 2nd International Conference on Dependability of Computer Systems (DepCoS-RELCOMEX '07). IEEE. pp.ย 254โ€“261. doi:10.1109/DEPCOS-RELCOMEX.2007.6. ISBNย 978-0-7695-2850-2 โ€“ via IEEEXplore.
  • Piazzalunga, Ugo; Salvaneschi, Paolo; Balducci, Francesco; Jacomuzzi, Pablo; Moroncelli, Cristiano (2007). "Security Strength Measurement for Dongle-Protected Software". IEEE Security & Privacy. 5 (6): 32โ€“40. Bibcode:2007ISPri...5f..32P. doi:10.1109/MSP.2007.176. ISSNย 1558-4046.
  • Wang, Ruoyu; Shoshitaishvili, Yan; Kruegel, Christopher; Vigna, Giovanni (2013). Steal This Movie: Automatically Bypassing {DRM} Protection in Streaming Media Services. 22nd USENIX Security Symposium. pp.ย 687โ€“702. ISBNย 978-1-931971-03-4 โ€“ via usenix.org.

See also

edit

References

edit
  1. ^ Amos, S. W.; Amos, Roger S. (2002). Newnes Dictionary of Electronics (4thย ed.). Newnes Press. p.ย 152. ISBNย 0750643315. OCLCย 144646016. Retrieved 4 July 2013.
  2. ^ Stobbs, Gregory A. (2012). Software Patents (Thirdย ed.). Wolters Kluwer. pp.ย 2โ€“90. ISBNย 9781454811978. OCLCย 802867781. Retrieved 4 July 2013.
  3. ^ "Dongle". Merriam-Webster. Archived from the original on 2025-10-02. Retrieved 11 June 2019.
  4. ^ Rainbow Technologies (August 1992). "Why do they call it a dongle?". Byte Magazine. Vol.ย 17, no.ย 8. p.ย 133. Retrieved 12 November 2025.
  5. ^ Best, Robert M. "US4168396A: Microprocessor for executing enciphered programs".
  6. ^ Pournelle, Jerry (July 1988). "Dr. Pournelle vs. The Virus". BYTE. pp.ย 197โ€“207. Retrieved 2025-04-12.
edit

๐Ÿ“š Artikel Terkait di Wikipedia

HASP

System/370 mainframe computer systems Hasp key, a Hardware Against Software Piracy copy-protection dongle Hasp, part of a latch This disambiguation page

Padlock

shackle that may be passed through an opening (such as a chain link, or hasp staple) to prevent use, theft, vandalism or harm. The term padlock is from

Poker Face (TV series)

Daniel "Danny" Clyde-Otis, an FBI agent Richard Kind as Jeffrey Hasp, Beatrix Hasp's husband Chris Bauer as Hooper, a Special Agent Gaby Hoffmann as Fran

MVS Job Entry Subsystems

called the Houston Automatic Spooling Priority (HASP) and the Attached Support Processor (ASP). HASP was developed by IBM Federal Systems Division contractors

Latch

usually the same as an ordinary padlock. A physical key is used to unlock the lock. The physical key has a notch or slot corresponding to the obstacle in

Livery of seisin

livery for a house was the door's ring or hasp; for mills, the "clap and hopper"; for a church, a psalm book and keys, and so on. According to Widukind of

Hometown Hero (Poker Face)

lying, who is now embarking on a fresh start after criminal boss Beatrix Hasp cancels a hit on her. In the episode, Charlie gets a new job as a "ball girl"

System

The IBM Mainframe Job Entry Subsystem family (JES1, JES2, JES3, and their HASP/ASP predecessors) are examples. The main elements they have in common are