شعار Auditing Windows Uac And Integrity Boundaries

Auditing Windows Uac And Integrity Boundaries

مؤسسة
UnboundCompute
auditing-windows-uac-and-integrity-boundaries

دقّق في حدود الرفع ومستويات التكامل في Windows، حيث تصل عملية ذات مستوى تكامل متوسط إلى سياق ذي مستوى تكامل عالٍ من دون مطالبة موافقة حقيقية، عبر ملف ثنائي يرفع الامتيازات تلقائيًا ويحمّل مدخلات يتحكم فيها مهاجم، أو مورد قابل للكتابة تستهلكه عملية ذات امتيازات مرتفعة، أو سياسة رفع امتيازات متساهلة أكثر من اللازم، أو مستوى تكامل لا يقيّد العملية التي ينبغي أن يقيّدها. استخدم ذلك عند مراجعة كيفية تمييز المضيف بين التعليمات البرمجية ذات الامتيازات المرتفعة وغيرها، وما إذا كان بإمكان غير المسؤول تجاوز هذا الحد من دون موافقة فعلية. يشمل ذلك إساءة استخدام الرفع التلقائي للامتيازات، واستهلاك العمليات ذات الامتيازات المرتفعة لمدخلات قابلة للكتابة، وسياسات رفع الامتيازات المتساهلة، ومستويات التكامل التي لا تقيّد عمليةً كما ينبغي. تأثير العملية ذات مستوى التكامل المتوسط في ما تستهلكه عملية ذات امتيازات مرتفعة هو المصدر، والعملية التي ترفع الامتيازات تلقائيًا أو العملية ذات الامتيازات المرتفعة هي المصبّ، والوصول إلى سياق ذي مستوى تكامل عالٍ من دون موافقة حقيقية هو موضع الخلل.

نظرة عامة

الناشرUnboundCompute
المستودعsecurity-agent-skills
اسم المهارةauditing-windows-uac-and-integrity-boundaries
النجوم
27
التفريعات
8
الملفات المرفقة
تعليمات فقط
الترخيصMIT
الروابط
  • تعليمات بصيغة Markdown

    ملف SKILL.md يُحمّله النموذج عند الحاجة، فلا يستهلك توكنات إلا عندما يَرِد طلب ذو صلة فعلًا.

  • تعمل مع أي نموذج لغوي كبير

    مهارات الذكاء الاصطناعي مكتوبة بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا تعمل مع GPT أو Claude أو Gemini أو Grok أو نموذج محلي.

  • مكتفية بذاتها

    كل ما يحتاجه النموذج موجود في التعليمات — لا ملفات إضافية لمزامنتها.

  • مفتوحة المصدر

    نشرها UnboundCompute على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Auditing Windows Uac And Integrity Boundaries في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ SKILL.md.

1

التثبيت في TypingMind

يُثبّت TypingMind المهارة مباشرةً من مجلدها على GitHub — فيقرأ SKILL.md، ويجمع ملفات الموارد في حزمة، ويحفظ النتيجة محليًا.

  1. افتح التطبيق وانتقل إلى «الإضافات» ثم «المهارات».
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/UnboundCompute/security-agent-skills/tree/main/skills/auditing-windows-uac-and-integrity-boundaries
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات ← المهارات ← إضافة مهارة ← من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
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-uac-and-integrity-boundaries .claude/skills/auditing-windows-uac-and-integrity-boundaries
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

فعّل Auditing Windows Uac And Integrity Boundaries في أي محادثة على TypingMind وسيتولى النموذج الباقي. تتضمن مطالبة النظام اسمها ووصفها، وبمجرد ورود طلب ذي صلة، يُحمّل النموذج التعليمات الكاملة تلقائيًا — فلا تحتاج إلى استدعائها يدويًا، ولا تستهلك أي توكنات حتى تُستخدم فعليًا.

يُحمّل النموذج مهارة Auditing Windows Uac And Integrity Boundaries تلقائيًا بمجرد ورود طلب ذي صلة بها.

تعمل مع أي نموذج ذكاء اصطناعي

مهارات الذكاء الاصطناعي هي تعليمات بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا لا ترتبط Auditing Windows Uac And Integrity Boundaries بالنموذج الذي كُتبت له. ثبّتها مرة واحدة في TypingMind واستخدمها مع GPT-5 أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو نموذج محلي تشغّله بنفسك — كل ذلك باستخدام مفاتيح API الخاصة بك.

  • تُحمَّل عند الحاجة فقط

    تتضمن مطالبة النظام الاسم والوصف فقط. وتُجلب التعليمات عند أول طلب ذي صلة، لذا لا تستهلك تعليمات المهارة أي توكنات ما دامت المهارة غير مستخدمة.

  • بدّل النماذج أثناء المحادثة

    لأن المهارة تعليمات وليست شيفرة، فإن تغيير النموذج لا يعطّلها — فالنموذج التالي يقرأ ملف SKILL.md نفسه.

تعليمات المهارة

هذا هو محتوى SKILL.md الذي يُحمّله النموذج. اقرأه قبل التثبيت — فالمهارة عبارة عن تعليمات سيتبعها نموذجك.

Auditing Windows UAC and integrity boundaries: when elevation happens without a real prompt

Windows separates code that runs elevated from code that does not, marks processes with an integrity level, and asks the user to consent before a process gains administrative rights. That boundary holds only when crossing it requires either a genuine consent prompt or an existing high-integrity context. It breaks when an auto-elevating binary, one the system elevates without prompting, can be steered by a medium-integrity process into loading an input the attacker controls, when an already-elevated process consumes a file, registry value, or path a non-administrator can write, when the elevation policy is broad enough to elevate more than it should, or when an integrity level is set but does not actually gate the operation it is meant to protect. In each case a medium-integrity foothold reaches a high-integrity context without the consent the boundary promised. The bug is elevation without genuine consent. You audit these by finding every way a non-elevated process influences what an elevated one does.

When to use

  • A host has auto-elevating binaries or an elevation policy and you can enumerate what they consume.
  • An elevated process reads a file, registry value, or path that a non-administrator may write.
  • An integrity level is relied on to gate an operation you can test from a medium-integrity context.

Scope check

Audit elevation boundaries only on hosts you own or are authorized to assess, on non-production or a snapshot, using a benign marker that proves the high-integrity context was reached rather than taking real administrative action. A confirmed crossing yields administrative rights, so keep every probe within scope. If you can't name the authorization, stop.

The loop

  1. Establish whether crossing the boundary needs genuine consent or an existing high context first. For each way a medium-integrity process might reach high integrity, determine whether it requires a real consent prompt or an already-elevated context, or whether an auto-elevating binary, a writable consumed input, or a permissive policy lets the crossing happen without consent. This is the false-positive killer: a boundary that always requires genuine consent or existing elevation is not crossed by a medium-integrity foothold. Name the consent-free crossing before crafting a proof.

  2. Enumerate auto-elevating binaries and elevated processes. List the binaries the system elevates without prompting and the processes already running elevated, and for each note the inputs it consumes: files it loads, registry values it reads, paths it resolves, and objects it opens. These consumed inputs are where a medium-integrity process may exert influence.

  3. Check for medium-integrity influence over a consumed input. Determine whether a non-administrator can write a file, registry value, or path that an auto-elevating or elevated process then consumes, so the elevated code acts on attacker-controlled input. A writable consumed input is the crossing.

  4. Check the elevation policy breadth. Determine whether the policy elevates more than it should: auto-elevation that extends to a binary that loads external input, or a configuration that suppresses the prompt for operations that should require it. A broad policy turns an ordinary action into a consent-free elevation.

  5. Check that integrity levels actually gate. Determine whether an operation relied on to be gated by integrity level is truly refused from medium integrity, or whether the object's permissions or the operation's implementation let a medium-integrity process perform it anyway. A level that is set but not enforced is no boundary.

  6. Confirm and record. Confirm by influencing a consumed input or exercising the policy so a benign marker runs in the high-integrity context on an isolated host, without genuine consent. Kill the lead if every crossing requires a real prompt or existing elevation, if no consumed input is writable by a non-administrator, and if the integrity level actually refuses the operation. Record the crossing, the consumed input or policy, and the high-integrity marker, or set a kill_reason.

Where the integrity boundary leaks

  • The consent-free crossing is the finding. Elevation with a genuine prompt is the design; the bug is a medium-integrity foothold reaching high integrity without one. Name how consent is skipped.
  • Auto-elevating binaries that load input are levers. A binary the system elevates without prompting becomes an escalation when a medium-integrity process steers what it loads.
  • Elevated processes consuming writable inputs. An elevated process reading a file, registry value, or path a non-administrator can write acts on attacker input at high integrity.
  • Broad elevation policy skips the prompt. A policy that elevates too much, or suppresses the prompt for operations that should require it, removes the consent the boundary depends on.
  • A set integrity level that does not gate. An integrity level marked on an object but not enforced by its permissions or the operation lets a medium-integrity process act as though the boundary were absent.

Worked example (a confirm and a kill)

Confirm. An auto-elevating binary loads a configuration file from a path a standard user can write. Planting a benign marker configuration there causes the elevated binary to act on it in a high-integrity context at the next run, with no consent prompt, on an isolated host. Confirmed elevation without genuine consent through a writable input to an auto-elevating binary, high, remediation = load inputs to auto-elevating binaries only from administrator-writable locations, require a genuine consent prompt for the operation, and narrow the auto-elevation policy to binaries that consume no external input.

Kill. The same binary loads its configuration only from an administrator-writable location, the elevation policy prompts for the operation, and the integrity level on the target object refuses a medium-integrity write. A standard user cannot influence what the elevated code consumes and cannot elevate without consenting. Killed, kill_reason = "the elevated binary consumes only admin-writable inputs, the operation requires a genuine consent prompt, and the integrity level refuses the medium-integrity write; no consent-free crossing exists."

Rationalizations to reject

  • "The user has to approve elevation." -> Only if the crossing actually prompts; an auto-elevating binary or a writable consumed input reaches high integrity without any prompt, which is the finding.
  • "That binary is signed and trusted." -> Trust in the binary does not sanitize the input it loads; a writable configuration or resource it consumes carries the attacker's influence into the elevated context.
  • "Elevation is a convenience, not a security boundary." -> Whether or not it is called a boundary, crossing it without consent reaches administrative rights, which is the impact this audit measures.
  • "The integrity level is set on that object." -> Set is not enforced; confirm the operation is actually refused from medium integrity rather than only labeled.
  • "Only the installer writes there." -> Confirm the live permissions; a path left writable by a non-administrator is a writable consumed input regardless of who was meant to write it.

Executing this in practice

You need every auto-elevating binary and elevated process with the inputs it consumes, the write permissions on each consumed file, registry value, and path, the elevation policy, and whether each integrity level actually refuses the operation it gates. For each, decide whether a medium-integrity process can influence what the elevated code consumes or cross the boundary without consent. Reading the consumed inputs and the policy settles most leads; planting a benign marker input and observing it act in the high-integrity context on an isolated host settles the rest.

Related

  • hunting-windows-dll-hijacking-and-search-order - a writable library that an auto-elevating binary loads is a consumed input in the sense this skill audits, so the two meet on the elevated load.
  • hunting-windows-service-privilege-escalation - a service escalation reaches a privileged account by a related write-reaches-execution shape, a companion route across the same host.
  • auditing-windows-token-and-privilege-abuse - reaching a high-integrity context grants a token whose privileges that skill then audits as the next lever.
  • detecting-race-conditions - a writable input consumed by an elevated process is often exploitable through a check-to-use window that skill treats generally.
  • FINDING-SCHEMA.md - source = the medium-integrity influence over what an elevated process consumes, sink = the auto-elevating or elevated operation, evidence = a benign marker running in the high-integrity context without genuine consent on an isolated host.

الأسئلة الشائعة

ماذا تفعل مهارة الذكاء الاصطناعي Auditing Windows Uac And Integrity Boundaries؟

دقّق في حدود الرفع ومستويات التكامل في Windows، حيث تصل عملية ذات مستوى تكامل متوسط إلى سياق ذي مستوى تكامل عالٍ من دون مطالبة موافقة حقيقية، عبر ملف ثنائي يرفع الامتيازات تلقائيًا ويحمّل مدخلات يتحكم فيها مهاجم، أو مورد قابل للكتابة تستهلكه عملية ذات امتيازات مرتفعة، أو سياسة رفع امتيازات متساهلة أكثر من اللازم، أو مستوى تكامل لا يقيّد العملية التي ينبغي أن يقيّدها. استخدم ذلك عند مراجعة كيفية تمييز المضيف بين التعليمات البرمجية ذات الامتيازات المرتفعة وغيرها، وما إذا كان بإمكان غير المسؤول تجاوز هذا الحد من دون موافقة فعلية. يشمل ذلك إساءة استخدام الرفع التلقائي للامتيازات، واستهلاك العمل...

لماذا تستخدم Auditing Windows Uac And Integrity Boundaries على TypingMind؟

لأنك تثبّتها مرة واحدة وتستخدمها مع أي نموذج. مهارة Auditing Windows Uac And Integrity Boundaries عبارة عن نص Markdown وليست شيفرة خاصة بمزود بعينه، لذا تعمل المهارة نفسها مع GPT-5 أو Claude أو Gemini أو Grok أو نموذج محلي، ويمكنك تبديل النموذج أثناء المحادثة دون تعطّل المهارة. يعمل TypingMind بمفاتيح API الخاصة بك، فتدفع للمزودين مباشرةً بدلًا من اشتراك لكل مقعد، وتبقى مهاراتك ومحادثاتك في مساحة التخزين الخاصة بك.

كيف أثبّت Auditing Windows Uac And Integrity Boundaries في TypingMind؟

في TypingMind، افتح «الإضافات»، ثم «المهارات»، ثم اختر «التثبيت من GitHub» والصق https://github.com/UnboundCompute/security-agent-skills/tree/main/skills/auditing-windows-uac-and-integrity-boundaries. يقرأ TypingMind ملف SKILL.md الخاص بالمهارة ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Auditing Windows Uac And Integrity Boundaries؟

أي نموذج تربطه في TypingMind. مهارات الذكاء الاصطناعي عبارة عن تعليمات Markdown وليست شيفرة خاصة بمزود بعينه، لذا يمكن لكل من GPT وClaude وGemini وGrok والنماذج المحلية تحميل هذه المهارة عندما يتوافق الطلب معها.

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Auditing Windows Uac And Integrity Boundaries؟

أي عدد تريده. ما دام النموذج يدعم المهارات، يمكنك استخدام Auditing Windows Uac And Integrity Boundaries معه، سواء كان GPT أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو غيرها، وكل ذلك على TypingMind باستخدام مفاتيح API الخاصة بك.

هل مهارة الذكاء الاصطناعي Auditing Windows Uac And Integrity Boundaries مجانية؟

نعم. نشرها UnboundCompute على GitHub بموجب ترخيص MIT. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل
شعار affaan-m

Quarkus Security

affaan-m
المجتمعشائع

أفضل ممارسات الأمان في Quarkus للمصادقة، والتفويض، وJWT/OIDC، والتحكم في الوصول المستند إلى الأدوار (RBAC)، والتحقق من المدخلات، وCSRF، وإدارة الأسرار، وأمان التبعيات.

39.1K
261.1K
التعليمات
عرض
شعار affaan-m

Quarkus Verification

affaan-m
المجتمعشائع

حلقة تحقق لمشاريع Quarkus: البناء، والتحليل الثابت، والاختبارات مع قياس التغطية، وفحوصات الأمان، والتجميع الأصلي، ومراجعة الفروقات قبل الإصدار أو طلب الدمج (PR).

39.1K
261.1K
التعليمات
عرض
شعار affaan-m

Springboot Security

affaan-m
المجتمعشائع

أفضل ممارسات Spring Security للمصادقة والتفويض، والتحقق من الصحة، وCSRF، والأسرار، والترويسات، وتحديد معدل الطلبات، وأمان التبعيات في خدمات Java Spring Boot.

39.1K
261.1K
التعليمات
عرض
شعار affaan-m

Agent Architecture Audit

affaan-m
المجتمعشائع

تشخيص متكامل لتطبيقات الوكلاء وتطبيقات LLM. يدقّق تراجعات الأغلفة، وتلوث الذاكرة، وإخفاقات انضباط الأدوات، وحلقات الإصلاح المخفية، وأعطال العرض عبر طبقات مجموعة الوكلاء الـ12. ينشئ نتائج مرتبة حسب الأهمية مع إصلاحات تركّز على الكود. لا غنى عنه للمطورين الذين يبنون تطبيقات الوكلاء أو الحلقات المستقلة أو الميزات المدعومة بـ LLM.

39.1K
261.1K
التعليمات
عرض

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا الإخبارية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇