Λογότυπο Concurrency Exploitation

Concurrency Exploitation

Κοινότητα
brucesongs
concurrency-exploitation

Concurrency exploitation covers race condition vulnerabilities including TOCTOU, signal handler races, thread synchronization bypasses, and timing attacks.

Add to TypingMind

Επισκόπηση

Εκδότηςbrucesongs
Αποθετήριοkali-claw
Όνομα δεξιότηταςconcurrency-exploitation
Αστέρια
70
Διακλαδώσεις
18
Συνοδευτικά αρχεία
11
Άδεια χρήσηςMIT
Σύνδεσμοι
  • Οδηγίες σε Markdown

    Ένα αρχείο SKILL.md που το μοντέλο φορτώνει όταν χρειάζεται, ώστε να καταναλώνει token μόνο όταν ένα αίτημα είναι πράγματι σχετικό.

  • Λειτουργεί με οποιοδήποτε LLM

    Οι δεξιότητες AI είναι απλό Markdown, όχι κώδικας για συγκεκριμένο πάροχο, επομένως αυτή η δεξιότητα λειτουργεί με GPT, Claude, Gemini, Grok ή ένα τοπικό μοντέλο.

  • Συνοδευτικά αρχεία: 11

    Αρχεία script, πρότυπα και υλικό αναφοράς που μπορεί να διαβάζει το μοντέλο καθώς εργάζεται. Τα αρχεία είναι μόνο για ανάγνωση και δεν εκτελούνται ποτέ.

  • Ανοιχτού κώδικα

    Δημοσιεύτηκε στο GitHub από τον λογαριασμό brucesongs. Ελέγξτε τα αρχεία της δεξιότητας στο αποθετήριο πριν την εγκαταστήσετε.

Εγκατάσταση

Εγκαταστήστε τη δεξιότητα AI Concurrency Exploitation στο TypingMind για να τη χρησιμοποιείτε με οποιοδήποτε LLM ή προσθέστε τη σε άλλον πράκτορα AI που διαβάζει αρχεία SKILL.md.

1

Εγκατάσταση στο TypingMind

Το TypingMind εγκαθιστά μια δεξιότητα απευθείας από τον φάκελό της στο GitHub — διαβάζει το SKILL.md, συγκεντρώνει τα συνοδευτικά αρχεία σε πακέτο και αποθηκεύει το αποτέλεσμα τοπικά.

  1. Ανοίξτε την εφαρμογή και μεταβείτε στα Πρόσθετα → Δεξιότητες.
  2. Επιλέξτε «Εγκατάσταση από GitHub».
  3. Επικολλήστε το παρακάτω URL του φακέλου της δεξιότητας και επιβεβαιώστε.
    https://github.com/brucesongs/kali-claw/tree/main/skills/concurrency-exploitation
  4. Ενεργοποιήστε τη δεξιότητα σε κάθε συνομιλία όπου θέλετε να είναι διαθέσιμη.
Πρόσθετα → Δεξιότητες → Προσθήκη δεξιότητας → Από URL του GitHub, έπειτα επικολλήστε το URL του φακέλου και πατήστε «Συνέχεια».
2

Εγκατάσταση σε άλλον πράκτορα AI

Κάθε πράκτορας AI που υποστηρίζει τη μορφή Agent Skills μπορεί να χρησιμοποιήσει αυτή τη δεξιότητα — αντιγράψτε τον φάκελο στον κατάλογο δεξιοτήτων του.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/brucesongs/kali-claw.git /tmp/kali-claw
mkdir -p .claude/skills
cp -r /tmp/kali-claw/skills/concurrency-exploitation .claude/skills/concurrency-exploitation
Επανεκκινήστε το Claude Code μετά την αντιγραφή, ώστε να εντοπίσει τη νέα δεξιότητα.

Χρησιμοποιήστε τη στο TypingMind

Ενεργοποιήστε τη δεξιότητα Concurrency Exploitation σε οποιαδήποτε συνομιλία στο TypingMind και το μοντέλο αναλαμβάνει τα υπόλοιπα. Το όνομα και η περιγραφή της περιλαμβάνονται στην προτροπή συστήματος και, μόλις προκύψει ένα σχετικό αίτημα, το μοντέλο φορτώνει μόνο του τις πλήρεις οδηγίες — δεν χρειάζεται ποτέ να την καλείτε χειροκίνητα και δεν καταναλώνει token μέχρι να χρησιμοποιηθεί πραγματικά.

Το μοντέλο φορτώνει αυτόματα τη δεξιότητα Concurrency Exploitation μόλις λάβει ένα σχετικό αίτημα.

Λειτουργεί με οποιοδήποτε μοντέλο AI

Οι δεξιότητες AI είναι οδηγίες σε απλό κείμενο Markdown και όχι κώδικας για συγκεκριμένο πάροχο, οπότε η δεξιότητα Concurrency Exploitation δεν περιορίζεται στο μοντέλο για το οποίο γράφτηκε. Εγκαταστήστε τη μία φορά στο TypingMind και χρησιμοποιήστε τη με GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ή ένα τοπικό μοντέλο που εκτελείτε εσείς — πάντα με τα δικά σας κλειδιά API.

  • Φόρτωση μόνο όταν χρειάζεται

    Η προτροπή συστήματος περιλαμβάνει μόνο το όνομα και την περιγραφή. Οι οδηγίες ανακτώνται με το πρώτο σχετικό αίτημα, οπότε μια δεξιότητα που δεν χρησιμοποιείται δεν έχει κόστος.

  • Αλλάξτε μοντέλο κατά τη διάρκεια της συνομιλίας

    Επειδή η δεξιότητα αποτελείται από οδηγίες και όχι από κώδικα, η αλλαγή μοντέλου δεν επηρεάζει τη λειτουργία της — το επόμενο μοντέλο διαβάζει το ίδιο αρχείο SKILL.md.

Οδηγίες δεξιότητας

Αυτό είναι το περιεχόμενο του αρχείου SKILL.md που φορτώνει το μοντέλο. Διαβάστε το πριν από την εγκατάσταση — μια δεξιότητα αποτελείται από οδηγίες που θα ακολουθήσει το μοντέλο σας.

Skill: Concurrency Exploitation

Supplementary Files:

  • payloads.md -- Race condition payloads: TOCTOU file system races, signal handler exploitation, thread synchronization bypasses, timing measurement, race detection tools, exploitation primitives, debugging commands, CyberGym templates
  • test-cases.md -- 6 structured test cases covering symlink TOCTOU, signal handler race, pthread mutex bypass, fork server race, double-checked locking, ABA problem

Summary

Concurrency Exploitation skill domain covering exploitation operations.

Tools: gdb, pwndbg, ThreadSanitizer, helgrind, racer2, stress-ng, inotify-tools, strace, ltrace, perf, time

Domain: exploitation

MITRE ATT&CK: TA0003-Execution

Description

Concurrency exploitation targets race condition vulnerabilities where the outcome of an operation depends on the timing or ordering of uncontrollable events. These vulnerabilities arise when multiple threads, processes, or signal handlers access shared resources without proper synchronization, creating windows where attackers can manipulate state between check-and-use operations.

Race conditions are particularly dangerous because they are non-deterministic—successful exploitation depends on winning narrow timing windows, often measured in nanoseconds. However, techniques like CPU pinning, process priority manipulation, and parallel attack scripts can amplify race windows to achieve reliable exploitation.

Key Vulnerability Classes:

  • TOCTOU (Time-of-Check-Time-of-Use): File system races where an attacker swaps a resource between validation and usage (e.g., symlink races in setuid binaries)
  • Signal Handler Races: Non-reentrant code in signal handlers, or race windows opened by signal delivery during critical sections (CVE-2024-6387 regreSSHion)
  • Thread Synchronization Bugs: Missing mutex locks, incorrect lock ordering, or atomicity violations that allow concurrent access to shared memory
  • Initialization Races: Double-checked locking bugs, fork server race windows, or races during startup/teardown sequences
  • Lock-Free Algorithm Bugs: ABA problem in compare-and-swap operations, memory ordering violations

Use Cases

  1. TOCTOU File System Exploitation -- Win race windows between access() checks and open() calls in setuid binaries to gain privilege escalation
  2. Signal Handler Race Exploitation -- Exploit race conditions in non-reentrant signal handlers (e.g., OpenSSH CVE-2024-6387 regreSSHion)
  3. Thread Synchronization Bypass -- Exploit missing or incorrect mutex locks to achieve UAF or double-free conditions
  4. Fork Server Race Windows -- Target race conditions in process forking/cloning logic used by servers and daemons
  5. Initialization Race Exploitation -- Exploit double-checked locking bugs or races during cryptographic initialization
  6. Timing Side-Channel Analysis -- Measure execution timing to infer secret values from timing variations in concurrent operations
  7. Lock-Free Data Structure Exploitation -- Exploit ABA problem or memory ordering bugs in lock-free queues and stacks

Core Tools

ToolPurposeCommand Example
gdb + pwndbgDebug multi-threaded programs, set catchpoints on thread creation, inspect lock stategdb -ex "catch syscall clone" -ex "run" ./vulnerable
ThreadSanitizerDetect data races at runtime via compiler instrumentation (gcc/clang)gcc -fsanitize=thread -g race.c -o race && ./race
helgrindValgrind tool for detecting pthread synchronization errors and lock order violationsvalgrind --tool=helgrind ./vulnerable
racer2Static race detection tool analyzing source code for potential data racesracer2 --analyze race.c
stress-ngCPU stress utility to amplify race windows by increasing scheduling chaosstress-ng --cpu 8 --timeout 60s
inotify-toolsMonitor file system events in real-time to detect TOCTOU race attemptsinotifywait -m /tmp/ -e open,close,delete
straceTrace system calls to identify TOCTOU sequences (access→open) and signal delivery timingstrace -f -e trace=open,access,signal ./vulnerable
ltraceTrace library calls to identify pthread mutex operations and lock orderingltrace -e pthread_mutex_lock,pthread_mutex_unlock ./vulnerable
perfLinux profiling tool to measure precise timing and identify critical sectionsperf stat -e cycles,instructions ./vulnerable
timeNanosecond-precision timing measurement for race window analysistime -p ./race_exploit
tasksetPin processes to specific CPU cores to control scheduling and amplify racestaskset -c 0 ./attacker & taskset -c 1 ./victim

Methodology

Attack Chain

[1] Identify              [2] Analyze              [3] Amplify
  - Scan source for         - Trace syscalls           - Use stress-ng to
    pthread_create,           (strace) to find           increase CPU load
    signal(), access(),       check-use gaps           - Pin processes to
    fork() patterns         - Compile with               specific cores
  - Look for missing          ThreadSanitizer          - Run parallel attack
    mutex locks             - Analyze helgrind           instances (100+)
  - Identify TOCTOU           reports                  - Measure timing with
    sequences                    |                       nanosecond precision
       |                         v                           |
       v                                                     v
[4] Exploit               [5] Verify                [6] Escalate
  - Symlink race for        - Check for ASAN/TSAN      - Leverage race to
    privilege escalation      crashes (sanitizer         achieve UAF, double-
  - Signal handler race       reports)                   free, or arbitrary
    for RCE (regreSSHion)   - Verify memory             write
  - Thread interleaving       corruption via gdb       - Pivot to shell or
    for UAF/double-free     - Measure success rate      privilege escalation
  - Timing attack to leak     (must be >10% for        - Document race window
    secrets                   practical exploit)         and trigger method

Key Concepts

TOCTOU (Time-of-Check-Time-of-Use)

Race condition where a security check (e.g., access()) is performed on a resource, but the resource is changed before usage (e.g., open()). Classic example: setuid binary checks if user can read /tmp/file, attacker swaps it to symlink pointing to /etc/shadow, binary opens the shadow file with elevated privileges.

Signal Handler Reentrancy

Signal handlers must be async-signal-safe (no malloc, no non-reentrant functions). Bugs arise when handlers call non-reentrant functions like malloc(), printf(), or access shared state without atomic operations. CVE-2024-6387 (regreSSHion) exploited a race between SIGALRM handler and login logic in OpenSSH.

Happens-Before Relationship

Partial ordering of events in concurrent programs. If event A happens-before event B, then A's effects are visible to B. Race conditions occur when there is NO happens-before relationship between conflicting accesses to shared memory.

Memory Barrier / Fence

CPU instruction ensuring memory operations before the barrier complete before operations after it. Without barriers, CPU reordering can cause races even with "correct" source code. Compilers insert barriers via __sync_synchronize() or C11 atomics.

Double-Checked Locking Bug

Optimization where a check is performed outside a lock, then rechecked inside the lock. Broken without memory barriers because compiler/CPU can reorder writes, allowing partially-constructed objects to be visible. Classic Java/C++ bug pattern.

ABA Problem

Lock-free algorithm bug where a value changes from A→B→A during a compare-and-swap operation. The CAS succeeds because the value is back to A, but intermediate state changes (e.g., pointer freed and reallocated) can cause corruption. Common in lock-free stacks/queues.

ThreadSanitizer (TSan)

Dynamic race detector using happens-before analysis and shadow memory. Instruments all memory accesses and synchronization operations. Low false positive rate but 5-15x slowdown. Compile with -fsanitize=thread, run instrumented binary.

Race Window Amplification

Techniques to increase race window duration or success probability:

  • CPU stress (stress-ng) to cause scheduler thrashing
  • Process priority manipulation (nice, chrt)
  • Core pinning (taskset) to control thread placement
  • Parallel instances (spawn 100+ attack processes)
  • Nanosecond timing to measure optimal trigger points

Sanitizer Integration with CyberGym

CyberGym uses AddressSanitizer to detect memory corruption in submitted PoCs. Race exploits that trigger UAF or double-free must produce ASAN reports. Check submit.sh output for "Sanitizer CHECK failed" messages—these indicate successful exploit even if exit_code=1.


Defense Triple

Defense Perspective

Defense LayerControlKey Points
DesignImmutable data structures; pure functions; message-passing instead of shared stateEliminate race surface by construction — Rust ownership, Erlang processes, Go channels
Synchronization DisciplineMutex/RWLock with documented lock order; avoid double-checked locking without atomicsC11 _Atomic, memory_order_acquire/release; pair with static analysis (Clang Thread Safety Analysis)
TOCTOU EliminationUse file descriptors (openat, fstatat with AT_SYMLINK_NOFOLLOW) instead of path-based checksTreat "filename → fd" as the security boundary; never re-resolve paths
Signal SafetySignal handlers only call async-signal-safe functions; defer work via signalfd or self-pipeman 7 signal-safety; minimize handler to setting a volatile sig_atomic_t flag
Runtime DetectionThreadSanitizer (TSan) in CI; AddressSanitizer (ASan) + UBSan for memory races; helgrind for release candidatesTSan finds ~90% of data races in unit tests; pair with chaos fuzzing (AFL++ custom mutators)
Testing & ValidationStress tests under high CPU load; property-based testing for invariants; Coverity/racer2 static analysisRace windows amplify under load — tests passing in CI do not imply correctness in production

Code Review Checklist

  • All pthread operations use proper mutex locking
  • Signal handlers only call async-signal-safe functions
  • TOCTOU sequences eliminated (use O_NOFOLLOW, fstatat with AT_SYMLINK_NOFOLLOW)
  • Double-checked locking uses memory barriers (C11 atomics, volatile with barriers)
  • Lock order documented and enforced (prevent deadlocks)
  • All shared state accessed via atomics or under locks

Hardening Techniques

  • Eliminate TOCTOU: use file descriptors (openat) instead of paths
  • Signal safety: minimize signal handler code, use sig_atomic_t
  • Atomic operations: use C11 _Atomic or compiler intrinsics
  • Thread-safe libraries: prefer reentrant functions (*_r variants)
  • Process isolation: use separate processes instead of threads where possible

Detection Methods

Sanitizer-Based Detection (Primary)

  • ThreadSanitizer (TSan): -fsanitize=thread — detects data races at runtime; ~90% recall on unit tests with adequate coverage.
  • AddressSanitizer (ASan): -fsanitize=address — detects UAF/double-free triggered by race-induced corruption; CyberGym submit.sh signals exploit success via "Sanitizer CHECK failed".
  • UndefinedBehaviorSanitizer (UBSan): -fsanitize=undefined — catches signed overflow, misaligned access triggered during races.

SIEM / Audit Detection

  • Splunk SPL: index=app sourcetype="tsan" OR sourcetype="asan" "WARNING: ThreadSanitizer" | stats count by binary, race_stack
  • Sysmon EID 1 (process): Correlate crash dumps with sanitizer output; repeated ASan reports in CI = potential race-driven memory corruption.
  • Falco runtime rule: spawn (process, crash) && proc.name in (critical_services) triggers investigation.

Static Analysis

  • Clang Static Analyzer: scan-build -enable-checker core,security,cplusplus.NewDelete — finds double-checked locking, missing locks.
  • Coverity: race-condition models for pthread/C++ std::atomic.
  • racer2 / racerD (Infer): specialized race detector for Java/Java/C++.

Defense Evasion Techniques

Sanitizer Evasion

  • Single-threaded PoC: Race-only manifests with thread scheduling; suppress TSan by serializing execution so the race never triggers under instrumentation.
  • Pre-compiled binary: Ship binary without sanitizer instrumentation; CyberGym runs against ASan-instrumented harness, so craft PoC that triggers UAF in non-instrumented path.
  • Race window minimization: Tighten the race window so sanitizer sampling misses it (TSan has ~8x slowdown and samples access patterns).

Timing Evasion

  • Schedule manipulation: sched_setaffinity, nice, usleep to control thread interleaving; defenders looking for "fast" exploitation miss slow-race backdoors.
  • Cache-bank confict: Force contention on a shared cache line to artificially create race window; defenders monitoring CPU load patterns miss subtle cache contention.

Log Suppression

  • ASan report corruption: Trigger ASan early with benign UAF to fill log buffer; subsequent real exploit reports truncated.
  • TSan suppression file: .tsan_suppression shipped in test fixtures hides known races; attackers abuse to suppress race reports during exploitation.

Practical Steps

Step 1: Source Code Reconnaissance

Scan vulnerable source code for concurrency primitives and TOCTOU patterns:

bash
# Find pthread usage
grep -rn "pthread_create\|pthread_mutex\|pthread_cond" .

# Find signal handlers
grep -rn "signal(\|sigaction(\|SIGALRM\|SIGUSR" .

# Find TOCTOU candidates
grep -rn "access(\|stat(\|lstat(" . | grep -A5 "open(\|fopen("

# Find fork/clone patterns
grep -rn "fork(\|clone(\|vfork(" .

Step 2: Dynamic Analysis with ThreadSanitizer

Compile and run with TSan to detect races:

bash
# Compile with ThreadSanitizer
gcc -fsanitize=thread -g -O1 vulnerable.c -o vulnerable_tsan

# Run and capture report
./vulnerable_tsan 2>&1 | tee tsan_report.txt

# Look for "WARNING: ThreadSanitizer: data race" messages
# TSan reports show conflicting memory accesses with stack traces

Step 3: Helgrind Analysis

Use Valgrind's helgrind to find pthread synchronization bugs:

bash
# Run helgrind
valgrind --tool=helgrind --log-file=helgrind.log ./vulnerable

# Check for lock order violations and missing locks
grep "Possible data race\|lock order" helgrind.log

Step 4: Trace TOCTOU Sequences with strace

Identify time gaps between check and use:

bash
# Trace access/open sequence
strace -f -tt -T -e trace=access,open,openat,stat,lstat ./vulnerable 2>&1 | grep -A1 "access"

# Look for patterns like:
# 14:23:45.123456 access("/tmp/file", R_OK) = 0 <0.000012>
# 14:23:45.123789 open("/tmp/file", O_RDONLY) = 3 <0.000333>
# The 333 microsecond gap is the race window

Step 5: Build Race Exploit

Create exploit script that wins the race window:

Symlink Race Technique:

  1. Create benign target file (e.g., /tmp/userfile)
  2. Create race loop that continuously swaps symlink between safe and sensitive targets
  3. Execute vulnerable binary repeatedly while race loop runs in background
  4. Measure timing gap from strace output to optimize race window
  5. Increase parallel instances (20-50+) to improve success probability
  6. Monitor audit logs and dmesg for evidence of privilege escalation

See payloads.md for tool-specific commands (inotify-tools, taskset, stress-ng).

Step 6: Amplify Race Window

Increase success probability with stress and parallelization:

Race Window Amplification Techniques:

  1. Use stress-ng to create CPU scheduling chaos (8-16 workers × 60 seconds)
  2. Pin attacker and victim processes to different CPU cores (taskset)
  3. Spawn 50-100 parallel attack instances to increase win probability
  4. Monitor success rate: measure percentage of attempts that trigger sanitizer/crash signals
  5. Reduce process priority of victim (nice -n 19) to expand time window
  6. Run attack under different load conditions to find optimal parameters

Amplification can increase success rate from 1-5% → 10-30%.

Step 7: Signal Handler Race Exploitation (regreSSHion-style)

Exploit signal handler race in server:

Signal Handler Race Pattern:

  1. Identify timeout signal handlers (SIGALRM, SIGIO) in server code
  2. Find non-async-signal-safe function calls in handlers (malloc, free, printf, syslog)
  3. Send connection that delays before timeout fires (e.g., SSH authentication delay)
  4. Signal delivery during critical section (malloc/free) causes heap corruption
  5. Exploit corrupted heap state to achieve UAF or arbitrary write
  6. Amplify by sending parallel connections to increase race probability

See guides/signal-handler-race-exploitation.md for detailed patterns and tools (ThreadSanitizer, helgrind) for race detection.

Step 8: Verify Exploitation with GDB

Debug race condition with catchpoints:

bash
# Set catchpoint on thread creation
gdb -ex "catch syscall clone" \
    -ex "commands 1" \
    -ex "  bt" \
    -ex "  info threads" \
    -ex "  continue" \
    -ex "end" \
    -ex "run" \
    ./vulnerable

# Set breakpoint on signal handler
gdb -ex "catch signal SIGALRM" \
    -ex "commands 1" \
    -ex "  bt" \
    -ex "  x/10i \$pc" \
    -ex "  continue" \
    -ex "end" \
    -ex "run" \
    ./vulnerable

Step 9: CyberGym Submission Format

Package race exploit for CyberGym validation:

CyberGym Submission Pattern:

  1. Create bash-based exploit wrapper (submit.sh) that orchestrates race conditions
  2. Use stress-ng (4-10 workers) and parallel instances (30-50) to amplify race window
  3. Implement per-instance exploit logic that triggers the race condition
  4. Monitor dmesg and system logs for sanitizer/ASAN detection
  5. CyberGym framework detects memory corruption (sanitizer CHECK failed) as PASS signal
  6. Exit code 1 with sanitizer output indicates successful exploitation

Note: Submission framework automatically validates memory corruption reports via AddressSanitizer.


Detection Methods

Application Behavior Indicators

  • Race condition artifacts: Duplicate successful operations (double-spend, double-withdraw).
  • Account balance anomalies: User balance going negative or showing impossible values.
  • Inventory mismatch: Database inventory count vs. actual count diverges over time.
  • Audit log gaps: Missing audit entries for high-frequency operations.

SIEM Detection Rules

  • Splunk SPL: index=app action="transfer" | stats count by user_id, amount | where count > 1 | sort -count
  • Application performance: Sudden spike in DB transactions per second; lock contention.
  • Custom application logging: Detect double-submit patterns within milliseconds.

Code Static Analysis

  • TOCTOU detection: Slither (Solidity), Semgrep (multi-language) for time-of-check vs. time-of-use patterns.
  • Lock analysis: Detect missing mutex/critical section around shared state.
  • Atomic operation check: Detect non-atomic check-then-act patterns.

Defense Evasion Techniques

Race Window Maximization

  • Parallel requests: Send N concurrent requests; maximize chance of race window.
  • Last-byte synchronization: Hold requests open, send final byte simultaneously (HTTP request smuggling).
  • HTTP/2 multiplexing: Multiple concurrent streams on single connection; bypasses per-connection rate limits.
  • Single-packet attack: Send multiple HTTP requests in single TCP packet (James Kettle technique).

TOCTOU Exploitation

  • Pre-compute state: Trigger check, then immediately act before check expires.
  • Cache poisoning: Poison cache so check sees stale data while act sees new.
  • Async abuse: Trigger async operations that complete between check and act.

Container/Cloud Race Exploitation

  • IAM propagation delay: Create role, immediately assume before policy propagates.
  • Cross-region replication lag: Exploit time window between regions.
  • Database replication lag: Read from replica before write propagates (read-after-write inconsistency).

Detection Evasion

  • Slow & distributed: Spread race attempts across many sessions/IPs; below per-source rate limit.
  • Use legitimate-looking traffic: Mimic normal user behavior (mouse movements, page scrolls).
  • Off-hours operation: Execute during low-traffic hours; less likely to trigger anomaly detection.

References

  • CVE-2024-6387: OpenSSH regreSSHion signal handler race condition
  • CVE-2023-26136: tough-cookie TOCTOU vulnerability
  • "The Art of Software Security Assessment" - Race Condition chapter
  • ThreadSanitizer documentation: https://github.com/google/sanitizers
  • MITRE CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization

Συνοδευτικά αρχεία

Το μοντέλο τα διαβάζει όποτε χρειάζεται, όσο η δεξιότητα είναι φορτωμένη. Διατίθενται ως αρχεία για ανάγνωση και δεν εκτελούνται ποτέ.

Συχνές ερωτήσεις

Τι κάνει η δεξιότητα AI Concurrency Exploitation;

Concurrency exploitation covers race condition vulnerabilities including TOCTOU, signal handler races, thread synchronization bypasses, and timing attacks.

Γιατί να χρησιμοποιήσετε τη δεξιότητα Concurrency Exploitation στο TypingMind;

Επειδή την εγκαθιστάτε μία φορά και τη χρησιμοποιείτε με οποιοδήποτε μοντέλο. Η Concurrency Exploitation είναι απλό Markdown και όχι κώδικας ειδικά για κάποιον πάροχο, επομένως η ίδια δεξιότητα λειτουργεί με GPT-5, Claude, Gemini, Grok ή ένα τοπικό μοντέλο — και μπορείτε να αλλάξετε μοντέλο κατά τη διάρκεια της συνομιλίας χωρίς να διακοπεί η λειτουργία της. Το TypingMind λειτουργεί με τα δικά σας κλειδιά API, οπότε πληρώνετε απευθείας τους παρόχους αντί για συνδρομή ανά θέση χρήστη, ενώ οι δεξιότητες και οι συνομιλίες σας παραμένουν στον δικό σας χώρο αποθήκευσης.

Πώς εγκαθιστώ τη δεξιότητα Concurrency Exploitation στο TypingMind;

Στο TypingMind, ανοίξτε Πρόσθετα → Δεξιότητες → Εγκατάσταση από το GitHub και επικολλήστε τη διεύθυνση https://github.com/brucesongs/kali-claw/tree/main/skills/concurrency-exploitation. Το TypingMind διαβάζει το αρχείο SKILL.md, συγκεντρώνει τα συνοδευτικά αρχεία και εγκαθιστά τη δεξιότητα, την οποία μπορείτε να ενεργοποιείτε ανά συνομιλία.

Ποια μοντέλα AI μπορούν να χρησιμοποιήσουν τη δεξιότητα Concurrency Exploitation;

Οποιοδήποτε μοντέλο συνδέετε στο TypingMind. Οι δεξιότητες AI είναι απλές οδηγίες Markdown και όχι κώδικας ειδικά για κάποιον πάροχο, επομένως τα GPT, Claude, Gemini, Grok και τα τοπικά μοντέλα μπορούν όλα να φορτώσουν αυτή τη δεξιότητα όταν ένα αίτημα αντιστοιχεί σε αυτή.

Με πόσα μοντέλα AI μπορώ να χρησιμοποιήσω τη δεξιότητα Concurrency Exploitation;

Με όσα θέλετε. Στο TypingMind μπορείτε να χρησιμοποιήσετε τη δεξιότητα Concurrency Exploitation με οποιοδήποτε μοντέλο υποστηρίζει δεξιότητες, όπως τα GPT, Claude, Gemini, Grok, DeepSeek, Mistral και Llama, χρησιμοποιώντας τα δικά σας κλειδιά API.

Είναι δωρεάν η δεξιότητα AI Concurrency Exploitation;

Ναι. Δημοσιεύεται στο GitHub από τον λογαριασμό brucesongs με την άδεια χρήσης MIT. Πληρώνετε μόνο τον δικό σας πάροχο AI για τα token που χρησιμοποιείτε.

Τι είναι οι δεξιότητες AI;

Μια δεξιότητα AI είναι ένα επαναχρησιμοποιήσιμο πακέτο οδηγιών που διδάσκει σε ένα μοντέλο AI πώς να εκτελεί μια συγκεκριμένη εργασία. Ακολουθεί την ανοιχτή μορφή Agent Skills: ένα αρχείο SKILL.md με όνομα και περιγραφή, μαζί με τυχόν σενάρια κώδικα, πρότυπα ή αρχεία αναφοράς που μπορεί να χρειαστεί το μοντέλο. Το μοντέλο διαβάζει τις οδηγίες μόνο όταν το αίτημά σας αντιστοιχεί στη δεξιότητα, οπότε μια εγκατεστημένη δεξιότητα δεν κοστίζει τίποτα μέχρι να χρησιμοποιηθεί.

Σε τι διαφέρουν οι δεξιότητες AI από τα πρόσθετα ή τους συνδέσμους MCP;

Ένα πρόσθετο ή ένας σύνδεσμος MCP παρέχει στο μοντέλο νέα εργαλεία που μπορεί να καλέσει — κώδικα που εκτελείται κάπου και επιστρέφει ένα αποτέλεσμα. Μια δεξιότητα AI παρέχει αντί γι’ αυτό γνώσεις και διαδικασίες στο μοντέλο: πώς να προσεγγίσει μια εργασία, ποια βήματα να ακολουθήσει και ποια χαρακτηριστικά έχει ένα καλό αποτέλεσμα. Οι δεξιότητες είναι απλό Markdown, επομένως δεν χρειάζονται διακομιστή, κλειδί API ή περιβάλλον εκτέλεσης και λειτουργούν με οποιοδήποτε μοντέλο.

Προβολή όλων
Λογότυπο openclaw

Openclaw Testing

openclaw
ΟργανισμόςΔημοφιλής

Επιλέξτε αναλογικές δοκιμές και ελέγχους για το OpenClaw, διαγνώστε αποτυχίες και αναθέστε στον αρμόδιο τις εργασίες που εξαρτώνται από το περιβάλλον ή απαιτούν αποδεικτικά στοιχεία για την έκδοση.

82.2K
391K
Αρχεία: 2
Προβολή
Λογότυπο openclaw

Release Openclaw Ci

openclaw
ΟργανισμόςΔημοφιλής

Εκτελέστε, παρακολουθήστε, αποσφαλματώστε και συνοψίστε το πλήρες CI κυκλοφορίας του OpenClaw, τους ελέγχους κυκλοφορίας, τις πύλες ζωντανών παρόχων, τις επαληθεύσεις εγκατάστασης/ενημέρωσης και τους προκαταρκτικούς ελέγχους μυστικών κυκλοφορίας.

82.2K
391K
Αρχεία: 3
Προβολή
Λογότυπο openclaw

Release Openclaw Mac

openclaw
ΟργανισμόςΔημοφιλής

Εκτελέστε ή αποκαταστήστε την υπογραφή κυκλοφορίας macOS του OpenClaw, τη συμβολαιογράφηση, το appcast και την προώθηση στοιχείων.

82.2K
391K
Οδηγίες
Προβολή
Λογότυπο openclaw

Release Openclaw Maintainer

openclaw
ΟργανισμόςΔημοφιλής

Προετοιμάστε, δημοσιεύστε, αποκαταστήστε ή επαληθεύστε κυκλοφορίες beta, stable και extended-stable του OpenClaw, συμπεριλαμβανομένων των εγκεκριμένων backport.

82.2K
391K
Αρχεία: 11
Προβολή

Δημιουργήστε τώρα τον δικό σας χώρο εργασίας AI

Εγγραφείτε στο ενημερωτικό μας δελτίο για να ενημερώνεστε για νέες λειτουργίες και μελλοντικές κληρώσεις δώρων 👇