uhbs 4.2.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- uhbs-4.2.0/LICENSE +201 -0
- uhbs-4.2.0/PKG-INFO +273 -0
- uhbs-4.2.0/README.md +234 -0
- uhbs-4.2.0/pyproject.toml +127 -0
- uhbs-4.2.0/setup.cfg +4 -0
- uhbs-4.2.0/src/uhbs.egg-info/PKG-INFO +273 -0
- uhbs-4.2.0/src/uhbs.egg-info/SOURCES.txt +97 -0
- uhbs-4.2.0/src/uhbs.egg-info/dependency_links.txt +1 -0
- uhbs-4.2.0/src/uhbs.egg-info/entry_points.txt +5 -0
- uhbs-4.2.0/src/uhbs.egg-info/requires.txt +19 -0
- uhbs-4.2.0/src/uhbs.egg-info/top_level.txt +3 -0
- uhbs-4.2.0/src/uhbs_cli/__init__.py +3 -0
- uhbs-4.2.0/src/uhbs_cli/cli.py +227 -0
- uhbs-4.2.0/src/uhbs_cli/scoring.py +133 -0
- uhbs-4.2.0/src/uhbs_core/__init__.py +3 -0
- uhbs-4.2.0/src/uhbs_core/calculate_uhqs_v4.py +71 -0
- uhbs-4.2.0/src/uhbs_core/check_scoring.py +98 -0
- uhbs-4.2.0/src/uhbs_core/contract_validation.py +260 -0
- uhbs-4.2.0/src/uhbs_core/fingerprint.py +491 -0
- uhbs-4.2.0/src/uhbs_core/hassh.py +105 -0
- uhbs-4.2.0/src/uhbs_core/honeytoken.py +281 -0
- uhbs-4.2.0/src/uhbs_core/hqs.py +46 -0
- uhbs-4.2.0/src/uhbs_core/inventory.py +189 -0
- uhbs-4.2.0/src/uhbs_core/jitter.py +202 -0
- uhbs-4.2.0/src/uhbs_core/manifest.py +44 -0
- uhbs-4.2.0/src/uhbs_core/models.py +312 -0
- uhbs-4.2.0/src/uhbs_core/netutil.py +79 -0
- uhbs-4.2.0/src/uhbs_core/plugin_sdk.py +139 -0
- uhbs-4.2.0/src/uhbs_core/profiles/coverage/ot_modbus_coverage.txt +19 -0
- uhbs-4.2.0/src/uhbs_core/profiles/coverage/posix_commands.txt +105 -0
- uhbs-4.2.0/src/uhbs_core/profiles/low_interaction_ssh_signals.yaml +91 -0
- uhbs-4.2.0/src/uhbs_core/profiles/tps/genai_shell.yaml +14 -0
- uhbs-4.2.0/src/uhbs_core/profiles/tps/ics_modbus.yaml +14 -0
- uhbs-4.2.0/src/uhbs_core/profiles/tps/low_interaction.yaml +14 -0
- uhbs-4.2.0/src/uhbs_core/profiles/tps/low_interaction_ssh.yaml +16 -0
- uhbs-4.2.0/src/uhbs_core/profiles/tps/mcp_server.yaml +14 -0
- uhbs-4.2.0/src/uhbs_core/profiles/tps/multi_protocol_it.yaml +14 -0
- uhbs-4.2.0/src/uhbs_core/profiles/tps/posix_shell_ssh.yaml +15 -0
- uhbs-4.2.0/src/uhbs_core/profiles/tps/web_api.yaml +14 -0
- uhbs-4.2.0/src/uhbs_core/protocols/__init__.py +5 -0
- uhbs-4.2.0/src/uhbs_core/protocols/base.py +200 -0
- uhbs-4.2.0/src/uhbs_core/protocols/ftp.py +155 -0
- uhbs-4.2.0/src/uhbs_core/protocols/generic.py +53 -0
- uhbs-4.2.0/src/uhbs_core/protocols/git.py +134 -0
- uhbs-4.2.0/src/uhbs_core/protocols/http.py +63 -0
- uhbs-4.2.0/src/uhbs_core/protocols/mcp.py +659 -0
- uhbs-4.2.0/src/uhbs_core/protocols/mcp_jsonrpc.py +281 -0
- uhbs-4.2.0/src/uhbs_core/protocols/modbus.py +259 -0
- uhbs-4.2.0/src/uhbs_core/protocols/mysql.py +111 -0
- uhbs-4.2.0/src/uhbs_core/protocols/ntp.py +65 -0
- uhbs-4.2.0/src/uhbs_core/protocols/rdp.py +142 -0
- uhbs-4.2.0/src/uhbs_core/protocols/redis.py +87 -0
- uhbs-4.2.0/src/uhbs_core/protocols/registry.py +155 -0
- uhbs-4.2.0/src/uhbs_core/protocols/sip.py +60 -0
- uhbs-4.2.0/src/uhbs_core/protocols/smb.py +266 -0
- uhbs-4.2.0/src/uhbs_core/protocols/smtp.py +62 -0
- uhbs-4.2.0/src/uhbs_core/protocols/snmp.py +89 -0
- uhbs-4.2.0/src/uhbs_core/protocols/ssh.py +421 -0
- uhbs-4.2.0/src/uhbs_core/protocols/telnet.py +170 -0
- uhbs-4.2.0/src/uhbs_core/protocols/tftp.py +64 -0
- uhbs-4.2.0/src/uhbs_core/protocols/udp_base.py +198 -0
- uhbs-4.2.0/src/uhbs_core/protocols/vnc.py +114 -0
- uhbs-4.2.0/src/uhbs_core/report.py +153 -0
- uhbs-4.2.0/src/uhbs_core/rfc_probes.py +457 -0
- uhbs-4.2.0/src/uhbs_core/run_benchmark.py +392 -0
- uhbs-4.2.0/src/uhbs_core/sandbox_preflight.py +127 -0
- uhbs-4.2.0/src/uhbs_core/source_scan.py +220 -0
- uhbs-4.2.0/src/uhbs_core/ssh_session.py +174 -0
- uhbs-4.2.0/src/uhbs_core/stats.py +67 -0
- uhbs-4.2.0/src/uhbs_core/test_realism.py +161 -0
- uhbs-4.2.0/src/uhbs_core/test_safety.py +336 -0
- uhbs-4.2.0/src/uhbs_core/test_scale.py +206 -0
- uhbs-4.2.0/src/uhbs_core/test_static_code.py +616 -0
- uhbs-4.2.0/src/uhbs_core/test_stealth.py +190 -0
- uhbs-4.2.0/src/uhbs_core/test_telemetry.py +364 -0
- uhbs-4.2.0/src/uhbs_core/tps.py +226 -0
- uhbs-4.2.0/src/uhbs_core/uhqs_math.py +186 -0
- uhbs-4.2.0/src/uhbs_mcp/__init__.py +5 -0
- uhbs-4.2.0/src/uhbs_mcp/__main__.py +6 -0
- uhbs-4.2.0/src/uhbs_mcp/paths.py +31 -0
- uhbs-4.2.0/src/uhbs_mcp/server.py +398 -0
- uhbs-4.2.0/tests/test_check_scoring.py +100 -0
- uhbs-4.2.0/tests/test_cli_integrity.py +163 -0
- uhbs-4.2.0/tests/test_conformance.py +77 -0
- uhbs-4.2.0/tests/test_contract_validation.py +144 -0
- uhbs-4.2.0/tests/test_entry_point_plugins.py +195 -0
- uhbs-4.2.0/tests/test_fingerprint.py +201 -0
- uhbs-4.2.0/tests/test_honeytoken.py +134 -0
- uhbs-4.2.0/tests/test_jitter.py +86 -0
- uhbs-4.2.0/tests/test_mcp.py +86 -0
- uhbs-4.2.0/tests/test_mcp_protocol.py +376 -0
- uhbs-4.2.0/tests/test_new_protocol_plugins.py +85 -0
- uhbs-4.2.0/tests/test_plugin_baseline_live.py +211 -0
- uhbs-4.2.0/tests/test_plugin_sdk.py +95 -0
- uhbs-4.2.0/tests/test_protocol_agnostic.py +103 -0
- uhbs-4.2.0/tests/test_scoring.py +41 -0
- uhbs-4.2.0/tests/test_scoring_scale_and_telemetry.py +94 -0
- uhbs-4.2.0/tests/test_ssh_shell_realism.py +136 -0
- uhbs-4.2.0/tests/test_uhbs_core.py +90 -0
uhbs-4.2.0/LICENSE
ADDED
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
+
the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
+
other entities that control, are controlled by, or are under common
|
|
17
|
+
control with that entity. For the purposes of this definition,
|
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
+
direction or management of such entity, whether by contract or
|
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
+
exercising permissions granted by this License.
|
|
25
|
+
|
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
+
including but not limited to software source code, documentation
|
|
28
|
+
source, and configuration files.
|
|
29
|
+
|
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
|
31
|
+
transformation or translation of a Source form, including but
|
|
32
|
+
not limited to compiled object code, generated documentation,
|
|
33
|
+
and conversions to other media types.
|
|
34
|
+
|
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
+
Object form, made available under the License, as indicated by a
|
|
37
|
+
copyright notice that is included in or attached to the work
|
|
38
|
+
(an example is provided in the Appendix below).
|
|
39
|
+
|
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
+
the Work and Derivative Works thereof.
|
|
47
|
+
|
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
|
49
|
+
the original version of the Work and any modifications or additions
|
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
+
|
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
+
subsequently incorporated within the Work.
|
|
65
|
+
|
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
|
72
|
+
|
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
+
where such license applies only to those patent claims licensable
|
|
79
|
+
by such Contributor that are necessarily infringed by their
|
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
+
institute patent litigation against any entity (including a
|
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
+
or contributory patent infringement, then any patent licenses
|
|
86
|
+
granted to You under this License for that Work shall terminate
|
|
87
|
+
as of the date such litigation is filed.
|
|
88
|
+
|
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
+
modifications, and in Source or Object form, provided that You
|
|
92
|
+
meet the following conditions:
|
|
93
|
+
|
|
94
|
+
(a) You must give any other recipients of the Work or
|
|
95
|
+
Derivative Works a copy of this License; and
|
|
96
|
+
|
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
|
98
|
+
stating that You changed the files; and
|
|
99
|
+
|
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
|
102
|
+
attribution notices from the Source form of the Work,
|
|
103
|
+
excluding those notices that do not pertain to any part of
|
|
104
|
+
the Derivative Works; and
|
|
105
|
+
|
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
|
108
|
+
include a readable copy of the attribution notices contained
|
|
109
|
+
within such NOTICE file, excluding those notices that do not
|
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
|
111
|
+
of the following places: within a NOTICE text file distributed
|
|
112
|
+
as part of the Derivative Works; within the Source form or
|
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
|
114
|
+
within a display generated by the Derivative Works, if and
|
|
115
|
+
wherever such third-party notices normally appear. The contents
|
|
116
|
+
of the NOTICE file are for informational purposes only and
|
|
117
|
+
do not modify the License. You may add Your own attribution
|
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
+
that such additional attribution notices cannot be construed
|
|
121
|
+
as modifying the License.
|
|
122
|
+
|
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
|
124
|
+
may provide additional or different license terms and conditions
|
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
+
the conditions stated in this License.
|
|
129
|
+
|
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
+
this License, without any additional terms or conditions.
|
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
+
the terms of any separate license agreement you may have executed
|
|
136
|
+
with Licensor regarding such Contributions.
|
|
137
|
+
|
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
+
except as required for reasonable and customary use in describing the
|
|
141
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
|
+
|
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
|
152
|
+
|
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
|
158
|
+
incidental, or consequential damages of any character arising as a
|
|
159
|
+
result of this License or out of the use or inability to use the
|
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
+
other commercial damages or losses), even if such Contributor
|
|
163
|
+
has been advised of the possibility of such damages.
|
|
164
|
+
|
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
|
+
or other liability obligations and/or rights consistent with this
|
|
169
|
+
License. However, in accepting such obligations, You may act only
|
|
170
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
+
defend, and hold each Contributor harmless for any liability
|
|
173
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
+
of your accepting any such warranty or additional liability.
|
|
175
|
+
|
|
176
|
+
END OF TERMS AND CONDITIONS
|
|
177
|
+
|
|
178
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
179
|
+
|
|
180
|
+
To apply the Apache License to your work, attach the following
|
|
181
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
182
|
+
replaced with your own identifying information. (Don't include
|
|
183
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
184
|
+
comment syntax for the file format. We also recommend that a
|
|
185
|
+
file or class name and description of purpose be included on the
|
|
186
|
+
same "printed page" as the copyright notice for easier
|
|
187
|
+
identification within third-party archives.
|
|
188
|
+
|
|
189
|
+
Copyright 2026 UHBS Project Contributors
|
|
190
|
+
|
|
191
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
|
+
you may not use this file except in compliance with the License.
|
|
193
|
+
You may obtain a copy of the License at
|
|
194
|
+
|
|
195
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
196
|
+
|
|
197
|
+
Unless required by applicable law or agreed to in writing, software
|
|
198
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
199
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
200
|
+
See the License for the specific language governing permissions and
|
|
201
|
+
limitations under the License.
|
uhbs-4.2.0/PKG-INFO
ADDED
|
@@ -0,0 +1,273 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: uhbs
|
|
3
|
+
Version: 4.2.0
|
|
4
|
+
Summary: Universal Honeypot Benchmarking Standard (UHBS) — validators and UHBS-Lab reference core
|
|
5
|
+
Author: Moran Zavdi
|
|
6
|
+
License-Expression: Apache-2.0
|
|
7
|
+
Project-URL: Homepage, https://github.com/mziqudhd92/uhbs-standard
|
|
8
|
+
Project-URL: Documentation, https://mziqudhd92.github.io/uhbs-standard/
|
|
9
|
+
Project-URL: Repository, https://github.com/mziqudhd92/uhbs-standard
|
|
10
|
+
Keywords: honeypot,benchmarking,cybersecurity,deception,uhbs,mcp,model-context-protocol
|
|
11
|
+
Classifier: Development Status :: 3 - Alpha
|
|
12
|
+
Classifier: Intended Audience :: Developers
|
|
13
|
+
Classifier: Intended Audience :: Information Technology
|
|
14
|
+
Classifier: Intended Audience :: Science/Research
|
|
15
|
+
Classifier: Topic :: Security
|
|
16
|
+
Classifier: Programming Language :: Python :: 3
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
20
|
+
Requires-Python: >=3.11
|
|
21
|
+
Description-Content-Type: text/markdown
|
|
22
|
+
License-File: LICENSE
|
|
23
|
+
Requires-Dist: jsonschema>=4.22
|
|
24
|
+
Requires-Dist: PyYAML>=6.0
|
|
25
|
+
Requires-Dist: click>=8.1
|
|
26
|
+
Provides-Extra: lab
|
|
27
|
+
Requires-Dist: paramiko>=3.0; extra == "lab"
|
|
28
|
+
Provides-Extra: mcp
|
|
29
|
+
Requires-Dist: mcp<2,>=1.28; extra == "mcp"
|
|
30
|
+
Provides-Extra: scapy
|
|
31
|
+
Requires-Dist: scapy<3,>=2.7; extra == "scapy"
|
|
32
|
+
Provides-Extra: dev
|
|
33
|
+
Requires-Dist: pytest>=8.0; extra == "dev"
|
|
34
|
+
Requires-Dist: ruff>=0.5; extra == "dev"
|
|
35
|
+
Requires-Dist: mypy>=1.10; extra == "dev"
|
|
36
|
+
Requires-Dist: paramiko>=3.0; extra == "dev"
|
|
37
|
+
Requires-Dist: mcp<2,>=1.28; extra == "dev"
|
|
38
|
+
Dynamic: license-file
|
|
39
|
+
|
|
40
|
+
# Universal Honeypot Benchmarking Standard (UHBS)
|
|
41
|
+
|
|
42
|
+
[](https://github.com/mziqudhd92/uhbs-standard/actions/workflows/ci-validate.yml)
|
|
43
|
+
[](https://mziqudhd92.github.io/uhbs-standard/)
|
|
44
|
+
[](https://github.com/mziqudhd92/uhbs-standard/actions/workflows/codeql-analysis.yml)
|
|
45
|
+
[](https://doi.org/10.5281/zenodo.21631156)
|
|
46
|
+
[](LICENSE)
|
|
47
|
+
[](docs/specification/core-principles.md)
|
|
48
|
+
[](docs/specification/scoring-formula.md)
|
|
49
|
+
|
|
50
|
+
> An objective, repeatable, quantitative methodology for deception technology evaluation — a **personal open-source beta framework** for comparing and grading honeypots and decoy systems by class and protocol.
|
|
51
|
+
|
|
52
|
+
**UHBS v4.2.0** is a protocol-agnostic, **vendor-neutral** evaluation framework for measuring deception realism, safety containment, operational scale, and telemetry quality. It is **not** an industry consortium standard or multi-party governed body — see [ROADMAP.md](ROADMAP.md) for what maturity would require.
|
|
53
|
+
|
|
54
|
+
## Project status
|
|
55
|
+
|
|
56
|
+
**Status:** Beta / Experimental · personal project ([specification status](docs/specification/status.md)).
|
|
57
|
+
|
|
58
|
+
- **Author / maintainer:** [@mziqudhd92](https://github.com/mziqudhd92) — see [MAINTAINERS.md](MAINTAINERS.md)
|
|
59
|
+
- **Governance claims:** no Steering Committee, no independent adopter list yet — those are [roadmap goals](ROADMAP.md#phase-6--community-maturity-aspirational--not-done)
|
|
60
|
+
- **Suggested use:** organizations **MAY** use the Production Baseline Profile (**UHQS > 80** + passing Safety Gate) as an *internal* evaluation gate; that is a recommendation in the beta, not a mandate from any standards body
|
|
61
|
+
|
|
62
|
+
## Why UHBS?
|
|
63
|
+
|
|
64
|
+
| Pillar | What it delivers |
|
|
65
|
+
| --- | --- |
|
|
66
|
+
| **Protocol-Agnostic** | Architecture-neutral testing across IT, OT/ICS, AI, and Cloud |
|
|
67
|
+
| **Vendor-Neutral** | Class- and protocol-based evaluation — no product or brand endorsements |
|
|
68
|
+
| **Quantitative Scoring** | Normalized **UHQS 0–100** composite with a non-linear Safety Gate |
|
|
69
|
+
| **Six Evaluation Modules** | Modules A–F covering fidelity, behavior, telemetry, safety, scale, and audit |
|
|
70
|
+
| **Production Baseline** | **UHQS > 80** suggested as an internal gate (RECOMMENDED in the beta) |
|
|
71
|
+
|
|
72
|
+
> **Vendor-neutral** beta framework: compare any deception by class and protocol.
|
|
73
|
+
> UHBS-Lab harness: `pip install -e '.[lab]'` → `uhbs-lab` / `uhbs lab`.
|
|
74
|
+
> Named product proof lives only under [conformance fixtures](docs/conformance/index.md).
|
|
75
|
+
> Maturity goals (committee, adopters, neutral org): [ROADMAP.md](ROADMAP.md).
|
|
76
|
+
|
|
77
|
+
## Quickstart
|
|
78
|
+
|
|
79
|
+
Validate a honeypot against a Target Profile Specification (`profile.yaml`) in three steps:
|
|
80
|
+
|
|
81
|
+
```bash
|
|
82
|
+
# 1. Install the CLI (add [lab] for the Modules A–F harness)
|
|
83
|
+
pip install -e ".[lab]"
|
|
84
|
+
|
|
85
|
+
# 2. Create or adapt a target profile
|
|
86
|
+
cp templates/profile.yaml ./my-honeypot.profile.yaml
|
|
87
|
+
|
|
88
|
+
# 3. Validate the profile against the official schema
|
|
89
|
+
uhbs validate-profile my-honeypot.profile.yaml
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
Run a full scorecard validation once your audit harness produces results:
|
|
93
|
+
|
|
94
|
+
```bash
|
|
95
|
+
uhbs validate-scorecard path/to/scorecard.json
|
|
96
|
+
uhbs score --profile my-honeypot.profile.yaml --scores scores.json
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
### MCP (AI hosts — Cursor, Claude, VS Code, …)
|
|
100
|
+
|
|
101
|
+
Install the optional MCP extra so agents can call validators / UHQS scoring over
|
|
102
|
+
the [Model Context Protocol](https://modelcontextprotocol.io/) (local stdio):
|
|
103
|
+
|
|
104
|
+
```bash
|
|
105
|
+
pip install -e ".[mcp]"
|
|
106
|
+
# Configure your host — see docs/tooling/mcp.md
|
|
107
|
+
# Cursor / Claude example uses: python -m uhbs_mcp (set UHBS_ROOT to this checkout)
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
Registry metadata: [`server.json`](server.json). Live Docker lab probes stay on the CLI (`uhbs lab`), not MCP.
|
|
111
|
+
|
|
112
|
+
### MCP honeypot grading (`uhbs[lab]`)
|
|
113
|
+
|
|
114
|
+
Grade network-facing MCP decoys (JSON-RPC over HTTP/SSE) with the in-tree `mcp` protocol plugin — distinct from the AI-host MCP server above:
|
|
115
|
+
|
|
116
|
+
```bash
|
|
117
|
+
pip install -e ".[lab]"
|
|
118
|
+
uhbs-lab --list-protocols # includes mcp
|
|
119
|
+
uhbs-lab \
|
|
120
|
+
--inventory docs/conformance/labs/beelzebub/inventory.yaml \
|
|
121
|
+
--target beelzebub-mcp \
|
|
122
|
+
--tps docs/conformance/labs/beelzebub/web_api_mcp_quick.yaml \
|
|
123
|
+
--protocol mcp \
|
|
124
|
+
--out ./reports/mcp
|
|
125
|
+
```
|
|
126
|
+
|
|
127
|
+
Details: [docs/architecture/mcp-honeypot-grading.md](docs/architecture/mcp-honeypot-grading.md).
|
|
128
|
+
|
|
129
|
+
### Docker (grade without a local Python install)
|
|
130
|
+
|
|
131
|
+
Build the grading image (CLI + UHBS-Lab harness):
|
|
132
|
+
|
|
133
|
+
```bash
|
|
134
|
+
docker build -t uhbs:4.2.0 .
|
|
135
|
+
# or: docker compose build
|
|
136
|
+
```
|
|
137
|
+
|
|
138
|
+
Mount your working directory at `/work` and pass the same `uhbs` commands:
|
|
139
|
+
|
|
140
|
+
```bash
|
|
141
|
+
# Validate a scorecard on disk
|
|
142
|
+
docker run --rm -v "$PWD:/work" -w /work uhbs:4.2.0 \
|
|
143
|
+
validate-scorecard ./docs/conformance/fixtures/cowrie-low-interaction.scorecard.json
|
|
144
|
+
|
|
145
|
+
# Compute UHQS from module scores
|
|
146
|
+
docker run --rm -v "$PWD:/work" -w /work uhbs:4.2.0 \
|
|
147
|
+
score --class Low-Interaction --scores ./scores.json
|
|
148
|
+
|
|
149
|
+
# List protocol plugins / run a lab probe against a reachable honeypot
|
|
150
|
+
docker run --rm -v "$PWD:/work" -w /work uhbs:4.2.0 lab --list-protocols
|
|
151
|
+
docker run --rm -v "$PWD:/work" -w /work \
|
|
152
|
+
-e UHBS_QUICK=1 -e UHBS_AIRGAP_ATTESTED=1 \
|
|
153
|
+
uhbs:4.2.0 lab \
|
|
154
|
+
--tps low_interaction \
|
|
155
|
+
--protocol ssh \
|
|
156
|
+
--target host.docker.internal --port 2222 \
|
|
157
|
+
--source-root /work \
|
|
158
|
+
--phases profile,static,dynamic,score \
|
|
159
|
+
--quick \
|
|
160
|
+
--out /work/.local/bench-reports/my-target
|
|
161
|
+
```
|
|
162
|
+
|
|
163
|
+
Compose shorthand: `docker compose run --rm uhbs validate-profile ./my-honeypot.profile.yaml`.
|
|
164
|
+
|
|
165
|
+
Documentation site: **[https://mziqudhd92.github.io/uhbs-standard/](https://mziqudhd92.github.io/uhbs-standard/)** (landing hub) · **[docs / MkDocs](https://mziqudhd92.github.io/uhbs-standard/mkdocs/)**
|
|
166
|
+
Maturity roadmap: **[ROADMAP.md](ROADMAP.md)** · Reference harness: **[docs/reference-implementation.md](docs/reference-implementation.md)** · CLI guide: **[docs/tooling/cli.md](docs/tooling/cli.md)**
|
|
167
|
+
|
|
168
|
+
### Discovery for search & AI agents (SEO / AEO / GEO)
|
|
169
|
+
|
|
170
|
+
| File | Purpose |
|
|
171
|
+
| --- | --- |
|
|
172
|
+
| [llms.txt](llms.txt) (repo) · [site llms.txt](https://mziqudhd92.github.io/uhbs-standard/llms.txt) | Curated index for coding / answer agents |
|
|
173
|
+
| [AGENTS.md](AGENTS.md) | Rules for assistants editing this repo |
|
|
174
|
+
| [CITATION.cff](CITATION.cff) | Formal citation metadata |
|
|
175
|
+
| Site [robots.txt](https://mziqudhd92.github.io/uhbs-standard/robots.txt) · [sitemap.xml](https://mziqudhd92.github.io/uhbs-standard/mkdocs/sitemap.xml) | Crawler hints |
|
|
176
|
+
|
|
177
|
+
## Scoring Summary (UHQS 4.2.0)
|
|
178
|
+
|
|
179
|
+
The **Universal Honeypot Quality Score (UHQS)** is a normalized composite from **0 to 100**:
|
|
180
|
+
|
|
181
|
+
\[
|
|
182
|
+
\mathrm{UHQS} = \delta_C \cdot (w_A S_A + w_B S_B + w_C S_C + w_E S_E + w_F S_F)
|
|
183
|
+
\]
|
|
184
|
+
|
|
185
|
+
- \(S_A \ldots S_F\) — normalized module scores (0–100)
|
|
186
|
+
- \(w_A \ldots w_F\) — profile-adaptive weights (sum to 1.00)
|
|
187
|
+
- \(\delta_C\) — **Safety Gate** from Module D (Containment):
|
|
188
|
+
\(\delta_C = 1.0\) if \(C \ge 95\); otherwise \(\delta_C = (C/100)^2\)
|
|
189
|
+
|
|
190
|
+
Production deployment requires **UHQS > 80** and a passing Safety Gate. A decoy with excellent deception scores can still fail evaluation if Module D falls below the gate. See [Scoring Formula](docs/specification/scoring-formula.md).
|
|
191
|
+
|
|
192
|
+
## Audit Workflow (5 Phases)
|
|
193
|
+
|
|
194
|
+
```text
|
|
195
|
+
┌─────────────┐ ┌─────────────┐ ┌─────────────┐ ┌─────────────┐ ┌─────────────┐
|
|
196
|
+
│ Phase 1 │──▶│ Phase 2 │──▶│ Phase 3 │──▶│ Phase 4 │──▶│ Phase 5 │
|
|
197
|
+
│ Profile & │ │ Static │ │ Sandbox │ │ Dynamic │ │ Score & │
|
|
198
|
+
│ Config │ │ Audit (F) │ │ Provision │ │ Modules A–E│ │ Report │
|
|
199
|
+
└─────────────┘ └─────────────┘ └─────────────┘ └─────────────┘ └─────────────┘
|
|
200
|
+
```
|
|
201
|
+
|
|
202
|
+
1. **Configuration & Profile Setup** — Define `profile.yaml`, protocol expectations, baselines
|
|
203
|
+
2. **Static Audit Execution** — Analyze repository, container build manifests, and system prompts
|
|
204
|
+
3. **Sandbox Environment Provisioning** — Isolated runtime with egress monitors
|
|
205
|
+
4. **Dynamic Adversarial Execution** — Modules A–E via automated harnesses
|
|
206
|
+
5. **Score Computation & Reporting** — Apply \(\delta_C\) and emit the standard scorecard
|
|
207
|
+
|
|
208
|
+
## Repository Layout
|
|
209
|
+
|
|
210
|
+
```text
|
|
211
|
+
uhbs-standard/
|
|
212
|
+
├── docs/ # Website + Docs-as-Code (MkDocs → GitHub Pages)
|
|
213
|
+
│ └── conformance/
|
|
214
|
+
│ ├── fixtures/ # Sanitized scorecard JSON
|
|
215
|
+
│ └── reports/ # Quick + full lab artifacts + tutorials (named proof)
|
|
216
|
+
├── schemas/ # JSON Schemas for profiles & scorecards
|
|
217
|
+
├── templates/ # Starter profile.yaml for framework users
|
|
218
|
+
├── src/uhbs_cli/ # Validation CLI
|
|
219
|
+
├── src/uhbs_core/ # UHBS-Lab reference harness
|
|
220
|
+
├── Dockerfile # Grading image (uhbs CLI + lab)
|
|
221
|
+
├── Dockerfile.full # Grading image + Module F SAST tools
|
|
222
|
+
├── docker-compose.yml # Mount-cwd helper for the grading image
|
|
223
|
+
├── GOVERNANCE.md # Project notes (personal maintainer; not a committee)
|
|
224
|
+
├── SECURITY.md # Vulnerability disclosure policy
|
|
225
|
+
└── CITATION.cff # Citation metadata
|
|
226
|
+
```
|
|
227
|
+
|
|
228
|
+
## Modules at a Glance
|
|
229
|
+
|
|
230
|
+
| Module | Focus |
|
|
231
|
+
| --- | --- |
|
|
232
|
+
| **A** | Protocol & Syntax Fidelity |
|
|
233
|
+
| **B** | Behavioral & Stateful Realism |
|
|
234
|
+
| **C** | Telemetry Quality & Pipeline Resilience |
|
|
235
|
+
| **D** | Safety, Containment & Boundary Controls (**Safety Gate**) |
|
|
236
|
+
| **E** | Scalability, Latency & Stress Performance |
|
|
237
|
+
| **F** | White-Box Static Code Audit |
|
|
238
|
+
|
|
239
|
+
## Embed Your Grade
|
|
240
|
+
|
|
241
|
+
After publishing an official scorecard, maintainers can embed:
|
|
242
|
+
|
|
243
|
+
```markdown
|
|
244
|
+

|
|
245
|
+
```
|
|
246
|
+
|
|
247
|
+
## Contributing
|
|
248
|
+
|
|
249
|
+
Please read [CONTRIBUTING.md](CONTRIBUTING.md) and [GOVERNANCE.md](GOVERNANCE.md). Specification changes go through an **RFC** process. By contributing, you agree to the [Developer Certificate of Origin (DCO)](https://developercertificate.org/) (sign-off required on commits).
|
|
250
|
+
|
|
251
|
+
## Citation
|
|
252
|
+
|
|
253
|
+
```bibtex
|
|
254
|
+
@software{uhbs2026,
|
|
255
|
+
author = {Zavdi, Moran},
|
|
256
|
+
title = {Universal Honeypot Benchmarking Standard (UHBS)},
|
|
257
|
+
year = {2026},
|
|
258
|
+
version = {4.2.0},
|
|
259
|
+
publisher = {Zenodo},
|
|
260
|
+
doi = {10.5281/zenodo.21631156},
|
|
261
|
+
url = {https://doi.org/10.5281/zenodo.21631156}
|
|
262
|
+
}
|
|
263
|
+
```
|
|
264
|
+
|
|
265
|
+
Or use the machine-readable [`CITATION.cff`](CITATION.cff). Concept DOI (always resolves to the latest deposit): [10.5281/zenodo.21631155](https://doi.org/10.5281/zenodo.21631155).
|
|
266
|
+
|
|
267
|
+
## License
|
|
268
|
+
|
|
269
|
+
Licensed under the [Apache License 2.0](LICENSE).
|
|
270
|
+
|
|
271
|
+
---
|
|
272
|
+
|
|
273
|
+
An objective, repeatable, quantitative methodology for deception technology evaluation — providing cybersecurity professionals with a non-biased baseline for comparing and grading honeypots and decoy systems.
|