Practical Unix & Internet Security
Practical Unix & Internet Security is divided up into six sections:
The first section covers the basics of computer security, tracing the history of Unix and security, as well as providing details of what should be in a good security policy.
The second section covers the building blocks of security, authentication, users and groups, filesystems, cryptography, physical security for servers, and personnel security.
Network and Internet security are focused on in the third section, with emphasis on modems and dialup security, TCP/IP networks, securing TCP and UDP services, Sun RPC, NIS, Kerberos, LDAP, NFS, and SAMBA, and finishing up with a chapter dedicated to secure programming techniques.
Day-to-day operations are the focus of the fourth section. Keeping up to date, making backups, defending accounts, using integrity checking tools, and auditing, logging, and forensics are all expanded upon in detail over five chapters.
The fifth section rounds off the main part of the book by describing how to handle security incidents. Special focus is given to discovering a break-in, protecting against programmed threats, Denial of Service Attacks (& DDoS), legal options, and a chapter on who you can trust.
The Appendixes make up the sixth and final section. Not a spot is wasted in the appendixes, which begin with a Unix security checklist, and then outline Unix processes, provide extensive links to both paper and electronic resources, and conclude with a sub-section on security organizations.
Among the topics I found most interesting were: Access Control Lists (ACL), Pluggable Authentication Modules (PAM), the section about 128-bit keys and dictionary-based passwords, connection laundering, honeypots, the false syslog example, and the example detailing a call to Microsoft's anti-piracy help line. The real-life examples scattered throughout Practical Unix & Internet Security keep the security sections from seeming overwhelming. This is one of the few books that I've found ever chapter of the appendix useful, so don't overlook them as simple reference pages.
Normally one-liners are reserved for movie discussions but for those who've already delved into Practical Unix & Internet Security here are a few of my favorite one-liners:
- "...we do believe that making files readable and writable by everyone leads to many evil deeds." - talking about the octal mode 666.
- "Humidity is your computer's friend." - just before static discharge kills your entire system.
- "Beware of Key Employees." - warning against making one person so key that their departure could cause your company irreparable harm.
- "You mean, you don't really have a copy? [of Windows 98]" - the last part of a conversation with Microsoft's Anti-Piracy line. The company which called Microsoft's was tracing some intruders who had uploaded a copy of Windows 98 to the company's web site and was using the site to peddle warez. Microsoft was just about to launch Windows 98. The example shows just how clueless some help desks can be.
One of the great things about Practical Unix & Internet Security is that it is appropriate for a wide audience. There is relevant material for system administrators, security, company decision makers, even the guy sitting at the accounting terminal. Despite its massive size Practical Unix & Internet Security is entertaining enough to be read cover to cover. (It's good for the arm muscles too.) Though it is easy to read, beginners should probably reread their system manual before plunging headlong into this book. All in all Practical Unix & Internet Security continues to be one of those must-have books for any Linux user.
You can purchase Practical Unix & Internet Security from bn.com. Slashdot welcomes readers' book reviews -- to see your own review here, read the book review guidelines, then visit the submission page.
The companion book seems, uh, interesting too. :)
when talking about computer books is:
What does this book offer that I can't easily find by asking google or google groups?
lysergically yours
Thanks to froogle price check
one thing unix doesnt really have to worry about is viruses..
except when the virus has a brain and the users choose weak passwords
I think a few new books on Windows security will be coming out soon to take advantage of the latest worms. But its the nature of the open-source community to continually test each other that ultimately leads to security excellence.
-ad105
How does one glance quickly through a 1000-page book without straining something important? ;-D
But can we patch OpenServer(UnixWare) with it?
Had to ask since SCO can not seem to patch OpenServer
Don't Tread on OpenSource
Sendmail (a program) is not an alternative to UUCP (a protocol). Even if you are talking about the UUCP software and not the protocol, the alternative is pppd, not sendmail.
Sendmail still supports UUCP, but most distros do not enable that support, and hardly anyone uses UUCP anymore.
...I love their music :D
Glaring omission from the article,
Besides UUCP, what else has changed from part 2 to part 3 of this series?
For more book reviews, especially on computer security, watch for Robert Slade's regular contributions to comp.risks. It doesn't look as though Robert has reviewed this one yet so I'll look forward to reading and comparing. His praise for a former edition seems uncharacteristically positive -- compare reviews of Secrets of a Super Hacker or Computer Security Basics -- so I'll be surprised if he doesn't praise this one, too...
cheers...ank
Still hoping for Gentle Treatment...
my newest requirement is to have the book in PDF format so I can simply search for keywords, saving time, and hassle. having the PDF on a few different computers and storing the book away after skimming through it works better than having thousands and thousands of pages take up my precious 500 sq ft. apartment
This book is excellent. It's the best I've read on the subject and it has surprisingly good content where you're not bored out of your mind.
Real World Linux Security
what about social engineering? or do they trust management and sysadmins to be socially mobile, compatible, and perceptive? i think humans are one of the weaker links in the security chain.
One of the great things about Practical Unix & Internet Security is that it is appropriate for a wide audience
I resemble that remark.
If you do what you always did, you get what you always got.
Because the uucp uid still owns all the serial port hardware. You need UUCP so that your modems will work, even though they are not running the UUCP protocol.
One MORE reason why HP-UX is the most GODAWFUL WORST *NIX on the FUCKING PLANET!
I know that many computer users do not ever look at computer security, they just plug it in and go. At the best, some of my friends will block ports, but that is about it. They do not check logs, or anything. And how many people out there have a second PC attached by serial cable to log intrusion data? I think if more people secured their systems, then everyones security would increase because there would be less places to launch attacks from. What we need is someone at the major distros to write a program which, when executed, will secure a system. Something which is point and click "easy".
Rosco: "If brains were gunpowder, Enos couldn't blow his nose."
With Slammer and Blaster making their way into the news it seemed like a good time to brush up on security.
You don't need a 1000 page book on security to patch your systems against worms; you need a 1 page book on common sense.
-----BEGIN GEEK CODE BLOCK----- Version: 3.12 GIT d? s: a-- C++++ UL++++ P++ L+++ E- W++ N o-- K- w--- O- M+ V PS+ P
A funny Savatte post... now there's an oxymoron.
that would be read/write/executable you unfunny newbie.
Get a yellow sticky note that says RTFM, Newb! and move it to whatever page you're reading, obscuring the info you need. It may help to maintain your comfort level with the online *nix help experience. :)
Sample chapters of the book can be found here and here. I read this first one (the one on TCP/IP) and found that it was an excellent introducation to it. The other is on "secure programming techniques." Gotta read that.
Using thisduring my install of an OpenBSD firewall taught me a quite a bit.
This guy is way out there
This silly "let's pretend Amazon with its cheaper prices does not exist" farce really should stop already.
BOO! TERRO
I thought about audio books, but the sysadmins don't listen, either. <SIGH^2>
To the topic: All the manuals in the world, no matter how thorough & thoughtfully written, are of no use if the people who need to read them are busier worrying about their golf game. And the doubly sad thing, is that these guys "know it all" & therefore don't think they need any "practical" manuals.
"Obviously, I'm not an IBM computer any more than I'm an ashtray" (Bob Dylan)
Sounds practical, alright.
Now if I could only find a good off-shore haven...
The party of stupid and the party of evil get together and do something both stupid and evil, then call it bipartisan.
That story was neither funny nor true.
It was, however, gay and offtopic.
Please be more careful in the future.
ummmm...back to unix school for you...
777 is rwxrwxrwx : Read, Write & Excutable for all
666 is rw-rw-rw- : Read, Write for all
remember octal? r=4; w=2; x=1
r + w = 4 + 2 = 6
rho
Passwords are security through obscurity. Passwords are good only when they are sufficiently random -- and humans can't create or memorize true random passwords. Passwords can also be stolen by watching somebody's fingers.
True security can't depend on humans entering passwords. We need physical keys that can do challenge-response. After all, it's physical keys that get you in the building and in the server room.
While this book does an excellent job in detailing how to implement a solid security environment, it falls short of providing how to test the security of an environment.
There is an open source project methodology that would be a great additional read for the purpose of testing the security of your environment. Go check out the Open Source Security Testing Methodology Manual (OSSTMM). They just released the 2.1 version of it as described here.
You must not have met my parents, or many people who are not that computer literate. To many, many people a computer is just a tool they use to make life easier. It should not be a full time job to administer.
The problem is with all the hackers, port sniffers, crackers, and the like. I want to see some harsh penalties which send people to jail just for looking.
Rosco: "If brains were gunpowder, Enos couldn't blow his nose."
Why can't book publishers provide these tomes in multiple volumes so you don't have to break your wrists trying to read through the book?
My RSI is bad enough as it is.
A book like this borders on being unreadable because of its size. And its especially irritating to have to man-handle the book if you just want to look at the material in a single section or chapter.
I second that, mostly. I've been thinking about doing a review of it here, actually.
Basically, my only gripe about it is the case studies, which were one of the reasons that I bought it. They're all what he and his buddies did during the 70s to academic systems that they already had physical access to. Duh. Oh, that and him using a 'case study' to bitch about MCI.
He's also the first person I've ever read advocating the use of active blocking software, though he makes a good case for his (pretty kludgey) own system.
Anyway, yeah. It's a pretty good book. Worth reading through for any tips one might have missed, but probably not a replacement for something more thorough like the ORA guide (not that I'm assuming you suggested that).
What the world needs is a book on WINDOWS security. Not YABOUS.
This is the answer to your Windows security problem.
After reading the sample chapter @ oreilly, it seems like a good book fo beginners. I if you have involved in sysadmin/sys security, this book might be too basic for you. Just my thoughts.
www.xml-dev.com
Consensus is good, but informed dictatorship is better
I'll send you the eaten pages.
FYI, Fyodor of nmap fame endorsed this book in his earlier (and quite thorough) slashdot interview.
If it's good enough for him, it's good enough for me. That spurred me to read it, and I've found it to be quite an interesting read. It also has a good history section, detailing the "family-tree" of all the unices.
--I hate big sigs.
I have this book. It's very good. What I would be interested in are any comments from any old hands at UNIX security who also have it and noticed anything wrong with or ommited from it. For myself, a UNIX developer with average network experience, I'd like to learn what flaws there are that I can't see.
Octal is one way to learn it but considering you know how to count in binary, I find the binary way more effective.
_u___g__o
rwx rwx rwx = 111 111 111
rw- rw- rw- = 110 110 110
110 in binary is 6 in decimal.
While I have thought of setting up such a configuration for regular user authentication, I had always just 'felt' that I shouldn't do that with the root accounts on the various machines under my control.
I never have known why I felt that way, just that it is something that didn't seem right to me. So, when I do get that all slapped together on the network I am running, I will make certain to work it in such a way as to keep root out of the chain.
I already use a different root password on every server on the network, even though I synchronize the passwd files for the user passwords to remain the same across the systems.
If you ignore the other uses of a tool, does that make the tool less useful, or you less useful?
I almost considered buying this book, but then I remembered that season 3 of The Simpsons just came out today. Guess I won't be reading for a while... :) And the DVD set comes with a bottle opener. Guess I'm going to be drinking tonight... :)
I really hate signatures, but go to my website.
Froogle isn't anywhere near as good as addall.com for books, or pricegrabber.com & pricewatch.com for tech.
--
Power to the Peaceful
Unless your parents are exceptionally stupid, and I mean helmet and drool cup stupid, I'm sure they can comprehend the principles of "make two copies of important stuff in case your computer breaks".
I don't need no instructions to know how to rock!!!!
Price at BN: $43.96, price at http://www.bookpool.com : $33.50 and possible free shipping if you order more than $40.
Disclaimer: I'm not affiliated with Bookpool and receive no kickbacks. I've been a happy customer with BP and just don't like to pay too much for books.
regards,
Heiko
Dammit, I told you yesterday about this. Yes, Amazon has cheaper stuff. STOP POSTING REFERRAL LINKS WITHOUT SAYING THEY'RE REFERRAL LINKS. Otherwise I think you're trying to con me, and I won't use the link.
Do you really make any money doing this? Every book review that comes along you post a damn referral link. How high are those penny stacks by now? Is it worth it?
here is the quote:
we do believe that making files readable and writable by everyone leads to many evil deeds." - talking about the octal mode 666
that IS 666, NOT 777. a lot of damage can be done merely by writing to config files.
Doh! Good call, thats what I get for thinking. Thanks for correcting me. /me runs off to slap head against wall
Check out my life
see the earlier posting... just for you...