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

Поделиться
HTML-код
  • Опубликовано: 7 июл 2024
  • 📚 Resources, Web Links, & Timestamps Below 📚
    ⏰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
    🔗 Links Mentioned:
    Google Drive: drive.google.com/drive/folder...
    Project Notes: docs.google.com/document/d/1k...
    Simple HTTPS Python Server GitHub: github.com/collinsmc23/simple...
    Raspberry Pi Imager Utility: www.raspberrypi.com/software/
    Project Idea Page: cybercademy.org/create-homela...
    DockerHub Page: hub.docker.com/repository/doc...
    Additional Security Raspberry Pi Project Ideas: cybercademy.org/raspberry-pi-...
    🍓 Raspberry Pi Model 3B+ CanaKit Starter: www.amazon.com/CanaKit-Raspbe...
    🐕 Follow Me:
    Twitter: / collinsinfosec
    Instagram: / collinsinfosec
    Cybercademy Discord Server: / discord
    🤔 Have questions, concerns, comments?:
    Email me: grant@cybercademy.org
    🎧 Gear:
    Laptop (Lenovo X1 Carbon Ultrabook 6th Gen): amzn.to/2O0UfAM​​​​​
    Monitors (Dell D Series 31.5” D3218HN): amzn.to/2EXlgRF​​​​​
    Keyboard (Velocifire VM01): amzn.to/2TEswfd​​​​​
    Headphones (Audio Technica ATH-M40x): amzn.to/2F4Tvq6​​​​​
    Standing Desk (FlexiSpot Height Adjustable 47 inch): amzn.to/3p3uSAa
    Microphone (Shure SM58LC Dynamic Microphone): amzn.to/3gDG3g1

Комментарии • 51

  • @collinsinfosec
    @collinsinfosec  2 года назад +7

    📚 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 2 года назад

      *Keep it up bro.*

  • @redsun5826
    @redsun5826 2 года назад +21

    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!

  • @sunil5656
    @sunil5656 2 года назад +4

    *Fantastic hands on crash course.*

  • @apscandy
    @apscandy 2 года назад +13

    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  2 года назад +6

      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 😂

  • @DhruvCanada
    @DhruvCanada 2 года назад +3

    This video was *so fruitful.! Thanks man.!*

  • @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!

  • @nalubwamaruth2630
    @nalubwamaruth2630 2 года назад +4

    Am inspired when l see you do thing and l hope to achieve this soon as a cyber security student in Uganda

  • @thiag-o
    @thiag-o 2 года назад +2

    Wow look forward to trying this.

  • @JordanScanlon
    @JordanScanlon 2 года назад +1

    I recently started learning bash. It will help a lot when looking around directories and other things.

  • @lokesh669
    @lokesh669 2 года назад +1

    Needed this

  • @Shawn-il4cw
    @Shawn-il4cw 2 года назад +1

    thank you, seriously

  • @KristinaKarina
    @KristinaKarina 2 года назад +1

    I like the look!!!!

  • @ericouhl5423
    @ericouhl5423 2 года назад +1

    Fantastic Video.

  • @RobertLeeMonterroso
    @RobertLeeMonterroso 2 года назад +1

    Nice

  • @guilherme5094
    @guilherme5094 2 года назад +1

    👍👍!

  • @a40..
    @a40.. 2 года назад +1

    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?

  • @kombu9168
    @kombu9168 2 года назад +1

    can you please talk about the subjects we can choose in high school for cyber security

  • @xBrandoh
    @xBrandoh 2 года назад +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 года назад +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.

  • @footballcyber3187
    @footballcyber3187 2 года назад

    Hlo sir big fan

  • @zk321
    @zk321 2 года назад

    great vid , just curious to see if your school taught you this or just personal fun with tech!

    • @collinsinfosec
      @collinsinfosec  2 года назад +1

      I have just done this myself! Fun project.

  • @Prasanna1970
    @Prasanna1970 5 месяцев назад

    can i use this for project , it is worth ??

  • @JNET_Reloaded
    @JNET_Reloaded 2 года назад

    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 2 года назад

      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  2 года назад

      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.

  • @coderegtech4492
    @coderegtech4492 2 года назад

    can you make a tutorial about installation of kali in raspberry pi using external SSD or HDD

    • @collinsinfosec
      @collinsinfosec  2 года назад +2

      You can take a look here, this is a great tutorial: ruclips.net/video/kiqKAdbxyeg/видео.html

    • @zk321
      @zk321 2 года назад +1

      @@collinsinfosec what a lovely dude replying to comments wish u the best , only real security channel out there

  • @nickp879
    @nickp879 2 года назад +1

    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 Год назад

      @@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 Год назад +1

      yeah the kali container is broken

  • @zk321
    @zk321 2 года назад

    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/

  • @Maik.iptoux
    @Maik.iptoux 2 года назад

    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  2 года назад

      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 2 года назад

      @@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  2 года назад

      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 2 года назад

      @@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 2 года назад

    Can you tell your income how much?? Just education purpose only

    • @collinsinfosec
      @collinsinfosec  2 года назад +1

      I can't, no. It's a Non-disclosure agreement

    • @zk321
      @zk321 2 года назад

      I think google does a good job at explaining this

  • @zinathrehana1300
    @zinathrehana1300 2 года назад

    Do you teach me?