Commit
·
5429965
1
Parent(s):
3475a6d
Add pretrained SAGENET checkpoints
Browse files- README.md +55 -0
- checkpoints/arp_best.pth +3 -0
- checkpoints/dns_best.pth +3 -0
- checkpoints/icmp_best.pth +3 -0
- checkpoints/mbtcp_best.pth +3 -0
- checkpoints/nbns_best.pth +3 -0
- checkpoints/ntp_best.pth +3 -0
- checkpoints/s7comm_best.pth +3 -0
- checkpoints/smb_best.pth +3 -0
- checkpoints/tcp_best.pth +3 -0
- checkpoints/udp_best.pth +3 -0
README.md
CHANGED
|
@@ -1,3 +1,58 @@
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
| 3 |
+
tags:
|
| 4 |
+
- protocol-reverse-engineering
|
| 5 |
+
- network-security
|
| 6 |
+
- deep-learning
|
| 7 |
+
- pytorch
|
| 8 |
+
language:
|
| 9 |
+
- en
|
| 10 |
---
|
| 11 |
+
|
| 12 |
+
# SAGENET Pre-trained Models
|
| 13 |
+
|
| 14 |
+
Pre-trained models for **SAGENET** - a protocol reverse engineering tool for format inference using deep learning.
|
| 15 |
+
|
| 16 |
+
## Model Overview
|
| 17 |
+
|
| 18 |
+
| Model | Protocol | Size |
|
| 19 |
+
|-------|----------|------|
|
| 20 |
+
| `arp_best.pth` | ARP | 90MB |
|
| 21 |
+
| `dns_best.pth` | DNS | 90MB |
|
| 22 |
+
| `icmp_best.pth` | ICMP | 90MB |
|
| 23 |
+
| `mbtcp_best.pth` | Modbus TCP | 90MB |
|
| 24 |
+
| `nbns_best.pth` | NBNS | 90MB |
|
| 25 |
+
| `ntp_best.pth` | NTP | 90MB |
|
| 26 |
+
| `s7comm_best.pth` | S7comm | 90MB |
|
| 27 |
+
| `smb_best.pth` | SMB | 90MB |
|
| 28 |
+
| `tcp_best.pth` | TCP | 90MB |
|
| 29 |
+
| `udp_best.pth` | UDP | 90MB |
|
| 30 |
+
|
| 31 |
+
## Quick Start
|
| 32 |
+
|
| 33 |
+
```python
|
| 34 |
+
from huggingface_hub import hf_hub_download
|
| 35 |
+
|
| 36 |
+
# Download a specific model
|
| 37 |
+
model_path = hf_hub_download(
|
| 38 |
+
repo_id="Prescot12/SAGENET",
|
| 39 |
+
filename="checkpoints/tcp_best.pth"
|
| 40 |
+
)
|
| 41 |
+
```
|
| 42 |
+
|
| 43 |
+
## Usage
|
| 44 |
+
|
| 45 |
+
See the [main repository](https://github.com/infinityay/SAGENET) for complete usage instructions.
|
| 46 |
+
|
| 47 |
+
```bash
|
| 48 |
+
# Test with pre-trained models
|
| 49 |
+
python main.py --mode test --protocols tcp udp dns
|
| 50 |
+
```
|
| 51 |
+
|
| 52 |
+
## Citation
|
| 53 |
+
|
| 54 |
+
If you use these models in your research, please cite our work.
|
| 55 |
+
|
| 56 |
+
## License
|
| 57 |
+
|
| 58 |
+
Apache 2.0
|
checkpoints/arp_best.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4cad7b20e8dd4b3f8b556e0bad2c04c0b4879bb778637cbdd02ab575ab750775
|
| 3 |
+
size 94027428
|
checkpoints/dns_best.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3be58892f7d7f65919802e3e9c467070362019336120a17198629fd2a63d8419
|
| 3 |
+
size 94027428
|
checkpoints/icmp_best.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ccff7e5cce02983fc17106d7fb8ff68d732e980c5f9d0dc44e80c1de818526f8
|
| 3 |
+
size 94028090
|
checkpoints/mbtcp_best.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:96270e6a248858c76354441772f82e93d5110330d587ab8636e383647d2cf0f2
|
| 3 |
+
size 94028752
|
checkpoints/nbns_best.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d96b26ebf26a2fc78233ddb7ccd7e92b17253b3d17d6992f391c8ebaeaa2bb7d
|
| 3 |
+
size 94028090
|
checkpoints/ntp_best.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:654a4ece94c90fc7d185a96f1af74e8bbaf75ce034cd2087cfe453469a8d9c79
|
| 3 |
+
size 94027428
|
checkpoints/s7comm_best.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:537ca87c531b53f76703bddf856e5464225eb7a47940d35f7be645c4b6c37d15
|
| 3 |
+
size 94029414
|
checkpoints/smb_best.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3aee1f3e50facc24d6bcf29f97665da4a3626eab42fa8f8e76f2b4c80b372099
|
| 3 |
+
size 94027428
|
checkpoints/tcp_best.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2a5af96b35f09936c80c476380663de083ec792138cea95c7756c20305331673
|
| 3 |
+
size 94027428
|
checkpoints/udp_best.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:da669f0b20c588c62654347845f361c03694043740ebab7c09b51c036c446c6c
|
| 3 |
+
size 94027428
|