meta data for this page
  •  

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
sw:password_cracking [2026/05/14 11:07] niziaksw:password_cracking [2026/05/24 09:55] (current) niziak
Line 21: Line 21:
 </code> </code>
  
 +
 +[[https://hashcat.net/wiki/doku.php?id=mask_attack]]
 +
 +[[https://hashcat.net/wiki/doku.php?id=example_hashes|Example hashes]]]
  
  
Line 28: Line 32:
 file document.pdf  file document.pdf 
 document.pdf: PDF document, version 1.6, 1 page(s) document.pdf: PDF document, version 1.6, 1 page(s)
 +</code>
 +
 +Check encryption algorithm:
 +<code bash>
 +python3 -m venv .venv
 +./.venv/bin/pip3 install peepdf-3
 +./.venv/bin/peepdf document.pdf
 +
 +# one document
 +PDF Format Version: 1.6
 +Encrypted: True (AES 128 bits)
 +
 +# another document
 +PDF Format Version: 1.4
 +Encrypted: True (RC4 128 bits)
 </code> </code>
  
Line 61: Line 80:
 Install ''hashcat'' Install ''hashcat''
 <code bash>apt install hashcat-nvidia</code> <code bash>apt install hashcat-nvidia</code>
 +
  
 <code bash> <code bash>
Line 68: Line 88:
   10410 | PDF 1.1 - 1.3 (Acrobat 2 - 4), collider #1                 | Document   10410 | PDF 1.1 - 1.3 (Acrobat 2 - 4), collider #1                 | Document
   10420 | PDF 1.1 - 1.3 (Acrobat 2 - 4), collider #2                 | Document   10420 | PDF 1.1 - 1.3 (Acrobat 2 - 4), collider #2                 | Document
-  10500 | PDF 1.4 - 1.6 (Acrobat 5 - 8)                              | Document+  10500 | PDF 1.4 - 1.6 (Acrobat 5 - 8)                              | Document | RC4 128bits or AES128
   25400 | PDF 1.4 - 1.6 (Acrobat 5 - 8) - user and owner pass        | Document   25400 | PDF 1.4 - 1.6 (Acrobat 5 - 8) - user and owner pass        | Document
   10600 | PDF 1.7 Level 3 (Acrobat 9)                                | Document   10600 | PDF 1.7 Level 3 (Acrobat 9)                                | Document