Skip to content

devttys0/littleblackbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

littleblackbox

Database of private SSL/SSH keys for embedded devices

Dependencies

LittleBlackBox requires the OpenSSL, libpcap, and sqlite3 libraries:

$ sudo apt-get install libssl-dev libpcap-dev libsqlite3-dev

Installation

LittleBlackBox can be built and installed using the typical configure/make process:

$ ./configure
$ make
$ sudo make install

Usage

Check a remote host for a known SSL key pair:

$ littleblackbox --host=192.168.1.1
$ littleblackbox --host=192.168.1.1:443

Check a pcap file for SSL certificate exchanges that match a known SSL private key:

$ littleblackbox --pcap=file.pcap

Listen on a live network interface for SSL certificate exchanges that match a known SSL private key:

# littleblackbox --interface=eth0

Check a local SSL certificate to see if it matches any that have a known SSL private key:

$ littleblackbox --pem=cert.pem

Search the database for a given hardware/firmware version:

$ littleblackbox --search=hardware.vendor=linksys
$ littleblackbox --search=firmware.vendor=dd-wrt

List of all valid table/column values for use with the --search option (requires sqlite3):

$ sqlite3 lbb.db
sqlite> .schema
CREATE TABLE certificates(id INTEGER PRIMARY KEY, fingerprint TEXT, certificate TEXT, key TEXT, description TEXT);
CREATE TABLE firmware(id INTEGER PRIMARY KEY, device_id INTEGER, certificate_id INTEGER, vendor TEXT, description TEXT);
CREATE TABLE hardware(id INTEGER PRIMARY KEY, vendor TEXT, model TEXT, revision TEXT, description TEXT);

About

Database of private SSL/SSH keys for embedded devices

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages