Логотип Auditing Windows Token And Privilege Abuse

Auditing Windows Token And Privilege Abuse

Організація
UnboundCompute
auditing-windows-token-and-privilege-abuse

Перевіряйте підвищення привілеїв через зловживання маркерами доступу й привілеями Windows: процес має чутливий привілей або може отримати маркер із вищими привілеями, що дозволяє закріпитися з нижчими привілеями й видавати себе за привілейованого викликача, завантажувати драйвер, ставати власником, створювати резервні копії захищених файлів або налагоджувати інший процес, щоб отримати вищий рівень доступу. Використовуйте, коли служба або процес працює з увімкненим чутливим привілеєм або може отримувати маркери від привілейованих викликачів і видавати себе за них. Охоплює привілеї для видачі себе за іншого користувача, викрадення й дублювання маркерів, а також привілеї резервного копіювання, відновлення, зміни власника, завантаження драйверів і налагодження. Привілей або перехоплюваний привілейований маркер є джерелом, дозволена привілеєм операція — приймачем, а помилкою є перехід із нижчого рівня доступу на вищий.

Огляд

ВидавецьUnboundCompute
Репозиторійsecurity-agent-skills
Назва навичкиauditing-windows-token-and-privilege-abuse
Зірки
27
Форки
8
Файли в пакеті
Лише інструкції
ЛіцензіяMIT
Посилання
  • Інструкції у форматі Markdown

    Файл SKILL.md, який модель завантажує за потреби, тож токени витрачаються лише тоді, коли запит справді відповідає навичці.

  • Працює з будь-якою LLM

    Навички ШІ — це звичайний Markdown, а не код для певного постачальника, тому вони працюють із GPT, Claude, Gemini, Grok або локальною моделлю.

  • Усе необхідне — в інструкціях

    Усе потрібне моделі міститься в інструкціях — жодних додаткових файлів для синхронізації.

  • Відкритий вихідний код

    Видавець на GitHub: UnboundCompute. Перед установленням перегляньте вихідні файли навички.

Встановлення

Установіть навичку ШІ Auditing Windows Token And Privilege Abuse у TypingMind, щоб використовувати її з будь-якою LLM, або додайте її до іншого агента, що читає SKILL.md.

1

Встановити в TypingMind

TypingMind встановлює навичку безпосередньо з її папки на GitHub — читає SKILL.md, збирає файли ресурсів у пакет і зберігає результат локально.

  1. Відкрийте застосунок і перейдіть до розділу «Плагіни» → «Навички».
  2. Виберіть «Встановити з GitHub».
  3. Вставте наведений нижче URL папки навички та підтвердьте встановлення.
    https://github.com/UnboundCompute/security-agent-skills/tree/main/skills/auditing-windows-token-and-privilege-abuse
  4. Увімкніть навичку в кожному чаті, де хочете її використовувати.
Плагіни → Навички → Додати навичку → За URL GitHub, потім вставте URL папки й натисніть «Продовжити».
2

Встановити в іншому агенті

Будь-який агент, що підтримує формат Agent Skills, може використовувати цю навичку — скопіюйте папку до каталогу навичок цього агента.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/UnboundCompute/security-agent-skills.git /tmp/security-agent-skills
mkdir -p .claude/skills
cp -r /tmp/security-agent-skills/skills/auditing-windows-token-and-privilege-abuse .claude/skills/auditing-windows-token-and-privilege-abuse
Після копіювання перезапустіть Claude Code, щоб завантажити нову навичку.

Використовуйте навичку в TypingMind

Увімкніть навичку Auditing Windows Token And Privilege Abuse в будь-якому чаті TypingMind, і далі модель усе зробить сама. Назва й опис навички містяться в системному промпті, а щойно надходить відповідний запит, модель самостійно завантажує повні інструкції — вам не потрібно викликати навичку вручну, і до фактичного використання вона не витрачає токенів.

Модель самостійно завантажує навичку Auditing Windows Token And Privilege Abuse, щойно надходить відповідний запит.

Працює з будь-якою моделлю ШІ

Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для певного постачальника, тому навичка Auditing Windows Token And Privilege Abuse не прив’язана до моделі, для якої її створено. Установіть її один раз у TypingMind і використовуйте з GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama або локальною моделлю, яку ви запускаєте самостійно, — усе з вашими власними ключами API.

  • Завантажується лише за потреби

    Системний промпт містить лише назву й опис. Інструкції завантажуються за першого відповідного запиту, тож поки навичка не потрібна, токени на її інструкції не витрачаються.

  • Змінюйте моделі під час чату

    Оскільки навичка — це інструкції, а не код, зміна моделі не порушує її роботу: наступна модель читає той самий файл SKILL.md.

Інструкції навички

Це вміст файлу SKILL.md, який завантажує модель. Прочитайте його перед установленням — навичка містить інструкції, яких дотримуватиметься ваша модель.

Auditing Windows token and privilege abuse: when a held privilege is a ladder

A Windows access token carries the privileges a process may exercise, and a handful of them are equivalent to full control of the host even when the account is not an administrator. A process that can impersonate a client can capture a privileged caller's token and act as that caller. One that holds the privilege to load a driver runs code in the kernel. One that can back up or restore files reads and writes past every access control. One that can take ownership or debug any process reaches into a more privileged context directly. The bug is not that the privilege exists; it is that a lower-privileged foothold holds a privilege, or can obtain a token, whose authorized operation lifts it to a higher context. You audit these by listing the privileges each process holds and each token it can capture, and asking which of them crosses a trust boundary the account was not meant to cross.

When to use

  • A service or process runs with a named sensitive privilege enabled that you can enumerate.
  • A process accepts connections from privileged callers and can impersonate their tokens.
  • A foothold account holds backup, restore, ownership, load-driver, or debug rights on a host you assess.

Scope check

Audit token and privilege abuse only on hosts you own or are authorized to assess, on non-production or a snapshot, using a benign proof that the privileged operation succeeded rather than performing a damaging one. A confirmed abuse reaches a full-control context, so keep every probe within the authorized scope. If you can't name the authorization, stop.

The loop

  1. Establish which privileges the foothold actually holds and can enable first. For the process or account under assessment, determine the exact set of privileges present in its token and which are enabled or can be enabled, and which privileged tokens it is positioned to capture. This is the false-positive killer: a privilege that is present but not held by the foothold, or an impersonation that only ever receives tokens no more privileged than the account itself, is not an escalation. Name the specific privilege or capturable token before claiming a path.

  2. Enumerate the sensitive privileges in scope. List the privileges that are equivalent to escalation when held by a non-administrator: the impersonation privileges, the load-driver privilege, the backup and restore privileges, the take-ownership privilege, and the debug privilege. Note which of these the foothold's token carries and whether each is enabled or enable-able.

  3. Map impersonation to a captured token. For an impersonation privilege, determine whether the process can induce a privileged caller to connect or authenticate to it and then impersonate that caller's token, turning a service foothold into the privileged caller's context. Identify the concrete way a privileged token is made to arrive.

  4. Map each direct privilege to its authorized operation. Load-driver runs code in the kernel; backup and restore read and write files past their access control; take-ownership seizes an object and then rewrites its permissions; debug opens a handle into a more privileged process. For each held privilege, name the operation it authorizes and the higher context that operation reaches.

  5. Check the boundary the operation crosses. An escalation exists only where the authorized operation reaches a context more privileged than the foothold: reading a protected credential store, writing a system binary, injecting into a system process, or loading kernel code. Confirm the operation actually crosses that boundary rather than staying within the account's own resources.

  6. Confirm and record. Confirm by exercising the privilege for a benign proof on an isolated host: capture a token and read something the foothold could not, or use backup to open a protected file for read only, or load a benign signed test driver, observing the higher context without damage. Kill the lead if the foothold does not hold or cannot enable the privilege, if the only capturable tokens are no more privileged than the account, or if the operation stays within the account's own resources. Record the privilege, the operation, the boundary crossed, and the benign proof, or set a kill_reason.

Where token and privilege abuse leaks

  • The held privilege is the finding, not its name. A sensitive privilege matters only when the lower-privileged foothold actually holds and can enable it; confirm possession before impact.
  • Impersonation captures a caller's context. A process that can impersonate turns any privileged caller it can induce to connect into that caller's token, so the reach is whoever can be made to authenticate.
  • Backup and restore ignore access control. These privileges read and write files past their permissions, so a foothold holding them reads protected stores and writes protected binaries.
  • Load-driver reaches the kernel. The privilege to load a driver runs attacker-chosen code in the most privileged context on the host, so it is escalation by definition when a non-admin holds it.
  • Take-ownership and debug reach across processes. Ownership seizes an object to rewrite its permissions; debug opens a handle into a more privileged process to read or inject, each crossing the boundary directly.

Worked example (a confirm and a kill)

Confirm. A service account foothold holds an impersonation privilege, and the service can be induced to have a privileged caller authenticate to it. Capturing and impersonating that caller's token lets the foothold read a resource restricted to the privileged account, demonstrated for read only on an isolated host. Confirmed privilege escalation through token impersonation, high, remediation = remove the impersonation privilege from the account if it is not required, run the service under an account with only the privileges it needs, and prevent privileged callers from authenticating to a lower-privileged service.

Kill. The same account's token does not carry the impersonation privilege, holds no backup, restore, ownership, load-driver, or debug privilege, and the only callers it can impersonate run as the same unprivileged account. No held privilege authorizes an operation that crosses to a higher context. Killed, kill_reason = "the foothold holds no sensitive privilege it can enable and can capture no token more privileged than itself; no authorized operation reaches a higher context."

Rationalizations to reject

  • "The account is not an administrator." -> Several privileges are administrator-equivalent on their own; a non-admin holding backup, load-driver, or an impersonation privilege escalates without being an admin.
  • "The privilege is present but disabled." -> A privilege the foothold can enable is held for this purpose; check whether it can be enabled, not only whether it is enabled right now.
  • "Only system services impersonate." -> If the assessed service can impersonate and a privileged caller can be induced to connect, the foothold captures that caller's token regardless of what usually connects.
  • "Backup is just for backups." -> The backup privilege reads any file past its access control, so it reads protected credential and configuration stores the account could not otherwise open.
  • "Debugging needs a debugger attached." -> The debug privilege opens a handle into a more privileged process directly; no interactive debugger is required for the escalation.

Executing this in practice

You need the exact privilege set in the foothold's token, which privileges are enabled or enable-able, and, for impersonation, which privileged callers can be induced to authenticate to the process. For each sensitive privilege held, name the authorized operation and the higher context it reaches, then confirm the boundary is actually crossed. Reading the token's privileges settles most leads; a benign proof, a read past access control or a captured privileged token used read-only on an isolated host, settles the rest.

Related

  • hunting-windows-service-privilege-escalation - code running as a service account inherits that account's privileges, so a service escalation and the privileges the account then wields are consecutive steps.
  • hunting-windows-dll-hijacking-and-search-order - code loaded into a privileged process gains that process's token, which this skill then audits for the privileges it carries.
  • auditing-windows-uac-and-integrity-boundaries - integrity levels and elevation gate which privileges a token may exercise, the boundary that skill audits alongside this one.
  • hunting-windows-credential-material-exposure - the backup and debug privileges read protected credential stores, feeding the material that skill pursues from the access side.
  • FINDING-SCHEMA.md - source = the held privilege or capturable privileged token, sink = the operation the privilege authorizes, evidence = the higher context reached through a benign proof on an isolated host.

Поширені запитання

Що робить навичка ШІ Auditing Windows Token And Privilege Abuse?

Перевіряйте підвищення привілеїв через зловживання маркерами доступу й привілеями Windows: процес має чутливий привілей або може отримати маркер із вищими привілеями, що дозволяє закріпитися з нижчими привілеями й видавати себе за привілейованого викликача, завантажувати драйвер, ставати власником, створювати резервні копії захищених файлів або налагоджувати інший процес, щоб отримати вищий рівень доступу. Використовуйте, коли служба або процес працює з увімкненим чутливим привілеєм або може отримувати маркери від привілейованих викликачів і видавати себе за них. Охоплює привілеї для видачі...

Навіщо використовувати Auditing Windows Token And Privilege Abuse у TypingMind?

Тому що ви встановлюєте її один раз і використовуєте з будь-якою моделлю. Auditing Windows Token And Privilege Abuse — це звичайний Markdown, а не код для конкретного постачальника, тому та сама навичка працює з GPT-5, Claude, Gemini, Grok або локальною моделлю. Ви можете змінити модель навіть посеред чату, і навичка продовжить працювати. TypingMind використовує ваші власні ключі API, тож ви платите безпосередньо постачальникам замість передплати за кожне місце користувача, а ваші навички й чати залишаються у вашому сховищі.

Як встановити Auditing Windows Token And Privilege Abuse у TypingMind?

Відкрийте в TypingMind Плагіни → Навички → Встановити з GitHub і вставте https://github.com/UnboundCompute/security-agent-skills/tree/main/skills/auditing-windows-token-and-privilege-abuse. TypingMind прочитає файл SKILL.md і встановить навичку, яку можна вмикати окремо для кожного чату.

Які моделі ШІ можуть використовувати Auditing Windows Token And Privilege Abuse?

Будь-яка модель, яку ви підключите в TypingMind. Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для конкретного постачальника, тому GPT, Claude, Gemini, Grok і локальні моделі можуть завантажувати цю навичку, коли запит їй відповідає.

Зі скількома моделями ШІ можна використовувати Auditing Windows Token And Privilege Abuse?

Зі скількома забажаєте. У TypingMind ви можете використовувати Auditing Windows Token And Privilege Abuse із будь-якою моделлю, яка підтримує навички, зокрема з GPT, Claude, Gemini, Grok, DeepSeek, Mistral чи Llama. Для цього ви використовуєте власні ключі API.

Чи безкоштовна навичка ШІ Auditing Windows Token And Privilege Abuse?

Так. На GitHub цю навичку публікує UnboundCompute за ліцензією MIT. Ви платите лише своєму постачальнику ШІ за використані токени.

Що таке навички ШІ?

Навичка ШІ — це набір інструкцій для повторного використання, який навчає модель ШІ виконувати одне конкретне завдання. Він відповідає відкритому формату Agent Skills: файл SKILL.md із назвою та описом, а також скрипти, шаблони чи довідкові файли, які можуть знадобитися моделі. Модель читає інструкції лише тоді, коли ваш запит відповідає навичці, тому встановлена навичка нічого не коштує, доки її не використано.

Чим навички ШІ відрізняються від плагінів або серверів MCP?

Плагін або сервер MCP надає моделі нові інструменти, які вона може викликати, — код, який десь виконується й повертає результат. Натомість навичка ШІ дає моделі знання й пояснює порядок дій: як підійти до завдання, яких кроків дотримуватися та яким має бути якісний результат. Навички — це звичайний Markdown, тож їм не потрібні ні сервер, ні ключ API, ні середовище виконання, і вони працюють із будь-якою моделлю.

Усі
Логотип openclaw

Release Openclaw Ci

openclaw
ОрганізаціяПопулярне

Запускайте, відстежуйте, налагоджуйте та підсумовуйте повний CI для релізів OpenClaw, перевірки релізів, контрольні перевірки робочих провайдерів, підтвердження встановлення й оновлення та попередні перевірки секретів для релізу.

82.2K
391K
Файлів: 3
Відкрити
Логотип openclaw

Release Openclaw Mac

openclaw
ОрганізаціяПопулярне

Виконуйте підписування релізів OpenClaw для macOS, нотаризацію, оновлення appcast і просування ресурсів або відновлюйте ці процеси.

82.2K
391K
Інструкції
Відкрити
Логотип openclaw

Release Openclaw Maintainer

openclaw
ОрганізаціяПопулярне

Готуйте, публікуйте, відновлюйте або перевіряйте бета-, стабільні й розширено стабільні релізи OpenClaw, зокрема затверджені зворотні перенесення змін.

82.2K
391K
Файлів: 11
Відкрити
Логотип openclaw

Release Openclaw Plugin Testing

openclaw
ОрганізаціяПопулярне

Плануйте та виконуйте передрелізну перевірку плагінів OpenClaw: вбудованих плагінів, артефактів пакетів, команд життєвого циклу, doctor/fix, перевірки конфігурації після повторного перетворення, запуску шлюзу, сумісності SDK, Docker E2E,…

82.2K
391K
Файлів: 1
Відкрити

Створіть власний робочий простір зі ШІ вже зараз

Підпишіться на нашу розсилку, щоб дізнаватися про нові функції та майбутні розіграші 👇