nightly: refresh public-CVE cut (automated; release-cert passing)
Browse files- README.md +68 -62
- __pycache__/predict.cpython-313.pyc +0 -0
- example_records.json +40 -40
- model.joblib +2 -2
README.md
CHANGED
|
@@ -34,65 +34,75 @@ perimeter*.
|
|
| 34 |
Given the network-layer signal of a short capture window against a blockchain node (packet-rate /
|
| 35 |
size statistics from the pcap, and amplification / request-response / timing statistics from the RPC
|
| 36 |
responses), the model emits a calibrated attack probability. It is one multi-family model over the
|
| 37 |
-
`network-v1` feature manifold — it spans
|
| 38 |
-
|
| 39 |
|
| 40 |
## Architecture
|
| 41 |
|
| 42 |
- `HistGradientBoostingClassifier` + isotonic calibration (scikit-learn), NaN-native.
|
| 43 |
-
-
|
| 44 |
-
|
| 45 |
-
(the containerised lab node is root-owned, so CPU/connection host metrics are unreadable).
|
| 46 |
- Decision threshold 0.5 (calibrated). Inference is **scoreability-gated**: a record with no network
|
| 47 |
signal (e.g. an economic/DeFi bundle) returns `scoreable=False` with no verdict.
|
| 48 |
|
| 49 |
-
## Training data —
|
| 50 |
|
| 51 |
-
**This is the public-CVE cut** (`public-cve-replication` only):
|
| 52 |
-
(`pcap + responses + manifest`),
|
| 53 |
-
methods / wire messages** the attacks abuse, at normal scale — so the model
|
| 54 |
-
from benign-*use*, not message type. Every attack reproduces an external public
|
| 55 |
-
|
| 56 |
-
|
| 57 |
-
|
| 58 |
-
|
| 59 |
|
| 60 |
| primitive | chain · layer | public source | source_class |
|
| 61 |
|---|---|---|---|
|
| 62 |
-
| `
|
| 63 |
-
| `
|
| 64 |
-
| `
|
| 65 |
-
| `
|
| 66 |
-
| `
|
| 67 |
-
| `
|
| 68 |
-
| `
|
| 69 |
-
| `
|
| 70 |
-
| `
|
| 71 |
-
| `
|
| 72 |
-
| `
|
| 73 |
-
| `
|
| 74 |
-
| `
|
| 75 |
-
| `
|
| 76 |
-
| `
|
| 77 |
-
| `
|
| 78 |
-
| `
|
| 79 |
-
| `
|
| 80 |
-
| `
|
| 81 |
-
| `
|
| 82 |
-
| `p2p_getheaders_drain`
|
| 83 |
-
| `
|
| 84 |
-
| `
|
| 85 |
-
| `
|
| 86 |
-
| `
|
| 87 |
-
| `
|
| 88 |
-
| `
|
| 89 |
-
| `
|
| 90 |
-
|
| 91 |
-
|
| 92 |
-
|
| 93 |
-
|
| 94 |
-
|
| 95 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 96 |
|
| 97 |
## Training procedure (methodology is the contribution)
|
| 98 |
|
|
@@ -100,18 +110,17 @@ Per NullRabbit's pre-registration discipline: the corpus is built attack-by-atta
|
|
| 100 |
disclosure with `provenance.public_source`; a Cleanlab data-quality scan gates label-issues and
|
| 101 |
duplicates before training; a methodology auditor reviews each gate event with sanity floors and
|
| 102 |
falsification holdouts; honest limitations are stated; cycles — not the final number — are the
|
| 103 |
-
contribution. This
|
| 104 |
-
|
| 105 |
|
| 106 |
## Evaluation
|
| 107 |
|
| 108 |
Diagnostic ML checks (the corpus of faithfully-modelled public attacks is the deliverable; these are
|
| 109 |
secondary). Reproduced by `scripts/known_class_loco_eval.py` + `scripts/corpus_quality.py`.
|
| 110 |
|
| 111 |
-
- **
|
| 112 |
-
- **
|
| 113 |
-
- **Leave-one-attack-primitive-out within Bitcoin (
|
| 114 |
-
- **Leave-one-chain-out — binary attack-vs-benign ROC-AUC (HARD zero-shot transfer, *not* a deployment metric):** Cosmos / Ethereum / Litecoin 1.00, Dogecoin 0.995, Bitcoin 0.934, libp2p 0.844, Solana 0.688, Sui 0.661, **Monero 0.592**. Note this is the *easier* binary (attack-vs-benign) signal: the companion [`nr-bundles-public`](https://huggingface.co/datasets/NullRabbit/nr-bundles-public) dataset card reports the *stricter* held-out-chain **7-class family macro-F1 of 0.17 (Sui) / 0.35 (Solana)** against a ~0.14 random floor — i.e. cross-chain *family recovery* does not transfer yet. Chains with few public-CVE primitives (Monero's unique Levin protocol; Sui/Solana with 3 each) have the fewest cross-chain near-neighbours. Cross-chain transfer is a hard, open problem here — reported honestly, not a deployment claim.
|
| 115 |
|
| 116 |
## Intended uses
|
| 117 |
|
|
@@ -126,10 +135,9 @@ worked, public-provenance reference corpus; downstream training. **Not** a turnk
|
|
| 126 |
semantics — adequate for these volumetric/crash DoS classes; it would not separate two attacks with
|
| 127 |
identical traffic profiles.
|
| 128 |
- **No host-load features** (root-owned container).
|
| 129 |
-
- **This is the public-CVE cut** — every shipped attack class reproduces an external public disclosure
|
| 130 |
-
|
| 131 |
-
|
| 132 |
-
model; they exist in the full internal corpus and ship only on explicit operator opt-in.
|
| 133 |
|
| 134 |
## How to use
|
| 135 |
|
|
@@ -140,8 +148,7 @@ out = predict(model, [{"pcap.packet_rate": 850.0, "resp.amp_ratio_max": 224.0}])
|
|
| 140 |
# -> [{"scoreable": True, "score": ..., "verdict": "attack"|"benign", "threshold": 0.5}]
|
| 141 |
```
|
| 142 |
|
| 143 |
-
Run `python inference_example.py` for a worked example on real captured vectors
|
| 144 |
-
attacks fire; benign Bitcoin peer is benign; an economic bundle is `scoreable=False`).
|
| 145 |
|
| 146 |
## Licensing
|
| 147 |
|
|
@@ -160,8 +167,7 @@ Apache-2.0 (see `LICENSE`). Attribution appreciated.
|
|
| 160 |
|
| 161 |
Related: the open **bundle format** (`nr-bundle-spec`), the **family taxonomy** (mechanism-defined),
|
| 162 |
the **earned-autonomy framework** ([Zenodo 10.5281/zenodo.18406828](https://doi.org/10.5281/zenodo.18406828)),
|
| 163 |
-
the
|
| 164 |
-
[nullrabbit.ai](https://nullrabbit.ai).
|
| 165 |
|
| 166 |
## Contact
|
| 167 |
|
|
|
|
| 34 |
Given the network-layer signal of a short capture window against a blockchain node (packet-rate /
|
| 35 |
size statistics from the pcap, and amplification / request-response / timing statistics from the RPC
|
| 36 |
responses), the model emits a calibrated attack probability. It is one multi-family model over the
|
| 37 |
+
`network-v1` feature manifold — it spans 9 chains, all public-sourced (this published cut is
|
| 38 |
+
trained on `public-cve-replication` primitives only).
|
| 39 |
|
| 40 |
## Architecture
|
| 41 |
|
| 42 |
- `HistGradientBoostingClassifier` + isotonic calibration (scikit-learn), NaN-native.
|
| 43 |
+
- pcap aggregates + RPC-response aggregates, degenerate columns dropped by a per-fit robust-column
|
| 44 |
+
guard. No host-load features (the containerised lab node is root-owned, so host metrics are unreadable).
|
|
|
|
| 45 |
- Decision threshold 0.5 (calibrated). Inference is **scoreability-gated**: a record with no network
|
| 46 |
signal (e.g. an economic/DeFi bundle) returns `scoreable=False` with no verdict.
|
| 47 |
|
| 48 |
+
## Training data — 40 public-CVE attack primitives, 9 chains, 1262 bundles
|
| 49 |
|
| 50 |
+
**This is the public-CVE cut** (`public-cve-replication` only): 850 attack + 412 benign
|
| 51 |
+
bundles (`pcap + responses + manifest`), 46 chain×primitive instances. Benign traffic
|
| 52 |
+
exercises the **same methods / wire messages** the attacks abuse, at normal scale — so the model
|
| 53 |
+
separates attack-*use* from benign-*use*, not message type. Every attack reproduces an external public
|
| 54 |
+
disclosure with a `provenance.public_source` URL. (0 `original` primitives — NullRabbit's own
|
| 55 |
+
measurement of vendor-acknowledged RPC amplification, for which no CVE exists — are held in the full
|
| 56 |
+
corpus but **excluded from this published cut**, so the "trained entirely on public disclosures" claim
|
| 57 |
+
above is literal.)
|
| 58 |
|
| 59 |
| primitive | chain · layer | public source | source_class |
|
| 60 |
|---|---|---|---|
|
| 61 |
+
| `btc_addr_overflow_flood` | Bitcoin / Dogecoin / Litecoin · p2p | [CVE-2024-52919](https://bitcoincore.org/en/2025/04/28/disclose-cve-2024-52919/) | public-cve-replication |
|
| 62 |
+
| `btc_alert_flood` | Bitcoin · p2p | [CVE-2016-10724](https://nvd.nist.gov/vuln/detail/CVE-2016-10724) | public-cve-replication |
|
| 63 |
+
| `btc_blocktxn_double_fillblock` | Bitcoin · p2p | [CVE-2024-35202](https://bitcoincore.org/en/2024/10/08/disclose-blocktxn-crash/) | public-cve-replication |
|
| 64 |
+
| `btc_bloom_divzero` | Bitcoin · p2p | [CVE-2013-5700](https://nvd.nist.gov/vuln/detail/CVE-2013-5700) | public-cve-replication |
|
| 65 |
+
| `btc_cmpctblock_overflow` | Bitcoin · p2p | [CVE-2025-46597](https://bitcoincore.org/en/2025/10/24/disclose-cve-2025-46597/) | public-cve-replication |
|
| 66 |
+
| `btc_cmpctblock_stall` | Bitcoin · p2p | [CVE-2024-52922](https://bitcoincore.org/en/2024/11/05/cb-stall-hindering-propagation/) | public-cve-replication |
|
| 67 |
+
| `btc_getdata_flood` | Bitcoin · p2p | [CVE-2024-52920](https://bitcoincore.org/en/2024/07/03/disclose-getdata-cpu/) | public-cve-replication |
|
| 68 |
+
| `btc_headers_genesis_spam` | Bitcoin · p2p | [CVE-2024-52916](https://bitcoincore.org/en/2024/07/03/disclose-header-spam/) | public-cve-replication |
|
| 69 |
+
| `btc_headers_oom` | Bitcoin · p2p | [CVE-2019-25220](https://bitcoincore.org/en/2024/09/18/disclose-headers-oom/) | public-cve-replication |
|
| 70 |
+
| `btc_inv_buffer_blowup` | Bitcoin · p2p | [CVE-2024-52915](https://bitcoincore.org/en/2024/07/03/disclose-inv-buffer-blowup/) | public-cve-replication |
|
| 71 |
+
| `btc_inv_eviction_jam` | Bitcoin · p2p | [CVE-2024-52913](https://bitcoincore.org/en/2024/07/03/disclose_already_asked_for/) | public-cve-replication |
|
| 72 |
+
| `btc_invalid_block_logfill` | Bitcoin · p2p | [CVE-2025-54605](https://bitcoincore.org/en/2025/10/24/disclose-cve-2025-54605/) | public-cve-replication |
|
| 73 |
+
| `btc_invdos_flood` | Bitcoin · p2p | [CVE-2018-17145](https://invdos.net/) | public-cve-replication |
|
| 74 |
+
| `btc_mutated_block` | Bitcoin · p2p | [CVE-2024-52921](https://bitcoincore.org/en/2024/10/08/disclose-mutated-blocks-hindering-propagation/) | public-cve-replication |
|
| 75 |
+
| `btc_orphan_cpu` | Bitcoin / Dogecoin / Litecoin · p2p | [CVE-2024-52914](https://bitcoincore.org/en/2024/07/03/disclose-orphan-dos/) | public-cve-replication |
|
| 76 |
+
| `btc_oversized_recv_buffer` | Bitcoin · p2p | [CVE-2015-3641](https://bitcoincore.org/en/2024/07/03/disclose_receive_buffer_oom/) | public-cve-replication |
|
| 77 |
+
| `btc_tx_maprelay` | Bitcoin · p2p | [CVE-2013-4627](https://nvd.nist.gov/vuln/detail/CVE-2013-4627) | public-cve-replication |
|
| 78 |
+
| `btc_tx_quad_sighash` | Bitcoin · p2p | [CVE-2025-46598](https://bitcoincore.org/en/2025/10/24/disclose-cve-2025-46598/) | public-cve-replication |
|
| 79 |
+
| `btc_version_selfnonce` | Bitcoin · p2p | [CVE-2025-54604](https://bitcoincore.org/en/2025/10/24/disclose-cve-2025-54604/) | public-cve-replication |
|
| 80 |
+
| `btc_version_timestamp_overflow` | Bitcoin · p2p | [CVE-2024-52912](https://bitcoincore.org/en/2024/07/03/disclose-timestamp-overflow/) | public-cve-replication |
|
| 81 |
+
| `p2p_getheaders_drain` | Bitcoin / Dogecoin / Litecoin · p2p | [CVE-2023-33297](https://nvd.nist.gov/vuln/detail/CVE-2023-33297) | public-cve-replication |
|
| 82 |
+
| `cosmos_p2p_conn_flood` | Cosmos · tcp-p2p-conn-flood | [CVE-2020-5303](https://github.com/tendermint/tendermint/security/advisories/GHSA-v24h-pjjv-mcp6) | public-cve-replication |
|
| 83 |
+
| `cosmos_protobuf_nest_bomb` | Cosmos · rpc-broadcast-tx | [GHSA-8wcc-m6j2-qxvm](https://github.com/cosmos/cosmos-sdk/security/advisories/GHSA-8wcc-m6j2-qxvm) | public-cve-replication |
|
| 84 |
+
| `geth_devp2p_ping_flood` | Ethereum · devp2p-rlpx | [CVE-2023-40591](https://github.com/ethereum/go-ethereum/security/advisories/GHSA-ppjg-v974-84cm) | public-cve-replication |
|
| 85 |
+
| `geth_eth_receipt_flood` | Ethereum · devp2p-rlpx | [EL-2024-20](https://reports.immunefi.com/ethereum-protocol-or-attackathon/37466-bc-medium-evil-client-oom-crash-fast-p2p-crash) | public-cve-replication |
|
| 86 |
+
| `geth_rlpx_auth_flood` | Ethereum · devp2p-rlpx | [EL-2026-06](https://notes.ethereum.org/gDWKW5RtSym02t2aGYkmSQ) | public-cve-replication |
|
| 87 |
+
| `geth_snap_trienode_dos` | Ethereum · devp2p-rlpx | [CVE-2021-41173](https://github.com/ethereum/go-ethereum/security/advisories/GHSA-59hh-656j-3p7v) | public-cve-replication |
|
| 88 |
+
| `geth_tcp_handshake_flood` | Ethereum · devp2p-rlpx | [EL-2024-06](https://reports.immunefi.com/ethereum-protocol-or-attackathon/37120-bc-insight-remote-handshake-based-tcp-30303-flooding-leads-to-an-out-of-memory-crash) | public-cve-replication |
|
| 89 |
+
| `monero_levin_array_memcorrupt` | Monero · levin-p2p | [CVE-2018-3972](https://www.talosintelligence.com/vulnerability_reports/TALOS-2018-0637) | public-cve-replication |
|
| 90 |
+
| `monero_portable_storage_oom` | Monero · levin-p2p | [PR#7190](https://github.com/monero-project/monero/pull/7190) | public-cve-replication |
|
| 91 |
+
| `sol_tpu_quic_handshake_flood` | Solana · tpu-quic | [ND-FD04-LO-01](https://neodyme.io/reports/Firedancer-v0.4.pdf) | public-cve-replication |
|
| 92 |
+
| `sol_tpu_quic_initial_cpu` | Solana · tpu-quic | [ND-FD1-MD-02](https://neodyme.io/reports/Firedancer.pdf) | public-cve-replication |
|
| 93 |
+
| `sol_tpu_quic_slowloris` | Solana · tpu-quic | [ND-FD04-IN-02](https://neodyme.io/reports/Firedancer-v0.4.pdf) | public-cve-replication |
|
| 94 |
+
| `sui_disassemble_panic` | Sui · json-rpc | [CertiK Skyfall](https://medium.com/certik-skyfall/blockchain-rpc-vulnerabilities-why-memory-safe-blockchain-rpc-nodes-are-not-panic-free-9fbb990115e0) | public-cve-replication |
|
| 95 |
+
| `sui_move_recursion` | Sui · json-rpc | [CVE-2023-36184](https://nvd.nist.gov/vuln/detail/CVE-2023-36184) | public-cve-replication |
|
| 96 |
+
| `sui_verifier_hamsterwheel` | Sui · json-rpc | [CertiK Skyfall HamsterWheel](https://medium.com/certik-skyfall/the-hamsterwheel-an-in-depth-exploration-of-a-novel-attack-vector-on-the-sui-blockchain-522f80623bc7) | public-cve-replication |
|
| 97 |
+
| `gossipsub_prune_backoff_overflow` | libp2p · libp2p-gossipsub | [CVE-2026-34219](https://github.com/libp2p/rust-libp2p/security/advisories/GHSA-xqmp-fxgv-xvq5) | public-cve-replication |
|
| 98 |
+
| `gossipsub_subscribe_flood` | libp2p · libp2p-gossipsub | [CVE-2026-46679](https://github.com/advisories/GHSA-4f8r-922h-2vgv) | public-cve-replication |
|
| 99 |
+
| `libp2p_signed_peer_record_flood` | libp2p · libp2p-gossipsub | [CVE-2023-40583](https://github.com/advisories/GHSA-gcq9-qqwx-rgj3) | public-cve-replication |
|
| 100 |
+
| `libp2p_stream_exhaustion` | libp2p · libp2p-gossipsub | [CVE-2022-23492](https://github.com/advisories/GHSA-j7qp-mfxf-8xjw) | public-cve-replication |
|
| 101 |
+
|
| 102 |
+
Distribution: **850** `public-cve-replication` attack bundles — **40 distinct primitives
|
| 103 |
+
across 9 chains** (Bitcoin, Cosmos, Dogecoin, Ethereum, libp2p, Litecoin, Monero, Solana, Sui) — plus **412** benign. This published cut contains
|
| 104 |
+
**no `original` bundles**; the `original` RPC-measurement primitives live in the full internal corpus
|
| 105 |
+
and ship only if the operator explicitly opts in, always under their honest label.
|
| 106 |
|
| 107 |
## Training procedure (methodology is the contribution)
|
| 108 |
|
|
|
|
| 110 |
disclosure with `provenance.public_source`; a Cleanlab data-quality scan gates label-issues and
|
| 111 |
duplicates before training; a methodology auditor reviews each gate event with sanity floors and
|
| 112 |
falsification holdouts; honest limitations are stated; cycles — not the final number — are the
|
| 113 |
+
contribution. This card + model are regenerated automatically from the cut on each training run, so
|
| 114 |
+
the numbers below always match the shipped model.
|
| 115 |
|
| 116 |
## Evaluation
|
| 117 |
|
| 118 |
Diagnostic ML checks (the corpus of faithfully-modelled public attacks is the deliverable; these are
|
| 119 |
secondary). Reproduced by `scripts/known_class_loco_eval.py` + `scripts/corpus_quality.py`.
|
| 120 |
|
| 121 |
+
- **Within-corpus held-out — binary attack-vs-benign ROC-AUC, GroupKFold by primitive: 0.8985.** `corpus_sha256 known-class-v10-publiccve`.
|
| 122 |
+
- **Leave-one-chain-out — binary ROC-AUC (HARD zero-shot transfer, *not* a deployment metric):** Cosmos 1.000 / Litecoin 1.000 / Dogecoin 0.997 / Ethereum 0.969 / Bitcoin 0.910 / Sui 0.779 / libp2p 0.762 / Solana 0.641 / Monero 0.631. Chains with few public-CVE primitives have the fewest cross-chain near-neighbours; the companion [`nr-bundles-public`](https://huggingface.co/datasets/NullRabbit/nr-bundles-public) dataset card reports the *stricter* held-out-chain 7-class family macro-F1 (0.17 Sui / 0.35 Solana vs ~0.14 floor). Reported honestly, not a deployment claim.
|
| 123 |
+
- **Leave-one-attack-primitive-out within Bitcoin (leak-clean disjoint-benign):** all Bitcoin primitives ≥ 0.997. Detection is on traffic *shape*, not deep wire-semantics.
|
|
|
|
| 124 |
|
| 125 |
## Intended uses
|
| 126 |
|
|
|
|
| 135 |
semantics — adequate for these volumetric/crash DoS classes; it would not separate two attacks with
|
| 136 |
identical traffic profiles.
|
| 137 |
- **No host-load features** (root-owned container).
|
| 138 |
+
- **This is the public-CVE cut** — every shipped attack class reproduces an external public disclosure.
|
| 139 |
+
The `original` RPC-amplification measurements (vendor-acknowledged but not CVE-backed) are **excluded**
|
| 140 |
+
from this model; they exist in the full internal corpus and ship only on explicit operator opt-in.
|
|
|
|
| 141 |
|
| 142 |
## How to use
|
| 143 |
|
|
|
|
| 148 |
# -> [{"scoreable": True, "score": ..., "verdict": "attack"|"benign", "threshold": 0.5}]
|
| 149 |
```
|
| 150 |
|
| 151 |
+
Run `python inference_example.py` for a worked example on real captured vectors.
|
|
|
|
| 152 |
|
| 153 |
## Licensing
|
| 154 |
|
|
|
|
| 167 |
|
| 168 |
Related: the open **bundle format** (`nr-bundle-spec`), the **family taxonomy** (mechanism-defined),
|
| 169 |
the **earned-autonomy framework** ([Zenodo 10.5281/zenodo.18406828](https://doi.org/10.5281/zenodo.18406828)),
|
| 170 |
+
the dataset `NullRabbit/nr-bundles-public`, and [nullrabbit.ai](https://nullrabbit.ai).
|
|
|
|
| 171 |
|
| 172 |
## Contact
|
| 173 |
|
__pycache__/predict.cpython-313.pyc
ADDED
|
Binary file (5.02 kB). View file
|
|
|
example_records.json
CHANGED
|
@@ -1,29 +1,29 @@
|
|
| 1 |
[
|
| 2 |
{
|
| 3 |
-
"label": "bitcoin:
|
| 4 |
"expect": "attack",
|
| 5 |
"feat": {
|
| 6 |
-
"pcap.bytes_per_s":
|
| 7 |
"pcap.distinct_dst_ips": 1.0,
|
| 8 |
-
"pcap.distinct_src_dst_pairs":
|
| 9 |
"pcap.distinct_src_ips": 1.0,
|
| 10 |
-
"pcap.duration_s":
|
| 11 |
-
"pcap.mean_packet_size":
|
| 12 |
-
"pcap.packet_count":
|
| 13 |
-
"pcap.packets_per_s":
|
| 14 |
-
"pcap.rst_fraction": 0.
|
| 15 |
-
"pcap.syn_to_handshake_ratio": 0.
|
| 16 |
-
"pcap.tcp_fin":
|
| 17 |
-
"pcap.tcp_handshake_ack":
|
| 18 |
-
"pcap.tcp_rst":
|
| 19 |
-
"pcap.tcp_syn":
|
| 20 |
-
"pcap.tcp_syn_ack":
|
| 21 |
-
"pcap.tcp_total_packets":
|
| 22 |
-
"pcap.top_dst_port":
|
| 23 |
-
"pcap.top_dst_port_fraction": 0.
|
| 24 |
-
"pcap.top_src_port":
|
| 25 |
-
"pcap.top_src_port_fraction": 0.
|
| 26 |
-
"pcap.total_bytes":
|
| 27 |
"pcap.unique_dst_ports": 5.0,
|
| 28 |
"pcap.unique_src_ports": 5.0,
|
| 29 |
"resp.count": 0.0,
|
|
@@ -62,30 +62,30 @@
|
|
| 62 |
}
|
| 63 |
},
|
| 64 |
{
|
| 65 |
-
"label": "bitcoin:
|
| 66 |
"expect": "benign",
|
| 67 |
"feat": {
|
| 68 |
-
"pcap.bytes_per_s":
|
| 69 |
"pcap.distinct_dst_ips": 1.0,
|
| 70 |
-
"pcap.distinct_src_dst_pairs":
|
| 71 |
"pcap.distinct_src_ips": 1.0,
|
| 72 |
-
"pcap.duration_s":
|
| 73 |
-
"pcap.mean_packet_size":
|
| 74 |
-
"pcap.packet_count":
|
| 75 |
-
"pcap.packets_per_s":
|
| 76 |
-
"pcap.rst_fraction": 0.
|
| 77 |
-
"pcap.syn_to_handshake_ratio": 0.
|
| 78 |
-
"pcap.tcp_fin":
|
| 79 |
-
"pcap.tcp_handshake_ack":
|
| 80 |
-
"pcap.tcp_rst":
|
| 81 |
-
"pcap.tcp_syn":
|
| 82 |
-
"pcap.tcp_syn_ack":
|
| 83 |
-
"pcap.tcp_total_packets":
|
| 84 |
-
"pcap.top_dst_port":
|
| 85 |
-
"pcap.top_dst_port_fraction": 0.
|
| 86 |
-
"pcap.top_src_port":
|
| 87 |
-
"pcap.top_src_port_fraction": 0.
|
| 88 |
-
"pcap.total_bytes":
|
| 89 |
"pcap.unique_dst_ports": 5.0,
|
| 90 |
"pcap.unique_src_ports": 5.0,
|
| 91 |
"resp.count": 0.0,
|
|
|
|
| 1 |
[
|
| 2 |
{
|
| 3 |
+
"label": "bitcoin:p2p_getheaders_drain",
|
| 4 |
"expect": "attack",
|
| 5 |
"feat": {
|
| 6 |
+
"pcap.bytes_per_s": 180355.703,
|
| 7 |
"pcap.distinct_dst_ips": 1.0,
|
| 8 |
+
"pcap.distinct_src_dst_pairs": 143.0,
|
| 9 |
"pcap.distinct_src_ips": 1.0,
|
| 10 |
+
"pcap.duration_s": 3.809,
|
| 11 |
+
"pcap.mean_packet_size": 134.749,
|
| 12 |
+
"pcap.packet_count": 5098.0,
|
| 13 |
+
"pcap.packets_per_s": 1338.461,
|
| 14 |
+
"pcap.rst_fraction": 0.041,
|
| 15 |
+
"pcap.syn_to_handshake_ratio": 0.526,
|
| 16 |
+
"pcap.tcp_fin": 0.0,
|
| 17 |
+
"pcap.tcp_handshake_ack": 540.0,
|
| 18 |
+
"pcap.tcp_rst": 208.0,
|
| 19 |
+
"pcap.tcp_syn": 284.0,
|
| 20 |
+
"pcap.tcp_syn_ack": 142.0,
|
| 21 |
+
"pcap.tcp_total_packets": 5098.0,
|
| 22 |
+
"pcap.top_dst_port": 48787.0,
|
| 23 |
+
"pcap.top_dst_port_fraction": 0.508,
|
| 24 |
+
"pcap.top_src_port": 48787.0,
|
| 25 |
+
"pcap.top_src_port_fraction": 0.492,
|
| 26 |
+
"pcap.total_bytes": 686948.0,
|
| 27 |
"pcap.unique_dst_ports": 5.0,
|
| 28 |
"pcap.unique_src_ports": 5.0,
|
| 29 |
"resp.count": 0.0,
|
|
|
|
| 62 |
}
|
| 63 |
},
|
| 64 |
{
|
| 65 |
+
"label": "bitcoin:benign_bitcoin_light_client_normal",
|
| 66 |
"expect": "benign",
|
| 67 |
"feat": {
|
| 68 |
+
"pcap.bytes_per_s": 45302.279,
|
| 69 |
"pcap.distinct_dst_ips": 1.0,
|
| 70 |
+
"pcap.distinct_src_dst_pairs": 67.0,
|
| 71 |
"pcap.distinct_src_ips": 1.0,
|
| 72 |
+
"pcap.duration_s": 3.236,
|
| 73 |
+
"pcap.mean_packet_size": 113.65,
|
| 74 |
+
"pcap.packet_count": 1290.0,
|
| 75 |
+
"pcap.packets_per_s": 398.611,
|
| 76 |
+
"pcap.rst_fraction": 0.057,
|
| 77 |
+
"pcap.syn_to_handshake_ratio": 0.506,
|
| 78 |
+
"pcap.tcp_fin": 2.0,
|
| 79 |
+
"pcap.tcp_handshake_ack": 261.0,
|
| 80 |
+
"pcap.tcp_rst": 73.0,
|
| 81 |
+
"pcap.tcp_syn": 132.0,
|
| 82 |
+
"pcap.tcp_syn_ack": 66.0,
|
| 83 |
+
"pcap.tcp_total_packets": 1290.0,
|
| 84 |
+
"pcap.top_dst_port": 48787.0,
|
| 85 |
+
"pcap.top_dst_port_fraction": 0.518,
|
| 86 |
+
"pcap.top_src_port": 48787.0,
|
| 87 |
+
"pcap.top_src_port_fraction": 0.482,
|
| 88 |
+
"pcap.total_bytes": 146609.0,
|
| 89 |
"pcap.unique_dst_ports": 5.0,
|
| 90 |
"pcap.unique_src_ports": 5.0,
|
| 91 |
"resp.count": 0.0,
|
model.joblib
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bc7dacf4ec8feca8b9285b168cafa2f30a6cea0b9158a0dca12d09e085f680c4
|
| 3 |
+
size 3098589
|