欢迎来到天天文库
浏览记录
ID:26237804
大小:248.50 KB
页数:50页
时间:2018-11-25
《软件加密技术及实现29230》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、软件加密技术及实现加入收藏网站地图网站搜索简繁默首页图片热点专题动网新闻.Net技术文章Flash欣赏新闻信息网络文摘星座命理英语学习论坛首页→技术文章→加密解密算法阅读新闻软件加密技术及实现[日期:2004-07-30]来源:csdn作者:whinah[字体:大中小]软件加密技术及实现雷鹏(桂林电子工业学院计算机系)摘要当今盗版软件的泛滥成灾几乎已经成为了我们中国民族软件的灾难,为了防止软件的非法复制、盗版,保护软件开发商的利益,就必须对软件进行加密保护。现在市面上有许多反盗版软件,但这类软件多是单机处理,并且只使用
2、简单的加密手段,很容易被解密者破解。本文描述了一个通过Internet,集加密和电子注册于一身的完善的软件保护方案。该方案基于多种密码学意义上可靠的算法,如对称加密算法,散列算法,数字签名,密钥交换等等。通过对Windows下PE可执行文件的结构及载入机制进行深刻的剖析,巧妙的使用这些密码学算法及多种反破解方案对PE文件进行加密保护。在该方案的实现中,使用CryptoAPI中的数字签名算法RSA,加密算法RC2和RC4,散列算法SHA,同时自己编写了使用了MD5算法用于快速计算大量数据的摘要;网络接口使用WinSock
3、et;编程语言选用汇编语言和C++混合编程方式;反破解方案有检测文件完整性、检测代码完整性、反跟踪、反-反汇编、反Dump、代码变形等等。由于使用了可靠的密码学算法,使软件加密的强度大大提高;由于使用了Internet在线注册方式,用户使用也非常方便。关键词加密;数字签名;散列;反跟踪;电子注册SoftwareProtectiontechniqueanditsrealizationLEIPeng(GuiLinInstituteofElectronicTechnology.TheDepartmentofComputing
4、)AbstractThefloodingofpiratesoftwarehasbeenacalamityofournationalsoftwareindustry.Inordertopreventsoftwarefrompirate,andprotecttheprofitofthesoftwaredeveloper,theymustencrypttheirsoftwaretogetaprotection.Thereareseveralsoftwareprotectiontoolsinthemarketcurrently
5、,butthesetoolswerestandaloneninetenths,andtheyonlyusedsimpleencryptionalgorithms,sotheycouldbecrackedeasilybythecrackers.Thisthesisdescribesaperfectsoftwareencryptionandprotectionschemewhichintegratetheencryptionandelectronicregister.Thisschemeisbasedonmultipler
6、eliablecryptographicalgorithmssuchassymmetricencryptionalgorithm,digitalsignature,hashingandkeyexchange.ThePEfileformat(PortableExecutableFileFormat)anditsloadingmechanismunderWindowsaredissectedthoroughlyinthisthesis.Thenthesecryptographicalgorithmsandseveralan
7、ti-crackmethodareusedgracefullytoencryptandprotectthePEfile.Withintherealizationofthisscheme,theRSAdigitalsignaturealgorithm,RC2andRC4encryptionalgorithm,SHAhasingalgorithmetcinMicroSoftCryptoAPIareused.Inordertoincreasetheperformaceofcaculatethedigestoflargenum
8、berofdata,MD5hashingalgorithmwasrewritten.WinSocketAPIisusedasthenetworkinterface.TheblendofC++andassemblyareusedforeasilycontolingthebottomlayerofthesystemandsimplif
此文档下载收益归作者所有