Тёмный

Never use a Docker container without doing this first! (And don't create one either!) 

David Bombal
Подписаться 2,7 млн
Просмотров 75 тыс.
50% 1

Опубликовано:

 

22 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 83   
@davidbombal
@davidbombal 4 месяца назад
Don't make the mistake of downloading (pulling) a Docker container without first doing this very important security check! So many Docker containers contain software that have CVEs (Common Vulnerabilities and Exposures). And don't create a Docker container without first making sure that the dependencies you use don't have CVEs. Make the world a more secure place by using Docker Scout. Big thanks to Docker for sponsoring this video! // Learn more here // Docker Scout: dockr.ly/4engpsI Docker www.docker.com/ // PDF // Docker Scout PDF: davidbombal.wiki/dockerscoutpdf // David's SOCIAL // Discord: discord.com/invite/usKSyzb X: twitter.com/davidbombal Instagram: instagram.com/davidbombal LinkedIn: www.linkedin.com/in/davidbombal Facebook: facebook.com/davidbombal.co TikTok: tiktok.com/@davidbombal RU-vid: www.youtube.com/@davidbombal // MY STUFF // www.amazon.com/shop/davidbombal // MENU // 00:00 - Introduction 00:35 - Docker Scout Demo 04:58 - Key Takeaways 05:52 - Install Docker Desktop 06:16 - Download GIT 08:19 - Launch GIT BASH 09:00 - Open PowerShell 09:26 - Pull and Analyze the Container 10:15 - Advantages of Docker Scout 11:25 - Demo: Finding and Fixing Vulnerabilities 12:42 - Login to Docker Scout 13:44 - Enable Docker Scout 14:18 - Overview 16:15 - Docker Desktop 17:36 - Update Dockerfile 18:10 - Build and Push Updated Docker Container 18:51 - Fixing Vulnerabilities 20:14 - No Recommended Fixes 21:25 - Options for Discovering Vulnerabilities 22:26 - Fixed Vulnerabilities 23:39 - Further Fixes 25:42 - Achieving 100% Compliance 25:59 - The Power of Docker Scout 26:18 - Outro cve docker docker scout scout docker hub docker cve rust java jscript xss c python #docker #hack #docker
@rebokfleetfoot
@rebokfleetfoot 4 месяца назад
i've often said, just because it runs in a VM doesn't make it safe, when you download a container you are basically bringing a foreign system onto your network
@davidbombal
@davidbombal 4 месяца назад
Exactly
@suhalvemu
@suhalvemu 4 месяца назад
I do this job regularly. To be FedRAMP compliant you need to ship vulnerable free image into production environment
@davidbombal
@davidbombal 4 месяца назад
Be good if more people do this and are aware of the CVEs found in containers.
@LibreGlider
@LibreGlider 4 месяца назад
Oh the hours I've dumped into being FedRAMP compliant!!!
@ckckck12
@ckckck12 4 месяца назад
If docker makes docker scout and then hosts docker images and knows how to fix them and they will work with the fixes and the don't just fix them.... Isn't this kinda like a profit model where they take a moral obligation and sell you the ability to do their job for them?
@LibreGlider
@LibreGlider 4 месяца назад
@@ckckck12Their selling you the scan not the fix. There are plenty of container scanning tools. Hell you don't even need docker for your containers. Its easy to update the packages containing the CVEs
@ckckck12
@ckckck12 4 месяца назад
@@LibreGlider my point is that they already know what's wrong with containers but refrain from automating the fixing because it's profitable.
@lilatnlups
@lilatnlups 4 месяца назад
He's talented and deserves respect because he paid his dues. ❤😂
@hitmax087
@hitmax087 4 месяца назад
Brilliant video for developers! Thank you so much David!
@davidbombal
@davidbombal 4 месяца назад
Glad you enjoyed it!
@kaylarose9985
@kaylarose9985 4 месяца назад
Great PSA David. Thank you!
@davidbombal
@davidbombal 4 месяца назад
Thank you!
@polarfamily6222
@polarfamily6222 3 месяца назад
This is exactly why I don't like containers. It is too easy to slip in vulnerabilities especially in high use networks.
@renatojrestorque6150
@renatojrestorque6150 4 месяца назад
Thanks a lot, David. Fantastic advice and demo👍🏻👍🏻😇
@davidbombal
@davidbombal 4 месяца назад
You're welcome! Thank you!
@Abduselam.m
@Abduselam.m 4 месяца назад
Thanks so much David ❤
@davidbombal
@davidbombal 4 месяца назад
You're welcome!
@rogerthomas7040
@rogerthomas7040 3 месяца назад
The issue detailed by the CVE has to be exposed by the container or accessable via services offered by the contained application.
@balloney2175
@balloney2175 4 месяца назад
Many thnx, David!
@davidbombal
@davidbombal 4 месяца назад
You're welcome!
@patrickprucha5522
@patrickprucha5522 3 месяца назад
WOW!!! Thanks for this info!!!!! Greatly appreciated!!!
@Stealthy_Sloth
@Stealthy_Sloth 4 месяца назад
The problem I have is we use one docker image in the entire company. The IT manager isn't going to pay for docker scout.
@karlclinger6956
@karlclinger6956 4 месяца назад
It sounds like there may be an advancement opportunity in your company soon.:)
@snoodking1
@snoodking1 4 месяца назад
The fundamental problem today is that container images have unnecessary binaries and libraries in the container. I deal with this every single day and then to make matters worse the licensing of those packages isn't being complied with (GPL). Trivy is better and then use Dive to actually analyze the layers if the image hasn't been squashed. The concept of least privilege needs to be applied to most minimalist packages in a base container OS.
@savagesarethebest7251
@savagesarethebest7251 2 месяца назад
You might want to disable ClearType when zooming in to UI elements containing text, I really hate the colour fringe that appears when the text does not align with my subpixels.
@azizmetchonou
@azizmetchonou 4 месяца назад
Great tutorial man !
@karlclinger6956
@karlclinger6956 4 месяца назад
Great video. Docker and Docker Scout are great development tools; but nobody has created Zero Trust containers, yet. (Armored Gate is working on that.)
@sudhanshuharshavat5695
@sudhanshuharshavat5695 4 месяца назад
I really like this video as it shows how patient you need to be to understand and then to implement safeguards against CVE's. Linking this to an earlier video where @davidbombal interviewed someone from Cisco; recall eBPF. Apparmor and SELinux could also be leveraged in cases where the operator does not have the privileges to modify the software. My suggestion is more towards safeguarding or CUA till official patch from vendors arrive. Please let me know if there is any other way to proceed.
@robsonvieira9027
@robsonvieira9027 4 месяца назад
This man is a great salesman
@list1726
@list1726 3 месяца назад
Thank you for posting
@psywiped
@psywiped 4 месяца назад
Thats great, what's the FOSS option?
@StaffyDoo
@StaffyDoo 4 месяца назад
There are a few: Clair, Trivy, Anchor, Dragda, and Grype. I think Harbor also has some kind of CVE built-in checking, but it’s been ages last time I used it.
@bugsbunnyboss
@bugsbunnyboss 4 месяца назад
Thank you. Very useful video.
@davidbombal
@davidbombal 4 месяца назад
Glad it was helpful! 😀
@veers8002
@veers8002 4 месяца назад
Excellent presentation and valuable information. Thank you Just a question: Why not to use Chainguard images which provide 0 vulnerability?
@Rightly_Divided
@Rightly_Divided 4 месяца назад
Very useful advise! Thank you!
@davidbombal
@davidbombal 4 месяца назад
You're very welcome :)
@gamereditor59ner22
@gamereditor59ner22 4 месяца назад
Interesting! Thank you for the information! Edit: I learn CVE from CompTIA A + core 2 and it's cool!
@davidbombal
@davidbombal 4 месяца назад
Glad you liked it! And well done!
@jeroboam4486
@jeroboam4486 4 месяца назад
I'm not sure it's usefull: the point of using the original vendor image is to get something stable that has been tested by the vendor. If you're running a custom version, why would you upgrade their image instead of building a new one from scratch?
@karlclinger6956
@karlclinger6956 4 месяца назад
Vendors need to adapt. I see this happening slowly.
@dawidvanstraaten
@dawidvanstraaten 4 месяца назад
The vendors don't always follow best practices, and they can't release new images every day. Using SBOM to pick up vulnerabilities live without scanning it regularly makes so much sense.
@ckckck12
@ckckck12 4 месяца назад
If docker owns docker scout then they know which images are vulnerable. They have a moral obligation to deploy fixes and flaw prevention at their level.
@gabrielex
@gabrielex 4 месяца назад
It's not just vulnerabilities, but also the fact that some images shouldn't be trusted in the first place.
@chandradenny
@chandradenny 4 месяца назад
Have you used Snyk? How do you think Scout compares?
@scavro
@scavro 4 месяца назад
Muy bueno. Sigue asi David,
@piotr780
@piotr780 3 месяца назад
But cve are everywhere - only isolation of docker host from rest of infrastructure is a solution - that is - do not use docker locally
@StaffyDoo
@StaffyDoo 4 месяца назад
Scout is a paid, closed-source product by Docker, IIRC. What about talking about open source alternatives like Clair, Trivy, Anchor, Dragda or Grype, to name a few?
@dawidvanstraaten
@dawidvanstraaten 4 месяца назад
You can have up to 3 repos, which are free.
@davidbombal
@davidbombal 4 месяца назад
If you watch the video, you'll see that I cover the free and paid options.
@patvdleer
@patvdleer 4 месяца назад
this comment was more useful than the video
@galactic_dust42
@galactic_dust42 4 месяца назад
What to do when absolutely all containers have CVE ? It's not possible to have clean containers when all the dependencies are vulnerables, and if you try to fix it, you're going to suffer a lot, just because people are crafting crappy containers and expects you to do their work
@Asim-Mias
@Asim-Mias 3 месяца назад
Hi sir, which is better for beginners Kali or parrot?
@davidbombal
@davidbombal 3 месяца назад
Either. Most people start with Kali, so I suggest you start there.
@Asim-Mias
@Asim-Mias 3 месяца назад
@@davidbombal thank you sir I appreciate your help
@kareemadel4085
@kareemadel4085 4 месяца назад
Thanks so much sir
@davidbombal
@davidbombal 4 месяца назад
You're very welcome :)
@ANTAGONIST_2.0
@ANTAGONIST_2.0 4 месяца назад
I thought I'll find advice for shipping containers😮
@davidbombal
@davidbombal 4 месяца назад
😂
@orthodoxNPC
@orthodoxNPC 4 месяца назад
Does it work for pods?
@DrMerciless
@DrMerciless 4 месяца назад
create your own docker image
@CactusJack182
@CactusJack182 4 месяца назад
Where is Mr otw ?
@alaminiumar
@alaminiumar 4 месяца назад
Thanks 👍🎉❤
@doris3712
@doris3712 4 месяца назад
Hi David, could you check your email and search Doris to see if you have cooperation intention?
@whothefoxcares
@whothefoxcares 4 месяца назад
David, What do you do before using a large language model you did not create? Is #AI the new spyware from who knows where?
@clintbishop9145
@clintbishop9145 4 месяца назад
Been an issue for a while now...
@davidbombal
@davidbombal 4 месяца назад
Agreed. We definitely need software like Docker Scout to help solve this issue.
@incandescentwithrage
@incandescentwithrage 4 месяца назад
Well yeah..containers so the app doesn't get broken by updates to dependencies on the host OS. No, wait..
@MrSandshadow
@MrSandshadow 4 месяца назад
5:50 NEVER install docker desktop... stick to networking Sir David.
@MiamiJamrockSpice
@MiamiJamrockSpice 4 месяца назад
Why not?
@TargetofBseb
@TargetofBseb 4 месяца назад
Sir please add the function Hindi language in your RU-vid video please 🙏🙏🙏🙏
@incandescentwithrage
@incandescentwithrage 4 месяца назад
You have one video on your channel, and it's not in English. Piss off mate
@J-wd3kh
@J-wd3kh 4 месяца назад
😮
@rishiraj2548
@rishiraj2548 4 месяца назад
🙂👍
@franklemanschik_de
@franklemanschik_de 4 месяца назад
Lol 😂😂😂😂 You do understand nothing hahaha 🤣 You got Skill issues
@makedredd299
@makedredd299 4 месяца назад
All the zooming in and out makes the procedure confusing to follow. 🫤 - Mr Boomer
Далее
Hack your water and electricity! Myth or Reality?
23:10
18 Weird and Wonderful ways I use Docker
26:18
Просмотров 322 тыс.
Be Invisible Online and Hack like a Ghost
54:09
Просмотров 355 тыс.
Using docker in unusual ways
12:58
Просмотров 457 тыс.
Three Ways to Hack Mobile Apps
43:41
Просмотров 67 тыс.
The intro to Docker I wish I had when I started
18:27
Просмотров 174 тыс.
Learn to code with an unfair advantage.
15:05
Просмотров 175 тыс.
Never install locally
5:45
Просмотров 1,9 млн
Your VPN won't protect you 😱
1:03:25
Просмотров 120 тыс.