Create a Cybersecurity Homelab on a Raspberry Pi! - Crash Course 2022

  Рет қаралды 25,544

Grant Collins

Grant Collins

Күн бұрын

Пікірлер: 51
@collinsinfosec
@collinsinfosec 3 жыл бұрын
📚 Resources, Web Links, and Timestamps in the Description 📚 Quick comment: You can speed up the process with Docker Files for deploying containers with packages. I chose to do the manual way to show the process. In a "real-world" scenario, you would likely use DockerFiles. ⏰Timestamps: 0:00 - Introduction 1:05 - Project Resource Links 1:43 - Raspberry Pi Setup 2:45 - Enable SSH 4:13 - Project Overview 6:00 - Overview of Docker 9:12 - Install Docker Engine 12:40 - Download Docker Images 15:09 - Deploy Containers 19:25 - Install Container Packages 25:45 - Establish Basic Network Connectivity 27:43 - Download Website Files 34:00 - Edit Config File 34:42 - Create Self-Signed Cert 39:55 - Download HTTPS Python Server 41:36 - Edit Web Script 47:10 - Final Demo 48:48 - Conclusion
@sunil5656
@sunil5656 3 жыл бұрын
*Keep it up bro.*
@redsun5826
@redsun5826 3 жыл бұрын
thank you so much!!! as a cybersecurity student, it's been rammed into to my head to: "build a homelab, homelab, homelab RIGHT NOW!!!" but a part of me is asking, "how? how?? HOW??? 😭" and serendipitously, you posted this video. i really appreciate you, man!
@collinsinfosec
@collinsinfosec 3 жыл бұрын
Happy to help!
@Joshua-sp1kd
@Joshua-sp1kd 3 жыл бұрын
Feeling ALL the serendipity right now haha
@apscandy
@apscandy 3 жыл бұрын
Hey Grant most of this can be done with Docker files and a Docker compose file, so in future all you have to do is git clone a repo. If you ever want any help with this let me more than happy to help out anyone in the cyber community.
@collinsinfosec
@collinsinfosec 3 жыл бұрын
Hey Andrew! Yes, thank you for the comment. I was aware you could do this pretty easily through Dockerfiles, especially downloading the packages inside each of the containers. I specifically wanted to demonstrate the process of downloading each of the containers and setting up the environments to provide a familiarity with how to work with docker, etc. Good idea! I should add the docker files to a GitHub repo for easy access to those who want to automate that process. Hopefully this clarifies why I went the long route instead of using automation 😂
@nalubwamaruth2630
@nalubwamaruth2630 3 жыл бұрын
Am inspired when l see you do thing and l hope to achieve this soon as a cyber security student in Uganda
@JordanScanlon
@JordanScanlon 3 жыл бұрын
I recently started learning bash. It will help a lot when looking around directories and other things.
@sunil5656
@sunil5656 3 жыл бұрын
*Fantastic hands on crash course.*
@bolt8129
@bolt8129 2 жыл бұрын
The description of your channel though! haha, jokes aside you do have tons of knowledge and would love more videos like this please!
@DhruvCanada
@DhruvCanada 3 жыл бұрын
This video was *so fruitful.! Thanks man.!*
@collinsinfosec
@collinsinfosec 3 жыл бұрын
Happy to help!
@thiag-o
@thiag-o 3 жыл бұрын
Wow look forward to trying this.
@ericouhl5423
@ericouhl5423 3 жыл бұрын
Fantastic Video.
@collinsinfosec
@collinsinfosec 3 жыл бұрын
Fancy seeing you here ;)
@lokesh669
@lokesh669 3 жыл бұрын
Needed this
@xBrandoh
@xBrandoh 2 жыл бұрын
Hey Grant, I’ve been thinking about getting the AWS Certified Solutions Cloud Architect certification this summer. I believe you also got this same certification so I ask if you really need “1 year of experience using the AWS platform” and the “in depth knowledge of a high level programming language” that it recommends on the website. I have never used AWS and as you know, SEMO isn’t the best at teaching programming
@collinsinfosec
@collinsinfosec 2 жыл бұрын
Hey! I had no prior experience with AWS before pursuing this certification, I hadn't every used the AWS Console or didn't know what EC2 was (for example). You can absolutely pursue and pass this certification without any programming or prior experience with AWS.
@nacholibreri
@nacholibreri 3 жыл бұрын
I like the look!!!!
@Shawn-il4cw
@Shawn-il4cw 2 жыл бұрын
thank you, seriously
@kombu9168
@kombu9168 2 жыл бұрын
can you please talk about the subjects we can choose in high school for cyber security
@a40..
@a40.. 2 жыл бұрын
Is there a future chances for the cyber security and is it so hard to study as everyone else say? Is it required better than the computer science?
@zk321
@zk321 3 жыл бұрын
great vid , just curious to see if your school taught you this or just personal fun with tech!
@collinsinfosec
@collinsinfosec 3 жыл бұрын
I have just done this myself! Fun project.
@RobertLeeMonterroso
@RobertLeeMonterroso 3 жыл бұрын
Nice
@nickp879
@nickp879 2 жыл бұрын
Currently running into a issue when i cannot download iproute2 packages in any of the containers. "Unable to locate package iproute2" Any tips?
@collinsinfosec
@collinsinfosec 2 жыл бұрын
Make sure you are able to establish an internet connection. Try pinging google.com. It could also be a syntax error, which container are you trying to download iproute2 through?
@trinitech8660
@trinitech8660 2 жыл бұрын
@@collinsinfosec I'm stuck right here also where I cannot download the iproute2 packages. I'm in the docker exec -it attacker /bin/bash. E: Unable to locate package iproute2. Will continue looking for a solution
@bigloud7067
@bigloud7067 2 жыл бұрын
yeah the kali container is broken
@Prasanna1970
@Prasanna1970 11 ай бұрын
can i use this for project , it is worth ??
@Maik.iptoux
@Maik.iptoux 3 жыл бұрын
Minute 20: Do you know what you do here? First, bash-completion is not an bash shell for docker, it's an auto complete of bash commands (tab). Second. When you install thing inside an container, all the things are gone when you reboot/restart, so the containers should be created with this tools (ip2route, etc)
@collinsinfosec
@collinsinfosec 3 жыл бұрын
1) Ah, thank you. You are right here. Noted 👍 2) Not exactly sure what you mean here. Docker containers contents can be stored in docker volumes, which are persistent storage devices.
@Maik.iptoux
@Maik.iptoux 3 жыл бұрын
@@collinsinfosec yeah in volumes that's true, but then you had to link/bind the volumes into the container. Without that, any apt upgrade or apt install is gone after restart of the container. So the best option here is to build the container with that packages.
@collinsinfosec
@collinsinfosec 3 жыл бұрын
Agreed, if you are going to share your container images, it would make more sense to download the packages in the DockerFile. Since this is a small homelab, the docker containers can be stopped and restarted without losing their packages. Maybe I am not understanding here? I am able to stop, restart, and start the containers without losing the contents.
@Maik.iptoux
@Maik.iptoux 3 жыл бұрын
@@collinsinfosec In docker you use general an base image, from this base image the container is created. You can now work with that container, but when you stops/exits the data/changes you had done after the start will be gone. I can't provide links her so I quote something: With a normal Docker container, yes you will lose your data when the container exits. This is obviously not ideal for many applications, but it is really a feature and not a bug. The complete destruction of all data in your container ensures that at any time you can destroy and recreate your container back into its known, starting state. This gives you complete consistency between runs of your application. It’s one of the reasons that Docker is so useful for test and development environments, it eliminates the differences between two different desktop environments. For applications that need to retain data, the most common way is to use a Docker volume mount to mount another directory into your container. This is a directory on the host which you can see from within the container. The container can then read or write to the host volume directly like any other file system. Then when the container is destroyed and recreated with the same volume mount, the data is available again.
@footballcyber3187
@footballcyber3187 3 жыл бұрын
Hlo sir big fan
@coderegtech4492
@coderegtech4492 3 жыл бұрын
can you make a tutorial about installation of kali in raspberry pi using external SSD or HDD
@collinsinfosec
@collinsinfosec 3 жыл бұрын
You can take a look here, this is a great tutorial: kzbin.info/www/bejne/oZrUfHSal92sm8k
@zk321
@zk321 2 жыл бұрын
@@collinsinfosec what a lovely dude replying to comments wish u the best , only real security channel out there
@guilherme5094
@guilherme5094 3 жыл бұрын
👍👍!
@zk321
@zk321 3 жыл бұрын
yeo deobodahhhhh can u teach us how to set up static ips on a fresh rasperry pi most ppl struglle with this :)
@collinsinfosec
@collinsinfosec 2 жыл бұрын
DeeBooDah! You can setup static IPs here. www.makeuseof.com/raspberry-pi-set-static-ip/
@JNET_Reloaded
@JNET_Reloaded 3 жыл бұрын
I used to use kasm docker but its not pulling the image any ideas? i also tied using docker on linux mint it wouldnt work is there a way to make it work?
@Maik.iptoux
@Maik.iptoux 3 жыл бұрын
Kasm ist the easiest thing I have ever seen, i can set up an server in under 5min. What's the problem? You guys all Wanne do cyber security stuff and homelabs but can't troubleshooting anything else self.
@collinsinfosec
@collinsinfosec 3 жыл бұрын
I think J_Net is looking for some ideas, we are all learners here. Unfortunately, I am not aware of how you could pull docker images J_Net.
@footballcyber3187
@footballcyber3187 3 жыл бұрын
Can you tell your income how much?? Just education purpose only
@collinsinfosec
@collinsinfosec 3 жыл бұрын
I can't, no. It's a Non-disclosure agreement
@zk321
@zk321 3 жыл бұрын
I think google does a good job at explaining this
@zinathrehana1300
@zinathrehana1300 2 жыл бұрын
Do you teach me?
How to Secure a Raspberry Pi on Your Network | ITProTV
28:36
ACI Learning
Рет қаралды 57 М.
A RISC-V Stick-on
8:44
Jeff Geerling
Рет қаралды 470 М.
Beat Ronaldo, Win $1,000,000
22:45
MrBeast
Рет қаралды 158 МЛН
The Best Band 😅 #toshleh #viralshort
00:11
Toshleh
Рет қаралды 22 МЛН
She made herself an ear of corn from his marmalade candies🌽🌽🌽
00:38
Valja & Maxim Family
Рет қаралды 18 МЛН
I Can Save You Money! - Raspberry Pi Alternatives
15:04
Linus Tech Tips
Рет қаралды 3,7 МЛН
I ditched my Raspberry Pi for this
18:45
NetworkChuck
Рет қаралды 566 М.
Raspberry Pi 5: Getting Started
24:43
Jeff Geerling
Рет қаралды 684 М.
Detect Hackers & Malware on your Computer (literally for free)
16:38
18 Weird and Wonderful ways I use Docker
26:18
NetworkChuck
Рет қаралды 498 М.
I taught my wife how to hack.
21:16
Grant Collins
Рет қаралды 10 М.
you need to learn Kubernetes RIGHT NOW!!
29:34
NetworkChuck
Рет қаралды 1,2 МЛН
The intro to Docker I wish I had when I started
18:27
typecraft
Рет қаралды 410 М.
Beat Ronaldo, Win $1,000,000
22:45
MrBeast
Рет қаралды 158 МЛН