LoginSignup
5
7

More than 5 years have passed since last update.

Pass-The-Hashの仕組み

Posted at

1. NTLM認証の仕組み

  • Windowsの仕組みとして、SAM(Security Account Manager)データベースにパスワードのハッシュ値(LMとNTLM)が保存されている。
    • SAMデータベースの実体はファイルであり、C:\WINDOWS\system32\configの中に保存されている。
    • 通常、Windows起動中に開いたりコピーできないようになっているが、ツールを用いることによりハッシュ値をダンプできる。
      • 正しくは直接アクセスできないため、DLL Injectionという手法を用いて、SAMファイルへのアクセスを許可された特殊なプロセスからハッシュを取得する。
        • PwDump
        • Ophcrack
  • http://www.byakuya-shobo.co.jp/hj/moh3/pdf/moh3_p174_177.pdf
  • http://d.hatena.ne.jp/softether/touch/20130821/p1

2. LSA

  • LSA (Local Security Authority)は、Windowsのセキュリティに関するサブシステムであり、ユーザーの資格情報を管理しており、メモリ上にパスワードハッシュなどを保持している。
  • lsass.exe

3. mimikatz

4. Pass-The-Hash

  • Windowsの仕組みを利用した手法。
  • NTLMハッシュ等を活用する。
5
7
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5
7