GitXplorerGitXplorer
j

wireshark-spdm

public
1 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
f902462dd3255f3eb926fa657619324e99bb5547

Add all basic dissect functions for normal messages

committed 4 years ago
Unverified
dbcd9793f8b85351dc673cb8219005db0a207d26

Update code

committed 4 years ago
Unverified
c84d43de8d390342f4b84af190f3298ffb5e8978

Add initial check in.

jjyao1 committed 4 years ago
Unverified
b705d91db9d8ccbeb11c038ae4dce40c6aa5849e

Add readme.

jjyao1 committed 4 years ago

README

The README file for this repository.

This spdm plug in for wireshark

  1. Quick Setup Wireshark Development Environment Refer to https://www.wireshark.org/docs/wsdg_html_chunked/ChSetupWin32.html.

    set WIRESHARK_PATH = C:\Development\wireshark

  2. Setup spdm plug in development environment

    git clone https://github.com/jyao1/wireshark-spdm.git

    Copy spdm folder to %WIRESHARK_PATH%\plugins\epan.

    git clone https://github.com/jyao1/openspdm.git

    Copy openspdm folder to %WIRESHARK_PATH%.

    Rename %WIRESHARK_PATH%\CMakeListsCustom.txt.example to %WIRESHARK_PATH%\CMakeListsCustom.txt.

    Modify """ set(CUSTOM_PLUGIN_SRC_DIR

    private_plugins/foo

    or

    plugins/epan/foo

    ) """ to """ set(CUSTOM_PLUGIN_SRC_DIR plugins/epan/spdm ) """

  3. Build dependent library

    cd %WIRESHARK_PATH%\openspdm mkdir build cd build cmake -G"NMake Makefiles" -DARCH=X64 -DTOOLCHAIN=VS2019 -DTARGET=Debug -DCRYPTO=<MbedTls|Openssl> -DTESTTYPE=WireShark .. nmake

  4. Build Wireshark and plugin Refer to chapter 2.2.13 of https://www.wireshark.org/docs/wsdg_html_chunked/ChSetupWin32.html.

  5. Install WinPcap and Npcap https://www.winpcap.org/install/default.htm https://nmap.org/npcap/

  6. Capture SPDM communication data Excute Wireshark refer to https://www.wireshark.org/docs/wsdg_html_chunked/ChSetupWin32.html.

    Choose "Adapter for loopback traffic capture" > Input "spdm" in filter frame

    Wireshark start to capture data.