abliteration.org
Get the app

Two ways to read this site

Technical mode is the default: exact terms and codes, for engineers, researchers, journalists and companies. Simple mode gives the same facts in plain words, for anyone who wants a model that runs on their own computer. You can switch at any time at the top of the page.

technical
MLX weights for Apple silicon (M1 or later), usually quantized to 4 or 8 bits.
simple
Made for Macs with Apple silicon (M1 or newer), usually compressed to 4 or 8 bits.

darkknight25/APT_STYLE_Privilege_Escalation_Dataset

published by @darkknight25

Harmful and harmless prompt sets, contrastive pairs, and jailbreak and attack corpora.Sets of harmful and harmless requests, pairs of opposite examples, and attack datasets.

language:enlicense:mitsize_categories:1K<n<10Kformat:jsonmodality:textlibrary:datasetslibrary:pandaslibrary:mlcroissant +4 more
Lifetime downloads
813
Last 30 days
108
Likes
-
Size
262.6 KB

Description

APT Privilege Escalation Dataset

Overview

The APT Privilege Escalation Dataset is a comprehensive collection of advanced and unique privilege escalation techniques tailored for Red Team training and offensive cybersecurity operations. This dataset, comprising 1000 entries, simulates real-world Advanced Persistent Threat (APT) tactics, focusing on exploiting misconfigurations, vulnerabilities, and novel attack vectors to achieve elevated privileges on Linux-based… See the full description on the dataset page: https://huggingface.co/datasets/darkknight25/APT_STYLE_Privilege_Escalation_Dataset.

Used by uncensored models none yet

No abliterated models in our catalog have declared this dataset in their YAML metadata yet. This can mean the dataset is used but not declared, is used outside abliteration workflows, or is new. The link will populate automatically as models are indexed.No model in our catalog lists this dataset yet. It may be used without being listed, used for other work, or simply be new. The list fills in by itself as models are added.

MetadataDetails

License
mit
Language
en
Created on HFCreated
2025-08-16 · 1 years ago
Size category
1K<n<10K
ModalitiesData types
text
Formats
json
LibrariesTools
datasetspandasmlcroissantpolars

Related datasets same stage · Extractsame step · Finding refusals

Read further

Total size
262.6 KB
Files
3
Formats
jsonl
Head
95c0fed
Last updated on HFLast updated
2025-08-16

Download the dataset

Copy any of these snippets into your notebook or terminal. All three fetch directly from Hugging Face using your own credentials.Each of these lines of code downloads the dataset straight from Hugging Face, with your own Hugging Face login.

Recommended: datasets library (Python)
from datasets import load_dataset
ds = load_dataset("darkknight25/APT_STYLE_Privilege_Escalation_Dataset")
Raw snapshot (Python)All files (Python)
from huggingface_hub import snapshot_download
snapshot_download(repo_id="darkknight25/APT_STYLE_Privilege_Escalation_Dataset", repo_type="dataset")
git clone (requires git-lfs)With git (needs git-lfs)
git clone https://huggingface.co/datasets/darkknight25/APT_STYLE_Privilege_Escalation_Dataset

Files by folder from our last crawlfrom our last check

top level 3 files 262.6 KB
.gitattributes 2.5 KB file download
APT_STYLE_Privilege_Escalation_Dataset.jsonl 254.0 KB jsonl download
README.md 6.2 KB md download

READMEAuthor's description current version from Hugging Faceas it is now on Hugging Face

APT Privilege Escalation Dataset

Overview

The APT Privilege Escalation Dataset is a comprehensive collection of advanced and unique privilege escalation techniques tailored for Red Team training and offensive cybersecurity operations. This dataset, comprising 1000 entries, simulates real-world Advanced Persistent Threat (APT) tactics, focusing on exploiting misconfigurations, vulnerabilities, and novel attack vectors to achieve elevated privileges on Linux-based systems. Each entry is meticulously crafted to align with MITRE ATT&CK tactics (TA0004: Privilege Escalation) and provides actionable, field-tested commands for Red Team engagements.

This dataset is designed for cybersecurity professionals, penetration testers, and Red Team operatives seeking to enhance their skills in identifying and exploiting privilege escalation vulnerabilities in a controlled, ethical environment. It emphasizes stealth, precision, and real-world applicability, making it a critical resource for simulating adversarial behavior.

Dataset Structure

The dataset is provided in JSON Lines (JSONL) format, with each entry representing a unique privilege escalation technique. The structure of each entry is as follows:

id: A unique identifier for the entry (1-1000).
description: A concise explanation of the privilege escalation technique, highlighting the vulnerability or misconfiguration exploited.
tactics: The MITRE ATT&CK tactic associated with the technique (e.g., TA0004: Privilege Escalation).
command: The specific command or script to execute the privilege escalation, designed for real-world applicability.
category: The type of vulnerability or misconfiguration (e.g., Setuid Binary Abuse, Cron Misconfiguration, Container Escape).

Example Entry

{"id":601,"description":"Exploiting a misconfigured cgroups v1 release_agent to execute arbitrary commands as root.","tactics":"TA0004: Privilege Escalation","command":"echo '/bin/bash' > /tmp/mal.sh; echo '/tmp/mal.sh' > /sys/fs/cgroup/release_agent; echo $$ > /sys/fs/cgroup/cgroup.procs","category":"Cgroups Misconfiguration"}

Key Features

Comprehensive Coverage: 1000 unique entries spanning a wide range of privilege escalation techniques, including kernel exploits, container escapes, and misconfigured system services.
Real-World Applicability: Commands are designed to be executable in real-world scenarios, assuming appropriate permissions and system configurations.
MITRE ATT&CK Alignment: Each entry is mapped to TA0004: Privilege Escalation, facilitating integration with ATT&CK-based frameworks.
Diverse Categories: Includes techniques targeting cgroups, AppArmor, sudoers, cron, systemd, Kubernetes, NFS, D-Bus, and more.
Stealth-Oriented: Emphasizes covert methods to minimize detection during Red Team operations.

Usage

Prerequisites

A Linux-based system or virtual environment for testing.
Appropriate permissions to execute commands (some require low-privilege user access, others assume specific misconfigurations).
Tools such as gcc, bpftool, kubectl, lxc, and systemctl may be required depending on the technique.
A controlled lab environment to ensure ethical and legal use.

Instructions

Access the Dataset: The dataset is provided in apt_style_privilege_escalation_dataset.jsonl. Each line is a self-contained JSON object.

Parse the Dataset: Use a JSONL parser (e.g., Python's json module or jq) to process the entries.

import json
with open('apt_style_privilege_escalation_dataset.jsonl', 'r') as file:
    for line in file:
        entry = json.loads(line.strip())
        print(f"ID: {entry['id']}, Category: {entry['category']}, Command: {entry['command']}")

Test Techniques: Execute commands in a controlled environment to simulate privilege escalation. Ensure proper safeguards to avoid unintended system changes.

Analyze and Adapt: Use the dataset to identify common misconfigurations and vulnerabilities in target systems, tailoring techniques to specific environments.

Example Usage

To test a specific technique (e.g., ID 601):

Verify the system has a writable /sys/fs/cgroup/release_agent.
Create a malicious script: echo '/bin/bash' > /tmp/mal.sh.
Execute the command: echo '/tmp/mal.sh' > /sys/fs/cgroup/release_agent; echo $$ > /sys/fs/cgroup/cgroup.procs.
Observe the outcome, ensuring the environment is restored post-test.

Categories

The dataset covers the following privilege escalation categories:

Cgroups Misconfiguration: Exploiting control groups for arbitrary command execution.
AppArmor Misconfiguration: Bypassing AppArmor restrictions via writable configuration files.
Setuid Binary/Script Abuse: Leveraging vulnerabilities in setuid binaries or scripts.
Cron Misconfiguration: Hijacking cron jobs or PATH variables.
Container Escape: Breaking out of containers like LXD or Docker.
Sudoers Misconfiguration: Exploiting sudoers entries for privilege escalation.
Systemd Misconfiguration: Abusing systemd services, timers, or sockets.
Kernel Exploitation: Using kernel vulnerabilities or misconfigured parameters.
Filesystem Misconfiguration: Exploiting writable fstab or mount points.
SSH/Network/PAM/SELinux/D-Bus Misconfiguration: Targeting system services and configurations.

Ethical Considerations

This dataset is intended for ethical use only in controlled environments, such as penetration testing engagements with explicit permission. Unauthorized use of these techniques on systems without consent is illegal and unethical. Always adhere to applicable laws, regulations, and organizational policies.

Contributing

Contributions to expand or refine the dataset are welcome. Please submit pull requests with new entries in JSONL format, ensuring alignment with the existing structure and MITRE ATT&CK tactics. Include detailed descriptions and tested commands.

License

This dataset is provided under the MIT License. See LICENSE for details.

Contact

For questions, feedback, or collaboration, contact the email:[email protected] . Stay sharp, stay stealthy.

README historyEdit history 3 revisions3 edits

Every night we snapshot the README of every dataset in the catalog. When the SHA changes we archive the new version and diff it against the last. This is the evolving thought record of the alignment-data field: what the author decided to say about the corpus, and how that framing shifted over time.Every night we save the author's description of every dataset in the catalog. When it changes, we keep the new text and compare it with the one before. This shows what each author chose to say about their dataset, and how that changed over time.

  1. 2025-08-16 Update README.md 95c0fed 6.1 KB
    Loading...
  2. 2025-08-16 Upload APT_STYLE_Privilege_Escalation_Dataset.jsonl 7908342 24 B
    Loading...
  3. 2025-08-16 initial commit 16b4bc6 24 B
    Loading...

Community discussions 1 thread · 1 open · 1 comments

Threads posted by the community on Hugging Face: bug reports, questions about usage, pull requests on the README, licence clarifications. Click any thread to expand and read the full conversation inline. Newest first.Conversations people started on Hugging Face: bug reports, questions about using the data, suggested changes to the author's description, questions about the licence. Open a thread to read it here. Newest first.

  1. 2025-08-17 [bot] Conversion to Parquet open 1 💬 #1
    Loading...
Download from Hugging Face

darkknight25/APT_STYLE_Privilege_Escalation_Dataset

Catalog is the map. Apps are the tools.

Run models on your own machine, not in the cloud.

Every GGUF model page has an "Open in Abliteration" button that lets you pick a file, then opens it in the desktop app. No API keys, no subscription, no prompt leakage.Each model page in the format the app uses has an "Open in Abliteration" button to open a file in the desktop app. No API keys, no subscription, your requests stay on your computer.

Open in Abliteration