Skip to content
KitploitKITPLOIT
أدواتالمدونة
إرسال
أدواتالمدونة
إرسال

أدوات الاختراق واختبار الاختراق والأمن السيبراني لترسانتك الأمنية!

Kitploit هو دليل لأدوات الاختراق والأمن السيبراني واختبار الاختراق. اكتشف آخر تحديثات المشاريع للعثور على الثغرات وتحليل الأنظمة وأتمتة الاختبارات وتعزيز أمنك.

··الخلاصات·اتصال·الخصوصية·© 2026 Kitploit

دليل الأدوات

الفئات

عرض جميع الفئات
Loading categories
AzureAttackKit — مجموعة من أدوات Azure لتنزيلها لمهاجمة بيئة + نصائح سريعة ومعلومات مفيدة أخرى | Kitploit
أدوات/GitHubGitHub/zephrfish/azureattackkit
الاستطلاعالاستغلالما بعد الاستغلالاختبار الاختراقأمن السحابةكشف الأسرارإدارة الهوية والوصول (IAM)الفريق الأحمرموارد منسقة
GitHubzephrfish/azureattackkit

AzureAttackKit

مجموعة من أدوات Azure لتنزيلها لمهاجمة بيئة + نصائح سريعة ومعلومات مفيدة أخرى

7918منذ 22 أيامتمت المراجعة من قبل Kitploit

الأكثر شعبية

عرض الكل →

اكتشف الأدوات الأكثر استخدامًا من قبل مجتمعنا.

استكشف جميع الأدوات

تصفح مجموعتنا من الأدوات

عرض جميع الأدوات →
مشاركة
عرض المستودع

AzureAttackKit

مجموعة أدوات Azure لتنزيلها لاستهداف بيئة من جهاز ويندوز أو Cloudshell.

المتطلبات الأساسية

Git for Windows إذا كنت تريد تنزيل أحدث الإصدارات تلقائيًا لكل شيء عبر PowerShell.

الاستنساخ

لتنزيل جميع الوحدات، يمكنك تشغيل الأمر التالي لسحب الوحدات الفرعية:

git clone --recurse-submodules https://github.com/ZephrFish/AzureAttackKit

ملاحظة: توجد نسخة مضغوطة من جميع الوحدات الفرعية إذا احتجتها بسرعة تسمى AZ-AttackKit.zip.

الإعداد

يحتوي Setup.ps1 على الأسطر التالية لتثبيت الوحدات المطلوبة للوصول إلى Azure والوحدات المرتبطة المختلفة. قد تحتاج إلى تشغيل powershell -ep bypass إذا كانت البرامج النصية معطلة.

root@kitploit:~
Install-Module Az -Force -Confirm:$false -AllowClobber -Scope CurrentUser
Install-Module AzureAD -Force -Confirm:$false -AllowClobber -Scope CurrentUser
Install-Module Microsoft.Graph -Force -Confirm:$false -AllowClobber -Scope CurrentUser
Install-Module MSOnline -Force -Confirm:$false -AllowClobber -Scope CurrentUser       
Install-Module AzureADPreview -Force -Confirm:$false -AllowClobber -Scope CurrentUser 
Install-Module AADInternals -Force -Confirm:$false -AllowClobber -Scope CurrentUser     

Import-Module Az
Import-Module AzureAD
Import-Module AADInternals
Import-Module .\MicroBurst-master\MicroBurst.psm1
Import-Module .\AzureRT-master\AzureRT.ps1
Import-Module .\PowerZure\PowerZure.psm1
Import-Module AADInternals

بمجرد تثبيت الوحدات، ستحتاج إلى الاتصال بحساب Azure باستخدام الأوامر الثلاثة التالية (إذا كنت تستخدم Cloudshell فاستخدم Connect-AzAccount -UseDeviceAuthentication):

  • . .\Setup.ps1

  • Connect-ADandAZ

إذا فشل ما سبق، قم بتشغيل ما يلي:

root@kitploit:~
Connect-AzAccount
Connect-AzureAD
Connect-MSolService

الأدوات المضمنة

  • PowerZure + Cloudshell
  • AzureHound
  • AzureRT
  • MicroBurst
  • AADInternals

مكاسب سريعة

اسحب جميع الاشتراكات التي لديك حق الوصول إليها ثم مرر عبرها، وغيّر Get-ARTAccess (الذي يستخدم AzureRT) إلى أي أداة تريد تشغيلها عبر الاشتراك.

root@kitploit:~
$enabledSubs = Get-AzSubscription |  Where-Object{$_.State -eq "Enabled"} | select Id
foreach ($SubName in $enabledSubs) {
    $IDOut = $SubName.id
    Get-ARTAccess -SubscriptionID $IDOut | Out-File "$IDOut.txt"
}

استخدم PowerZure لسحب محتوى runbook لكل اشتراك:

root@kitploit:~
$enabledSubs = Get-AzSubscription |  Where-Object{$_.State -eq "Enabled"} | select Id
foreach ($SubName in $enabledSubs) {    
    $IDOut = $SubName.id
    Set-AzContext -Subscription "$IDOut"
    Get-AzureRunbookContent -All
}

راجع ملف Commands للحصول على مكاسب سريعة إضافية. تحتوي ملاحظات الأدوات أيضًا على بعض النصائح المفيدة حول أدوات يمكنك الاطلاع عليها بالإضافة إلى تلك المرتبطة في هذا المستودع.

التعبيرات النمطية للبحث في الملفات

root@kitploit:~

description = "Azure Service Principal Client Secret"
regex = '''(?i)(secret|key|password)\s*:?=?\s*['\"][0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}['\"]'''
[[rules]]
description = "Azure DevOps Personal Access Token"
regex = '''(?i)(pat|token)\s*:?=?\s*['\"](https://github.com/zephrfish/azureattackkit/blob/HEAD/%5Ba-z0-9%5D%7B52%7D)['\"]'''
[[rules]]
description = "Azure Account Key"
regex = '''(?i)(secret|key)\s*:?=?\s*['\"](https://github.com/zephrfish/azureattackkit/blob/HEAD/%5Ba-zA-Z0-9!@#$%^&*()_+\-=\[\]{};':"\\|,.<>\/?]{88})['\"]'''
tags = ["Azure Storage Account", "Azure Cosmos DB"]
[[rules]]
description = "Azure Storage Connection String"
regex = '''DefaultEndpointsProtocol=https;AccountName=[a-z0-9]{3,24};AccountKey=[a-zA-Z0-9!@#$%^&*()_+\-=\[\]{};':"\\|,.<>\/?]{88};EndpointSuffix=.+'''
[[rules]]
description = "Azure Cosmos DB Connection String"
regex = '''AccountEndpoint=https:\/\/.+:443\/;AccountKey=[a-zA-Z0-9!@#$%^&*()_+\-=\[\]{};':"\\|,.<>\/?]{88};'''
[[rules]]
description = "Generic Secret"
regex = '''(?i)secret\s*:?=?\s*['\"][0-9a-zA-Z-_/]{8,40}['\"]'''
# rules from trufflehog
[[rules]]
description = "Amazon MWS Auth Token"
regex = '''amzn\\.mws\\.[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}'''
[[rules]]
description = "AWS AppSync GraphQL Key"
regex = '''da2-[a-z0-9]{26}'''
[[rules]]
description = "Google OAuth"
regex = '''[0-9]+-[0-9A-Za-z_]{32}\\.apps\\.googleusercontent\\.com'''
tags = ["Cloud Platform", "Drive", "Gmail", "YouTube"]
[[rules]]
description = "Google API Key"
regex = '''AIza[0-9A-Za-z\\-_]{35}'''
tags = ["Cloud Platform", "Drive", "Gmail", "YouTube"]
[[rules]]
description = "Google OAuth Access Token"
regex = '''ya29\\.[0-9A-Za-z\\-_]+'''
[[rules]]
description = "MailChimp API Key"
regex = '''[0-9a-f]{32}-us[0-9]{1,2}'''
[[rules]]
description = "Mailgun API Key"
regex = '''key-[0-9a-zA-Z]{32}'''
[[rules]]
description = "Square Access Token"
regex = '''sq0atp-[0-9A-Za-z\\-_]{22}'''
[[rules]]
description = "Square OAuth Secret"
regex = '''sq0csp-[0-9A-Za-z\\-_]{43}'''
[[rules]]
description = "Telegram Bot API Key"
regex = '''[0-9]+:AA[0-9A-Za-z\\-_]{33}'''

القوالب

قالب للاتصال باستخدام clientID والمعلومات

root@kitploit:~
$tenantid = "<INSET TENANT ID>"
$clientid = "<INSERT CLIENT ID/USERNAME>"
$clientsecret = "<INSERT CLIENT SECRET/PASSWORD"
$subscription = "<INSERT SUBCRIPTION>"
$mycred = New-Object System.Management.Automation.PSCredential($clientid,(ConvertTo-SecureString $clientsecret -AsPlainText -Force))
Connect-AzAccount -Credential $mycred -Tenant $tenantid -ServicePrincipal -Subscription $subscription
# Below is if you need to also authenticate to Az as well
az login --service-principal -u $clientid -p $clientsecret --tenant $tenantid

الخطة

  • العمل قيد التقدم، لكنني بدأت العمل على أداة شبيهة بـ Snaffler لزحف حسابات التخزين واستخدام Storage Explorer لمعرفة ما يمكن العثور عليه.
  • استخراج نصوص PowerShell المختلفة المستخدمة لسحب المعلومات عبر AzureRT وPowerZure وMicroBurst وبناء أداة للمكاسب السريعة، على غرار AutoPwn.
تنزيل الأداة