wireshark lua plugin that performs decryption and parsing of SSH packets
- sudo apt-get install liblua5.2-dev
- sudo apt-get install libssl-dev
- git clone --recurse https://github.com/zhaozg/lua-openssl.git lua-openssl (great lib used to bind the plugin to openssl for the decryption)
- cd lua-openssl
- make LUA_CFLAGS=-I/usr/include/lua5.2
- mv the openssl.so in the folder usr/lib/lua/5.2 dir (if doesn't exist create it)
- move the ssh_postdissector.lua and the ssh_postdissector folder to the custom lua plugin folder of wireshark (you can find it in wireshark->help->informations->folders->personal lua plugins)
- reload lua plugins (analyze->reload lua plugins)
- you can enable the dissector and configure the session keys in the preference tab (SSH_Payload protocol)