الرئيسية

لخّصلي

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

نتيجة التلخيص (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 أو حتي نصوص عادية

رابط دائم

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

مميزات أخري

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

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

المستخلص هدف ال...

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

أكدت وزيرة الخا...

أكدت وزيرة الخارجية اليمنية، الدكتورة أفراح الزوبة، السبت، أن طرح إيران نفسها وسيطاً لإنهاء الحرب في...

[14‏/10، 12:22 ...

[14‏/10، 12:22 م] weaam: خطة تسويقية متكاملة لمؤسسة تعليمية مدارس – ضيافة جوية – إدارة أعمال – دبل...

دعت الجمهورية ا...

دعت الجمهورية اليمنية، دول أعضاء منظمة التعاون الإسلامي، إلى اتخاذ موقف حازم وتصنيف الميليشيات الحوث...

بناءً على طلب ا...

بناءً على طلب الواجب الظاهر في الصورة الأولى (إشرح التكييف القانوني لجريمة الرشوة موضحاً المذهبين)، ...

: تعزيز وعي الش...

: تعزيز وعي الشباب والرواد الجدد بالبرامج الرقمية المحدثة لدعم الابتكار والتحول الرقمي للشركات الناش...

عداقة األنث ر و...

عداقة األنث ر وبولوجيا بعلم الجيولوجيا والجغرافيا -خامسا ً راسات الجيولوجية التاريخية ف ي تحديد الف...

تتمثل التحديات ...

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

الغزل الصّريح و...

الغزل الصّريح وهو غزل مكشوف، نراه عند الشعراء الذين اتخذوا الغزل طريقاً إلى اللهو والمتعة، ووصف المر...

**[ﻰﻟوﻷا ﺔڡروﻟا...

**[ﻰﻟوﻷا ﺔڡروﻟا]** ###**فﻮﺤٮﺸٮ نوﻄٮأ - ﺔ َ ﻠ َّ ڡ َ ﻌُﻤﻟا** بدﻷا ىڡ حرﺴﻤﻟاو ةﺮٮﺼڡﻟا ﺔﺼڡﻟا داور زرٮأ...

يُجمع ما يُقدّر...

يُجمع ما يُقدّر بنحو 11 مليار طن من النفايات الصلبة سنويًا حول العالم. يُلقى جزء كبير منها في مكبات ...

فرنسا أعربت عن...

فرنسا أعربت عن قلقها إزاء التطورات الميدانية والانتهاكات المرتبطة باتفاق فض الاشتباك لعام 1974، مؤك...

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