الرئيسية

لخّصلي

خدمة تلخيص النصوص العربية أونلاين،قم بتلخيص نصوصك بضغطة واحدة من خلال هذه الخدمة

نتيجة التلخيص (8%)

The compromised host is running Linux so we have a number of persistence mechanisms available to us. The first option which, is arguably the most straightforward is to add a public key that we control to the authorized_keys file at /root/.ssh/.Using docker-compose also allows us to specify automatic restarts which increases the backdoor's resilience.

النص الأصلي

The compromised host is running Linux so we have a number of persistence mechanisms available to us. The first option which, is arguably the most straightforward is to add a public key that we control to the authorized_keys file at /root/.ssh/. This would allow us to connect to the host via SSH without needing to run the privilege escalation exploit every time and without relying on the password for the compromised account not changing. This methodology is very common among botnets as it's both reliable and very simple to implement as pretty much all Linux distributions indented for server use run an Open-SSH service by default.


Try this now, a valid key pair can be generated for the attack box by running ssh-keygen. Once this key is added to the authorized_keys file in /root/.ssh/ you should be able to gain remote access to root whenever it's needed, simple right? Well, unfortunately, this tactic has one big disadvantage as it is highly detectable.


HIDS often feature some form of file system integrity monitoring service which, will periodically scan a list of target directories for changes with, an alert being raised every time a file is changed or added. By adding an entry to the authorized_keys file you would have triggered an alert of a fairly high severity and as a result, this might not be the best option. An alert is also raised every time an ssh connection is made so the HIDS operator will be notified every time we log on.


It would be very helpful to check how the IDS is configured before we continue as it may help us with finding vectors that aren't monitored. Wazuh has two configuration modes, local and centralised in this case, the HIDS agents are setup locally and the config file can be found at /var/ossec/etc/ossec.conf . This file lists all of the data sources that are covered by HIDS in this case, the following are enabled:


File system monitoring - As already mentioned this affects our ability to simply install ssh keys but, this also affects other persistence vectors like, cron, systemd and any attacks that require the installation of additional tools.
System log collection - This functionality will generate alerts when some post-exploitation actions are taken against the system like making SSH connections and login attempts.
System inventory - This tracks system metrics like open ports, network interfaces, packages, and processes. This affects our ability to open new ports for reverse shells and install new packages. Note, that this function currently, does not generate alerts by itself and requires the HIDS operator to write their own rules. However, A report would be available on an upstream log analysis platform like Kibana
Note, that Docker monitoring is also available, however, it is not enabled in this case which gives us a few options:


We could hijack the existing container supply chain and use it to install a backdoor into one of the containers that are hosted by the system. This would be difficult to detect without additional container monitoring and scanning technology. Credentials for a docker registry could either be phished or extracted from /root/.docker/config.json as, this location stores the credentials used with the docker login command in plaintext. This won't work in this case though, as the host we compromised doesn't have internet access and there are no credentials in /root/.docker/config.json.
We could modify the existing docker-compose setup to include a privileged SSH enabled container and mount the host's file system to it with -v /:/hostOS. The docker-compose file used to define the current setup isn't monitored by the file system integrity monitor as it's in /var/lib. Again though, this won't work well in this case as we don't have access to the internet though, you could transport the container images from the attack box to the compromised VM via SSH. You would also need to open up a new port for the ssh connection which, would show up on the system inventory report.
We could modify an existing or new docker-compose setup by, abusing the entrypoint option to grant us a reverse shell. Using docker-compose also allows us to specify automatic restarts which increases the backdoor's resilience. This option also reverses the typical client-server connection model so, we won't need to open any new ports on the host.
To perform the last option append the following to a new docker-compose file:


تلخيص النصوص العربية والإنجليزية أونلاين

تلخيص النصوص آلياً

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

تحميل التلخيص

يمكنك تحميل ناتج التلخيص بأكثر من صيغة متوفرة مثل PDF أو ملفات Word أو حتي نصوص عادية

رابط دائم

يمكنك مشاركة رابط التلخيص بسهولة حيث يحتفظ الموقع بالتلخيص لإمكانية الإطلاع عليه في أي وقت ومن أي جهاز ماعدا الملخصات الخاصة

مميزات أخري

نعمل علي العديد من الإضافات والمميزات لتسهيل عملية التلخيص وتحسينها

آخر التلخيصات

أكدت الإدارة ال...

أكدت الإدارة العامة لشرطة محافظة عدن، الجمعة، أن الأجهزة والوحدات الأمنية في العاصمة تتمتع بدرجة عال...

القرآن الكريم و...

القرآن الكريم وآداب تلاوته: • مطلوب ممن سيختبر في المستوى الثاني حفظ سور المفصل حفظا متقنا، والمفصل ...

أولًا: معلومات ...

أولًا: معلومات عن الكتاب الكتاب هو كتاب الطالب للمستوى الثالث BTEC International في تكنولوجيا المعل...

سندخل الانتخابا...

سندخل الانتخابات بسلاح الحصيلة والإنجاز، لا بالبرامج الفارغة والشتم والسب”، بهذه العبارة لخّص ياسين ...

وجّه مستشار وزي...

وجّه مستشار وزير الدفاع، العميد الركن محمد عبدالله الكميم، رسالة إلى نائب رئيس مجلس القيادة الرئاسي ...

إلكتروني في الج...

إلكتروني في الجزائر لشخص مغمور أمر ممكن، لكنه يتطلب استراتيجية "بيع الثقة" قبل بيع الكتاب. لأن السوق...

تتمتع المنطقة ا...

تتمتع المنطقة العربية بموقع جيو-إستراتيجي فريد بفضل إشرافها على مسطحات مائية حيوية ومضائق تؤثر مباشر...

تزايدت مؤخراً ق...

تزايدت مؤخراً قصص وحالات التجنيد الاجباري التي لجأت إليها جماعة الحوثي المصنفة إرهابية، لتعويض النقص...

قال آدم بارون، ...

قال آدم بارون، الباحث المتخصص في الشأن اليمني حسب ما ذكرت صحيفة نيويورك تايمز ، في مؤسسة "نيو أمريكا...

يُعدّ النص من ا...

يُعدّ النص من العناصر المهمة في الأعمال الفنية، إذ يمكن أن يضيف معنى للعمل ويساعد على إيصال الرسالة ...

خبرة سنة الامتي...

خبرة سنة الامتياز شكلت سنة الامتياز مرحلة مفصلية في مساري المهني، حيث انتقلتُ خلالها من التحصيل الأك...

مع إشراقة العام...

مع إشراقة العام الدراسي الجديد 2026-2027، تعيش العاصمة المؤقتة عدن على وقع أزمة تعليمية متفاقمة تتمث...

أخبار التقنية