Design and Implementation of a MD5Parallel Crack Algorithm Based on CUDA

Author
ZhangQi
Advisor
ZhaoZhiQin , BaiXiaoXia
School
University of Electronic Science and Technology
Major
Software Engineering
Classification
TP309.7 Encryption and decryption
Degree
Master's thesis
Year
2012
Downloads
138
Citations
0

Request the full text

Abstract

With the continuous development of computer technology, the computer has beengradually integrated into people’s work and daily life. Due to more and more computercrimes cases, a large number of computer-related criminal investigations and evidencegathering are needed to obtain electronic evidence in computer. In the process ofinvestigation and evidence collection, investigators often are required to decipher theencrypted data or system security password, which requires a lot of password crackingwork. As a commonly used encryption algorithm, MD5algorithm isused in many areasof computer security. Because the MD5algorithm is a high-strength encryptionalgorithm, the crack in the past which just used the computing power of the CPU, wasinefficient.With the computer graphics processor GPU entering into the field ofgeneral-purpose computing, a SMP cluster which equipped with a number of blocksGPU graphics computing module came out in the field of high-performance computers.In order to improve the efficiency of the MD5algorithm crack,we naturally considerwhether the MD5high-speed parallel crack system can be realized on the GPU-basedSMP cluster to take full advantage of SMP clusters and GPU computing power toachieve a rapid crack of the MD5algorithm.This article analysizes in detail the high-performance parallel computingtechnology, the new Fermi architecture GPU and CUDA Compute Unified DeviceArchitecture, then it futhur analysizes the advantages of the GPU-based SMP cluster inhigh-performance computing. Through a careful study of the new GPU hardwarecharacteristics which adopts the Fermi architecture, we summarizes the methods andthe advantages of using CUDA programming to determine the MPI-CUDA GPU-basedSMP cluster system using double-hybrid parallel programming model developed theMD5high-speed parallel crack system. To cater for the actual demand,we study indetail the MD5algorithm and its crack,then analysize the parallelizability of thecracking algorithm,elaborate how to dismantle the password cracking task, and design the program flow of the crack system.In the implementation part,this article specifically described how to takeadvantage of the MPI-CUDA parallel hybrid programming model to programme on theGPU-based SMP cluster system. Finally, through the experiment we test the system,found the deficiencies in the system, then optimize the cracking system, andsummarize and analyze the advantages and disadvantages of the MPI-CUDAprogramming model and its program optimization method. The final validation resultsis that the efficiency of using the MD5algorithm to crack the system is35times thantraditional CPU-based crack algorithm, and up to95times after optimization.

Table of contents

Summary 5-6 ABSTRACT 6-10 first chapter 10-18 1.1 Background and Significance 10 -12 1.2 research status 12-15 1.3 The main contents 15-16 1.4 thesis structure 16-18 <br / > The second chapter introduces parallel processing technology 18-28 2.1 SMP technology 18-20 2.2 MPP system 20-22 2.3 cluster technical 22-26 2.3.1 cluster technical Overview 22-24 2.3.2 cluster hardware platform 24-26 2.4 SMP high performance computing cluster 26-27 2.5 Summary 27-28 Chapter CUDA GPU-based programming techniques 28-46 3.1 CUDA principle About 28-30 3.2 CUDA hardware architecture 30-35 3.2.1 FERMI architecture GPU 30-32 3.2.2 FERMI architecture the GPC GPU architecture 32-33 3.2.3 can read and write cache and shared cache cACHE sHARED MEMORY 33-35 3.3 CUDA programming model 35 - 45 3.3.1 host and device 35-36 3.3.2 thread structure 36-40 3.3.3 CUDA software system 40 - 42 3.3.4 CUDA memory model 42-45 3.4 Summary 45-46 Chapter IV use MPI and CUDA development of multi- granularity MD5 hash value parallel crackers 46-64 4.1 secure Hash Algorithm introduced 46-47 4.2 MD5 algorithm Introduction and crack principle 47-53 4.2 .1 MD5 algorithm Introduction 47-52 4.2.2 MD5 crack principle 52-53 4.3 GPU -based SMP clusters crack MD5 hashes exhaustive design process and achieve 53-63 4.3.1 MPI-CUDA parallel programming model mix 53-55 4.3.2 serial crack MD5 algorithm and parallel CPU-based crack MD5 algorithm 55-56 4.3.3 crack MD5 algorithm based on GPU 56-63 4.4 Summary 63-64 Chapter V results and analysis 64-76 5.1 test environment and configuration 64-67 5.1.1 MPI environment configuration 64 5.1.2 CUDA environment configuration 64-66 5.1.3 MPI, CUDA compiler with VISUAL STUDIO integration 66-67 5.2 experiment , code optimization and results 67-74 5.2.1 CUDA parallel implementations 67-69 5.2.2 program optimization 69-73 5.2.3 program Optimization methods 73 - 74 5.3 algorithm implementations advantages and disadvantages of 74-75 5.4 summary 75-76 Chapter VI Full summary and work prospects 76-78 Thanks 78-79 References 79-82

Related dissertations

  1. Research of Efficient Computing Method on GPU-based LS-SVM
    BaoWenLei ·Harbin Institute of Technology ·2012 ·Master's thesis
  2. Optimization of CUDA-based Parallel SOM Algorithm and Its Application
    ZhangJinChao ·Harbin Institute of Technology ·2012 ·Master's thesis
  3. Research on GPU General Computing on Text Classification
    LiZhiLong ·Zhejiang Sci-Tech University ·2014 ·Master's thesis
  4. Research and Implementation of FIR Filtering Parallel Algorithm Based on GPU
    XiaoZuo ·Northeastern University ·2011 ·Master's thesis
  5. Research on Text Detecting and Removal in Video Image Based on CUDA
  6. Rapid Implementation of the Small Infrared Target Detection Algorithm on CUDA
  7. Parallel Face Detection CUDA Accelerating
  8. Research on Boundary Face Method Base on GPU-acceleration
    YuLieXiang ·Hunan University ·2013 ·Master's thesis
  9. Research on Applying GPU Parallel Computation to Medical Image Processing
    LiYingMin ·Tianjin University ·2012 ·Master's thesis
  10. Research of Image Registration and Mosaic Technology Based on GPU
    ZouGang ·Tianjin University ·2012 ·Master's thesis
  11. Research and Implementation of Parallel Resampling Algorithm Based on GPU
    YuYinPing ·Northeastern University ·2013 ·Master's thesis
  12. The CAPTCHA Machine Pattern Recognition Technology Based on GPU Research and Application
  13. Study of Visual Tracking Algorithm Based on CUDA
    ZhangPing ·Beijing Jiaotong University ·2014 ·Master's thesis
  14. Improved Push-Relabel Algorithm for Graph Cuts And Design and Implementation on the GPU
    LiZuo ·Beijing Jiaotong University ·2014 ·Master's thesis
  15. Research and Implementation of Hashalgorithm Library on GPU
    LiKai ·South China University of Technology ·2013 ·Master's thesis
  16. Design and GPU Implementation of the DSP Algorithm in the Coherent Receiver of Fiber Communication
  17. Research of Real-time Acoustic Imaging Array Positioning Technology
    YuLiZhi ·Xiangtan University ·2013 ·Master's thesis
  18. Research on Simulation Methods Based on GPU for Small Delay Faults
    PengMingMing ·Hunan University ·2013 ·Master's thesis
  19. Hyperspectral image mixed pixel decomposition parallel optimization based on GPU
  20. High-Order Difference Forward Modeling and Reverse-Time Migration Based on CUDA
    XiangFei ·Ocean University of China ·2013 ·Master's thesis