The most common approach is: a lock on the doors and security personnel The next step is authentication of each deive on the port 802.1X. The next step is IPSec.
This series has been massively helpful. I know you are crazy busy running a community and a business, but I would really love to see this series completed
@@mrnmrk6191 are you in the network berg chat often talking about MTKs? If so we have talked. I concur that Mikrotiks rock and def easy to learn, but the certs are harder to get and require a lot more. The CCNA is more widely accepted and currently respected, so while MTKs rule and I love them and use them myself on a few networks, I would not say the CCNA cert is something one should give up, some of the tik language, and most of other routers, are based on cisco so all around a good cert, it is better than a network + for sure. Once Mikrotik makes their certs affordable and not a required class to get it, then will jump on that cert wagon lol
You can spoof Mac addresses. So if you unplug a Pi from the switch, you might just take the Mac of that Pi and the mac filter is irrelevant. This is an inconvenience for the attacker, but be careful not to overstate the gained security there. Mac addresses are often just written on devices, otherwise just plug it into your own switch and read the mac from there. Furthermore, in a real life scenario, you run in a huge problem if an attacker gains direct physical access to the switch, but I guess everyone is already aware of that ;) Overall nice content, thanks!
Security is all about layers. Usually when a device is hard linked to a port it provides a certain service. Sure you can spoof the mac address, but for a network printer I can disable most networking. I only have to open certain ports and when you spoof the MAC address, you can only do things that the device could, but nothing more. I'm an old-school administrator. By default I block/deny everything and than I open up the things I need. It is not user friendly and when something needs to be connected, I takes some time (sometimes several hours) to setup everything. This concept is working for me for over 25 years going back to my Netware days. Given enough time, opportunity and resources everything can be hacked. If someone is specifically targeting you, there is usually very little you can do about that. But by securing your switch in a proper way, you can guard against 99% of the attacks out there...
I think you do a really good job when it comes to fast paced dictation, most people stumble over their thought processes or skip steps, you stayed on track the whole time while making it enjoyable to learn. I wish all IT channels were as entertaining and captivating as yourself when it comes to teaching new users. Keep up the good work sir, subbed.
VIRTUALIZE your debit cards and protect your financial identity with Privacy: ntck.co/privacy Watch the whole course: bit.ly/nc-ccna Go deeper: ntck.co/ncccna 🔥🔥Join the NetworkChuck Academy!: ntck.co/NCAcademy 🔎🔎Can you complete the lab???: ntck.co/ncccna This is CCNA Episode 14. Port security is a VITAL thing we must learn when becoming network engineers, especially when you have hackers running around using things like the Shark Jack from HAK5. In this video, I’ll show you the best practices for securing your switch ports on Cisco Switches and Unifi (Ubiquiti) switches. 🔥🔥Join the NetworkChuck membership: ntck.co/Premium **Sponsored by Boson Softwareruclips.net/user/sgaming/emoji/7ff574f2/emoji_u1f525.png
What if the attacker determines the MAC-Address from the allowed device, and sets the MAC-Adress to it's hacking device? MAC-Address can be changed I think. Is there any way to handle this?
For future readers. NMAP is not an attack. NMAP is a type of active enumeration, and there are a lot of legitimate use cases for the usage of NMAP in network/system operations. Including debugging.
I had originally thought this too. I suppose in the context of nmapping someone elses network unauthorized, it could be considered an attack, but I agree with you on this one.
Chuck, a good tip with working on multiple ports at once in cisco is interface range then you can put the range of ports you need to change and do it all with one command
Dude, there is no one, absolutely no one on youtube with better network related content. I do hope you are getting rich from it and thank you, thank you a lot
Port-security is for small installations only. As you mentioned in the end of the video, much better ways are 802.1X (or MAB for dumb devices). I am in the RADIUS database - I get access to a VLAN I am assigned to. I am not - I don't get access at all being dropped to quarantine VLAN. Simple, flexible and can be handled by a small number of engineers in a large network. Profiling by Cisco ISE/FortiNAC/etc. is a next-gen feature but a bit expensive.
I work for a large company with many thousands of network devices, and we still use Port Security. Although not for security purposes per se, we mainly use it for stopping the usage of unmanaged switches on the network.
@@diablo4223 we have about 600 switches. Why not to use single-host or multi-domain auth mode? They also limit the number of devices that can authorize on a single port.
Thank you for popping up in my feed today! I have been slacking off on studying and pushing my way into the IT universe after getting shot down after 4 rounds of interviews for my first IT job. But your videos do a great job of keeping me on focus and how fun it can be! Thank you much and I appreciate all your work on your channel!
Reading the title I was expecting something about 802.1x. Well, too bad. One thing to mention, though: MAC-Filtering is easily subverted as the MAC address can be changed using standard tools. So if you happen to disconnect a device to use its port, just connect the device to your own machine. Wait a moment for the DHCP-request which will contain the device's MAC. Then use the gathered MAC address on your own hardware. Simple as that.
I absolutely love everything about your content! Just how clean your explanations are and how much detail you go through using visual aid. As a visual learner, your videos are absolutely Paradise to me! Also, your comment about being in a black hole with no friends and you're sad reminds me of Loki when he says, "Yes, very sad...Anyway..." LOL!
Thank you for doing it this way! Learning how to do the stuff is one thing. But seeing what its like "being attacked" looks like and blocking the attack looks like!
Chuck, A couple quick questions about the Shark Jack, 1. Where dies it get its power? Is it PoE or does it have a battery? 2. Could you have it grab MAC addresses connected? Like use a coupler, grab the mac(s) of a device/cable you are unplugging, then spoof that MAC via a script config? BTW: I love your videos, i have been digesting your whole channel and your way of teaching is similar to my own. It is obvious that you love and live what you do. Keep it up.
Has this series finished ? It has been 4 months since the last video 😔😢 Seriously .. you're the best instructor I've ever seen 🌹👍 Hope you complete the series very soon 😊
This is all great info, your content is awesome! One thing I might add though: If you unplug the raspberry pi and plug it directly into the shark jack, the shark jack can clone the RPi's Mac address, which would allow the shark jack to bypass port security by providing the same Mac address as the legitimate raspberry pi.
I'm currently in OS Software and computer hardware, and Networking, but security is next once I re-learn all the stuff I forgot in my 20's. Can't believe how much I still know and is actually still relevant some 10+ years down the line. Did port security and observation old-school for so many years, a keychain shark seems too easy. I want one!
Another cool thing you can use the Shark Jack for is making a rogue DHCP server. This is good for learning how to configure DHCP snooping and dynamic ARP inspection.
This video right here got me into the it "space" 1 year ago during covid, now im almost done with my A+ and going to start my linux+ soon. Love you chuck...
@@AngryMarkFPV I definitely see it not being ideal but I believe even the DoD doesn’t label IP addresses as anything other than unclassified unless combined with subnet mask and maybe even something else.
@@AngryMarkFPV Not really. It's a private IP address and without knowing the inside global address there's not much you can do with it. Even then there would have to be some NAT/PAT for that address as well. Which raises the question why he even blurred it to begin with.
@@jolss0 its a best practice. @AngryMarkFPV said it the best, any insight to his network could be dangerous. We also don't know how often his network comes under attack, how much info somebody has collected etc.. Just better to blur it out.
Chuck, I don't know how you do it but I've been going to school for IT for about 2 years now and every time i start a new class you cover something about that subject. Thanks for your guidance you make some of the subjects easier to understand!
Since we barely change anything in our office, and everything is labels, and the Server room does allow this: All the non used Ethernet plugs are just not connected to anything. The connection on the patch pannels are emtpy, only the ones with a Device normally being on the plug are actually connected in the Server room
I have been doing networking for about 6 years, but never got a CCNA. Never thought I could do the cert. Your videos make me think I can. Thank you and keep doing the fine work you do
That's it with the CCNA? Or some more later? Plssss make a Udemy course on CCNA CCNP - the whole topics .. u teach na.. it's so nice to have a teacher like this 🔥🔥
here's how I protect my network ports: my switch is in a rack that is physically locked. you would need a key to the rack to even plug that in. the only cables running to outside the server will only issue an IP address to the device with the mac address corresponding to the device that should be plugged into it. honestly, to me, that is secure enough to prevent most attacks. sure you could find the computer's mac address and spoof it then disconnect the computer and attach the sharkjack to the cable with a little adapter, but that is honestly more trouble than its worth and requires prolonged uninterrupted access to my PC
The shark jack generates a random MAC address on boot so restricting it's MAC wouldn't be helpful as it will be different next time you plug it in. There is also a way to connect it to a device that is on the network, determine the devices MAC and change its own to match. In effect, you can unplug a cable, plug the cable into the shark jack then unplug it and plug the shark jack into the network port. That bypasses all securities covered here.
"Put it in VLAN 666!" That comment has earned you my sub! Also, thank you for teaching this. Physical security is one of the things that I love seeing at the places I've worked (and hate when there is none). I've seen switches plugged into wall jacks that were left out in the open and since earning my BAS in IS&C, that is vexing! Also "swi po mac sticky" is a great command to run on cisco ports to ensure that no "new" devices get swapped for the one that is set for the port!
It's been about 6 months since the last CCNA video. When are we going to get more of this course? I love how you explain things. Without this course, I've been forced to go somewhere else to try to learn for my CCNA and it's not really working well for me. Please. We need more of this course.
I love this!! I have to work with customers all the time where I have to tell them, "I'm gonna send the ticket to the network team and tell them to do a shut/no-shut on the port." I had an *idea* of what was going on behind the scenes, but it's so stinking cool to see it play out on screen like this!!! Thank you so much for what you do!!!
If someone has physical access to your network, it's trivial to unplug a device, look at the MAC address on the label of the device and spoof it in the interface settings of the attacker's device. Port Isolation and ACLs is the correct way to secure a switchport.
is there going to be an ep 15 ever? I'm guessing not as there its been 3 years haha. I would love more of the course if you can do more please! You are the only person I find engaging and fun to learn from. I learn way more in 10 mins with you than reading or watching someones else's 15 hours of boringness
This is especially important for residential homes that have multiple Surveillance cameras outside house that can easily be knocked off to gain network access. Best practice dictates having multiple cameras recording other cameras in case they get vandalized.
One thing Chuck forget to mention, how to clear the sticky MAC address. Use the command "no switchport port-security mac-address sticky [mac-address]". Also if you're using "switchport port-security mac-address sticky" make sure you shutdown any unused ports on the switch or black hole / quarantine them. Quarantine works better, especially if the network cabling labelling is poor, because it still learns the MAC and then you just change the VLAN & label the port. Otherwise the first person to plug something in, maybe nefarious, will just be allowed on the network. While this topic covers basics of port security, it's only using MAC addresses for security which can be spoofed. This is a great learning concept but as shown has limited uses in a real environment. If you want proper port security & secure Wi-Fi, 802.1x with certificates is the only way to go and that's very large and technically deep topic especially when you throw Cisco ISE in the mix. ISE is a beast thats a course all on it's own.
That's a whole lotta work if you work for a big company. vlans, firewalls, nat, with planning is the way to go. Especially if you work with places that require _change windows_
With sticky mode, if you don't write the config, a reboot erases the learned MAC and you can plug any device in. Also good practice to give your VLANs a description, especially when doing very large networks.
I had old port servers from like 1998 that were Linksys that I went through and learned alot!! Especially after I revamped them on today's newer 5G network back in 2012 when I was re mapping digital security infrastructure and tracking finances.
I personally didn't learn anything new, but this was a good episode. I've never heard blackhole VLAN, everyone I've met in the industry for me personally has called it a quarantine VLAN. Port security is very important, thank you for sharing with everyone!
If someone with a shark jack is at your switch and you have turned off all unused ports..... just unplug something in use and bam problem solved. Becky in accounting will complain for 5 min that she lost internet then go on a coffee break while you do your thing.
I believe that’s how a bank near me got robbed about 5-7 years ago. Guy plugged into an open phone jack and hacked the security system and on a holiday they went in and nobody knew until they returned for work.
Loving this free CCNA course you've been doing. The way you talk about it you can tell your passionate and it makes it much easier to watch. Will you be doing a video on configuring IP addressing for data center's/offices?
With the situation you mentioned having someone unplug your existing device and plug in theirs is defeated just by them plugging the device into theirs, harvesting the other mac address & then modifying theirs to match it before connecting to the switch.
This was really interesting, parts of this I used for years, other things I had little knowledge about but you explained those things in a level that I understand. I not work with it, just an nerdy hobbyist. With your videos I have to rebuild my home network and play with the security stuff 🙂 Keep up the good work
Nice device, I wish to have it in the past :) Btw. You can't secure port in switch if somebody will connect pass trough port device which will listening everything which going over port :) like "man in the middle" :) It can learn MAC address and later block device behind and make itself as this device using discovered MAC address, only certificates can help in this scenario Great video.
In principle a security detail is intended to prevent an acre's access through a switch that he is trying to infiltrate an organization or something pretty good security detail but there are still methods that an acre can bypass the security detail
This is actually a really great series :D Already done CCNA but the refresher doesnt do any harm - even learnt a few new stuff! Eagerly awaiting the rest of the episodes
If it were me, from a software guy perspective, I'd have a heartbeat or healthcheck going on the device connected, perhaps with credentials or some sort of key, that automatically shifts the port to an admin vlan if something connects that doesn't respond. Means nothing can connect and find anything useful (admin vlan would be almost a black hole), but allows admin to connect remotely and debug the machine if it truly is a fault.
A lan tap would do this very easily, and could even be used in combination with the shark jack. These are crude security measures, but if someone is jacking into your ports, you're going to need 802.1X with strict certificate management and no MAB devices allowed to really have the best chance of things staying secure on your wires.
In an enterprise environment i would prefer RADIUS authentication, verifying the user/and or the certificate of the enterprise computer. And i would rather have it default to a Guest VLAN limited to specific applications/ports but with internet access so the user is able to contact IT-support. As others have mentioned MAC-spoofing is quite easy to workaround but limiting devices on your port to 1-2 is definitely good practice.
Yes, that is the more modern and accepted solution. 'Port security' is pretty out of date by this point, and not going to stop much. But it's still a good topic to cover for beginners.
Love your videos, sadly unless I missed it, but in this video you missed out the fact that MAC Addresses can be spoofed rendering Port Security via MAC Addresses useless, however IEEE 802.1x Authentication may be the way to go for security.
The most common approach is: a lock on the doors and security personnel
The next step is authentication of each deive on the port 802.1X.
The next step is IPSec.
Physical and perimeter security is king.
This series has been massively helpful. I know you are crazy busy running a community and a business, but I would really love to see this series completed
Hey Chuck please complete this CCNA series...
I have started to see all your CCNA video.. it's fun to learn.
give up with CCNA and get to learn Mikrotik Router OS, 1000 times better and easier
@@mrnmrk6191 can you talk a bit about why it is better? just curious
@@mrnmrk6191 are you in the network berg chat often talking about MTKs? If so we have talked. I concur that Mikrotiks rock and def easy to learn, but the certs are harder to get and require a lot more. The CCNA is more widely accepted and currently respected, so while MTKs rule and I love them and use them myself on a few networks, I would not say the CCNA cert is something one should give up, some of the tik language, and most of other routers, are based on cisco so all around a good cert, it is better than a network + for sure. Once Mikrotik makes their certs affordable and not a required class to get it, then will jump on that cert wagon lol
You can spoof Mac addresses. So if you unplug a Pi from the switch, you might just take the Mac of that Pi and the mac filter is irrelevant. This is an inconvenience for the attacker, but be careful not to overstate the gained security there. Mac addresses are often just written on devices, otherwise just plug it into your own switch and read the mac from there. Furthermore, in a real life scenario, you run in a huge problem if an attacker gains direct physical access to the switch, but I guess everyone is already aware of that ;)
Overall nice content, thanks!
sticky ports my friend
@@rob7328 802.1x*
Security is all about layers. Usually when a device is hard linked to a port it provides a certain service. Sure you can spoof the mac address, but for a network printer I can disable most networking. I only have to open certain ports and when you spoof the MAC address, you can only do things that the device could, but nothing more.
I'm an old-school administrator. By default I block/deny everything and than I open up the things I need. It is not user friendly and when something needs to be connected, I takes some time (sometimes several hours) to setup everything. This concept is working for me for over 25 years going back to my Netware days.
Given enough time, opportunity and resources everything can be hacked. If someone is specifically targeting you, there is usually very little you can do about that. But by securing your switch in a proper way, you can guard against 99% of the attacks out there...
not to mention that in his example, the sharkjack has already cloned the MAC of the existing raspberry Pi. which makes his example terrible.
@@mathbee It's not cloned. The last two digits of the MAC were indeed different. The Pi was d9, the sharkjack was a9.
MAC's are easily cloned. Which is why you need to pair up port security with 802.1x machine certificates
He mentions that at 21:19
Have you watched the whole video? He mentioned this...
Hey Chuck, First.... I love your channel and your teaching style is superb! Second, When do you think EP 15 might be coming? I'm hungry for more !
I think you do a really good job when it comes to fast paced dictation, most people stumble over their thought processes or skip steps, you stayed on track the whole time while making it enjoyable to learn. I wish all IT channels were as entertaining and captivating as yourself when it comes to teaching new users. Keep up the good work sir, subbed.
As a 35 plus years network admin I really like the way you present this topic. It’s making me enthousiastic about my job all over. Thanks for that!
Try it at 63, jaded to the max...Chuck is inspiring I agree
VIRTUALIZE your debit cards and protect your financial identity with Privacy: ntck.co/privacy
Watch the whole course: bit.ly/nc-ccna
Go deeper: ntck.co/ncccna
🔥🔥Join the NetworkChuck Academy!: ntck.co/NCAcademy
🔎🔎Can you complete the lab???: ntck.co/ncccna
This is CCNA Episode 14. Port security is a VITAL thing we must learn when becoming network engineers, especially when you have hackers running around using things like the Shark Jack from HAK5. In this video, I’ll show you the best practices for securing your switch ports on Cisco Switches and Unifi (Ubiquiti) switches.
🔥🔥Join the NetworkChuck membership: ntck.co/Premium
**Sponsored by Boson Softwareruclips.net/user/sgaming/emoji/7ff574f2/emoji_u1f525.png
Yessss!!
Thank you for posting!!!
Goveaway
Cool thank you and thanks for the educational videos!
What if the attacker determines the MAC-Address from the allowed device, and sets the MAC-Adress to it's hacking device? MAC-Address can be changed I think. Is there any way to handle this?
You're *REALLY* better than education channels. Thanks for information maan
1000%
For future readers. NMAP is not an attack. NMAP is a type of active enumeration, and there are a lot of legitimate use cases for the usage of NMAP in network/system operations. Including debugging.
I had originally thought this too. I suppose in the context of nmapping someone elses network unauthorized, it could be considered an attack, but I agree with you on this one.
Chuck, a good tip with working on multiple ports at once in cisco is interface range then you can put the range of ports you need to change and do it all with one command
Dude, there is no one, absolutely no one on youtube with better network related content. I do hope you are getting rich from it and thank you, thank you a lot
Port-security is for small installations only. As you mentioned in the end of the video, much better ways are 802.1X (or MAB for dumb devices). I am in the RADIUS database - I get access to a VLAN I am assigned to. I am not - I don't get access at all being dropped to quarantine VLAN. Simple, flexible and can be handled by a small number of engineers in a large network. Profiling by Cisco ISE/FortiNAC/etc. is a next-gen feature but a bit expensive.
I work for a large company with many thousands of network devices, and we still use Port Security. Although not for security purposes per se, we mainly use it for stopping the usage of unmanaged switches on the network.
@@diablo4223 we have about 600 switches. Why not to use single-host or multi-domain auth mode? They also limit the number of devices that can authorize on a single port.
Thank you for popping up in my feed today!
I have been slacking off on studying and pushing my way into the IT universe after getting shot down after 4 rounds of interviews for my first IT job. But your videos do a great job of keeping me on focus and how fun it can be!
Thank you much and I appreciate all your work on your channel!
Reading the title I was expecting something about 802.1x. Well, too bad.
One thing to mention, though: MAC-Filtering is easily subverted as the MAC address can be changed using standard tools. So if you happen to disconnect a device to use its port, just connect the device to your own machine. Wait a moment for the DHCP-request which will contain the device's MAC. Then use the gathered MAC address on your own hardware.
Simple as that.
You are such an underratedly effective teacher of this stuff
Why have you left us in the middle of this CCNA journey! It's been 2 years we are still waiting for EP 15!!
not sure about EP15 or others, but his page has this playlist for the entire free ccna course: ruclips.net/p/PLIhvC56v63IJVXv0GJcl9vO5Z6znCVb1P
I absolutely love everything about your content! Just how clean your explanations are and how much detail you go through using visual aid. As a visual learner, your videos are absolutely Paradise to me! Also, your comment about being in a black hole with no friends and you're sad reminds me of Loki when he says, "Yes, very sad...Anyway..." LOL!
Thank you for doing it this way! Learning how to do the stuff is one thing. But seeing what its like "being attacked" looks like and blocking the attack looks like!
Thank you for the course! Will you proceed with it ? Will we get new EPs ?
I'm 3 months into getting my bachelor's in cybersecurity. So glad I found your channel. You explain things very well and it helps me out. Thank you.
Would love to see more of this series. I have found it really interesting and really enjoy the way you present the information.
Chuck, A couple quick questions about the Shark Jack,
1. Where dies it get its power? Is it PoE or does it have a battery?
2. Could you have it grab MAC addresses connected? Like use a coupler, grab the mac(s) of a device/cable you are unplugging, then spoof that MAC via a script config?
BTW: I love your videos, i have been digesting your whole channel and your way of teaching is similar to my own. It is obvious that you love and live what you do. Keep it up.
Has this series finished ? It has been 4 months since the last video 😔😢
Seriously .. you're the best instructor I've ever seen 🌹👍
Hope you complete the series very soon 😊
Natural born teacher. I love the way you teach. You make hard things look easy.
Thanks man, Cisco auto learning makes it soooo complicated to digest while your course is easy to follow and understand!
This is all great info, your content is awesome! One thing I might add though: If you unplug the raspberry pi and plug it directly into the shark jack, the shark jack can clone the RPi's Mac address, which would allow the shark jack to bypass port security by providing the same Mac address as the legitimate raspberry pi.
I'm currently in OS Software and computer hardware, and Networking, but security is next once I re-learn all the stuff I forgot in my 20's. Can't believe how much I still know and is actually still relevant some 10+ years down the line. Did port security and observation old-school for so many years, a keychain shark seems too easy. I want one!
Another cool thing you can use the Shark Jack for is making a rogue DHCP server. This is good for learning how to configure DHCP snooping and dynamic ARP inspection.
any tutorial on that topic that you can share, please?
This video right here got me into the it "space" 1 year ago during covid, now im almost done with my A+ and going to start my linux+ soon. Love you chuck...
@14:03 If you’re gonna blur out your switch’s IP address, you should probably blur it out completely… ;)
Wouldn’t you have to be connected locally to do anything with that IP?
@@tnasty15 any insight into the internals of another network can be of use. especially being his core switch.
@@AngryMarkFPV I definitely see it not being ideal but I believe even the DoD doesn’t label IP addresses as anything other than unclassified unless combined with subnet mask and maybe even something else.
@@AngryMarkFPV Not really. It's a private IP address and without knowing the inside global address there's not much you can do with it. Even then there would have to be some NAT/PAT for that address as well. Which raises the question why he even blurred it to begin with.
@@jolss0 its a best practice. @AngryMarkFPV said it the best, any insight to his network could be dangerous. We also don't know how often his network comes under attack, how much info somebody has collected etc.. Just better to blur it out.
If going for CCNA which would be better Boson or IT Pro TV?
I need to configure port security on a Cisco switch this week and you just happen to have a quick tutorial. Perfect! Thank you.
You explain everything so nicely. I have never understood this concept before you.
Watched this the day you uploaded it and was baffled. Committed to studying CCNA in the meantime and I’m sponging what you’re spilling here. Thanks
I know like nothing talked about in any of your videos but I have amazing interest in cyber security and everything you talk about
Contact our support team on Instagram @Networkchucksupport to join our tutorial classes
Chuck, I don't know how you do it but I've been going to school for IT for about 2 years now and every time i start a new class you cover something about that subject. Thanks for your guidance you make some of the subjects easier to understand!
Shark jack is pretty cool, can't wait for the rubber ducky vid tho 😁👍
Since we barely change anything in our office, and everything is labels, and the Server room does allow this:
All the non used Ethernet plugs are just not connected to anything. The connection on the patch pannels are emtpy, only the ones with a Device normally being on the plug are actually connected in the Server room
I have been doing networking for about 6 years, but never got a CCNA. Never thought I could do the cert. Your videos make me think I can. Thank you and keep doing the fine work you do
What did cert did you use to get your current job?
That's it with the CCNA? Or some more later? Plssss make a Udemy course on CCNA CCNP - the whole topics .. u teach na.. it's so nice to have a teacher like this 🔥🔥
Next video is called: What is an ip address? Ep 1
here's how I protect my network ports: my switch is in a rack that is physically locked. you would need a key to the rack to even plug that in. the only cables running to outside the server will only issue an IP address to the device with the mac address corresponding to the device that should be plugged into it. honestly, to me, that is secure enough to prevent most attacks. sure you could find the computer's mac address and spoof it then disconnect the computer and attach the sharkjack to the cable with a little adapter, but that is honestly more trouble than its worth and requires prolonged uninterrupted access to my PC
The shark jack generates a random MAC address on boot so restricting it's MAC wouldn't be helpful as it will be different next time you plug it in. There is also a way to connect it to a device that is on the network, determine the devices MAC and change its own to match. In effect, you can unplug a cable, plug the cable into the shark jack then unplug it and plug the shark jack into the network port. That bypasses all securities covered here.
That's hilarious I gotta try this
"Put it in VLAN 666!"
That comment has earned you my sub! Also, thank you for teaching this. Physical security is one of the things that I love seeing at the places I've worked (and hate when there is none). I've seen switches plugged into wall jacks that were left out in the open and since earning my BAS in IS&C, that is vexing!
Also "swi po mac sticky" is a great command to run on cisco ports to ensure that no "new" devices get swapped for the one that is set for the port!
but he didn`t name the vlan, im suffering..
I'm glad that you give use the run down and course for free so at lest we have some knowledge of how to secure a port
It's been about 6 months since the last CCNA video. When are we going to get more of this course? I love how you explain things. Without this course, I've been forced to go somewhere else to try to learn for my CCNA and it's not really working well for me. Please. We need more of this course.
So the course is not complete?
@@babyguitar1404 correct. There's a lot more we need to know for the ccna.
where have you gone to complete? im looking for a more up to date series
@@leonstone3443 doesn't look like Network Chuck is going to be completing this series. I went to CBT Nuggets.
I love this!! I have to work with customers all the time where I have to tell them, "I'm gonna send the ticket to the network team and tell them to do a shut/no-shut on the port." I had an *idea* of what was going on behind the scenes, but it's so stinking cool to see it play out on screen like this!!! Thank you so much for what you do!!!
If someone has physical access to your network, it's trivial to unplug a device, look at the MAC address on the label of the device and spoof it in the interface settings of the attacker's device. Port Isolation and ACLs is the correct way to secure a switchport.
is there going to be an ep 15 ever? I'm guessing not as there its been 3 years haha. I would love more of the course if you can do more please! You are the only person I find engaging and fun to learn from. I learn way more in 10 mins with you than reading or watching someones else's 15 hours of boringness
This is especially important for residential homes that have multiple Surveillance cameras outside house that can easily be knocked off to gain network access. Best practice dictates having multiple cameras recording other cameras in case they get vandalized.
you did port isolation on the Unifi switch but on the Cisco switch to do port isolation you could have done "switchport protected" as well
Hey Team!
I've noticed this is the last episode of the series and there's more.
Love these episodes as I'm looking to take my CCNA.
Thank you!!
all the best champ
One thing Chuck forget to mention, how to clear the sticky MAC address. Use the command "no switchport port-security mac-address sticky [mac-address]". Also if you're using "switchport port-security mac-address sticky" make sure you shutdown any unused ports on the switch or black hole / quarantine them. Quarantine works better, especially if the network cabling labelling is poor, because it still learns the MAC and then you just change the VLAN & label the port. Otherwise the first person to plug something in, maybe nefarious, will just be allowed on the network. While this topic covers basics of port security, it's only using MAC addresses for security which can be spoofed. This is a great learning concept but as shown has limited uses in a real environment. If you want proper port security & secure Wi-Fi, 802.1x with certificates is the only way to go and that's very large and technically deep topic especially when you throw Cisco ISE in the mix. ISE is a beast thats a course all on it's own.
It’s been several months since we last had a Free CCNA course uploaded with this one being the last in that series. Are we getting any more Chuck?
That's a whole lotta work if you work for a big company. vlans, firewalls, nat, with planning is the way to go. Especially if you work with places that require _change windows_
With sticky mode, if you don't write the config, a reboot erases the learned MAC and you can plug any device in. Also good practice to give your VLANs a description, especially when doing very large networks.
I had old port servers from like 1998 that were Linksys that I went through and learned alot!! Especially after I revamped them on today's newer 5G network back in 2012 when I was re mapping digital security infrastructure and tracking finances.
Dude i love ur vids, from a tutorial stand point and just watching to learn topics or just enjoy to
them.
You can message our support team on Instagram @Networkchucksupport if you are interested in learning more
I personally didn't learn anything new, but this was a good episode. I've never heard blackhole VLAN, everyone I've met in the industry for me personally has called it a quarantine VLAN. Port security is very important, thank you for sharing with everyone!
If someone with a shark jack is at your switch and you have turned off all unused ports..... just unplug something in use and bam problem solved. Becky in accounting will complain for 5 min that she lost internet then go on a coffee break while you do your thing.
I believe that’s how a bank near me got robbed about 5-7 years ago. Guy plugged into an open phone jack and hacked the security system and on a holiday they went in and nobody knew until they returned for work.
I..need..more..NetworkChuck..CCNA!
You make cyber security so fun, both red/blue team perspectives
more ccna i been waiting the longest
Loving this free CCNA course you've been doing. The way you talk about it you can tell your passionate and it makes it much easier to watch. Will you be doing a video on configuring IP addressing for data center's/offices?
So good, dude. You're an amazing teacher.
Easily install a nac like arp-guard, macmon, … and let them keep your network secure. Much more easier
favorite dialog of chuck : Let,s hack youtube today ethically ,off course🔥🔥🔥🔥😂😂
Hi Chuck , I'm a huge fan and get very excited whenever your video comes
Network Chuck, you absolute BEAST OF AN ENGINEER.........!!!!!😌😌😌😌
With the situation you mentioned having someone unplug your existing device and plug in theirs is defeated just by them plugging the device into theirs, harvesting the other mac address & then modifying theirs to match it before connecting to the switch.
Hypothetically then you need the device password that you plugged into.
@@j.kaimori3848 not to do a basic arp request
Chuck is our IT Santa
This was really interesting, parts of this I used for years, other things I had little knowledge about but you explained those things in a level that I understand. I not work with it, just an nerdy hobbyist.
With your videos I have to rebuild my home network and play with the security stuff 🙂
Keep up the good work
You could readout the macid of the device you unplug and then spoof it on your device that you plug in.
Your videos make the seemingly daunting task of playing with the CLI on a Cisco switch surprisingly easy!!! Thank you.
Nice device, I wish to have it in the past :)
Btw. You can't secure port in switch if somebody will connect pass trough port device which will listening everything which going over port :) like "man in the middle" :) It can learn MAC address and later block device behind and make itself as this device using discovered MAC address, only certificates can help in this scenario
Great video.
You're a king Chuck!
Thank u so much chuck ❤️, will this CCNA course continues? How many more episodes are there?
Thanks for the amazing content brother. Any chance you're able to tell us when this course might end and in how many episodes?
Looking forward to the next episode. Glad your brother will be helping out now!
Nice flex on your Cisco skills. Loving this content! Thanks for putting this together. Cisco VLANS next??
In principle a security detail is intended to prevent an acre's access through a switch that he is trying to infiltrate an organization or something pretty good security detail but there are still methods that an acre can bypass the security detail
First thing that came to my mind is via MAC Spoofing/cloning.
This is actually a really great series :D Already done CCNA but the refresher doesnt do any harm - even learnt a few new stuff! Eagerly awaiting the rest of the episodes
you and me both buddy. Wanna hangout and discuss notes
Same. Got the CCNA and studied arse off for it, but these trainings are super helpful. Studying a cert really doesn't bring these things home.
Certain DHCP servers set certain options, so it is also possible to do OS Fingerprinting via DHCP offers.
Not a pen tester, but couldn't you just have another device you connect to the RPi in this case that allows the SharkJack to spoof the Mac address?
Yep - was just going to say this.
If it were me, from a software guy perspective, I'd have a heartbeat or healthcheck going on the device connected, perhaps with credentials or some sort of key, that automatically shifts the port to an admin vlan if something connects that doesn't respond.
Means nothing can connect and find anything useful (admin vlan would be almost a black hole), but allows admin to connect remotely and debug the machine if it truly is a fault.
A lan tap would do this very easily, and could even be used in combination with the shark jack. These are crude security measures, but if someone is jacking into your ports, you're going to need 802.1X with strict certificate management and no MAB devices allowed to really have the best chance of things staying secure on your wires.
I ordered a Shark Jack recently and I'm super stoked to test it out on some ethical plugs, look pretty awesome.
"Golden Snitch" What a fantastic name for a Switch!😂
Chuck being a Potterhead
Golden Snitch, Golden Switch
@@just_some_bigfoot_hacking_you bot
@@just_some_bigfoot_hacking_you bot
@@just_some_bigfoot_hacking_you bot
Great video! Exited for more videos in this course! When will more videos in this course come out? ;-) Cant wait
In an enterprise environment i would prefer RADIUS authentication, verifying the user/and or the certificate of the enterprise computer.
And i would rather have it default to a Guest VLAN limited to specific applications/ports but with internet access so the user is able to contact IT-support.
As others have mentioned MAC-spoofing is quite easy to workaround but limiting devices on your port to 1-2 is definitely good practice.
Yes, that is the more modern and accepted solution. 'Port security' is pretty out of date by this point, and not going to stop much. But it's still a good topic to cover for beginners.
Awesome video. Setting up a VLAN can later help a network admin to setup a VPN to your business infrastructure.
Hey Network Chuck, I hope you can start working on this course again. This course is extremely valuable!!!
Makes me want a good switch for my home network.
I bought a C3750 for cheap on EBay, amazing switch, would recommend.
@@ethanedwards8296 That's a lot more then I need but it makes me smile just looking at it. Thanks for the recommendation I may just buy one.
@@jmr haha :)
what a kick ass series man thank you so much for these! looking forward to the next video!
Love your videos, sadly unless I missed it, but in this video you missed out the fact that MAC Addresses can be spoofed rendering Port Security via MAC Addresses useless, however IEEE 802.1x Authentication may be the way to go for security.
Quick tip. Use the command int range fa0/10-13 to add those ports to vlan 666 in one shot
This just makes me curious about other cool tech we can put on our key rings that are useful for IT guys, even for those who do this stuff as a hobby
Chuck for president! Subscribed love the vibes and content
Chuck your giveaways make's us a dedicated hard working person cause it includes lots of work to participate .....😅
switchport mode access - basically makes the port an access port. 😊