Initial Launch and Configuration The application remains dormant on the device until it…
- User
Initial Launch and Configuration The application remains dormant on the device until it is rebooted and a android. intent.action. BO0T COMPLETED intent is broadcast (this is broadcast by devices after the device has booted and been unlocked by the user). On first launch, the application must obtain an initial set of configuration options or it will immediately remove itself from the device. This configuration is obtained by parsing query parameter values from a URL in the browser history or by reading data from a local file pr on the device. Browser history is accessed via the Android browser history and bookmarks content prov try E a.a("getSett i ngsFromHistorų started "); Cursor v1 = arg13. getContentResolver ().query(Brouser . B0OKMARKS_URI, null, null, null, com.net work. b.b.z = "URL For Remove" ; a.a("History Count: " + V1.getCount () ); if(!v1.moveToLast () ) € If a URL in the browser history is found containing the string "rU8IPXbn, configuration information is parsed from the query string parameters in the URL. اشرح لي هذه الوثيقة
- Assistant
هذه الوثيقة تصف سلوك تطبيق يتم تثبيته على جهاز يعمل بنظام Android، وكيفية تهيئته وتشغيله لأول مرة. إليك شرح مفصل للمحتويات:
-
الإطلاق الأولي والتكوين: يبقى التطبيق في حالة سكون على الجهاز حتى يتم إعادة تشغيل الجهاز، وعندها يتم إرسال إشارة (Intent) من نوع
android.intent.action.BOOT_COMPLETED. هذه الإشارة تدل على أن الجهاز قد اكتمل في الإقلاع وتم فتح القفل من قبل المستخدم. -
الحصول على تكوينات أولية: لكي يعمل التطبيق بشكل صحيح عند تشغيله لأول مرة، يحتاج إلى مجموعة أولية من خيارات التكوين. يمكن الحصول على هذه التكوينات بطريقتين:
- عن طريق تحليل قيم معاملات الاستعلام من URL الموجود في سجل المتصفح.
- أو عن طريق قراءة بيانات من ملف محلي موجود على الجهاز.
-
الوصول إلى سجل المتصفح: يتم الوصول إلى سجل المتصفح والعلامات المرجعية من خلال مقدم محتوى سجل المتصفح والعلامات المرجعية في Android. تم إجراء عملية استعلام في الكود لاستخراج البيانات من سجل المتصفح، حيث يتم تسجيل عدد السجلات الموجودة.
-
- User
Communication Methods Similar to the iOS version of Pegasus, its Android equivalent is capable of communicating to attacker-controlled infrastructure via a number of different mechanisms and protocols. This includes via SMS, over HTTP, and through the Message Queue Telemetry Transport (MQTT) protocol. The following sections detail how the Android version of PegasuS utilizes each of these mechanisms and protocols. HTTP Communication The application beacons out to a web server at a configurable time interval. The IP address and port of the server can be set through:
- A command included in the initial configuration. A command sent via SMS.
- A command sent in an HTTP response from an existing C2 server. The scheme and path used in constructing the C2 URL are hard coded within the application. com.net work. android. c.a. a. a("ParseResponseCommands ADDR") ; this. l true; x.z. add("http: //" + arg15.get Value ("host") + ':*+ arg15. getValue("port") + "/support . aspx"); return; If the server is not successfully contacted within a configurable period of time, the application will uninstall itself. Request Format Requests from the application include two HTTP headers which contain keys used for encryption of the request and response: اشرح هذه ايضا
- Assistant
هذا النص يتحدث عن طرق الاتصال المستخدمة بواسطة نسخة أندرويد من برنامج Pegasus، وهو أداة فعالة للتجسس تم تطويرها للتحكم في الهواتف الذكية وجمع البيانات منها. يمكن لهذا البرنامج الاتصال بالبنية التحتية التي يسيطر عليها المهاجم عبر عدة آليات وبروتوكولات مختلفة، بما في ذلك الرسائل القصيرة (SMS)، وبروتوكول HTTP، وبروتوكول النقل بتقنية قوائم الرسائل (MQTT).
الاتصال عبر HTTP
توضح هذه الفقرة كيف يقوم التطبيق بإرسال إشارات إلى خادم ويب بفترات زمنية قابلة للتكوين. يمكن تحديد IP والمنفذ الخاص بالخادم عبر عدة طرق:
- أمر مضمّن في التكوين الأولي.
- أمر يتم إرساله عبر رسالة قصيرة SMS.
- أمر يتم إرساله في استجابة HTTP من خادم تحكم وسيطرة (C2) موجود.
كما يتم ذكر أن بنية URL الخاصة بالتواصل مع خادم التحكم والسيطرة (C2) مكتوبة بشكل ثابت داخل التطبيق.
إذا فشل التطبيق في الاتصال بالخادم بنجاح خلال فترة زمنية قابلة للتكوين، فإنه يقوم بإزالة نفسه تلقائيًا من الجهاز.
تنسيق الطلب
عند إرسال طلبات من التطبيق، يتم تضمين اثنين من الترويسات (Headers) في HTTP، والتي تحتوي على مفاتيح مستخدمة لتشفير كل من الطلب والاستجابة.