Views
No views yet

BaronLLM is a large-language model fine-tuned for offensive cybersecurity research & adversarial simulation.
It provides structured guidance, exploit reasoning, and red-team scenario generation while enforcing safety constraints to prevent disallowed content.
cat ~/.ollama/id_ed25519.pub | pbcopyollama run hf.co/{username}/{repository}.| Capability | Details |
|---|---|
| Adversary Simulation | Generates full ATT&CK chains, C2 playbooks, and social-engineering scenarios. |
| Exploit Reasoning | Performs step-by-step vulnerability analysis (e.g., SQLi, XXE, deserialization) with code-level explanations. Generation of working PoC code. |
| Payload Refactoring | Suggests obfuscated or multi-stage payload logic without disclosing raw malicious binaries. |
| Log & Artifact Triage | Classifies and summarizes attack traces from SIEM, PCAP, or EDR JSON. |
1pip install "transformers>=4.42" accelerate bitsandbytes
2
3from transformers import AutoModelForCausalLM, AutoTokenizer
4model_id = "AlicanKiraz/BaronLLM-70B"
5
6tokenizer = AutoTokenizer.from_pretrained(model_id, use_fast=True)
7model = AutoModelForCausalLM.from_pretrained(
8 model_id,
9 torch_dtype="auto",
10 device_map="auto",
11)
12
13def generate(prompt, **kwargs):
14 inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
15 output = model.generate(**inputs, max_new_tokens=512, **kwargs)
16 return tokenizer.decode(output[0], skip_special_tokens=True)
17
18print(generate("Assess the exploitability of CVE-2024-45721 in a Kubernetes cluster"))1from huggingface_hub import InferenceClient
2ic = InferenceClient(model_id)
3ic.text_generation("Generate a red-team plan targeting an outdated Fortinet appliance")| Base | Llama-3.1-8B-Instruct |
| Seq Len | 8 192 tokens |
| Quantization | 6-bit variations |
| Languages | EN |
Note: No copyrighted exploit code or proprietary malware datasets were used.
Dataset filtering removed raw shellcode/binary payloads.
| Goal | Template |
|---|---|
| Exploit Walkthrough | "ROLE: Senior Pentester\nOBJECTIVE: Analyse CVE-2023-XXXXX step by step …" |
| Red-Team Exercise | "Plan an ATT&CK chain (Initial Access → Exfiltration) for an on-prem AD env …" |
| Log Triage | "Given the following Zeek logs, identify C2 traffic patterns …" |
temperature=0.3, top_p=0.9 for deterministic reasoning; raise for brainstorming.