cybersecurity
malware-detection
ransomware
binary-analysis
soc
keep-architecture
zero-attention
zero-tokenizer
ameforge commited on
Commit
fc9ad99
·
verified ·
1 Parent(s): 352c4e2

Publish KEEP TRACE public security benchmark card (3 HF duels)

Browse files
Files changed (1) hide show
  1. README.md +79 -0
README.md ADDED
@@ -0,0 +1,79 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: other
3
+ license_name: ameforge-proprietary
4
+ tags:
5
+ - cybersecurity
6
+ - malware-detection
7
+ - ransomware
8
+ - binary-analysis
9
+ - soc
10
+ - keep-architecture
11
+ - zero-attention
12
+ - zero-tokenizer
13
+ datasets:
14
+ - cycloevan/Ransomware_PE_Header_Feature_Dataset
15
+ - mjbommar/binary-30k
16
+ - cw1521/ember2018-malware
17
+ metrics:
18
+ - roc_auc
19
+ - accuracy
20
+ - f1
21
+ ---
22
+
23
+ # KEEP TRACE — Public Security Benchmarks (Ameforge)
24
+
25
+ **KEEP TRACE** is a localized forensic integrity and threat-analysis engine built on the proprietary **KEEP** (*Keep what Endures under Environmental Perturbation*) architecture by **Ameforge** (Windsor, Ontario).
26
+
27
+ - **Product page:** [https://ameforge.tech/products/keep-trace](https://ameforge.tech/products/keep-trace)
28
+ - **Key properties:** Zero self-attention ($Q K^\top$), zero CNN, zero tokenizer, linear $O(N \cdot k)$ complexity, sub-megabyte footprint, byte-level anomaly localization + supervised PE ransomware classification.
29
+
30
+ *(Note: This Hugging Face repository publishes reproducible benchmark results and methodology only. Proprietary model weights and core architecture remain private on Ameforge servers.)*
31
+
32
+ ---
33
+
34
+ ## Head-to-Head Public Benchmarks (NVIDIA RTX 3050, CUDA 12.6)
35
+
36
+ ### 1. Windows PE Ransomware Detection (Raw 1,024-byte PE Headers)
37
+ **Dataset:** [`cycloevan/Ransomware_PE_Header_Feature_Dataset`](https://huggingface.co/datasets/cycloevan/Ransomware_PE_Header_Feature_Dataset) (2,157 real Windows PE executables: goodware vs. 25 ransomware families, 80/20 stratified split).
38
+
39
+ | Model | Size (int8 eq.) | **ROC AUC** | Accuracy | F1 | Inference |
40
+ | :--- | :---: | :---: | :---: | :---: | :---: |
41
+ | **KEEP TRACE Classifier (0 attn, 0 CNN)** | **254 KB** | **0.9988** *(1st)* | 98.1% | 0.980 | 65.5 ms |
42
+ | MalConv (Gated CNN baseline) | 74 KB | 0.9982 | **99.1%** | **0.990** | 5.5 ms |
43
+ | Transformer Encoder (3L, 4H) | 605 KB | 0.9905 | 97.5% | 0.973 | 129.8 ms |
44
+ | *KEEP TRACE Unsupervised (0 malware seen)* | 177 KB | *0.5537* | *61.1%* | *0.472* | 53.3 ms |
45
+
46
+ ### 2. Cross-Distribution PE Malware (`mjbommar/binary-30k`)
47
+ **Dataset:** [`mjbommar/binary-30k`](https://huggingface.co/datasets/mjbommar/binary-30k) (3,577 real PE binaries: 2,456 train / 1,121 test with strong class-balance shift).
48
+
49
+ | Model | Size (int8 eq.) | **ROC AUC** | Accuracy | F1 | Inference |
50
+ | :--- | :---: | :---: | :---: | :---: | :---: |
51
+ | CNN 1D (MalConv-style) | 102 KB | **0.9870** | **94.9%** | **0.932** | 96.9 ms |
52
+ | **KEEP TRACE (0 attn, 0 CNN)** | **249 KB** | **0.9493** | **88.3%** | **0.857** | 301.0 ms |
53
+ | Transformer Encoder (3L, 4H) | 599 KB | 0.9252 | 80.6% | 0.773 | 110.6 ms |
54
+
55
+ ### 3. EMBER-2018 Tabular Benchmark (`cw1521/ember2018-malware`)
56
+ **Dataset:** [`cw1521/ember2018-malware`](https://huggingface.co/datasets/cw1521/ember2018-malware) (16,000 samples: 12,800 train / 3,200 test, 2,381 tabular PE features).
57
+
58
+ | Model | Size (int8 eq.) | **ROC AUC** | Accuracy | F1 | Inference |
59
+ | :--- | :---: | :---: | :---: | :---: | :---: |
60
+ | HistGBDT (LightGBM-equivalent) | GBDT | **0.9948** | **96.7%** | **0.965** | 457.0 ms |
61
+ | Tabular MLP (256→128) | 629 KB | 0.9824 | 94.5% | 0.942 | 6.3 ms |
62
+ | **KEEP TRACE (0 attn)** | **255 KB** | **0.9686** | **91.0%** | **0.905** | 223.4 ms |
63
+
64
+ ### 4. Zero-Signature Localized Injection & Exploit Detection (Native x86-64 `.text` & Compiled Bytecode)
65
+ Evaluated on unseen real compiled `.dll`/`.pyd` binaries and real compiled functions with **zero attack labels**:
66
+ - **Encrypted / Packed Payload Injection (x86-64 `.text`):** **AUC 0.9986**
67
+ - **NOP-Sled (`0x90`) Buffer-Overflow Injection (x86-64 `.text`):** **AUC 0.9650**
68
+ - **Compiled Bytecode Payload Injection:** **AUC 1.0000** (native latent surprise **AUC 0.9812**)
69
+ - **Single Bit-Flip Detection (RAM / Bytecode):** **AUC 0.9588 – 1.0000**
70
+
71
+ ---
72
+
73
+ ## Honest Scope & Findings
74
+ - **KEEP consistently outperforms Transformers on raw binary sequences (2/2 wins)** while using **2.4× fewer parameters** and zero self-attention.
75
+ - On purely tabular datasets (EMBER), gradient-boosted trees remain the strongest baseline; on pure static byte-ngram classification, 1D CNNs remain highly competitive.
76
+ - **KEEP TRACE's unique strength** is combining **zero-signature byte-level forensic localization** (reducing SOC alert fatigue with exact offset ranges and benign-artifact triage) with **sub-megabyte supervised ransomware classification (0.9988 AUC)** in one linear-time $O(N \cdot k)$ architecture.
77
+
78
+ ---
79
+ *© 2026 Ameforge — Independent AI Research Studio, Windsor, Ontario.*