Sparkplug B Protocol Fuzzing with AI Assistance#2286
Open
carlospolop wants to merge 1 commit into
Open
Conversation
Collaborator
Author
🔗 Additional ContextOriginal Blog Post: https://bishopfox.com/blog/sparkplug-b-protocol-fuzzing-with-ai-assistance Content Categories: Based on the analysis, this content was categorized under "Network Services Pentesting > 1883 - Pentesting MQTT (Mosquitto) > Sparkplug B ICS/SCADA reconnaissance and fuzzing". Repository Maintenance:
Review Notes:
Bot Version: HackTricks News Bot v1.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🤖 Automated Content Update
This PR was automatically generated by the HackTricks News Bot based on a technical blog post.
📝 Source Information
🎯 Content Summary
Title: Sparkplug B Protocol Fuzzing with AI Assistance
Core idea: Bishop Fox built and released an AI-assisted security fuzzer for Sparkplug B, an open MQTT-based Eclipse Foundation specification used in ICS/SCADA and Unified Namespace (UNS) environments. The post does not describe a CVE or a single confirmed product vulnerability; instead, it explains a practical protocol-fuzzing tool and methodology for finding implementation bugs such as crashes, malformed-messag...
🔧 Technical Details
Sparkplug B protocol fuzzing over MQTT: A tester can fuzz Sparkplug B implementations by publishing valid and invalid messages under the namespace
spBv1.0/{group_id}/{message_type}/{edge_node_id}/{device_id}. Because Sparkplug B relies on strict lifecycle ordering, typed protobuf metrics, aliases, and sequence numbers, malformed traffic can expose crashes, parser failures, state corruption, unsafe command acceptance, and incorrect handling of device birth/death state.Raw protobuf corruption for negative testing: Helper libraries often prevent invalid Sparkplug B payloads from being constructed. To reach vulnerable parsing paths, generate valid baseline messages with high-level helpers such as
sparkplug_b, then directly mutate protobuf structures withsparkplug_b_pb2. This enables testing malformed fields, invalid nested structures, corrupted binary protobuf data, and values rejected by normal client libraries.Metr...
🤖 Agent Actions
Done.
Updated:
src/network-services-pentesting/1883-pentesting-mqtt-mosquitto.mdAdded:
spBv1.0/#/STATE/#sparkplugFuzzerValidation:
mdbook buildcould not be run becausemdbookis not installed in this environmentThis PR was automatically created by the HackTricks Feed Bot. Please review the changes carefully before merging.