bacnet-forensics
/bacnet-forensics
Forensic analysis of offline BACnet/IP PCAP or PCAPNG captures. Use when traffic contains BACnet UDP/47808, building automation, BMS/BAS devices, Who-Is/I-Am, ReadProperty, WriteProperty, or DeviceCommunicationControl. Extract packet-level evidence and identify potential state-changing commands without making unsupported compromise claims.
- Author
- selmux ↗
- Repository
- ot-security-agent-skills ↗
- Licence
- Apache-2.0
- Last repository change
- 09.11.2026
Assessment and security
- Files in this package
- 5
- Scripts
- 2
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 09.11.2026, without references to retired models or APIs.
Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.
- 2 scripts in this package. Review them before installing, as Claude may execute them.
Scripts: scripts/analyze_bacnet.py, tests/test_bacnet.py
What it does and when to use it
Forensic analysis of offline BACnet/IP PCAP or PCAPNG captures. Use when traffic contains BACnet UDP/47808, building automation, BMS/BAS devices, Who-Is/I-Am, ReadProperty, WriteProperty, or DeviceCommunicationControl. Extract packet-level evidence and identify potential state-changing commands without making unsupported compromise claims.
Original author description
Forensic analysis of offline BACnet/IP PCAP or PCAPNG captures. Use when traffic contains BACnet UDP/47808, building automation, BMS/BAS devices, Who-Is/I-Am, ReadProperty, WriteProperty, or DeviceCommunicationControl. Extract packet-level evidence and identify potential state-changing commands without making unsupported compromise claims.
How it works
- Scope
- Workflow
- CLI
- Evidence standard
- Limits
SKILL.md preview
--- name: bacnet-forensics description: Forensic analysis of offline BACnet/IP PCAP or PCAPNG captures. Use when traffic contains BACnet UDP/47808, building automation, BMS/BAS devices, Who-Is/I-Am, ReadProperty, WriteProperty, or DeviceCommunicationControl. Extract packet-level evidence and identify potential state-changing commands without making unsupported compromise claims. --- # BACnet/IP Forensics ## Scope Use on supplied capture files in authorized CTF/lab/defensive investigations. Work offline. Never interact with live BACnet controllers. Pair with `pcap-forensics` for broad traffic triage and with `payload-decoder` (when available) for embedded encoded fragments. ## Workflow 1. Inventory available PCAP/PCAPNG files and validate they are readable. 2. Run `python scripts/analyze_bacnet.py capture.pcap --output bacnet-report.json` (on Windows: `python scripts\analyze_bacnet.py capture.pcap --output bacnet-report.json`). 3. Separate regular BAS polling from late-appearing or unusual controllers and clients using timeline and endpoint evidence. 4. Review `state_change_candidates`: WriteProperty (15), WritePropertyMultiple (16), DeviceCommunicationControl (17), ReinitializeDevice (20), and object create/delete. These **may** be legitimate; don't label them malicious based solely on service choice. 5. Correlate client requests with replies by IP endpoints, invoke ID, timestamps and service. Consider broadcast discovery and segmented PDUs. 6. For each finding, cite actual capture filename and frame number. Report UTC timestamps and raw context when available. If object/property fields are absent or ambiguous, say so. 7. Answer the precise question, and verify any flag against evidence. Do not invent flags or accept speculative decoding. ## CLI `python scripts/analyze_bacnet.py <capture> [additional-captures...] [--output report.json] [--max-events 30]` ## Evidence standard Include source/destination IP, BACnet service name and numeric service choice (Wireshark notation), frame ID, UTC time, object identifier/property when confirmed, and the reason for suspicion. Distinguish observations from conclusions. Escalate undecoded or fragmented data to Wireshark/TShark for manual review. ## Limits Python stdlib implementation currently handles Ethernet, IPv4, UDP BACnet/IP and best-effort unsegmented APDUs. No full IP or BACnet segmentation reassembly, no IPv6, no BACnet/SC, and no conclusive access-control verification. Read `references/limitations.md`.
Files in this package (5)
- README.md 7 KB
- SKILL.md 2 KB
- references/limitations.md 1 KB
- scripts/analyze_bacnet.py 9 KB
- tests/test_bacnet.py 1 KB
Versions
The database has no other skills named bacnet-forensics.
Database snapshot: 13.11.2026 · package version e9158927bd17 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 90siemens-s7-forensics
Offline Siemens S7comm network forensics for PCAP and PCAPNG files. Use for ISO-on-TCP port 102, S7 PLC reads/writes, DB/merker addresses, CPU state-control requests, SZL diagnostic investigations, and Siemens PCS7/S7 forensic CTF evidence. Does not connect to devices. - 100pcap-workflow
Performs safe offline packet-capture triage with TShark summaries, display filters, and clear-text HTTP metadata extraction. Use for PCAP/PCAPNG files, packet captures, Wireshark/TShark analysis, network forensics, 流量包, 抓包分析, 数据包分析, 网络取证, or 离线流量分析. - 90iec104-forensics
Analyze offline IEC 60870-5-104 TCP/2404 PCAP or PCAPNG captures for ASDU types, information object addresses, command candidates, sequence numbers, and CTF evidence. Use for telecontrol, power grid SCADA and IEC-104 packet investigations. - 100netflows
Network flow extractor that analyzes pcap/pcapng files to identify outbound connections with automatic DNS hostname resolution. Use when you need to enumerate network destinations, identify what hosts a device communicates with, or map IP addresses to hostnames from packet captures. - 90packet-analysis
Analyze network packet captures (.pcap/.pcapng) using Packet Buddy MCP. Use when opening a pcap file, inspecting packet captures, troubleshooting network traffic, analyzing retransmissions, or filtering packets by protocol. - 100disk-forensics
Analyze disk images, file systems, and memory captures for digital evidence recovery in forensic investigations and CTF challenges. Use when the user mentions 'disk forensics,' 'forensic analysis,' 'disk image,' 'file carving,' 'deleted files,' 'evidence recovery,' 'timeline…