PDFCrack

提供: セキュリティ
2013年4月30日 (火) 00:38時点におけるDaemon (トーク | 投稿記録)による版

(差分) ←前の版 | 最新版 (差分) | 次の版→ (差分)
移動: 案内検索
スポンサーリンク

PDFCrack は、PDF ファイルの パスワード総当たり攻撃 をして、忘れてしまったパスワードを探せるツールです。

読み方

PDFCrack

概要

PDFCrack は、 パスワード 付きの PDF ファイルのパスワード を忘れてしまったときに、総当たり攻撃 を行い、パスワードを探すことができます。

インストール

FreeBSDにインストールする場合

ports コレクションからインストールする場合

cd /usr/ports/security/pdfcrack
sudo make install clean

pkgコマンドでインストールする場合

sudo pkg install pdfcrack

portmasterコマンドでインストールする場合

sudo portmaster -y -d /usr/ports/security/pdfcrack

portinstallコマンドでインストールする場合

sudo portinstall /usr/ports/security/pdfcrack

使い方

コマンドラインオプション

% pdfcrack -v
pdfcrack version 0.11
% pdfcrack
Usage: pdfcrack -f filename [OPTIONS]
OPTIONS:
-b, --bench             perform benchmark and exit
-c, --charset=STRING    Use the characters in STRING as charset
-w, --wordlist=FILE     Use FILE as source of passwords to try
-n, --minpw=INTEGER     Skip trying passwords shorter than this
-m, --maxpw=INTEGER     Stop when reaching this passwordlength
-l, --loadState=FILE    Continue from the state saved in FILENAME
-o, --owner             Work with the ownerpassword
-u, --user              Work with the userpassword (default)
-p, --password=STRING   Give userpassword to speed up breaking
                        ownerpassword (implies -o)
-q, --quiet             Run quietly
-s, --permutate         Try permutating the passwords (currently only
                        supports switching first character to uppercase)
-v, --version           Print version and exit

ベンチマーク

% pdfcrack -b
Benchmark:      Average Speed (calls / second):
MD5:                    717823.3
MD5_50 (fast):          37455.8
MD5_50 (slow):          30414.9
 
RC4 (40, static):       224535.3
RC4 (40, no check):     260414.8
RC4 (128, no check):    221332.6
 
Benchmark:      Average Speed (passwords / second):
PDF (40, user):         169311.2
PDF (40, owner):        83326.7
PDF (40, owner, fast):  191044.8
 
PDF (128, user):        8316.6
PDF (128, owner):       3917.0
PDF (128, owner, fast): 9175.1
 
Time spent in user mode   (CPU seconds) : 30.457s
Time spent in kernel mode (CPU seconds) : 0.023s
Total time                              : 0:30.48s
CPU utilisation (percentage)            : 99.9%
Times the process was swapped           : 0
Times of major page faults              : 0
Times of minor page faults              : 70

パスワードクラック

% pdfcrack -f foo.pdf

関連項目




スポンサーリンク