
أداة سطر أوامر تتحقق من صور Docker بحثًا عن CVE-2018-8115 من خلال فحص الطبقات بحثًا عن ملفات ضارة، مما يساعد على ضمان سحب آمن من Docker Hub.
/\ / ____| (_) |
/ \ __ _ _ _ __ _ | (___ ___ ___ _ _ _ __ _| |_ _ _
/ /\ \ / _` | | | |/ _` | \___ \ / _ \/ __| | | | '__| | __| | | |
/ ____ \ (_| | |_| | (_| | ____) | __/ (__| |_| | | | | |_| |_| |
/_/ \_\__, |\__,_|\__,_| |_____/ \___|\___|\__,_|_| |_|\__|\__, |
| | __/ |
|_| |___/
لمساعدة المجتمع على البقاء آمنًا، أنشأنا في Aqua أداة مفتوحة المصدر لاختبار الصور والتأكد من سلامتها من هذه الثغرة الأمنية.
ستتصل هذه الأداة بسجل Docker Registry (يُدعم حاليًا Docker Hub فقط) وتتحقق مما إذا كانت الصورة تحتوي على ملف خبيث يمكنه استغلال ثغرة CVE-2018-8115، المعروفة بمهاجمة المضيف كجزء من أمر "docker pull".
$ python verify.py [-h] [--tag TAG] [--arch ARCH] [--os OS] image
_____ _ _
/\ / ____| (_) |
/ \ __ _ _ _ __ _ | (___ ___ ___ _ _ _ __ _| |_ _ _
/ /\ \ / _` | | | |/ _` | \___ \ / _ \/ __| | | | '__| | __| | | |
/ ____ \ (_| | |_| | (_| | ____) | __/ (__| |_| | | | | |_| |_| |
/_/ \_\__, |\__,_|\__,_| |_____/ \___|\___|\__,_|_| |_|\__|\__, |
| | __/ |
|_| |___/
Docker images verifier cli-tool (CVE-2018-8115)
To help the community stay safe, we at Aqua created an open source tool
that tests images for whether they are safe of this vulnerability.
Aqua Security
https://www.aquasec.com
[~] Fetching evil/image metadata...
[+] Checking layer bce2fbc256ea
[==================================================] 100%
[+] Checking layer cb1aafb71473
[==================================================] 100%
[+] Checking layer 782ba98a8cac
[==================================================] 100%
Found 5 malicious files
Layer: 782ba98a8cac, File: ../../../../../../../../fromimage.txt
Layer: 782ba98a8cac, File: Files\../../../../../../../../Users/All Users/Application Data/Start Menu/Programs/StartUp/evil.bat
Layer: 782ba98a8cac, File: Files\../../../../../../../../Users/All Users/Application Data/Start Menu/Programs/StartUp/Files\script.bat
Layer: 782ba98a8cac, File: Files\../../../../../../../Resume.txt
Layer: 782ba98a8cac, File: Files\../../../../../../../Files\text.txt
=== IMAGE IS NOT SAFE! ===