Advertisement
Guest User

Untitled

a guest
Aug 10th, 2016
144
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.85 KB | None | 0 0
  1. root@ubuntu:/home/ubuntu# cryptsetup -v isLuks /dev/sda3 --debug
  2. # cryptsetup 1.6.6 processing "cryptsetup -v isLuks /dev/sda3 --debug"
  3. # Running command isLuks.
  4. # Installing SIGINT/SIGTERM handler.
  5. # Unblocking interruption on signal.
  6. # Allocating crypt device /dev/sda3 context.
  7. # Trying to open and read device /dev/sda3.
  8. # Initialising device-mapper backend library.
  9. # Trying to load LUKS1 crypt type from device /dev/sda3.
  10. # Crypto backend (gcrypt 1.6.5) initialized.
  11. # Detected kernel Linux 4.4.0-21-generic x86_64.
  12. # Reading LUKS header of size 1024 from device /dev/sda3
  13. # Key length 64, device size 975220736 sectors, header size 4036 sectors.
  14. # Releasing crypt device /dev/sda3 context.
  15. # Releasing device-mapper backend.
  16. Command successful.
  17.  
  18. ====================================================================================================
  19.  
  20. root@ubuntu:/home/ubuntu# cryptsetup -v luksDump /dev/sda3 --debug
  21. # cryptsetup 1.6.6 processing "cryptsetup -v luksDump /dev/sda3 --debug"
  22. # Running command luksDump.
  23. # Locking memory.
  24. # Installing SIGINT/SIGTERM handler.
  25. # Unblocking interruption on signal.
  26. # Allocating crypt device /dev/sda3 context.
  27. # Trying to open and read device /dev/sda3.
  28. # Initialising device-mapper backend library.
  29. # Trying to load LUKS1 crypt type from device /dev/sda3.
  30. # Crypto backend (gcrypt 1.6.5) initialized.
  31. # Detected kernel Linux 4.4.0-21-generic x86_64.
  32. # Reading LUKS header of size 1024 from device /dev/sda3
  33. # Key length 64, device size 975220736 sectors, header size 4036 sectors.
  34. LUKS header information for /dev/sda3
  35.  
  36. Version: 1
  37. Cipher name: aes
  38. Cipher mode: xts-plain64
  39. Hash spec: sha1
  40. Payload offset: 4096
  41. MK bits: 512
  42. MK digest: 8c a2 07 b7 de 15 e6 0a d3 21 3f 4d 97 38 c2 20 b8 d7 4d 27
  43. MK salt: 26 79 86 03 07 15 91 54 48 cb cd 28 9a c5 4d 50
  44. 29 3a c0 b2 2c 60 09 47 c0 e4 bc 24 c5 5c d9 00
  45. MK iterations: 52625
  46. UUID: 1d161c19-6bc1-484b-9d2a-e3adfe25c0dc
  47.  
  48. Key Slot 0: ENABLED
  49. Iterations: 200000
  50. Salt: 8b 6f 30 b9 f7 c8 f6 6a be ca fe d7 71 47 fc cb
  51. 03 4b 34 b5 79 2b a1 69 2c bb 67 10 ad ff b5 24
  52. Key material offset: 8
  53. AF stripes: 4000
  54. Key Slot 1: DISABLED
  55. Key Slot 2: DISABLED
  56. Key Slot 3: DISABLED
  57. Key Slot 4: DISABLED
  58. Key Slot 5: DISABLED
  59. Key Slot 6: DISABLED
  60. Key Slot 7: DISABLED
  61. # Releasing crypt device /dev/sda3 context.
  62. # Releasing device-mapper backend.
  63. # Unlocking memory.
  64. Command successful.
  65.  
  66. ===============================================================================================
  67.  
  68. root@ubuntu:/home/ubuntu# ./chk_luks_keyslots -v /dev/sda3
  69.  
  70. parameters (commandline and LUKS header):
  71. sector size: 512
  72. threshold: 0.900000
  73.  
  74. - processing keyslot 0: start: 0x001000 end: 0x03f800
  75. - processing keyslot 1: keyslot not in use
  76. - processing keyslot 2: keyslot not in use
  77. - processing keyslot 3: keyslot not in use
  78. - processing keyslot 4: keyslot not in use
  79. - processing keyslot 5: keyslot not in use
  80. - processing keyslot 6: keyslot not in use
  81. - processing keyslot 7: keyslot not in use
  82.  
  83. ==================================================================================================
  84.  
  85. parameters (commandline and LUKS header):
  86. sector size: 512
  87. threshold: 0.950000
  88.  
  89. - processing keyslot 0: start: 0x001000 end: 0x03f800
  90. low entropy at: 0x001200 entropy: 0.948471
  91. Binary dump:
  92. 0x001200 36 FB 5A 0F DD 1C 79 01 66 E2 39 76 10 7C 00 3C 6.Z...y.f.9v.|.<
  93. 0x001210 91 81 C5 24 3D F6 9E C4 0E 4E AC 9D 6C 00 F3 41 ...$=....N..l..A
  94. 0x001220 55 EC 94 0E C4 7C FD A9 7B 47 DA 6E 39 25 AB CE U....|..{G.n9%..
  95. 0x001230 23 E3 B6 C5 06 A5 85 87 1D FA B0 5A 67 BD FC BE #..........Zg...
  96. 0x001240 B7 85 A3 EC E6 AC 3E 7B 3F 29 44 4B 15 A7 B3 70 ......>{?)DK...p
  97. 0x001250 6D F8 A5 03 B3 83 23 7F 38 71 56 35 48 EF 6D E8 m.....#.8qV5H.m.
  98. 0x001260 9B 79 A9 EC 54 62 53 A5 52 B1 06 30 09 06 9E 06 .y..TbS.R..0....
  99. 0x001270 96 72 52 06 F8 28 C0 84 2E D2 44 C0 B7 90 3B A5 .rR..(....D...;.
  100. 0x001280 E0 E3 1C D0 32 AF CC D2 3F B3 8C 81 9D 48 F7 60 ....2...?....H.`
  101. 0x001290 02 C6 2D 52 E6 D7 CC 9C CF 06 F1 E1 CC CF CA 1F ..-R............
  102. 0x0012a0 D5 D3 E7 EF 80 E7 4E 34 22 50 D0 B8 37 C1 8F CB ......N4"P..7...
  103. 0x0012b0 D1 C9 FD CD 1C 66 59 5E 90 8B D1 FC A2 DB FF B8 .....fY^........
  104. 0x0012c0 43 85 0E AE 74 3A 22 CF E6 39 5E 31 8F E0 90 B7 C...t:"..9^1....
  105. 0x0012d0 31 A5 87 55 5C 88 B5 9A 5D 1A 05 70 FF E4 58 21 1..U\...]..p..X!
  106. 0x0012e0 D0 04 0D 5C 50 E4 B6 61 E7 5F D2 84 82 00 6E F0 ...\P..a._....n.
  107. 0x0012f0 F4 12 CC 64 C4 DC B5 22 BB 71 8C A3 AA 15 62 0B ...d...".q....b.
  108. 0x001300 A4 22 17 67 3F 24 71 31 84 0C 5F 80 15 E2 44 9D .".g?$q1.._...D.
  109. 0x001310 86 BC 9A 82 AF 62 02 27 F8 F8 B4 B7 40 8A 13 63 .....b.'....@..c
  110. 0x001320 31 62 21 99 AC E4 65 2D 54 2E 6A FA D5 5B E3 02 1b!...e-T.j..[..
  111. 0x001330 0A 55 E6 F1 43 B0 3E DC 83 D7 B3 A2 E7 39 7D 35 .U..C.>......9}5
  112. 0x001340 E8 4C 15 42 7D 9B BF F3 14 FE 46 EF BC 4D D5 20 .L.B}.....F..M.
  113. 0x001350 96 19 9A ED 5E 58 EE 20 29 03 C4 DB 62 C7 74 10 ....^X. )...b.t.
  114. 0x001360 83 04 79 8D 7B 82 14 86 6D 97 57 52 9B F1 58 4E ..y.{...m.WR..XN
  115. 0x001370 7B A8 28 58 1D 01 B7 FA F0 00 B8 EF A7 34 81 72 {.(X.........4.r
  116. 0x001380 74 6A DB 94 61 58 24 2E 3B A8 68 C5 EF 37 6B A6 tj..aX$.;.h..7k.
  117. 0x001390 B0 09 0E E8 91 E8 2B D4 19 E8 A3 24 68 99 90 72 ......+....$h..r
  118. 0x0013a0 2D D8 0F 90 CF 05 BD 14 C0 3A 5C 78 3B FC 60 09 -........:\x;.`.
  119. 0x0013b0 57 51 04 6A 00 B2 25 92 1C 38 D2 02 00 3A 14 84 WQ.j..%..8...:..
  120. 0x0013c0 35 1F AF DA E9 68 91 F4 51 F9 AC E0 4D 59 AE ED 5....h..Q...MY..
  121. 0x0013d0 FB 2D 6F AF A1 36 36 06 71 44 DC C8 93 2D 4F AC .-o..66.qD...-O.
  122. 0x0013e0 A0 7B 6D BD 7F 9B 79 D6 81 33 B0 C3 B5 7E 39 7A .{m...y..3...~9z
  123. 0x0013f0 17 19 32 E4 26 1A 17 C1 27 BC 91 DB 86 CE E0 10 ..2.&...'.......
  124.  
  125. low entropy at: 0x001400 entropy: 0.942049
  126. Binary dump:
  127. 0x001400 49 50 79 D4 99 EB A3 C0 6E E0 EA 75 C3 C0 39 97 IPy.....n..u..9.
  128. :
  129. ========================================================================================
  130.  
  131. root@ubuntu:/home/ubuntu# cryptsetup -v luksOpen /dev/sda3 sda3_crypt --debug
  132. # cryptsetup 1.6.6 processing "cryptsetup -v luksOpen /dev/sda3 sda3_crypt --debug"
  133. # Running command open.
  134. # Locking memory.
  135. # Installing SIGINT/SIGTERM handler.
  136. # Unblocking interruption on signal.
  137. # Allocating crypt device /dev/sda3 context.
  138. # Trying to open and read device /dev/sda3.
  139. # Initialising device-mapper backend library.
  140. # Trying to load LUKS1 crypt type from device /dev/sda3.
  141. # Crypto backend (gcrypt 1.6.5) initialized.
  142. # Detected kernel Linux 4.4.0-21-generic x86_64.
  143. # Reading LUKS header of size 1024 from device /dev/sda3
  144. # Key length 64, device size 975220736 sectors, header size 4036 sectors.
  145. # Timeout set to 0 miliseconds.
  146. # Password retry count set to 3.
  147. # Password verification disabled.
  148. # Iteration time set to 1000 miliseconds.
  149. # Activating volume sda3_crypt [keyslot -1] using [none] passphrase.
  150. # dm version OF [16384] (*1)
  151. # dm versions OF [16384] (*1)
  152. # Detected dm-crypt version 1.14.1, dm-ioctl version 4.34.0.
  153. # Device-mapper backend running with UDEV support enabled.
  154. # dm status sda3_crypt OF [16384] (*1)
  155. # Interactive passphrase entry requested.
  156. Enter passphrase for /dev/sda3:
  157. # Trying to open key slot 0 [ACTIVE_LAST].
  158. # Reading key slot 0 area.
  159. # Using userspace crypto wrapper to access keyslot area.
  160. # Trying to open key slot 1 [INACTIVE].
  161. # Trying to open key slot 2 [INACTIVE].
  162. # Trying to open key slot 3 [INACTIVE].
  163. # Trying to open key slot 4 [INACTIVE].
  164. # Trying to open key slot 5 [INACTIVE].
  165. # Trying to open key slot 6 [INACTIVE].
  166. # Trying to open key slot 7 [INACTIVE].
  167. No key available with this passphrase.
  168. # Interactive passphrase entry requested.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement