Datasets:
Commit ·
64aa667
0
Parent(s):
Duplicate from Venafi/Machine-Identity-Spectra
Browse filesCo-authored-by: Phillip Maraveyias <Pmaraveyias@users.noreply.huggingface.co>
- .gitattributes +55 -0
- .gitignore +2 -0
- ClusterAnalysis/clusters2d.png +3 -0
- ClusterAnalysis/clusters3d.png +3 -0
- Data/CertificateFeatures-sample.parquet +3 -0
- Data/certificateFeatures.csv.gz +3 -0
- README.md +67 -0
- VExperimentalSpectra.svg +83 -0
- features.csv +99 -0
.gitattributes
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
*.7z filter=lfs diff=lfs merge=lfs -text
|
| 2 |
+
*.arrow filter=lfs diff=lfs merge=lfs -text
|
| 3 |
+
*.bin filter=lfs diff=lfs merge=lfs -text
|
| 4 |
+
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
| 5 |
+
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
| 6 |
+
*.ftz filter=lfs diff=lfs merge=lfs -text
|
| 7 |
+
*.gz filter=lfs diff=lfs merge=lfs -text
|
| 8 |
+
*.h5 filter=lfs diff=lfs merge=lfs -text
|
| 9 |
+
*.joblib filter=lfs diff=lfs merge=lfs -text
|
| 10 |
+
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
| 11 |
+
*.lz4 filter=lfs diff=lfs merge=lfs -text
|
| 12 |
+
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
| 13 |
+
*.model filter=lfs diff=lfs merge=lfs -text
|
| 14 |
+
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
| 15 |
+
*.npy filter=lfs diff=lfs merge=lfs -text
|
| 16 |
+
*.npz filter=lfs diff=lfs merge=lfs -text
|
| 17 |
+
*.onnx filter=lfs diff=lfs merge=lfs -text
|
| 18 |
+
*.ot filter=lfs diff=lfs merge=lfs -text
|
| 19 |
+
*.parquet filter=lfs diff=lfs merge=lfs -text
|
| 20 |
+
*.pb filter=lfs diff=lfs merge=lfs -text
|
| 21 |
+
*.pickle filter=lfs diff=lfs merge=lfs -text
|
| 22 |
+
*.pkl filter=lfs diff=lfs merge=lfs -text
|
| 23 |
+
*.pt filter=lfs diff=lfs merge=lfs -text
|
| 24 |
+
*.pth filter=lfs diff=lfs merge=lfs -text
|
| 25 |
+
*.rar filter=lfs diff=lfs merge=lfs -text
|
| 26 |
+
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
| 27 |
+
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
| 28 |
+
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
| 29 |
+
*.tar filter=lfs diff=lfs merge=lfs -text
|
| 30 |
+
*.tflite filter=lfs diff=lfs merge=lfs -text
|
| 31 |
+
*.tgz filter=lfs diff=lfs merge=lfs -text
|
| 32 |
+
*.wasm filter=lfs diff=lfs merge=lfs -text
|
| 33 |
+
*.xz filter=lfs diff=lfs merge=lfs -text
|
| 34 |
+
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 35 |
+
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
# Audio files - uncompressed
|
| 38 |
+
*.pcm filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
*.sam filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
*.raw filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
# Audio files - compressed
|
| 42 |
+
*.aac filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
*.flac filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
*.mp3 filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
*.ogg filter=lfs diff=lfs merge=lfs -text
|
| 46 |
+
*.wav filter=lfs diff=lfs merge=lfs -text
|
| 47 |
+
# Image files - uncompressed
|
| 48 |
+
*.bmp filter=lfs diff=lfs merge=lfs -text
|
| 49 |
+
*.gif filter=lfs diff=lfs merge=lfs -text
|
| 50 |
+
*.png filter=lfs diff=lfs merge=lfs -text
|
| 51 |
+
*.tiff filter=lfs diff=lfs merge=lfs -text
|
| 52 |
+
# Image files - compressed
|
| 53 |
+
*.jpg filter=lfs diff=lfs merge=lfs -text
|
| 54 |
+
*.jpeg filter=lfs diff=lfs merge=lfs -text
|
| 55 |
+
*.webp filter=lfs diff=lfs merge=lfs -text
|
.gitignore
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
*.DS_Store
|
| 2 |
+
**/.idea
|
ClusterAnalysis/clusters2d.png
ADDED
|
Git LFS Details
|
ClusterAnalysis/clusters3d.png
ADDED
|
Git LFS Details
|
Data/CertificateFeatures-sample.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8a98afde36b3a5187cfb7d032783f478f8157b2c2d9c59b869f29538d0f909e8
|
| 3 |
+
size 90600349
|
Data/certificateFeatures.csv.gz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:100b4320b351245230a5ec6b997f2bb68e54ce6bf7061d67af242667bf669690
|
| 3 |
+
size 2555392008
|
README.md
ADDED
|
@@ -0,0 +1,67 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
task_categories:
|
| 4 |
+
- feature-extraction
|
| 5 |
+
language:
|
| 6 |
+
- en
|
| 7 |
+
tags:
|
| 8 |
+
- certificates
|
| 9 |
+
- machine identity
|
| 10 |
+
- security
|
| 11 |
+
size_categories:
|
| 12 |
+
- 10M<n<100M
|
| 13 |
+
pretty_name: Machine Identity Spectra Dataset
|
| 14 |
+
configs:
|
| 15 |
+
- config_name: sample_data
|
| 16 |
+
data_files: Data/CertificateFeatures-sample.parquet
|
| 17 |
+
---
|
| 18 |
+
|
| 19 |
+
# Machine Identity Spectra Dataset
|
| 20 |
+
<img src="https://huggingface.co/datasets/Venafi/Machine-Identity-Spectra/resolve/main/VExperimentalSpectra.svg" alt="Spectra Dataset" width="250">
|
| 21 |
+
|
| 22 |
+
## Summary
|
| 23 |
+
Venafi is excited to release of the Machine Identity Spectra large dataset.
|
| 24 |
+
This collection of data contains extracted features from 19m+ certificates discovered over HTTPS (port 443) on the
|
| 25 |
+
public internet between July 20 and July 26, 2023.
|
| 26 |
+
The features are a combination of X.509 certificate features, RFC5280 compliance checks,
|
| 27 |
+
and other attributes intended to be used for clustering, features analysis, and a base for supervised learning tasks (labels not included).
|
| 28 |
+
Some rows may contain nan values as well and as such could require additional pre-processing for certain tasks.
|
| 29 |
+
|
| 30 |
+
This project is part of Venafi Athena. Venafi is committed to enabling the data science community to increase the adoption of machine learning techniques
|
| 31 |
+
to identify machine identity threats and solutions.
|
| 32 |
+
Phillip Maraveyias at Venafi is the lead researcher for this dataset.
|
| 33 |
+
|
| 34 |
+
## Data Structure
|
| 35 |
+
The extracted features are contained in the Data folder as certificateFeatures.csv.gz. The unarchived data size is
|
| 36 |
+
approximately 10GB and contains 98 extracted features for approximately 19m certificates. A description of the features
|
| 37 |
+
and expected data types is contained in the base folder as features.csv.
|
| 38 |
+
|
| 39 |
+
The Data folder also contains a 500k row sample of the data in parquet format. This is displayed in the Data Viewer
|
| 40 |
+
for easy visual inspection of the dataset.
|
| 41 |
+
|
| 42 |
+
## Clustering and PCA Example
|
| 43 |
+
|
| 44 |
+
To demonstrate a potential use of the data, clustering and Principal Component Analysis (PCA) were
|
| 45 |
+
conducted on the binary data features in the dataset. 10 clusters were generated and PCA conducted with the top 3 components preserved.
|
| 46 |
+
|
| 47 |
+
KMeans clustering was performed to generate a total of 10 clusters. In this case we are primarily
|
| 48 |
+
interested in visualizing the data and understanding better how it may be used, so the choice of 10 clusters is mostly
|
| 49 |
+
for illustrative purposes.
|
| 50 |
+
|
| 51 |
+
The top three PCA components accounted for approximately 61%, 10%, and 6% of the total explained variance
|
| 52 |
+
(for a total of 77% of the overall data variance). Plots of the first 2 components in 2D space and top 3 components in
|
| 53 |
+
3D space grouped into the 10 clusters are shown below.
|
| 54 |
+
|
| 55 |
+
### Clusters in 2 Dimensions
|
| 56 |
+

|
| 57 |
+
|
| 58 |
+
### Clusters in 3 Dimensions
|
| 59 |
+

|
| 60 |
+
|
| 61 |
+
## Contact
|
| 62 |
+
Please contact athena-community@venafi.com if you have any questions about this dataset.
|
| 63 |
+
|
| 64 |
+
## References and Acknowledgement
|
| 65 |
+
The following papers provided inspiration for this project:
|
| 66 |
+
- Li, J.; Zhang, Z.; Guo, C. Machine Learning-Based Malicious X.509 Certificates’ Detection. Appl. Sci. 2021, 11, 2164. https://doi.org/ 10.3390/app11052164
|
| 67 |
+
- Liu, J.; Luktarhan, N.; Chang, Y.; Yu, W. Malcertificate: Research and Implementation of a Malicious Certificate Detection Algorithm Based on GCN. Appl. Sci. 2022,12,4440. https://doi.org/ 10.3390/app12094440
|
VExperimentalSpectra.svg
ADDED
|
|
features.csv
ADDED
|
@@ -0,0 +1,99 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
feature,description,type
|
| 2 |
+
fingerprint,SHA1 figerprint of certificate,hex string
|
| 3 |
+
version,x.509 version,string
|
| 4 |
+
serial,certificate serial number,hex string
|
| 5 |
+
serial_number_not_conforming,RFC5280 serial number compliance,boolean
|
| 6 |
+
issuer,certificate issuer,string
|
| 7 |
+
commonName,certificate common name,string
|
| 8 |
+
sigHashAlg,certificate signature hash algorithm,string
|
| 9 |
+
sigAlg,certificate signature algorithm,string
|
| 10 |
+
notBefore,certificate not before (issuance) date,datetime string
|
| 11 |
+
notAfter,certificate not after (expiration) date,datetime string
|
| 12 |
+
after_smaller_than_before,expiration date before issuance date,boolean
|
| 13 |
+
validTimeDays,validity time in days,int
|
| 14 |
+
extCount,number of extensions,int
|
| 15 |
+
basicConstraints_is_critical,basic constraint extension is critical,boolean
|
| 16 |
+
basicConstraints_is_exist,basic constraint extension is set,boolean
|
| 17 |
+
is_ca,ca extension is set,boolean
|
| 18 |
+
path_length,path length,int
|
| 19 |
+
subjectKeyIdentifier_is_critical,subect key identifier extension is critical,boolean
|
| 20 |
+
subjectKeyIdentifier_is_exist,subect key identifier extension is set,boolean
|
| 21 |
+
subjectKeyIdentifier,suject key identifier value,hex string
|
| 22 |
+
authorityKeyIdentifier_is_critical,authority key identifier extension is critical,boolean
|
| 23 |
+
authorityKeyIdentifier_is_exist,authority key identifier extension is set,boolean
|
| 24 |
+
subjectAltName_is_critical,subject alternative name extension is critical,boolean
|
| 25 |
+
subjectAltName_is_exist,subject alternative name extension is set,boolean
|
| 26 |
+
subjectAltName_count,count of subject alternative names,int
|
| 27 |
+
subjectAltName,subject alternative names,csv of strings
|
| 28 |
+
Unknown OID_is_critical,unknown oid extension is critical,boolean
|
| 29 |
+
Unknown OID_is_exist,unknown oid extension is set,boolean
|
| 30 |
+
keyUsage_is_critical,key usage extension is critical,boolean
|
| 31 |
+
keyUsage_is_exist,key usage extension is set,boolean
|
| 32 |
+
digital_signature,digital signature key usage is set],boolean
|
| 33 |
+
content_commitment,content commitment key usage is set,boolean
|
| 34 |
+
key_encipherment,key encipherment key usage is set,boolean
|
| 35 |
+
data_encipherment,data encipherment key usage is set,boolean
|
| 36 |
+
key_agreement,key agreement key usage is set,boolean
|
| 37 |
+
key_cert_sign,key cert signing key usage is set,boolean
|
| 38 |
+
crl_sign,crl signing key usage is set,boolean
|
| 39 |
+
encipher_only,encipher only key usage is set,boolean
|
| 40 |
+
key_usage_mismatch,mismatch between key usage and other extensions,boolean
|
| 41 |
+
decipher_only,decipher only key usage is set,boolean
|
| 42 |
+
extendedKeyUsage_is_critical,extended key usage extension is critical,boolean
|
| 43 |
+
extendedKeyUsage_is_exist,extended key usage extension is set,boolean
|
| 44 |
+
serverAuth,server authentication eku is set,boolean
|
| 45 |
+
clientAuth,client authentication eku is set,boolean
|
| 46 |
+
parseError,parsing error in certificate,boolean
|
| 47 |
+
countryName,certificate country name,string
|
| 48 |
+
country_name_not_conforming,RFC5280 country name not conforming,boolean
|
| 49 |
+
stateOrProvinceName,certificate state or province,string
|
| 50 |
+
localityName,certificate locality,string
|
| 51 |
+
organizationName,certificate organization name,string
|
| 52 |
+
organizationalUnitName,certificate organizational unit,string
|
| 53 |
+
emailAddress,certificate email address,string
|
| 54 |
+
path_length_mismatch,path length mismatch with ca setting,boolean
|
| 55 |
+
authorityInfoAccess_is_critical,authority information access extension is critical,boolean
|
| 56 |
+
authorityInfoAccess_is_exist,authority information access extension is set,boolean
|
| 57 |
+
certificatePolicies_is_critical,certificate policies extenstion is critical,boolean
|
| 58 |
+
certificatePolicies_is_exist,certificate policies extenstion is set,boolean
|
| 59 |
+
unknown_certificatePolicy_oid,certificate policy id is unknown,boolean
|
| 60 |
+
signedCertificateTimestampList_is_critical,signed certificate timestamp list extension is critical,boolean
|
| 61 |
+
signedCertificateTimestampList_is_exist,signed certificate timestamp list extension is set,boolean
|
| 62 |
+
cRLDistributionPoints_is_critical,crl distribution points extension is critical,boolean
|
| 63 |
+
cRLDistributionPoints_is_exist,crl distribution points extension is set,boolean
|
| 64 |
+
unstructuredName,certificate unstructured name ,string
|
| 65 |
+
businessCategory,certificate business categroy ,string
|
| 66 |
+
serialNumber,certificate serial number,string
|
| 67 |
+
jurisdictionCountryName,certificate jurisdiction country name ,string
|
| 68 |
+
streetAddress,certificate street address,string
|
| 69 |
+
Unknown OID,unknown oid value,string
|
| 70 |
+
msCertificateTemplate_is_critical,ms certificate template extension is critical,boolean
|
| 71 |
+
msCertificateTemplate_is_exist,ms certificate template extension is set,boolean
|
| 72 |
+
codeSigning,code signing eku,boolean
|
| 73 |
+
timeStamping,time stamping eku,boolean
|
| 74 |
+
emailProtection,email protection eku,boolean
|
| 75 |
+
OCSPSigning,ocsp signing eku,boolean
|
| 76 |
+
domainComponent,certificate domain component ,string
|
| 77 |
+
issuerAltName_is_critical,issuer alternative name extension is critical,boolean
|
| 78 |
+
issuerAltName_is_exist,issuer alternative name extension is set,boolean
|
| 79 |
+
surname,certificate surname,string
|
| 80 |
+
jurisdictionStateOrProvinceName,certificate jurisdiction state or province name ,string
|
| 81 |
+
postalCode,certificate postal code,string
|
| 82 |
+
TLSFeature_is_critical,tls feature extension is critical,boolean
|
| 83 |
+
TLSFeature_is_exist,tls feature extension is set,boolean
|
| 84 |
+
dnQualifier,certificate dn qualifier,string
|
| 85 |
+
jurisdictionLocalityName,certificate jurisdiction locality name,string
|
| 86 |
+
title,certificate title,string
|
| 87 |
+
givenName,certificate given name,string
|
| 88 |
+
pseudonym,certificate pseudonym,string
|
| 89 |
+
generationQualifier,certificate generation qualifier,string
|
| 90 |
+
OCSPNoCheck_is_critical,ocsp no check extension is critical,boolean
|
| 91 |
+
OCSPNoCheck_is_exist,ocsp no check extension is set,boolean
|
| 92 |
+
freshestCRL_is_critical,freshest crl extension is critical,boolean
|
| 93 |
+
freshestCRL_is_exist,freshest crl extension is set,boolean
|
| 94 |
+
subjectDirectoryAttributes_is_critical,subject directory attributes extension is critical ,boolean
|
| 95 |
+
subjectDirectoryAttributes_is_exist,subject directory attributes extension is set ,boolean
|
| 96 |
+
userID,certificate user id,string
|
| 97 |
+
msSmartcardLogin,ms smartcard login is set,boolean
|
| 98 |
+
pkInitKDC,kerberos pki kdc is set,boolean
|
| 99 |
+
x500UniqueIdentifier,x500 unique identifier attribute,string
|