Software Validation and Rights
Software Validation and Rights
SHWETA BHANDARI
DEPARTMENT OF COMPUTER SCIENCE
LNMIIT
2
What is DRM?
DRM
3
Example
A digital book: A book can be securely delivered over the Internet using standard
cryptographic techniques.
But if the recipient can save the book in an unrestricted form, he can easily redistribute a
perfect digital copy to a vast number of people.
Publishers can forego the potentially lucrative sale of digital books over the Internet.
Without robust DRM, owners of digital content have little choice other than to rely on
the honor system.
DRM
4
Persistent Protection
DRM
5
DRM
6
DRM
8
DRM
Protecting a document
The client side:
an email interface, with a pull-down menu to select the desired level of persistent protection.
The resulting email and attachments are encrypted using standard techniques and sent to a Secure Document
Server (SDS)
SDS:
At SDS the recipient’s authentication information (password and/or certificate and/or biometric, etc.) is stored.
The SDS applies the desired persistent protection to the document, including the appropriate authentication
information. The protected document is then sent from the SDS to the recipient.
Recipient:
Upon receipt, a protected document must be opened with an Adobe PDF reader equipped with a MediaSnap PDF
plugin.
The heart of the client-side DRM system lives in this PDF plugin.
10
Protecting a document
Sender encrypt
persistent
protection
Recipient
SDS
DRM
11
Security issues
Server (SDS)
Protect keys, authentication data, etc.
Apply persistent protection
Client (Reader/PDF plugin)
Protect keys, authenticate, etc.
Enforce persistent protection
DRM
12
Document reader security
Tamper-resistance
Obscurity
DRM
13
Obscurity
Key management
Authentication
Caching (keys, authentication, etc.)
Encryption and “scrambling”
Key parts (data and code)
Multiple keys
Obscurity can only slow down the attacker. The persistent attacker still wins!
DRM
14
Other security features
DRM
15
Conclusions
DRM
Trusted Platform Module
SHWETA BHANDARI
DEPARTMENT OF COMPUTER SCIENCE
LNMIIT
Trusted vs. Trustworthy
The set of all hardware, software and procedural components that enforce the
security policy.
in order to break security, an attacker must subvert one or more of them.
• Current Applications
• Hard drive encryption
• Potential Apps
• DRM
• Fighting pirate software
Manf. PCA
Cert. Cert
.
Privacy
EK AIK CA
New Node
Manf. PCA
Cert. Cert
.
EK AIK
Privacy
CA
New Node
Manf. PCA
Cert. Cert
.
EK AIK
Privacy
CA
New Node
Manf. PCA
Cert. Cert
.
AIK
Privacy
CA
New Node
Manf. PCA
Cert. Cert
.
Privacy
CA
AIK
New Node
Manf. PCA
Cert. Cert
.
Privacy
CA
AIK Challenge!
New Node
?
EK EK AIK AIK Trusted Nodes
Attestation
Manf. PCA
Cert. Cert
.
Privacy
CA
AIK
02895…
New Node
Manf. PCA
Cert. Cert
.
Privacy
CA
AIK
Append nonce
and sign PCRs
with priv_AIK
10110…
New Node
Manf. PCA
Cert. Cert
.
Privacy
CA
AIK
10110…
New Node
Manf. PCA
Cert. Cert
.
Privacy
CA
AIK
AIK
10110…
New Node
Manf. PCA
Cert. Cert
.
Privacy
CA
AIK
AIK
10110…
New Node
Privacy
CA
SHA-1(expected PCRs |
nonce)
10110…
SHWETA BHANDARI
DEPARTMENT OF COMPUTER SCIENCE
LNMIIT
Steganography?
However most steganography encrypts the hidden message first and then hides it in digital
or audio files.
The combination of steganography and cryptography provides two levels of hidden data
protection.
Steganalysis is the process of detecting steganography and then recovering hidden
evidence.
INFORMATION HIDING
SUBDISCIPLINES
Covert channels, especially in operating systems and networks. They are communication paths that
were neither designed nor intended to transfer information at all, but are used that way. These channels
are typically used by untrustworthy programs to leak information to their owner while performing
service for another program.
Anonymity is finding ways to hide meta content of the message (for example the sender and/or the
recipients of the message). Anonymity is need when making on-line voting or to hide access to some
web pages, or to hide sender.
Steganography - covered writing
Watermarking - visible digital watermarks and also imperceptible (invisible, transparent,....)
watermarks.
Steganography vs. Watermarking
Differences between steganography and watermarking are both subtle and essential.
The main goal of steganography is to hide a message m in some audio or video (cover) data d, to
obtain new data d', practically indistinguishable from d, by people, in such a way that an
eavesdropper cannot detect the presence of m in d'.
The main goal of watermarking is to hide a message m in some audio or video (cover) data d, to
obtain new data d', practically indistinguishable from d, by people, in such a way that an
eavesdropper cannot remove or replace m in d'.
Steganography vs. Watermarking
Steganography methods usually do not need to provide strong security against removing or
modification of the hidden message. Watermarking methods need to be very robust to
attempts to remove or modify a hidden message.
Steganography/Watermarking vs. Cryptography
Cryptography hides the contents of the message from an attacker, but not the existence of the
message.
• A cryptographic system is broken when the attacker can read the secrete message.
• Breaking of a steganographic/watermarking system has two stages:
- The attacker can detect that steganography/watermarking has been used;
- The attacker is able to read, modify or remove the hidden message.
Steganographic algorithms are in general based on replacing noise component of a digital object with a to-be-hidden message.
Kirchoffo’s principle holds also for steganography. Security of the system should not be based on hiding embedding
algorithm, but on hiding the key.
Basic Concepts of Stego System
Basic Concepts of Stego System
• Embedding process: in which the sender, Alice, tries to hide a message by embedding it into a (randomly chosen) cover-text,
usually using a key, to obtain a stego-text (stego-data or stego-object). The embedding process can be described by the mapping
E:C X K X M C, where C is the set of possible cover- and stego-texts, K is the set of keys and M is the set of messages.
• Recovering process (or extraction process) in which the receiver, Bob, tries to get, using the key only, not the covertext, the
hidden message in the stegotext.
The recovery process can be seen as mapping D: C X K C
• Security requirement is that a third person watching such a communication should not be able to find out whether the sender
has been active, and when, in the sense that he really embedded a message in the cover -text. In other words, stegotexts should
be indistinguishable from covertexts.
Basic Types of Stegosystem
Security of the pure stegosystems depends completely on its [Link] the other hand,
security of other two stegosystems depends on the secrecy of the key used.
Secret-key stegosystems
Similarly as in case of the public-key cryptography, two keys are used: a public-key E for
embedding and a private-key D for recovering.
For example, in case Alice wants to send a message m to Bob, encode first m using Bob’s
public key eB, then make embedding of eB(m) using process E into a cover and sends the
resulting stegotext to Bob, who recovers eB(m) using D and then decrypts it, using
decryption function dB.
Steganography Applications
•To have secure secret communications where cryptographic encryption methods are not available.
• In some cases, for example in military applications, even the knowledge that two parties
communicate can be of large importance.
• The health care, and especially medical imaging systems, may very much benefit from information
hiding techniques.
Security of Steganography
• Messages are hidden using a public algorithm and a secret key. The secret key must
identify the sender uniquely.
• Only the holder of the secret key can detect, extract and prove the existence of the
hidden message. (Nobody else should be able to find any statistical evidence of a
message's existence.)
• Even if an enemy gets the contents of one hidden message, he should have no chance
of detecting others.
• It is computationally infeasible to detect hidden messages.
History of Watermarking
Paper watermarks appeared in the art of handmade papermarking 700 hundred years ago.
Watermarks were mainly used to identify the mill producing the paper and paper format, quality and
strength.
Paper watermarks was a perfect technique to eliminate confusion from which mill paper is and what
are its parameters.
Legal power of watermarks has been demonstrated in 1887 in France when watermarks of two
letters, presented as a piece of evidence in a trial, proved that the letters had been predated, what
resulted in the downfall of a cabinet and, finally, the resignation of the president Grévy.
Paper watermarks in bank notes or stamps inspired the first use of the term water mark in the context
of digital data.
The first publications that really focused on watermarking of digital images were from 1990 and then
in 1993.
Embedding and Extraction in Watermarking
Watermarking Extraction
Private (non-blind) watermarking systems require for extraction/detection the original cover-data.
Type I systems use the original cover-data to extract the watermark from stego-data and use
original cover-data to determine where the watermark is.
Type II systems require a copy of the embedded watermark for extraction and just yield a
yes/no answer to the question weather stego-data contains a watermark..
Semi-private (semi-blind) watermarking does not use the original cover-data for detection, but
tries to answer the same question. (Potential application of blind and semi-blind watermarking is for
evidence in court ownership,....)
Public (blind) watermarking - neither cover-data nor embedded watermarks are required for
extraction - this is the most challenging problem.
Watermarking Applications