digital rights management: shareware

18
Digital Rights Management: Shareware Yue Wang 24 Nov 2004

Upload: machiko-rin

Post on 31-Dec-2015

32 views

Category:

Documents


2 download

DESCRIPTION

Digital Rights Management: Shareware. Yue Wang 24 Nov 2004. Agenda. Introduction Laboratory Setup Implementation / Analysis Conclusion Reference. Introduction. Digital Rights Management is more and more important because: More and more resources are crossing the network - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Digital Rights Management: Shareware

Digital Rights Management: Shareware

Yue Wang

24 Nov 2004

Page 2: Digital Rights Management: Shareware

Agenda

Introduction Laboratory Setup Implementation / Analysis Conclusion Reference

Page 3: Digital Rights Management: Shareware

Introduction

Digital Rights Management is more and more important because:– More and more resources are crossing the

network– Digital resources are easier to replicate than

analogue resources

Page 4: Digital Rights Management: Shareware

Introduction (Cont’d)

In order to improve Digital Rights Management– Understand what is current

• Nobody is telling

– Analyze what is on market

Page 5: Digital Rights Management: Shareware

Laboratory Setup

Laptop: 2.6GHz processor, 512MB RAM, 40GB hard drive

VirtualPC– Host: Windows XP– Virtual: Windows NT 4.0 (2 identical systems

are used)

Page 6: Digital Rights Management: Shareware

Laboratory Setup (Cont’d)

2 sharewares with licenses Disassembler and debugger

– IDA Pro– OllyDbg

Other Tools– BinText– diff on cygwin– HHD Hex Editor

Page 7: Digital Rights Management: Shareware

Implementation / Analysis

Install 2 sharewares on both guest virtual systems, register both sharewares on one guest system

Observe files and folders, not files were modified on the registered system

Page 8: Digital Rights Management: Shareware

Analysis (Cont’d)

Compare folders copied from both guest systems with “diff” on cygwin, no difference found

Page 9: Digital Rights Management: Shareware

Analysis (Cont’d)

Windows registry is modified under \HKEY_LOCAL_MACHINE\SOFTWARE\

Both sharewares add their registration information into Windows registry, either by adding keys or adding fields

Page 10: Digital Rights Management: Shareware

Registry for unregistered sharewares

Page 11: Digital Rights Management: Shareware

Registry for registered sharewares

Page 12: Digital Rights Management: Shareware

Registry for registered sharewares

Page 13: Digital Rights Management: Shareware

Analysis (Cont’d)

Result from BinText

Page 14: Digital Rights Management: Shareware

Analysis (Cont’d)

Set breakpoint and debug

Page 15: Digital Rights Management: Shareware

Analysis (Cont’d)

The registry key is accessed by ADVAPI32.dll, which is located under C:\Windows\System32

Try different breakpoints The program starts at location 004DB302

instead of 00400000

Page 16: Digital Rights Management: Shareware

Analysis (Cont’d)

Notes:– To add breakpoint in IDA Pro, put cursor on

the line you want to select, click Debugger -> Add Breakpoint

– To add breakpoint in OllyDbg, put cursor on the line you want to select, press F2

Page 17: Digital Rights Management: Shareware

Reference BinText:

http://www.foundstone.com/resources/proddesc/bintext.htm

cygwin: http://www.cygwin.com/ HHD Hex Editor:

http://www.hhdsoftware.com/hexeditor.html IDA Pro: http://www.datarescue.com/idabase/ OllyDbg: http://home.t-online.de/home/Ollydbg/ VirtualPC:

http://www.microsoft.com/windows/virtualpc/default.mspx

Page 18: Digital Rights Management: Shareware

Questions

???