Linuxパスワード解析記


<前書き>

 訳あって、以前にLinuxをインストールしたのだが、rootのパスワードを忘れてしまい、解析することにした。

<解析ソフトウエア>

次のソフトをダウンロード。超有名なパスワードを解析するソフトです。

John the Ripper
解凍する。実行ファイルは、john-1.6/run に生成される。

johnを実行すると、下記のオプションがわかる。

John the Ripper  Version 1.6  Copyright (c) 1996-98 by Solar Designer

Usage: /JOHN-16/RUN/john [OPTIONS] [PASSWORD-FILES]
-single                   "single crack" mode
-wordfile:FILE -stdin     wordlist mode, read words from FILE or stdin
-rules                    enable rules for wordlist mode
-incremental[:MODE]       incremental mode [using section MODE]
-external:MODE            external mode or word filter
-stdout[:LENGTH]          no cracking, just write words to stdout
-restore[:FILE]           restore an interrupted session [from FILE]
-session:FILE             set session file name to FILE
-status[:FILE]            print status of a session [from FILE]
-makechars:FILE           make a charset, FILE will be overwritten
-show                     show cracked passwords
-test                     perform a benchmark
-users:[-]LOGIN|UID[,..]  load this (these) user(s) only
-groups:[-]GID[,..]       load users of this (these) group(s) only
-shells:[-]SHELL[,..]     load users with this (these) shell(s) only
-salts:[-]COUNT           load salts with at least COUNT passwords only
-format:NAME              force ciphertext format NAME (DES/BSDI/MD5/BF/AFS/LM)
-savemem:LEVEL            enable memory saving, at LEVEL 1..3


あとは、自分で思いつくパスワードのファイルを作って、解析。

マニュアルはこちら

<その他便利なソフト>

Explore2fs WindowsからLinuxのHDを覗くソフト
Change TCP/IP ネットワークの設定を変更するソフト
(昔は、無償だったんだけど...)

<あとがき>

個人的なメモでした。