Network Security Library
Javascript Feeds    RSS Feed    Security Dashboard    SearchSecurity.com
About | Contact | Advertise | Site Map
Print Printer Friendly      PDF PDF Version
intrusion detection E-mail      Save Save This

Implementing and Maintaining AIX Security Policies


{LANG_NAVORIGIN} Operating System
Andre Derek Protas 03/25/2005



System/Data Integrity



Even though a sever may be very secure and hardened, there is always the likelihood of intrusion. This can be either from inside the network or outside. The main goal of an intruder is to usually open holes in the system to enter back in later. These could be Trojan Horses, new user with root UID levels, etc. Integrity systems are used to watch system-critical files and create alerts when they are tampered with. Also, integrity systems can be used to monitor network traffic to the server. There are integrity programs within standard AIX, but many times the commercial or open-source products are more robust.

UID Control

Audit Control

Remote Syslog Exploit

TCPD (aka "TCP Wrapper")

PortSentry

Tripwire


Vulnerability Assessment



What better way to test the security of a server using the same tools that intruders use? Many times, by using the most common tools that hackers use to check for vulnerabilities, an administrator is able to find holes in their system (possibly even before being rolled onto the network). There are certain elements that intruders try to find in order to exploit a server; know them and use them before the intruders do. By ensuring that common intrusion tools/rootkits are useless against a server, the amount of possible intruders has substantially decreased as many do not know much beyond the use of tools. Redundancy is not a waste of time. By cross-checking systems with multiple tools, an administrator can be certain that most rootkits will not be able to offer much information to an intruder.

Computer Oracle and Password System (COPS)


COPS is used to check a system for possible vulnerabilities based upon recent CERT advisories. COPS does not stay thoroughly up to date, so it should not be used as the end all of vulnerability assessment, but it is a good start towards ensuring a system is secure.
COPS: ftp:/info.cert.org/pub/tools/cops

NMAP


nmap is referred to as one of the strongest tools in a "rootkit" (hacking toolkit to achieve root status). System administrators should run nmap on their system and fix any vulnerabilities found. This will repeal most attacks, as many of the intruders don't have much more of a toolkit for vulnerability assessment besides nmap. Nmap offers many different variations, one of which is the "paranoid" mode. This will send the ping requests at 5 minute inteverals (if not more), which will usually not be detected by intrusion detection systems. Because of these variations that can bypass intrusion detection, it is of utmost importance that a system adminstrator run nmap before the server is rolled into production.
nMap: www.insecure.org/nmap/

Crack/John the Ripper


Crack and John the Ripper are very popular tools for cracking passwords. Like any other vulnerability assessment program, if the server's passwords can pass a brute force attack from these two programs, chances are that it will hold up to an intruder who is most likely using the same programs. both programs require that the password files be merged into one file. Since AIX uses a shadow password file, a merge script is needed and can be found the in Appendix of the AIX Security Supplement.
Crack: ftp://coast.cs.purdue.edu/pub/tools/unix/pwdutils/
John the Ripper: www.openwall.com/john/

Network Security Auditor (NSA)


Fileset (from IBM) : nsauditor.base. This program essentially works as a port scanner, but will give a good understanding (as many of the other programs listed) of a hacker's perception of the system. It is always important to ensure that multiple assessment tools are used to offer the full picture of the server security status; this tool offers a great angle.
NSA : www-4.ibm.com/software/security/firewall/about

FPing


Fping is a network sweep utility that is used to map the network topology. This should be used for testing a network versus the documentation of the network. This can also be used to check for certain ports responses. On higher security servers, there should be very few (if any) responses the fping. Ensure that the broadcasts are also check (port 0 and 255). This is a common tool in a hackers toolbox, by ensuring that a system is not responding to the fping requests, the intruder has less information with which to launch an attack.
FPING : www-frec.bull.fr

SNORT


A very powerful network sniffer as well as filter to be used to enforce rules upon certain types of network traffic.
SNORT: www.snort.org

Nessus


Remote security scanner with over 1200 checks that will also offer suggestions for filling holes found in the audit.
Nessus: www.nessus.org

AIDE


Free AIX Tripwire replacement.
AIDE: www.cs.tut.fi/~rammer/aide.html

Security Administrator's Integrated Network Tool (SAINT)


SAINT is a very powerful tool that will scan for system vulnerabities (much like NSA and nmap). SAINT is constantly being updated, so to ensure that the newest audits are running, download the latest version of SAINT each time SAINT is to be run. A mailing list is available that will notify an administrator when a new version of SAINT is released.
SAINT: www.wwdsi.com/saint/index

This is a source code version and must be compiled before use. It is strongly suggested that a C compiler is kept off of production servers, so compile it on a proff of concept box and copy it over to the production PC.

SARA


Similar to SAINT but open source and not supported.
SARA: www-arc.com/sara


Maintenance



The maintenance of servers is important. Security flaws are constantly being discovered, and it is important that an administrator keep up-to-date. If just one server is neglected from security patches, and an intruder finds that one node, he could feasibly take out a network of patched/up-to- date systems. Implement the suggested features on all servers on a subnet.

Maintenance Level


Maintenance Levels are released by IBM and tend to be very stable and secure. There is thorough documentation on IBM's AIX website to deal with Maintenance Levels.

The Maintenance Level on a machine should always be the highest available. The only exception is if the system cannot go to a higher level because of dependency problems. If this is the case, security patches galore must be installed as these levels hold many security patches inside of them. IBM offers the compare_report command to help with automation. By downloading the compare report file of the present patches, this is then compared to the local server. Following this, the administrator then updates the output file to IBM, and a custom service pack with all of the necessary patches to bring the AIX system up to date is created. Depending on how often the system is patched, this can be a very large service pack.

After a maintenance level has been installed, run a security audit of the system to ensure the state of security has not been altered.

Crontabs


Crontabs are highly effective at automatic security auditing. Once strong crontabs are setup, as long as they are not changed or altered unknowingly (use Tripwire or a similar product to supervise any changes to the files), an administrator will watch the logs/flags for suspicious activity on those crontab logs. By automating many of these security audits, administrators are allotted more time to work towards offering stronger customer solutions.

Sample of Suggested Crontabs

Daily Monthly

Security Patches


E-mail/Websites


Live CD's/USB's


Live CD's are an intruder main rootkit now. These tools can be used on nearly any Intel-compatible system and gain them immediate root access. If launched on a benign computer, it leaves no trace and after an attack, is nearly impossible to trace.

Because of this, a security administrator is strongly urged to keep up to date with Linux Live CD's. These come out daily, and should be downloaded and run to see what tools are coming packaged. Tools are changing daily, and these are great barometers for the status of rootkits for intruders.

These CD’s can now be launched from USB drives. This offers the option of data extraction (as USB thumbdrives are write-able). Ensure that BIOS does not allow “Boot from USB”.


Resources



Mailing Lists (Create a new account for these as they will flood an inbox)
-Unix-security: security@cpd.com
-Security-misc: comp.security.misc
-Virus-list: comp.virus
-ACM risks: com.risks
-Cert-tools: cert-tools-request@cert.org
-Cert-advisory: cert-advisory-request@cert.org
-Security Announcements: comp.security.announce

Books
Practical Unix & Internet Security by Simson Garfinkel and Gene Spafford. O’Reilly & Associates, Inc., ISBN: 1-56592-148-8
Unix System Administration Handbook by Evi Nemeth et al. Prentice Hall. ISBN: 0-13-151051-7.

Redbooks
AIX Security
AIX Security Supplement (2000 and 2003 versions)
AIX Security Tools
AIX Administration

Tutorials/Whitepapers/Articles
Deploying Tripwire on AIX
Using IPSec as a packet filer on AIX
Deploying OpenSSH on AIX
Securing AIX Network Services on AIX
Strengthening AIX Security: A System Hardening Approach
Find out ways to protect your system from intruders
FAQ: Network Intrusion Detection Systems
















E-Mail Link

Your IP address will be sent with this e-mail
From e-mail to e-mail



53658 Views
4.29/5 Rating
28 Votes
Newest
Highest Rated
Most Viewed
Reference

Javascript Feeds
RSS (New Papers)
Security Dashboard

About SecurityDocs
Advertise
Contact

Valid HTML 4.01!
Valid CSS!


Unless otherwise noted, all paper copyrights are owned by the author. The rest copyright 2003-2005 TechTarget

Privacy : Contact