
FirefoxおよびChromeのHSTSデータベースをフォレンジックアーティファクトに解析するツール!
HSTS Parser は、Firefox および Chrome の HSTS データベースを実際に役立つフォレンジックアーティファクトに解析するシンプルなツールです! このツールの背景にある研究とその可能性については、私のブログで詳しく読むことができます。
HSTS Parser は pip でインストールするか、ネイティブ実行ファイルとして利用できます。
すでに Python がインストールされている場合は、pip を使用して HSTS Parser をインストールできます。
pip install hstsparser
HSTS Parser は Fedora 38 以降で利用可能です。
dnf install hstsparser
Windows 用バイナリは、HSTS Parser の各リリースで GitHub Actions CI によって公開されています。リリースページからダウンロードできます。
以下のドキュメントはすべて Python バージョンについて書かれていますが、スタンドアロン実行ファイルでもコマンドは同じです。
$ hstsparser -h
usage: hstsparser [-h] [-w WORDLIST] [--csv CSV] (--firefox | --chrome) FILE
Process HSTS databases
positional arguments:
FILE The path to the database to be processed
optional arguments:
-h, --help show this help message and exit
-w WORDLIST The path to a file containing a wordlist for bruteforcing hashes
--csv CSV Output to a CSV file
--firefox Process a Firefox database
--chrome Process a Chrome database
hstsparser --firefox SiteSecurityServiceState.txt
hstsparser --chrome TransportSecurity
hstsparser -w wordlist.txt --chrome TransportSecurity

