Jump to content

Security

Go to solution Solved by Guest,

I would mark solved for a lot of people on this thread, but because that's not how it works, I'll just mark as solved so people can skip over it and go to other people's topics that they need help with. Thank you everyone! 

Hi, just wondering what would be a good place to start learning about networking security and things like securing server access etc... I'm planning on doing my own home network and I want to make sure I get things secure before proceeding. As secure as possible. 

 

@looney - asked to be notified 

Link to comment
https://linustechtips.com/topic/505866-security/
Share on other sites

Link to post
Share on other sites

If you've got the time and effort, doing a basic networking course like DNCA or CCNA might be a good idea. Otherwise have a look on YouTube: networking is very broad in terms of security as no network is truly secure. You can only make it so complex and difficult as to dissuade someone from getting in, there's always a way in. What you need to take note of is the security threats that you'll face. A wifi network in an apparetment block or Uni dorm will I dare say face a higher skilled intruder than your general suburban home.

Link to comment
https://linustechtips.com/topic/505866-security/#findComment-6751918
Share on other sites

Link to post
Share on other sites

If you've got the time and effort, doing a basic networking course like DNCA or CCNA might be a good idea. Otherwise have a look on YouTube: networking is very broad in terms of security as no network is truly secure. You can only make it so complex and difficult as to dissuade someone from getting in, there's always a way in. What you need to take note of is the security threats that you'll face. A wifi network in an apparetment block or Uni dorm will I dare say face a higher skilled intruder than your general suburban home.

What are those first two and what would you recommend for a start

Link to comment
https://linustechtips.com/topic/505866-security/#findComment-6751926
Share on other sites

Link to post
Share on other sites

When you ask for encryption, what do you mean? 

Do you mean you want to be safe outside of your house too? - use a VPN

As for inside of your house, get a router with a stateful (layer 7) firewall. (maybe try pfSense)

(a pfSense router would also help with the VPN)

 

if you have an outward-facing server, put it in a DMZ

ESXi SysAdmin

I have more cores/threads than you...and I use them all

Link to comment
https://linustechtips.com/topic/505866-security/#findComment-6751945
Share on other sites

Link to post
Share on other sites

I've found that you don't learn security, or hacking, or stuff like that.  You learn how computers work and then take advantage of them, and fill in those holes.  Kind of like you don't learn how to break an engine, you learn how it works and then you know that if you plug that hole or remove that pipe it will break.

Join the Appleitionist cause! See spoiler below for answers to common questions that shouldn't be common!

Spoiler

Q: Do I have a virus?!
A: If you didn't click a sketchy email, haven't left your computer physically open to attack, haven't downloaded anything sketchy/free, know that your software hasn't been exploited in a new hack, then the answer is: probably not.

 

Q: What email/VPN should I use?
A: Proton mail and VPN are the best for email and VPNs respectively. (They're free in a good way)

 

Q: How can I stay anonymous on the (deep/dark) webzz???....

A: By learning how to de-anonymize everyone else; if you can do that, then you know what to do for yourself.

 

Q: What Linux distro is best for x y z?

A: Lubuntu for things with little processing power, Ubuntu for normal PCs, and if you need to do anything else then it's best if you do the research yourself.

 

Q: Why is my Linux giving me x y z error?

A: Have you not googled it? Are you sure StackOverflow doesn't have an answer? Does the error tell you what's wrong? If the answer is no to all of those, message me.

 

Link to comment
https://linustechtips.com/topic/505866-security/#findComment-6751948
Share on other sites

Link to post
Share on other sites

Connections that have better encryption, I mean this is why I'm asking. I don't know much about security other than just an anti virus and an anti malware. Pretty basic stuff, I want to get advanced in this topic. 

what are you accessing from what computer?

Link to comment
https://linustechtips.com/topic/505866-security/#findComment-6751949
Share on other sites

Link to post
Share on other sites

I've found that you don't learn security, or hacking, or stuff like that.  You learn how computers work and then take advantage of them, and fill in those holes.  Kind of like you don't learn how to break an engine, you learn how it works and then you know that if you plug that hole or remove that pipe it will break.

This.

ESXi SysAdmin

I have more cores/threads than you...and I use them all

Link to comment
https://linustechtips.com/topic/505866-security/#findComment-6751954
Share on other sites

Link to post
Share on other sites

What are those first two and what would you recommend

DCNA or DNCA or whatever it's called is a basic 3 hour online DLink networking overview covering routing, switching and WiFi network types: very entry level mainly designed for sales people.

CCNA is tier 1 of 3 in the Cisco training accademy and is the equivalent of doing a certificate 4 in their products. Has written test etc however even completing the coursework without doing the exam may be beneficial.

As for your network setup, what devices are connecting, how are they connecting and what is around in the environment? This final point brings me back to my first reply: bored Uni kids will try and get into your wifi network for giggles.

Link to comment
https://linustechtips.com/topic/505866-security/#findComment-6751957
Share on other sites

Link to post
Share on other sites

When you ask for encryption, what do you mean? 

Do you mean you want to be safe outside of your house too? - use a VPN

As for inside of your house, get a router with a stateful (layer 7) firewall. (maybe try pfSense)

(a pfSense router would also help with the VPN)

 

if you have an outward-facing server, put it in a DMZ

what is a dmz

Link to comment
https://linustechtips.com/topic/505866-security/#findComment-6751970
Share on other sites

Link to post
Share on other sites

DeMilitarized Zone.

 

LAN - DMZ - WAN

 

Imagine this: you want a minecraft server. so you forward the necessary ports. your server sits in your front hallway in your house. if somebody wants into your house, there is a door (port forward) that lets them into your house to get to your server. but once they are in, they can run amok.

a DMZ is like putting that server on your front porch step. people can get to it and run amok, but it will not affect the other computers inside of your house. 

ESXi SysAdmin

I have more cores/threads than you...and I use them all

Link to comment
https://linustechtips.com/topic/505866-security/#findComment-6751987
Share on other sites

Link to post
Share on other sites

Network security & Server security are two different carrier paths. You wont find somebody who is a specialist in both they will do either one or the other. For networking you have CCNA Security (But Id  suggest CCNA Routing & Switching) for Server you will find lots of Microsoft certifications on Windows... but be aware there are a lot more vendors that that out there you have CITRIX/Netapp/Vmware just to name a few. 

Quack 🦆

Link to comment
https://linustechtips.com/topic/505866-security/#findComment-6751996
Share on other sites

Link to post
Share on other sites

DCNA or DNCA or whatever it's called is a basic 3 hour online DLink networking overview covering routing, switching and WiFi network types: very entry level mainly designed for sales people.

CCNA is tier 1 of 3 in the Cisco training accademy and is the equivalent of doing a certificate 4 in their products. Has written test etc however even completing the coursework without doing the exam may be beneficial.

As for your network setup, what devices are connecting, how are they connecting and what is around in the environment? This final point brings me back to my first reply: bored Uni kids will try and get into your wifi network for giggles.

Well I'm more concerned about wireless connections for a start, for example, my phone, I mean not just my phone but what if things change in the future and I want to add someone else's phone to the network to allow access on that note, allow access to certain things, is it possible to have people labeled as guests on a network and is that safe? Things like that, and what can I do to increase secure connections, like is there a way I can increase the difficulty for someone to break or have the time to break so I was thinking higher levels of encryption - is there a way to do that for all devices or all connections on a network? 

Link to comment
https://linustechtips.com/topic/505866-security/#findComment-6752000
Share on other sites

Link to post
Share on other sites

general rules:

 

1) NEVER use WEP authentication

2) I REPEAT NEVER USE WEP

3) Use WPA-2 or RADIUS authentication

4) Use at least 15 characters in a password (just to be safe)

5) Create a hidden network (optional)

6) Filter access by MAC (hardware) Address (optional)

ESXi SysAdmin

I have more cores/threads than you...and I use them all

Link to comment
https://linustechtips.com/topic/505866-security/#findComment-6752014
Share on other sites

Link to post
Share on other sites

general rules:

 

1) NEVER use WEP authentication

2) I REPEAT NEVER USE WEP

3) Use WPA-2 or RADIUS authentication

4) Use at least 15 characters in a password (just to be safe)

5) Create a hidden network (optional)

6) Filter access by MAC (hardware) Address (optional)

Why WPA-2 or RADIUS? 

Hidden network - you would still be able to connect to but you would have to know something right? Like a connection key or something? 

and then point 6 you said, why a mac? and then address? 

Link to comment
https://linustechtips.com/topic/505866-security/#findComment-6752047
Share on other sites

Link to post
Share on other sites

general rules:

1) NEVER use WEP authentication

2) I REPEAT NEVER USE WEP

3) Use WPA-2 or RADIUS authentication

4) Use at least 15 characters in a password (just to be safe)

5) Create a hidden network (optional)

6) Filter access by MAC (hardware) Address (optional)

Creating a hidden network and MAC filtering are only security through obscurity, they only appear to increase your security (they're easily bypassed by an attacker).

EDIT: if you want to learn about computer networking I suggest watching the Professor Messor Network+ videos and/or reading Conputer Networking By Andrew Tanenbaum.

15" MBP TB

AMD 5800X | Gigabyte Aorus Master | EVGA 2060 KO Ultra | Define 7 || Blade Server: Intel 3570k | GD65 | Corsair C70 | 13TB

Link to comment
https://linustechtips.com/topic/505866-security/#findComment-6752055
Share on other sites

Link to post
Share on other sites

Creating a hidden network and MAC filtering are only security through obscurity, they only appear to increase your security (they're easily bypassed by an attacker).

I can see how this could make a network more secure though from an attack if my understanding is correct. I mean not even an attack but just keeping a network out of site from the general viewing eyes, is my understanding correct? 

Link to comment
https://linustechtips.com/topic/505866-security/#findComment-6752070
Share on other sites

Link to post
Share on other sites

Hidden Network requires somebody know the network name (or snoop it out) it just makes it slightly more difficult to get in.

MAC filtering means only allowing certain hardware devices in (every network device has a MAC address, like a serial address) however this can be spoofed. again, just another way to slow them down

 

RADIUS and WPA-2 are ways to authenticate users on the network. WPA-2 is a shared-key protocol (there is one password to your wifi that everybody knows). if you make it ~15 characters long, it would take OBSCENELY long (years) to crack even with the best computers.

 

RADIUS is user-based authentication. each person must log in with a username and password that you set

ESXi SysAdmin

I have more cores/threads than you...and I use them all

Link to comment
https://linustechtips.com/topic/505866-security/#findComment-6752076
Share on other sites

Link to post
Share on other sites

I can see how this could make a network more secure though from an attack if my understanding is correct. I mean not even an attack but just keeping a network out of site from the general viewing eyes, is my understanding correct? 

yes. the average joe would not see your wifi network on his iGalaxus handheld.

only somebody with the right know-how could sniff it out using special software.

ESXi SysAdmin

I have more cores/threads than you...and I use them all

Link to comment
https://linustechtips.com/topic/505866-security/#findComment-6752086
Share on other sites

Link to post
Share on other sites

I can see how this could make a network more secure though from an attack if my understanding is correct. I mean not even an attack but just keeping a network out of site from the general viewing eyes, is my understanding correct?

To clarify what I was saying, they do not make a network more secure. A common misconception is that it makes it more secure, but it doesn't. Security through obfuscation is not real security.

15" MBP TB

AMD 5800X | Gigabyte Aorus Master | EVGA 2060 KO Ultra | Define 7 || Blade Server: Intel 3570k | GD65 | Corsair C70 | 13TB

Link to comment
https://linustechtips.com/topic/505866-security/#findComment-6752093
Share on other sites

Link to post
Share on other sites

-snip

so my understanding for a hidden network is that it wouldn't show up on something like "available networks" when you're searching for wifi on let's say a laptop to connect to a wireless access point or something - it would be hidden and you could only connect if you knew some connection information of some sort? 

Link to comment
https://linustechtips.com/topic/505866-security/#findComment-6752103
Share on other sites

Link to post
Share on other sites

To clarify what I was saying, they do not make a network more secure. A common misconception is that it makes it more secure, but it doesn't. Security through obfuscation is not real security.

this is true, but like I said, it makes it slightly more difficult to get in. any added step is better than none.

ESXi SysAdmin

I have more cores/threads than you...and I use them all

Link to comment
https://linustechtips.com/topic/505866-security/#findComment-6752105
Share on other sites

Link to post
Share on other sites

so my understanding for a hidden network is that it wouldn't show up on something like "available networks" when you're searching for wifi on let's say a laptop to connect to a wireless access point or something - it would be hidden and you could only connect if you knew some connection information of some sort? 

that is exactly correct.

ESXi SysAdmin

I have more cores/threads than you...and I use them all

Link to comment
https://linustechtips.com/topic/505866-security/#findComment-6752107
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×