← Back to home
Skill

offensive-toctou

github · Downloads 11.4K · Heat 45.0

Source & License

Author: SnailSploit
License: MIT License

This site lists project metadata and a short summary only. We do not republish the author’s original content — follow the source link above for the full text. Verify the LICENSE and NOTICE in the original repository before commercial use.

Warning: no LICENSE/COPYING file was found in the upstream repository root. The license name above comes from a third-party registry and is unverified. Confirm with the source before commercial use.

Introduction

"Time-of-Check / Time-of-Use (TOCTOU) race condition exploitation methodology across binary, kernel, filesystem, web, and container layers. Covers symbolic-link races (open/access/stat split), file-descriptor races, fopen/realpath traversal races, /proc and procfs races, FUSE-backed slow-fs races to widen the window, ptrace and signal races, kernel double-fetch / userspace pointer races, container/runc/symlink escape primitives, kubernetes admission/authz TOCTOU, web auth-vs-authz TOCTOU, JWT-claim TOCTOU at gateway vs service, payment/idempotency races, and modern race-amplification techniques (single-packet attack, slow loris, FUSE pause, cgroup freeze, scheduler shaping). Use when you've identified a 'check then act' pattern in code, when fuzzing for race conditions, or when exploiting

Resource Information

Author:SnailSploit
Category:Automation
Language:en
Auth: No auth
License:MIT
Pricing: Marked free
Publisher:SnailSploit

License information is collected from official sources and may be outdated or missing. Refer to the LICENSE file in the original repository before commercial use.

Tags
工作流 & 自动化 / offensive-toctou

Features

  • Quick Workflow
  • The Core Pattern
  • Filesystem TOCTOU
  • Symlink Swap (Classic)
  • renameat2(RENAMEEXCHANGE) — Atomic Single-Frame Swap
  • Directory Swap (mv between two prepared trees)
  • Bind Mount / Mount-Namespace Swap (root-only or in user-ns)
  • Window-Widening Primitives
Use cases
MITRE CWE-367 (TOCTOU), CWE-362 (Race Condition)USENIX Security: "FUSE for Profit" — TOCTOU window-wideningPortSwigger Research: "Smashing the state machine" (single-packet HTTP/2 attack)runc CVE-2019-5736, CVE-2024-21626 advisoriesSource: https://github.com/SnailSploit/offensive-checklist/blob/main/toctou.md

Supported platforms

Claude Code

Information boundary

Information on this page is collected from official documents for technical presentation only and does not imply our endorsement. Pricing, quotas and availability are subject to the latest official statements. We make no commitment regarding any action you take after leaving this site.

What is a Skill

A Skill is a packaged single capability, such as text recognition, document summarization, or keyword extraction. Developers wrap the calling logic and prompts into a plugin-like unit, so users can load it without understanding the underlying model. StackPilot indexes a large number of skills that can be tried instantly or assembled into a plan.