Security Resources/Tutorials?

Questions about other topics - please check if your question fits better in another category before posting here
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
Gualicho32
Level 2
Level 2
Posts: 61
Joined: Fri Sep 16, 2016 5:28 pm

Security Resources/Tutorials?

Post by Gualicho32 »

I'm looking for linux security tutorials/courses that are dedicated to guarding against hacker intrusions, and finding and removing stealth rootkits; hopefully simplified and fairly straightforward. Does anybody have some good links on this subject? Thanks.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
Pjotr
Level 24
Level 24
Posts: 20129
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland) 🇳🇱
Contact:

Re: Security Resources/Tutorials?

Post by Pjotr »

You might find this article of mine interesting:
https://easylinuxtipsproject.blogspot.c ... urity.html
Tip: 10 things to do after installing Linux Mint 21.3 Virginia
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.
Gualicho32
Level 2
Level 2
Posts: 61
Joined: Fri Sep 16, 2016 5:28 pm

Re: Security Resources/Tutorials?

Post by Gualicho32 »

Pjotr wrote: Mon Apr 22, 2019 6:41 pm You might find this article of mine interesting:
https://easylinuxtipsproject.blogspot.c ... urity.html
I appreciate you taking the time to respond. That was some good information, thanks. :)

While searching for intrusion detection systems (abbr. "IDS"), I stumbled across this article:

https://www.comparitech.com/net-admin/n ... ion-tools/

The "Solar Winds" sounds pretty cool, but it's a Windows Only program unfortunately. What are your thoughts about this list, Pjotr? And which FOSS programs do you think would work best together on Linux? When you have the time, maybe consider writing an entry dedicated to this topic in your blog? I noticed that you strongly advised against "RKHunter" and similar type programs on there because you believe it actually gives attackers more to work with. I'm still very ignorant on all this, so forgive me if I seem a bit presumptuous or like I'm not listening intently, or appear like I have poor reading comprehension skills (I am indeed paying attention). I'm just hopeful of finding more tools that will further augment and simplify the threat detection process. Not all of us are coding wizards.
User avatar
Pjotr
Level 24
Level 24
Posts: 20129
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland) 🇳🇱
Contact:

Re: Security Resources/Tutorials?

Post by Pjotr »

Gualicho32 wrote: Tue Apr 23, 2019 7:24 pm I'm just hopeful of finding more tools that will further augment and simplify the threat detection process.
You don't need them for desktop Linux. Perhaps stuff like that can be useful in the poisonous and heavily infected Windows ecosystem, but you've escaped from that.

Relax, you're running Linux. :wink:
Tip: 10 things to do after installing Linux Mint 21.3 Virginia
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.
Gualicho32
Level 2
Level 2
Posts: 61
Joined: Fri Sep 16, 2016 5:28 pm

Re: Security Resources/Tutorials?

Post by Gualicho32 »

You mentioned the importance of being highly selective of which Firefox Add-ons to trust. What is your opinion of Ghostery, Ublock Origin, and Noscript?
User avatar
Pjotr
Level 24
Level 24
Posts: 20129
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland) 🇳🇱
Contact:

Re: Security Resources/Tutorials?

Post by Pjotr »

Gualicho32 wrote: Wed Apr 24, 2019 1:47 pm You mentioned the importance of being highly selective of which Firefox Add-ons to trust. What is your opinion of Ghostery, Ublock Origin, and Noscript?
All three are of good repute. But personally, of those three I only install uBlock Origin. Not invasive, not talkative and just works.

I often run my Firefox and Chrome in the sandbox of Firejail. My Firefox has been configured to dump all history and cookies upon closing. I use Startpage.com as search engine (I love its "Anonymous View" option). That's about it, more or less....
Tip: 10 things to do after installing Linux Mint 21.3 Virginia
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.
User avatar
catweazel
Level 19
Level 19
Posts: 9763
Joined: Fri Oct 12, 2012 9:44 pm
Location: Australian Antarctic Territory

Re: Security Resources/Tutorials?

Post by catweazel »

Gualicho32 wrote: Wed Apr 24, 2019 1:47 pm You mentioned the importance of being highly selective of which Firefox Add-ons to trust. What is your opinion of Ghostery, Ublock Origin, and Noscript?
NoScript is a real pain, and bug-riddled. I installed it yesterday to deal with one site but it affects all sites. It has an option to set global defaults but it doesn't honour those defaults and sets hard restrictions anyway, forcing you to have to set up each and every site that you visit. I uninstalled it this morning. Both ghostery and Ublock work as advertised.

On script blockers in general, all of those that I've tested result in broken pages. For example, titles and headings might all appear at the top of the page, text in the middle, and all images at the bottom, which makes the pages unusable.
"There is, ultimately, only one truth -- cogito, ergo sum -- everything else is an assumption." - Me, my swansong.
User avatar
BG405
Level 9
Level 9
Posts: 2508
Joined: Fri Mar 11, 2016 3:09 pm
Location: England

Re: Security Resources/Tutorials?

Post by BG405 »

Pjotr wrote: Wed Apr 24, 2019 5:56 pm My Firefox has been configured to dump all history and cookies upon closing.
I'd like to ask: How does clearing your browser {u}history[/u] help in any way, shape or form, even with browser issues? I totally rely on it; it's a subsitute for my lack of inbuilt (human, if I can call it that) memory & is also synced. I've seen mention of deleting browser history on a number of occasions on this Forum, but what does that really achieve?

Personally I've set mine to remember for 36525 days .. far longer than I'm likely to be around for, but it's a record for me which I can refer to; for me it is the same as deleting all the bookmarks and subscribtions to topics on this Forum. it is a bit like burning your diaries and I don't understand why preserving browser history could impact current usage as, AFAIK, it isn't accessible to outside (Web-based) sources i.e. the likes of Google, unless you somehow allow that in some way.
Dell Inspiron 1525 - LM17.3 CE 64-------------------Lenovo T440 - Manjaro KDE with Mint VMs
Toshiba NB250 - Manjaro KDE------------------------Acer Aspire One D255E - LM21.3 Xfce
Acer Aspire E11 ES1-111M - LM18.2 KDE 64 ----Two ROMS don't make a WRITE
Gualicho32
Level 2
Level 2
Posts: 61
Joined: Fri Sep 16, 2016 5:28 pm

Re: Security Resources/Tutorials?

Post by Gualicho32 »

Pjotr, two things...regarding the "Improve the settings for installing software1.2.1." section of "10 Things To Do First in Linux Mint 19.1 Xfce", when I input "sudo sed -i 's/false/true/g' /etc/apt/apt.conf.d/00recommends" into the terminal following the previous step, nothing seems to happen. What is the cause of this?

Also, when I tried encapsulating/integrating(sandboxing) Firefox into Firejail, a Firefox window suddenly opened on its own (nothing but a blank field of white inside it), and I got this weird dialogue in the terminal:

"Reading profile /etc/firejail/firefox.profile
Reading profile /etc/firejail/disable-common.inc
Reading profile /etc/firejail/disable-devel.inc
Reading profile /etc/firejail/disable-programs.inc
Reading profile /etc/firejail/whitelist-common.inc
Reading profile /etc/firejail/whitelist-var-common.inc
Parent pid 2190, child pid 2191
Blacklist violations are logged to syslog
Child process initialized in 260.16 ms"

After I tried closing the Firefox Window some minutes later after seeing no visible activity, I tried "firejail --tree",and I got this:

"[Parent 7, Gecko_IOThread] WARNING: pipe error (71): Connection reset by peer: file /build/firefox-z7Op23/firefox-66.0.2+linuxmint1+tessa/ipc/chromium/src/chrome/common/ipc_channel_posix.cc, line 357
[Parent 7, Gecko_IOThread] WARNING: pipe error (70): Connection reset by peer: file /build/firefox-z7Op23/firefox-66.0.2+linuxmint1+tessa/ipc/chromium/src/chrome/common/ipc_channel_posix.cc, line 357"

:?

Some help, please.
User avatar
Pjotr
Level 24
Level 24
Posts: 20129
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland) 🇳🇱
Contact:

Re: Security Resources/Tutorials?

Post by Pjotr »

BG405 wrote: Thu Apr 25, 2019 10:07 pm
Pjotr wrote: Wed Apr 24, 2019 5:56 pm My Firefox has been configured to dump all history and cookies upon closing.
I'd like to ask: How does clearing your browser {u}history[/u] help in any way, shape or form, even with browser issues? I totally rely on it; it's a subsitute for my lack of inbuilt (human, if I can call it that) memory & is also synced. I've seen mention of deleting browser history on a number of occasions on this Forum, but what does that really achieve?

Personally I've set mine to remember for 36525 days .. far longer than I'm likely to be around for, but it's a record for me which I can refer to; for me it is the same as deleting all the bookmarks and subscribtions to topics on this Forum. it is a bit like burning your diaries and I don't understand why preserving browser history could impact current usage as, AFAIK, it isn't accessible to outside (Web-based) sources i.e. the likes of Google, unless you somehow allow that in some way.
Privacy protection (do you ever lend your computer to someone else for a while?) and keeping Firefox as "mean and lean" as possible.
Tip: 10 things to do after installing Linux Mint 21.3 Virginia
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.
User avatar
Pjotr
Level 24
Level 24
Posts: 20129
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland) 🇳🇱
Contact:

Re: Security Resources/Tutorials?

Post by Pjotr »

Gualicho32 wrote: Fri Apr 26, 2019 1:50 am Pjotr, two things...regarding the "Improve the settings for installing software1.2.1." section of "10 Things To Do First in Linux Mint 19.1 Xfce", when I input "sudo sed -i 's/false/true/g' /etc/apt/apt.conf.d/00recommends" into the terminal following the previous step, nothing seems to happen. What is the cause of this?
That's normal. The change has been applied, without feedback.
Gualicho32 wrote: Fri Apr 26, 2019 1:50 am Also, when I tried encapsulating/integrating(sandboxing) Firefox into Firejail, a Firefox window suddenly opened on its own (nothing but a blank field of white inside it)
I assume you skipped this:
https://easylinuxtipsproject.blogspot.c ... html#ID2.1
(item 2.1)

:)
Tip: 10 things to do after installing Linux Mint 21.3 Virginia
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.
User avatar
BG405
Level 9
Level 9
Posts: 2508
Joined: Fri Mar 11, 2016 3:09 pm
Location: England

Re: Security Resources/Tutorials?

Post by BG405 »

Pjotr wrote: Fri Apr 26, 2019 4:18 am Privacy protection (do you ever lend your computer to someone else for a while?)
Good point but I wouldn't lend a machine with anything personal on it to someone I don't trust well enough. I'd remove my profile for a start, for later reinstatement.

My mate (who I've known for nearly 30 years .. and who now lodges here) has one of my machines to learn on (it's in his room & I'm currently upgrading it, via SSH), but he has his own account; in any case I don't really care if my history is accessible to others. Others may differ, though. I don't store e.g. banking login credentials on my machines.
Pjotr wrote: Fri Apr 26, 2019 4:18 am keeping Firefox as "mean and lean" as possible
He's currently using Firefox as Waterfox needs an upgrade on that machine, but when that's done (it takes a while, I'll do it when we get back after a drink) it'll be synced, meaning I can send tabs he may be interested in, also we can both access each others' history which is handy sometimes. FF is not synced as it would remove my essential add-ons.

For me, there are currently approx. a couple of dozen tabs active & a few hundred not loaded. I'm not exactly a lean user of browsers; however, performance is still very good IMHO, despite the hardware limitations. I do have to put up with some swapping but it's no biggie. ;)
Dell Inspiron 1525 - LM17.3 CE 64-------------------Lenovo T440 - Manjaro KDE with Mint VMs
Toshiba NB250 - Manjaro KDE------------------------Acer Aspire One D255E - LM21.3 Xfce
Acer Aspire E11 ES1-111M - LM18.2 KDE 64 ----Two ROMS don't make a WRITE
Locked

Return to “Other topics”