GitXplorerGitXplorer
j

wireshark-spdm

public
1 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
0c00e09a99843e175907023b65dabdee8403a3df

Update readme and fix some issue

committed 4 years ago
Unverified
3babe2126b0d56527ffe203d7489fabddd3276d3

Update code to support more flags

committed 4 years ago
Unverified
aa50fc604563072fb43751dd14cda0c90ba80ada

Merge branch 'master' of https://github.com/jyao1/wireshark-spdm

committed 4 years ago
Unverified
5cd61b3ffae3a6e2472601dca0ce995b52cf5640

Update code to support secured message dissect

committed 4 years ago
Unverified
d56f2aa8708c910f505f46f1ce4c520713315aa5

Update cpde

committed 4 years ago
Unverified
29aed973c3c889bfef02d3f5ef20b9cd431e38b2

Update for dissecting all normal spdm message

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.