Wilders Security Forums  

Go Back   Wilders Security Forums > Software, Hardware and General Services > all things UNIX
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread
  #76  
Old May 21st, 2012, 01:18 AM
Hungry Man's Avatar
Hungry Man Hungry Man is offline
Incredibly Massive Poster
 
Join Date: May 2011
Posts: 8,486
Default Re: Your Linux Desktop Security Setup

I'm considering writing my own seccomp profiles for programs like Pidgin and XChat.

Xchat doesn't update anymore so I don't really lose anything by recompiling it.

Pidgin might be a pain.

Xchat needs virtually no file system access so the apparmor profile is very strong. But... I do love that seccomp sandbox lol and it doesn't get patches.

Where do you feel it's lacking?
__________________
  #77  
Old May 22nd, 2012, 02:15 AM
tancrackers's Avatar
tancrackers tancrackers is offline
Infrequent Poster
 
Join Date: May 2012
Location: USA
Posts: 13
Default Re: Your Linux Desktop Security Setup

Archlinux, google chrome with web of trust and adblock.
Enabled SElinux. I wonder what else can be done?
__________________
Windows 8 with ESET Nod32 AV and Malwarebytes PRO

Arch Linux with grsec + pax, clamav, Cinnamon desktop

Main web browser: Google Chrome with Adblock (fanboy ultimate list subscription) and web of trust
  #78  
Old May 22nd, 2012, 02:40 AM
jitte's Avatar
jitte jitte is offline
Regular Poster
 
Join Date: May 2012
Posts: 67
Default Re: Your Linux Desktop Security Setup

Quote:
Originally Posted by tancrackers
I wonder what else can be done?

I like rkhunter to check for rootkits and lynis to check system configuration.

They're both by the same company.
  #79  
Old May 22nd, 2012, 03:06 AM
Hungry Man's Avatar
Hungry Man Hungry Man is offline
Incredibly Massive Poster
 
Join Date: May 2011
Posts: 8,486
Default Re: Your Linux Desktop Security Setup

Set up SELinux profiles for various services and programs.
__________________
  #80  
Old May 22nd, 2012, 09:11 PM
tancrackers's Avatar
tancrackers tancrackers is offline
Infrequent Poster
 
Join Date: May 2012
Location: USA
Posts: 13
Default Re: Your Linux Desktop Security Setup

Which is better btw, SELinux or Apparmor?
__________________
Windows 8 with ESET Nod32 AV and Malwarebytes PRO

Arch Linux with grsec + pax, clamav, Cinnamon desktop

Main web browser: Google Chrome with Adblock (fanboy ultimate list subscription) and web of trust
  #81  
Old May 22nd, 2012, 09:21 PM
Hungry Man's Avatar
Hungry Man Hungry Man is offline
Incredibly Massive Poster
 
Join Date: May 2011
Posts: 8,486
Default Re: Your Linux Desktop Security Setup

That's hard to say. SELinux is more powerful but Apparmor is a million times easier to use. Bypasses that'll work for Apparmor (like giving mount rights along with other rights) won't work for SELinux and you can get ridiculously fine grained access control on SELinux.

Apparmor is better, in my opinion, because anyone can write a profile. I'd rather have 100 processes running in the potentially weaker Apparmor than have just 10 running in the potentially stronger SELinux.
__________________
  #82  
Old June 13th, 2012, 01:54 PM
Hungry Man's Avatar
Hungry Man Hungry Man is offline
Incredibly Massive Poster
 
Join Date: May 2011
Posts: 8,486
Default Re: Your Linux Desktop Security Setup

Network
DDWRT Router running recommended build - Remote Access disabled
DDWRT firewall turned on
OpenDNS with DNSCrypt

Realtime Protection
No AV running.
All ports closed - no need for a firewall.

System Hardening -- Ubuntu 12.04 Kernel 3.4.X Optimized for i5 CPUs
Pax + Grsecurity, custom kernel with custom settings.
As few programs installed as possible.
BIOS Password
Apparmor Enabled - Profiles for all programs and various services


Browser -- Chrome Beta
Seccomp Sandbox + Default Sandbox + AppArmor
Block 3rd Party Cookies
Built in malware protection
Default PDF reader -- no adobe necessary
Adblock Plus with DNT
HTTPS Everywhere
Javascript whitelist by TLD
Cookie whitelist by HTTPS

A "private" profile with more aggressive privacy/ data settings.

Chrome Privacy Profile
No cookies/ no data sent to Google
Block form validation
ScriptNo with strict settings
__________________
  #83  
Old June 14th, 2012, 06:26 PM
Gentoo64's Avatar
Gentoo64 Gentoo64 is offline
Infrequent Poster
 
Join Date: Jun 2012
Location: UK
Posts: 12
Default Re: Your Linux Desktop Security Setup

Heh slightly similar to mine (Random list):

Tomato Toastman WRT54G (IPv6 build, firewall, no remote access)

Hardened Gentoo ~amd64

Hardened Sources (always latest ~arch) completely minimal and thoroughly revised, GRSec + PAX on custom (too many to list, max possible security)

Hardened toolchain

Sysctl network hardening, grsec.lock = 1

Minimal compiled programs

OpenBox WM

ZSH + urxvtd

Tor + Sasl for IRC

IPv6 tempaddress

Truecrypt containers

Immutable history files

No root tty logins

Fstab hardening

Iptables default deny

SSH key only auth

Most services running as their own isolated user/group

Browsers (No flash / Java)

Chromium 9999:
Incognito
Adblock, (easylist, easyprivacy)
Privoxy
Seccomp Sandbox
--disk-cache-dir=/tmp
Javascript whitelist
Clear cookies on close
No tracking

Firefox:
Noscript
Adblock Plus
Privoxy
Block third party cookies
Clear all data on close
No tracking
about:config tweaks

It's all pretty pointless, but doesn't affect usablility a single bit so why not. Used to use RBAC but disabled it (PITA for desktop maintenance). Everything is mprotected with full aslr/hardening and all programs compiled with fully hardened gcc. I'd like to try apparmor for per-program restrictions, it's available in the kernel, and tools in an overlay but afaik only Ubuntu has full support for it. I like a set and forget machine though.

Last edited by Gentoo64 : June 14th, 2012 at 07:08 PM.
  #84  
Old June 14th, 2012, 11:10 PM
Hungry Man's Avatar
Hungry Man Hungry Man is offline
Incredibly Massive Poster
 
Join Date: May 2011
Posts: 8,486
Default Re: Your Linux Desktop Security Setup

Yeah I should really get around to using Gentoo but I really like Unity and I don't think it works with it.
__________________
  #85  
Old July 15th, 2012, 04:43 AM
Hungry Man's Avatar
Hungry Man Hungry Man is offline
Incredibly Massive Poster
 
Join Date: May 2011
Posts: 8,486
Default Re: Your Linux Desktop Security Setup

Network
DDWRT Router running recommended build - Remote Access disabled
DDWRT firewall turned on
OpenDNS with DNSCrypt
All ports closed - no Avahi, Cups, or dnsmasq
GUFW inbound/ outbound firewall enabled

System Hardening -- Ubuntu 12.04 Kernel 3.4.X
Pax + Grsecurity, custom kernel with custom settings
Removed many default programs and dependencies
BIOS Password
Apparmor Enabled - Profiles for all programs and various services
Open Source GPU Drivers


Browser -- Chrome Dev
Seccomp Sandbox + Default Sandbox + AppArmor + GPU Sandbox
Block 3rd Party Cookies
Built in malware protection
Default PDF reader
Adblock Plus with DNT
HTTPS Everywhere
Javascript whitelist by TLD
Cookie whitelist by HTTPS

A "private" profile with more aggressive privacy/ data settings.

Chrome Privacy Profile
No cookies/ 'Privacy' boxes unchecked
Block form validation
Incognito Only
__________________
  #86  
Old July 15th, 2012, 04:53 AM
Hungry Man's Avatar
Hungry Man Hungry Man is offline
Incredibly Massive Poster
 
Join Date: May 2011
Posts: 8,486
Default Re: Your Linux Desktop Security Setup

Finally added GUFW outbound protection. I'm working on hardening the network aspect of the setup.
__________________
 

Wilders Security Forums > Software, Hardware and General Services > all things UNIX « Previous Thread | Next Thread »

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Settings
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -4. The time now is 09:39 PM.


Powered by vBulletin® Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright ©2002 - 2013, Wilders Security Forums