मुख्य सामग्री पर जाएँ
Skillpedia
एजेंट35k · #7879

detecting-suspicious-oauth-application-consent

यह क्या करती है

यह टूल आपके सिस्टम (जैसे Azure AD) में ऐसे खतरनाक apps ढूंढने में मदद करता है जो ज़रूरत से ज़्यादा permissions मांग रहे हैं। यह जांचता है कि apps के पास कौन सी permissions हैं और वे भरोसे के लायक हैं या नहीं।

कब इस्तेमाल करें

  • ✓अगर आपको शक हो कि किसी app के पास गलत तरीके से access है।
  • ✓सुरक्षा समस्याओं की जांच करते समय।
  • ✓यह देखने के लिए कि आपके मॉनिटरिंग सिस्टम सही काम कर रहे हैं या नहीं।

Skill का लिंक

https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/detecting-suspicious-oauth-application-consent/SKILL.md

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/detecting-suspicious-oauth-application-consent/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“मेरे सिस्टम में संदिग्ध permissions वाले apps की जांच करो।”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

टूल आपके सिस्टम (Azure AD) से जुड़ता है, उन apps को देखता है जिन्होंने permissions मांगी थीं, उनकी permissions का विश्लेषण करता है, और audit logs में संदिग्ध गतिविधि खोजता है।

तकनीकी सामग्री (मूल SKILL.md)

लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।

Detecting Suspicious OAuth Application Consent

Overview

Illicit consent grant attacks trick users into granting excessive permissions to malicious OAuth applications in Azure AD / Microsoft Entra ID. This skill uses the Microsoft Graph API to enumerate OAuth2 permission grants, analyze application permissions for overly broad scopes, review directory audit logs for consent events, and flag high-risk applications based on publisher verification status and permission scope.

When to Use

  • When investigating security incidents that require detecting suspicious oauth application consent
  • When building detection rules or threat hunting queries for this domain
  • When SOC analysts need structured procedures for this analysis type
  • When validating security monitoring coverage for related attack techniques

Prerequisites

  • Azure AD / Entra ID tenant with Global Reader or Security Reader role
  • Microsoft Graph API access with Application.Read.All, AuditLog.Read.All, Directory.Read.All
  • Python 3.9+ with msal, requests
  • App registration with client secret or certificate for authentication

Steps

  1. Authenticate to Microsoft Graph using MSAL client credentials flow
  2. Enumerate all OAuth2 permission grants via /oauth2PermissionGrants
  3. List service principals and their assigned application permissions
  4. Query directory audit logs for Consent to application events
  5. Flag applications with high-risk scopes (Mail.Read, Files.ReadWrite.All, etc.)
  6. Check publisher verification status for each application
  7. Generate risk report with remediation recommendations

Expected Output

  • JSON report listing all OAuth apps with granted permissions, risk scores, unverified publishers, and suspicious consent patterns
  • Audit trail of consent grant events with user and IP details
अक्सर पूछे जाने वाले सवाल

'illicit consent grant attacks' क्या हैं?

ये ऐसे हमले हैं जिनमें कोई app उपयोगकर्ता को बहलाकर ज़रूरत से ज़्यादा permissions दिलवा देता है, जिससे वह संवेदनशील डेटा तक पहुंच सकता है।

किस तरह की permissions खतरनाक मानी जाती हैं?

वे permissions जो ईमेल, फ़ाइलों या दूसरी संवेदनशील जानकारी तक पहुंच देती हैं, जैसे 'Mail.Read' या 'Files.ReadWrite.All'।

क्या इसे इस्तेमाल करने के लिए विशेषज्ञ होना ज़रूरी है?

नहीं, लेकिन आपके पास Azure AD/Entra ID का administrative access होना चाहिए और टूल सेट करने के लिए कुछ तकनीकी कदम उठाने होंगे।

जानकारी

लेखक का मूल विवरण

Detect risky OAuth application consent grants in Azure AD / Microsoft Entra ID using Microsoft Graph API, audit logs, and permission analysis to identify illicit consent grant attacks.

repo: mukul975/Anthropic-Cybersecurity-Skills

लोकप्रियता

GitHub स्टार
35k
रैंकिंग में स्थान
#7879
लाइसेंस
Apache-2.0
अपडेट की गई
31/8/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

मिलती-जुलती skills