r/linuxquestions • • 26d ago

Support How to start learning the foundamentals of linux+networking for cybersecurity

Hi, I'm 16 years old and in my third year of high school studying computer science. I'd like to learn cybersecurity, and it seems like a great choice to start with Linux, networking, and things like that. How can I learn these topics? I need a guide or online lessons where everything is explained in detail without taking anything for granted.

60 Upvotes

22 comments sorted by

32

u/Wally-Gator-1 26d ago • Bravo Heartwarming

Welcome to the community. Learning by doing is the best way in the Linux / Unix world.
- if you have a Windows 11/10 machine, install Hyper-V and WSL (Windows subsystem Linux) in the additional features (free) to create a Linux virtual machine. I would recommend you start with Debian (or Fedora) on the Linux side and FreeBSD on the Unix side.
- if you have a spare machine, download a good beginner friendly Linux distribution ISO, write it on a USB stick and install it on the machine by wiping the disks.
- for networking, you can buy a very cheap wifi router compatible with OpenWrt linux distribution and learn how to configure it and make the spare computer part of that network.
If you can't find it, another cheap alternative with Linux networking underneath it is the Mikrotik brand.
----
- You will need first to learn about Wifi/WLAN, LAN, OSI layers, IPv4 (+IPv6 later), DNS, DHCP, NAT, DMZ and firewall.
- Cisco has a free "Networking basics" online class : https://www.netacad.com/courses/networking-basics?courseLang=en-US
- Ask questions to AI. Most are pretty good at it now.

---
For training material, look for:
- CompTIA A+, the beginners certification for IT support.
- LPIC-1 (proposed by the Linux Professional Institute), the first step for Junior sysadmin level skills.
Once you acquire these skills, you could consider taking the certifications exams and put it on your resume.
----
For networking materials:
- Once you have done networking basics, watch videos on youtube about CCNA certifications (by Cisco). It is the standard professional training for network and cybersecurity.
- More advanced network learners will use GNS3 (Graphical Network Simulator) to simulate a network layout.
----
For Linux
- Debian Handbook is a good start: https://www.debian.org/doc/books#english
- Arch Wiki for Arch family linux systems: https://wiki.archlinux.org/title/Main_page
- RHEL Release Notes for Fedora/RHEL family linux systems: https://docs.redhat.com/fr/documentation/red_hat_enterprise_linux/10/html/10.2_release_notes/index
----
For Unix
- FreeBSD documentation (not Linux but extremely well documented open source OS): https://docs.freebsd.org/en/books/handbook/

[Not AI generated. happy to help]

11

u/Mundane-Counter-5317 26d ago

Thank you so much for your time, you’re really helping me with this! Thanks for your advice 🙏. Have a nice day!

5

u/Barafu 26d ago

A couple of youtube channels.

  • NetworkChuck posted a comprehensive set of lectures on networking 5 years ago. Those things don't change so often, so it is ok. But the man really needs to lay off coffee. Watch at 0.8x speed.
  • FreeCodeCamp post long (6-8 hours) videos on various IT basics. Worth searching for the topics you might need.

2

u/Mundane-Counter-5317 26d ago

Thank you so much!

4

u/IntelligentCandy8716 26d ago

I've been watching the ebook bundles from HumbleBundle.com. About a year ago, I purchased a 23 book bundle on Linux SysAdmin from an intro to Linux to VMs, remote admin, and CompTIA Linux+ study guides. They are currently offering a book set called "AI cybersecurity career blueprint" with up to 25 ebooks.

3

u/WorkDoug 26d ago

So, how deep do you want to go? There are a lot of different "levels" in cybersecurity, and in networking, for that matter. I'm retired now, but I used to work at very deep levels of both, doing things like reverse engineering proprietary protocols so we could do deep packet inspection and detect attacks on the wire, then writing the detections. I also worked on a project where my job was to implement just enough of some system interfaces to fool malware into running long enough our behavioral anti-virus could detect them.

But I also worked at higher levels, like correlating threat actors across industries, updating some of our software for new versions of STIX and TAXII, presenting to customers and prospects, and helping write annual reviews of the security environment that were (and still are) well regarded, and the Powerpoint slide decks that we provided to the sales teams.

If you want to get into the nitty gritty of TCP/IP, this is the first of three volumes. Your local library might even have them. Or, if you live near a university with a CompSci program, their library might have them. https://www.amazon.com/TCP-Illustrated-Vol-Addison-Wesley-Professional/dp/0201633469?s=books&sr=1-19&xpid=F9742l_K4mFW5

If you want to learn about reverse engineering malware and stuff like that, you're going to want to know some assembly language and low-level machine architecture. These days, if I was just starting out, I'm not sure whether I'd focus on ARM or x86_64 first, but I'd pick up a little RISC V after I'm comfortable with the other two.

3

u/Mundane-Counter-5317 26d ago

My goal would be to do the kind of jobs you've done. I'm not quite sure yet how far I want to go, but I have to thank you for the advice you gave me, now I have a much clearer idea of what to do. Thanks again for taking the time to share this with me and for all the valuable information.

3

u/WorkDoug 26d ago

Something to consider ... based on the way you've written on this post, it appears you have better English language skills than a lot of technical people. You might want to lean into that, along with the technical stuff. There aren't many highly technical people around who can also communicate that technical stuff to non-technical people in ways they can understand.

3

u/atgaskins 26d ago

pretty sure you can find a book with that very title “Fundamentals of Linux+Networking for Cybersecurity”

1

u/cinnamondripz 25d ago

lol that title's too perfect, got any recs or just the dad joke version?

1

u/CraveCollarr 25d ago

lol thats not the answer he's looking for try again

1

u/[deleted] 26d ago

[removed] — view removed comment

2

u/atgaskins 25d ago

I was just quoting OPs title, as it sounded directly lifted from a course book lol

3

u/DanKegel 26d ago

Read "TCP/IP Illustrated" by W. Richard Stevens for a solid background in networking (old advice, but still good! e.g. https://www.reddit.com/r/learnprogramming/comments/hl5sz/comment/c1w99p6/ )

Take the operating systems class if/when you go to college, or start down that path now with e.g. https://pages.cs.wisc.edu/~remzi/OSTEP/

And play around with one- or two- line vulnerable servers, and attacking them with a single curl command. See e.g. https://github.com/rubennati/vulnerable-php-code-examples

The smaller the hack, the quicker you can pick it up!

2

u/RevolutionaryHigh 26d ago

Evi Nemeth - UNIX and Linux System Administration Handbook

1

u/knuthf 26d ago
  1. It is not possible to implement any security measures on Windows. Windows only supports a small amount of TCP/IP and UDP; most interprocess communication is not supported, only datagram sockets.
  2. The Linux and Unix platform and file system protect everything at the group and user level, which Microsoft has tried to erode for 35 years. They only have user and system levels.
  3. Type 'man socket' (singular) to get started. This is the C/C++ interface.We can make client/servers that will be impossible to reach from Windows, but Mac and iOS is Unix BSD, Android is Linux and can use those sockets.

1

u/es20490446e Develops Zenned OS 26d ago

Trial and error.

6

u/[deleted] 26d ago

[removed] — view removed comment

2

u/Mundane-Counter-5317 26d ago

Thank you so much for these tips, really needed that🙏. Have a great time!

0

u/[deleted] 26d ago

[deleted] — view deleted comment

1

u/Mundane-Counter-5317 26d ago

Ok, thank you!