Set-UID Privileged Programs
|
|
|
- Marcus Marsh
- 10 years ago
- Views:
Transcription
1 Lecture Notes (Syracuse University) Set-UID Privileged Programs: 1 Set-UID Privileged Programs The main focus of this lecture is to discuss privileged programs, why they are needed, how they work, and what security problems they have. A privileged program is one that can give users extra privileges beyond that are already assigned to them. For example, web server is privileged program, because it allows remote users to access the server-side resources; a Set-Root-UID program is a privileged program, because it allows users to gain the root privilege during the execution of the programs. In this lecture, we focus on the Set-UID mechanism, and we use it as our case studies. However, many of the security principles we discuss here also apply to the other privileged programs. 1 How Set-UID Mechanism Works Motivations You want other people to be able to search some words in your file, but you don t want them to be able to read the file. How do you achieve this? Users passwords are stored in /etc/shadow, which is neither readable nor writable to normal users. However, the passwd program allows users to change their passwords. Namely, when users run passwd, they can suddenly modify /etc/shadow. Moreover users can only modify one entry in /etc/shadow, but not the other people s entries. How is this achieved? Set-UID programs The concept of effective uid and real uid. For non Set-UID programs, the effective uid and the real uid are the same. For Set-UID programs, the effective uid is the owner of the program, while the real uid is the user of the program. Effective User UID and Real User UID At login time, the real user ID, effective user ID, and saved user ID of the login process are set to the login ID of the user responsible for the creation of the process. The same is true for the real, effective, and saved group IDs; they are set to the group ID of the user responsible for the creation of the process. When a process calls one of the exec family of functions to execute a file (program), the user and/or group identifiers associated with the process can change. If the file executed is a set-user- ID file, the effective and saved user IDs of the process are set to the owner of the file executed. If the file executed is a set-group-id file, the effective and saved group IDs of the process are set to the group of the file executed. If the file executed is not a set-user-id or set-group-id file, the effective user ID, saved user ID, effective group ID, and saved group ID are not changed. Access control is based on effective user IDs and group IDs. Why do passwd, chsh and su programs need to be Set-UID programs? Are there Set-UID programs in Windows NT/2000? If not, how is the same problem solved in Windows?
2 Lecture Notes (Syracuse University) Set-UID Privileged Programs: 2 Windows does not have the notion of Set-UID. A different mechanism is used for implementing privileged functionality. A developer would write a privileged program as a service and the user sends the command line arguments to the service using Local Procedure Call. A service can be started automatically or on-demand. Each service has a security descriptor specifying which users are allowed to start, stop, and configure the service. Services typically run under the Local System account. How to turn on the Set-UID bit? % chmod 4755 file ---> -rwsr-xr-x How is Set-UID implemented in Minix? /* This is the per-process information */ EXTERN struct fproc { } uid_t fp_realuid; /* real user id */ uid_t fp_effuid; /* effective user id */ gid_t fp_realgid; /* real group id */ gid_t fp_effgid; /* effective group id */... Malicious use of Set-UID mechanism: An attacker is given 10 seconds in your account. Can he plant a backdoor, so he can come back to your account later on? % cp /bin/sh /tmp % chmod 4777 /tmp/sh By doing the above, the attacker creats a Set-UID shell program, with the you being the owner of the program. Therefore, when the attacker later runs the shell program, it will run with your privilege. Questions: Can a normal user debug a Set-Root-UID program? Can a normal user use chown to change the ownership of a file to any arbitrary user? 2 Vulnerabilities of Set-UID Programs 2.1 Hidden Inputs: Environment Variables A privileged program must conduct sanity check on all the inputs. Input validation is actually part of the access control that a privileged program must conduct to ensure the security of the program. A lot of security problems are caused by the mistakes in input validation.
3 Lecture Notes (Syracuse University) Set-UID Privileged Programs: 3 If inputs are explicit in a program, programmers might remember to do the input validation; if inputs are implicit, input validation may be forgotten, because programmers may not know the existence of such inputs. Environment variables are such kind inputs. Every UNIX process runs in a specific environment. An environment consists of a table of environment variables, each with an assigned value. Some programs use these environment variables internally; shell programs are examples of these programs. In other words, the value of some environment variables can affect the behavior of a shell program. Since environment variables are controlled by users, if a program relies on these variables, users can indirectly affect the behavior of such a program by changing the values of some environment variables. Therefore, it is very important to understand whether a privileged program relies on the values of any environment variable. One way a program can be affected by environment varialbles is for this program to use the values of environment variables explicitly in the program. In C, a program can use getenv() to access the values of environment varialbles. However, there are many cases when a program implicitly uses environment variables; that is where we have seen many vulnerabilities in Set-UID programs. We will present several examples in this section. PATH Environment Variable When running a command in a shell, the shell searches for the command using the PATH environment variable, which consists of a list of directories. The shell program searches through this list of directories (in the same order as they are specified in the PATH environment variable. The first program that matches with the name of the command will be executed. What would happen in the following? Note that system (const char *cmd) library function first invoke the /bin/sh program, and then let the shell program execute cmd. system ("mail"); The attacker can change PATH to the following, and cause mail in the current directory to be executed. PATH=".:$PATH"; export PATH Suppose in our superman s analogy, if the superman s instruction says turn left (bad guys are on the left and good guys are on the right, and you are supposed to go to attack the bad guys). If attackers know exactly when and where this turn-left instruction will be executed, they can conduct the attacks similar to the above one, because left is a relative direction, not an absolute direction. If beforehand, attackers put a rotating device at the places where you are supposed to turn left, and rotate you 180 degree as soon as you step on it, turning left essential turning to where the good guys are. You end up attacking the good guys if you follow instructions. IFS Environment Variable The IFS variable determines the characters which are to be interpreted as white spaces. It stands for Internal Field Separators. Suppose we set this to include the forward slash character: IFS="/ \t\n"; export IFS PATH=".:$PATH"; export PATH
4 Lecture Notes (Syracuse University) Set-UID Privileged Programs: 4 Now call any program which uses an absolute PATH from a Bourne shell (e.g. system()). This is now interpreted like the following that would attempt to execute a command called bin in the current directory of the user. system("/bin/mail root"); ---> system(" bin mail root"); The IFS bug has pretty much been disallowed in shells now: the invoked new shell process will not inherit the IFS variable. Suppose in the superman s story, superman knows the risk of using turn left in the instruction, so he changes that to turn north, which is now an absolute direction. This is still vulnerable, as north is decided by the magnetic field, and unfortunately, magnetic field can be interfered by a magnet that attackers put nearby. LD LIBRARY PATH Environment Variable In Linux, unless explicitly specified via the -static option during compilation, all Linux programs are incomplete and require further linking to the dynamic link libraries at run time. The dynamic linker/loader ld.so/ld-linux.so loads the shared libraries needed by a program, prepares the program to run, and then runs it. You can use the following command to see what shared libraries a program depends on: % ldd /bin/ls LD LIBRARY PATH is an environment variable used by the the dynamic linker/loader (ld.so and ld-linux.so). It contains a list of directories for the linker/loader to look for when it searches for shared libraries. Multiple directories can be listed, separated with a colon (:). This list is prepended to the existing list of compiled-in loader paths for a given executable, and any system default loader paths. Virtually every Unix program depends on libc.so and virtually every windows program relies on DLL s. If these libraries can be replaced by malicious copies, malicious code can be invoked when functions in these libraries are invoked. Since LD LIBRARY PATH can be reset by users, attackers can modify this variable, and force the library loader to search for libraries in the attacker s directory, and thus load the attacker s malicious library. % setenv LD_LIBRARY_PATH.:$LD_LIBRARY_PATH To make sure Set-UID programs are safe from the manipulation of the LD LIBRARY PATH environment variable, the runtime linker/loader (ld.so) will ignore this environment variable if the program is a Set-UID program. Secure applications can also be linked statically with a trusted library to avoid this. In Windows machines, when loading DLLs, generally, the current directory is searched for DLLs before the system directories. If you click on a Microsoft Word document to start Office, the directory containing that document is searched first for DLLs. LD PRELOAD Environment Variable
5 Lecture Notes (Syracuse University) Set-UID Privileged Programs: 5 Many Unix systems allow you to pre-load shared libraries by setting an environment variable LD PRELOAD. These user specified libraries will be loaded before all others. This can be used to selectively override functions in other libraries. For example, if you have already built a library, you can preload it using the following command: % export LD_PRELOAD=./libmylib.so If libmylib.so contains a function sleep, which is a standard libc function, when a program is executed and calls sleep, the one in libmylib.so will be invoked. Here is a program that override the sleep() function in libc: #include <stdio.h> void sleep (int s) { printf("i am not sleeping!\n"); } We can compile the program using the following commands (assume that the above program is named a.c): % gcc -fpic -g -c a.c % gcc -shared -o libmylib.so a.o -lc Now, we run the following program: int main() { sleep(1); return 0; } If the environment variable LD PRELOAD is set to libmylib.so.1.0.1, the sleep() in the standard libc will not be invoked; instead, the sleep() function in our library will be called, and I am not sleeping! will be printed out. To make sure Set-UID programs are safe from the manipulation of the LD PRELOAD environment variable, the runtime linker/loader (ld.so) will ignore this environment variable if the program is a Set-UID root program, unless the real UID is also zero. 2.2 Invoking Other Programs When a prvileged program invokes other programs, attention must be paid on whether unintended programs would get invoked. We know that environment variables are places where we should focus on our attention; there are other places that we should also focus on. What are the potential problems if a Set-UID program does the following?
6 Lecture Notes (Syracuse University) Set-UID Privileged Programs: 6 // The contents of User_Input are provided by users. sprintf(command, "/bin/mail %s", User_Input); system(command); User Input might contain special characters for the shell: (e.g., &, <, >). Remember, the system() call actually invokes shell first, and then asks the shell program to execute "/bin/mail". If we are not careful, attackers might cause other commands to be executed by letting User Input be the following string: [email protected] ; rm -f /* ; /bin/sh 2.3 Other Well-Known Vulnerability Patterns Other than the above input validation vulnerabilties, there are several other well-known patterns of vulnerabilities. We will discuss each of them in separate lectures. Here is a summary of these patterns. Bufferflow Vulnerability Race Condition Vulnerability Format-String Vulnerability 2.4 Miscellanenous Vulnerabilities There are many other vulnerabilities that are not easy to put into any of the categories that we have discussed above. Some might be categorized broadly as input validation vulnerability, but because of their unique features, we discuss them separately here. We cannot enumerate all the vulnerabilities. We only give a few examples to show various mistakes programmers have made in their program logic, and show how such mistakes can be turned into vulnerabilities. lpr vulnerability: It generates temp files under the /tmp directory. The file names are supposed to be random; however, due to an error in the pseudo-random number generation, file names will repeat themselves every 1000 times. The program is a Set-UID program. Linking the predictable file name to /etc/password will cause lpr to overwrite /etc/password. chsh vulnerability: chsh asks users to input the name of a shell program, and save this input in /etc/passwd; chsh does not conduct sanity checking. The program assumes that the users inputs consist of only one line. Unfortunately, this assumption can be made false: users can type two lines of inputs, with the second line being something like xyz::0:0::, i.e., users can insert a new superuser account (uid: 0) with no password. sendmail vulnerabilities sendmail: (1) incoming s will be appended to /var/mail/wedu. (2) If the owner of the /var/mail/wedu is not wedu, sendmail will change the owner to wedu using chown. Can you exploit this to read wedu s ? Can you exploit this to cause more severe damage to wedu?
7 Lecture Notes (Syracuse University) Set-UID Privileged Programs: 7 3 Improving the Security of Set-UID Programs The exec functions The exec family of functions runs a child process by swapping the current process image for a new one. There are many versions of the exec function that work in different ways. They can be classified into groups which Use/do not use a shell to start child programs. Handle the processing of command line arguments via a shell (shell can introduce more functionalities than what we expect. Note that shell is a powerful program). Starting sub-processes involves issues of dependency and inheritance of attributes that we have seen to be problematical. The functions execlp and execvp use a shell to start programs. They make the execution of the program depend on the shell setup of the current user. e.g. on the value of the PATH and on other environment variables. The function execv() is safer since it does not introduce any such dependency into the code. The system (cmd) call passes a string to a shell for execution as a sub-process (i.e. as a separate forked process). It is a convenient front-end to the exec-functions. The standard implementation of popen() is a similar story. This function opens a pipe to a new process in order to execute a command and read back any output as a file stream. This function also starts a shell in order to interpret command strings. How to invoke a program safely? Avoid anything that invokes a shell. Instead of system(), stick with execve(): execve() does not invoke shell, system() does. Avoid execlp (file,...) and execvp(file,...), they exhibit shell-like semantics. They use the contents of that file as standard input to the shell if the file is not valid executable object file. Be wary of functions that may be implemented using a shell. Perl s open() function can run commands, and usually does so through a shell. Improve security of system() Recall that system() invokes /bin/sh first. In Ubuntu, it execv /bin/sh with arguments "sh", "-c" and the user provided string. In some earlier versions of Ubuntu (e.g. Ubuntu 9.11), /bin/sh (actually bash) ignores the Set-UID bit option. Therefore, when invoking system (cmd) in a Set-UID program, cmd will not be executed with the root privilege, unless cmd itself is a Set-UID program. The following code in bash drops the Set-UID bit. if (running_setuid && privileged_mode == 0) disable_priv_mode ();... void disable_priv_mode () { setuid (current_user.uid);
8 Lecture Notes (Syracuse University) Set-UID Privileged Programs: 8 } setgid (current_user.gid); current_user.euid = current_user.uid; current_user.egid = current_user.gid; However, the above protection seems to break some Set-UID programs that need to use system(). Therefore, starting from some version, the protection was removed due to the addition of another condition (this is case for both Ubuntu and 12.04): if (running_setuid && privileged_mode == 0 && act_like_sh ==0) disable_priv_mode (); The variable act like sh is set to 1 if bash is invoked through the /bin/sh symbolic link, and thus the privilege will not be diabled. However, if you turn bash directly into a set-uid program and try to run it, the protection will still be effective, and the privilege will be dropped. 4 Principle of Least Privilege Principle of Least Privilege (originally formulated by Saltzer and Schroeder): Every program and every user of the system should operate using the least set of privileges necessary to complete the job. The most important reason for limiting the security privileges your code requires to run is to reduce the damage that can occur should your code be exploited by a malicious user. If your code only runs with basic privileges, its difficult for malicious users to do much damage with it. If you require users to run your code using administrator privileges, then any security weakness in your code could potentially cause greater damage by the malicious code that exploits that weakness. Questions to ask when writing a privilege program: Does the program need the privileges? If a program does not need any special privileges to run, it should not be a privilege program. Does the program need all the privileges? We only give the program the least set of privileges necessary to complete the job. Many operating systems do not give us with many choices; we can choose either a set that includes all the root privileges or a set that does not include any privilege. Most Unix systems are like this, you are either root or non-root. there is nothing in between. Most modern Unix systems (and Windows) introduces more choices. These systems divide the root privileges into a number of sub-privileges. With such a finer granularity, we can better apply the least-privilege principle. Does the program need the privileges now? A program usually does not need certain privileges for some time; they become unnecessary at the point of time. We should temporarily disable them to achieve the least-privilege principle. The advantage of doing this is that in case the program makes an accidental
9 Lecture Notes (Syracuse University) Set-UID Privileged Programs: 9 mistake, it cannot cause the damage to the things that require the disabled privileges. The figure below illustrates this point. At a later time, the disabled privilege might become necessary again, we can then enable it. Keep in mind that disabling/enabling can reduce the damage in a situation when adversaries cannot inject code into a vulnerable program; if adversaries can inject code into the vulnerable programs, the injected code can enable the privileges by itself. Does the program need the privileges in the future? If a privilege will not be used any more, it becomes unnecessary, and should be permanently removed, so the least set of privileges is adjusted based on the future needs. What mechanisms does Unix provide for us to achieve the least-privilege principle? Useful system calls: setuid(), seteuid(), setgid(), and setegid(). seteuid(uid): It sets the effective user ID for the calling process. If the effective user ID of the calling process is super-user, the uid argument can be anything. This is often used by the super-user to temporarily relinquish/gain its privileges. However, the process s super-user privilege is not lost, the process can gain it back. If the effective user ID of the calling process is not super-user, the uid argument can only be the effective user ID, the real user ID, and the saved user ID. This is often used by a privileged program to regain its privileges (the original privileged effective user ID is saved in the saved user ID). setuid(uid): It sets the effective user ID of the current process. If the effective user ID of the caller is root, the real and saved user IDs are also set. If the effective user ID of the process calling setuid() is the super-user, all the real, effective, and saved user IDs are set to the uid argument. After that, it is impossible for the program to gain the root privilege back (assume uid is not root). This is used to permanently relinquish access to high privileges. A setuid-root program wishing to temporarily drop root privileges, assume the identity of a non-root user, and then regain root privileges afterwards cannot use setuid(). You can accomplish this with the call seteuid(). If the effective user ID of the calling process is not the super-user, but uid is either the real user ID or the saved user ID of the calling process, the effective user ID is set to uid. This is similar to seteuid(). Examples (in Fedora Linux): A process is running with effective user ID=0, and real user ID=500, what are the effective and real user IDs after running setuid(500); setuid(0); Answer: 500/500 (the first call generates 500/500, and the second call fails). seteuid(500); setuid(0); Answer: 0/500 (the first call generates 500/500, and the second call generates 0/500). seteuid(600); setuid(500); Answer: 500/500 (the first call generates 600/500, and the second call generates 500/500). seteuid(600); setuid(500); setuid(0); Answer: 0/500 (the first call generates 600/500, the second generates 500/500, and the third generates 0/500).
Programmation Systèmes Cours 4 Runtime user management
Programmation Systèmes Cours 4 Runtime user management Stefano Zacchiroli [email protected] Laboratoire PPS, Université Paris Diderot - Paris 7 20 Octobre 2011 URL http://upsilon.cc/zack/teaching/1112/progsyst/
System Security Fundamentals
System Security Fundamentals Alessandro Barenghi Dipartimento di Elettronica, Informazione e Bioingegneria Politecnico di Milano alessandro.barenghi - at - polimi.it April 28, 2015 Lesson contents Overview
Capability-Based Access Control
Lecture Notes (Syracuse University) Capability: 1 Capability-Based Access Control 1 An Analogy: Bank Analogy We would like to use an example to illustrate the need for capabilities. In the following bank
TEL2821/IS2150: INTRODUCTION TO SECURITY Lab: Operating Systems and Access Control
TEL2821/IS2150: INTRODUCTION TO SECURITY Lab: Operating Systems and Access Control Version 3.4, Last Edited 9/10/2011 Students Name: Date of Experiment: Read the following guidelines before working in
CSI 402 Lecture 13 (Unix Process Related System Calls) 13 1 / 17
CSI 402 Lecture 13 (Unix Process Related System Calls) 13 1 / 17 System Calls for Processes Ref: Process: Chapter 5 of [HGS]. A program in execution. Several processes are executed concurrently by the
CIS 551 / TCOM 401 Computer and Network Security
CIS 551 / TCOM 401 Computer and Network Security Spring 2007 Lecture 3 1/18/07 CIS/TCOM 551 1 Announcements Email project groups to Jeff (vaughan2 AT seas.upenn.edu) by Jan. 25 Start your projects early!
Using Network Attached Storage with Linux. by Andy Pepperdine
Using Network Attached Storage with Linux by Andy Pepperdine I acquired a WD My Cloud device to act as a demonstration, and decide whether to use it myself later. This paper is my experience of how to
SEED: A Suite of Instructional Laboratories for Computer SEcurity EDucation
SEED: A Suite of Instructional Laboratories for Computer SEcurity EDucation Wenliang Du, Zhouxuan Teng, and Ronghua Wang Department of Electrical Engineering and Computer Science Syracuse University. Syracuse,
Case Studies. Joint software development Mail 1 / 38. Case Studies Joint Software Development. Mailers
Joint software development Mail 1 / 38 Situations Roles Permissions Why Enforce Access Controls? Unix Setup Windows ACL Setup Reviewer/Tester Access Medium-Size Group Basic Structure Version Control Systems
Example of Standard API
16 Example of Standard API System Call Implementation Typically, a number associated with each system call System call interface maintains a table indexed according to these numbers The system call interface
Homeland Security Red Teaming
Homeland Security Red Teaming Directs intergovernmental coordination Specifies Red Teaming Viewing systems from the perspective of a potential adversary Target hardening Looking for weakness in existing
Secure Web Application Coding Team Introductory Meeting December 1, 2005 1:00 2:00PM Bits & Pieces Room, Sansom West Room 306 Agenda
Secure Web Application Coding Team Introductory Meeting December 1, 2005 1:00 2:00PM Bits & Pieces Room, Sansom West Room 306 Agenda 1. Introductions for new members (5 minutes) 2. Name of group 3. Current
X05. An Overview of Source Code Scanning Tools. Loulwa Salem. Las Vegas, NV. IBM Corporation 2006. IBM System p, AIX 5L & Linux Technical University
X05 An Overview of Source Code Scanning Tools Loulwa Salem Las Vegas, NV Objectives This session will introduce better coding practices and tools available to aid developers in producing more secure code.
CS 290 Host-based Security and Malware. Christopher Kruegel [email protected]
CS 290 Host-based Security and Malware Christopher Kruegel [email protected] Unix Unix / Linux Started in 1969 at AT&T / Bell Labs Split into a number of popular branches BSD, Solaris, HP-UX, AIX Inspired
Setting Up the Site Licenses
XC LICENSE SERVER Setting Up the Site Licenses INTRODUCTION To complete the installation of an XC Site License, create an options file that includes the Host Name (computer s name) of each client machine.
CIS 551 / TCOM 401 Computer and Network Security. Spring 2005 Lecture 4
CIS 551 / TCOM 401 Computer and Network Security Spring 2005 Lecture 4 Access Control: The Big Picture Objects - resources being protected E.g. files, devices, etc. Subjects - active entities E.g. processes,
Software security. Buffer overflow attacks SQL injections. Lecture 11 EIT060 Computer Security
Software security Buffer overflow attacks SQL injections Lecture 11 EIT060 Computer Security Buffer overflow attacks Buffer overrun is another common term Definition A condition at an interface under which
Case Study: Access control 1 / 39
Case Study: Access control 1 / 39 Joint software development Mail 2 / 39 Situations Roles Permissions Why Enforce Access Controls? Classic Unix Setup ACL Setup Reviewer/Tester Access Medium-Size Group
CS 2112 Lab: Version Control
29 September 1 October, 2014 Version Control What is Version Control? You re emailing your project back and forth with your partner. An hour before the deadline, you and your partner both find different
CSE331: Introduction to Networks and Security. Lecture 34 Fall 2006
CSE331: Introduction to Networks and Security Lecture 34 Fall 2006 Announcements Problem with Crypto.java Look for a new Crypto.java file later today Project 4 is due Dec. 8th at midnight. Homework 3 is
Windows Security. CSE497b - Spring 2007 Introduction Computer and Network Security Professor Jaeger. www.cse.psu.edu/~tjaeger/cse497b-s07/
Windows Security CSE497b - Spring 2007 Introduction Computer and Network Security Professor Jaeger www.cse.psu.edu/~tjaeger/cse497b-s07/ Windows Security 0 to full speed No protection system in early versions
Secure Shell Demon setup under Windows XP / Windows Server 2003
Secure Shell Demon setup under Windows XP / Windows Server 2003 Configuration inside of Cygwin $ chgrp Administrators /var/{run,log,empty} $ chown Administrators /var/{run,log,empty} $ chmod 775 /var/{run,log}
What is Web Security? Motivation
[email protected] http://www.brucker.ch/ Information Security ETH Zürich Zürich, Switzerland Information Security Fundamentals March 23, 2004 The End Users View The Server Providers View What is Web
Computer Systems II. Unix system calls. fork( ) wait( ) exit( ) How To Create New Processes? Creating and Executing Processes
Computer Systems II Creating and Executing Processes 1 Unix system calls fork( ) wait( ) exit( ) 2 How To Create New Processes? Underlying mechanism - A process runs fork to create a child process - Parent
static void insecure (localhost *unix)
static void insecure (localhost *unix) Eric Pancer [email protected] Information Security Team DePaul University http://infosec.depaul.edu Securing UNIX Hosts from Local Attack p.1/32 Overview
Practical Mac OS X Insecurity. Security Concepts, Problems and Exploits on your Mac
Practical Mac OS X Insecurity Security Concepts, Problems and Exploits on your Mac Who am I? Student of physics, mathematics and astronomy in Bonn Mac user since 1995 I love Macs Mac evangelist Intentions
CEN 559 Selected Topics in Computer Engineering. Dr. Mostafa H. Dahshan KSU CCIS [email protected]
CEN 559 Selected Topics in Computer Engineering Dr. Mostafa H. Dahshan KSU CCIS [email protected] Access Control Access Control Which principals have access to which resources files they can read
InfoRouter LDAP Authentication Web Service documentation for inforouter Versions 7.5.x & 8.x
InfoRouter LDAP Authentication Web Service documentation for inforouter Versions 7.5.x & 8.x Active Innovations, Inc. Copyright 1998 2015 www.inforouter.com Installing the LDAP Authentication Web Service
EECS 354 Network Security. Introduction
EECS 354 Network Security Introduction Why Learn To Hack Understanding how to break into computer systems allows you to better defend them Learn how to think like an attacker Defense then becomes second-nature
Libmonitor: A Tool for First-Party Monitoring
Libmonitor: A Tool for First-Party Monitoring Mark W. Krentel Dept. of Computer Science Rice University 6100 Main St., Houston, TX 77005 [email protected] ABSTRACT Libmonitor is a library that provides
INASP: Effective Network Management Workshops
INASP: Effective Network Management Workshops Linux Familiarization and Commands (Exercises) Based on the materials developed by NSRC for AfNOG 2013, and reused with thanks. Adapted for the INASP Network
Unix Sampler. PEOPLE whoami id who
Unix Sampler PEOPLE whoami id who finger username hostname grep pattern /etc/passwd Learn about yourself. See who is logged on Find out about the person who has an account called username on this host
White Paper BMC Remedy Action Request System Security
White Paper BMC Remedy Action Request System Security June 2008 www.bmc.com Contacting BMC Software You can access the BMC Software website at http://www.bmc.com. From this website, you can obtain information
SY0-201. system so that an unauthorized individual can take over an authorized session, or to disrupt service to authorized users.
system so that an unauthorized individual can take over an authorized session, or to disrupt service to authorized users. From a high-level standpoint, attacks on computer systems and networks can be grouped
Recommended File System Ownership and Privileges
FOR MAGENTO COMMUNITY EDITION Whenever a patch is released to fix an issue in the code, a notice is sent directly to your Admin Inbox. If the update is security related, the incoming message is colorcoded
Using Dedicated Servers from the game
Quick and short instructions for running and using Project CARS dedicated servers on PC. Last updated 27.2.2015. Using Dedicated Servers from the game Creating multiplayer session hosted on a DS Joining
A Brief Introduction to the Use of Shell Variables
A Brief Introduction to the Use of Shell Variables Norman Matloff July 25, 2001 Contents 1 Two Popular Shells: tcsh and bash 1.1 Overview There are many different shells available for Unix systems. Here
SQL Injection Attack Lab Using Collabtive
Laboratory for Computer Security Education 1 SQL Injection Attack Lab Using Collabtive (Web Application: Collabtive) Copyright c 2006-2011 Wenliang Du, Syracuse University. The development of this document
Leak Check Version 2.1 for Linux TM
Leak Check Version 2.1 for Linux TM User s Guide Including Leak Analyzer For x86 Servers Document Number DLC20-L-021-1 Copyright 2003-2009 Dynamic Memory Solutions LLC www.dynamic-memory.com Notices Information
Installing IBM Websphere Application Server 7 and 8 on OS4 Enterprise Linux
Installing IBM Websphere Application Server 7 and 8 on OS4 Enterprise Linux By the OS4 Documentation Team Prepared by Roberto J Dohnert Copyright 2013, PC/OpenSystems LLC This whitepaper describes how
CS 377: Operating Systems. Outline. A review of what you ve learned, and how it applies to a real operating system. Lecture 25 - Linux Case Study
CS 377: Operating Systems Lecture 25 - Linux Case Study Guest Lecturer: Tim Wood Outline Linux History Design Principles System Overview Process Scheduling Memory Management File Systems A review of what
APPLICATION NOTE. How to build pylon applications for ARM
APPLICATION NOTE Version: 01 Language: 000 (English) Release Date: 31 January 2014 Application Note Table of Contents 1 Introduction... 2 2 Steps... 2 1 Introduction This document explains how pylon applications
SQL Server Hardening
Considerations, page 1 SQL Server 2008 R2 Security Considerations, page 4 Considerations Top SQL Hardening Considerations Top SQL Hardening considerations: 1 Do not install SQL Server on an Active Directory
Webapps Vulnerability Report
Tuesday, May 1, 2012 Webapps Vulnerability Report Introduction This report provides detailed information of every vulnerability that was found and successfully exploited by CORE Impact Professional during
Hands-On UNIX Exercise:
Hands-On UNIX Exercise: This exercise takes you around some of the features of the shell. Even if you don't need to use them all straight away, it's very useful to be aware of them and to know how to deal
Perl In Secure Web Development
Perl In Secure Web Development Jonathan Worthington ([email protected]) August 31, 2005 Perl is used extensively today to build server side web applications. Using the vast array of modules on CPAN, one
Linux FTP Server Setup
17Harrison_ch15.qxd 2/25/05 10:06 AM Page 237 C H A P T E R 15 Linux FTP Server Setup IN THIS CHAPTER FTP Overview Problems with FTP and Firewalls How to Download and Install VSFTPD How to Get VSFTPD Started
Summary of the SEED Labs For Authors and Publishers
SEED Document 1 Summary of the SEED Labs For Authors and Publishers Wenliang Du, Syracuse University To help authors reference our SEED labs in their textbooks, we have created this document, which provides
Practical Mac OS X Insecurity
Practical Mac OS X Insecurity Security Concepts, Problems, and Exploits on Your Mac Angelo Laub [email protected] December 11, 2004 1 Introduction While rumors have it that Mac OS X is extremely secure
Oracle security done right. Secure database access on the (unix and linux) operating system level.
Oracle security done right. Secure database access on the (unix and linux) operating system level. By Frits Hoogland, VX Company Security is an important part of modern database administration, and is
RHadoop and MapR. Accessing Enterprise- Grade Hadoop from R. Version 2.0 (14.March.2014)
RHadoop and MapR Accessing Enterprise- Grade Hadoop from R Version 2.0 (14.March.2014) Table of Contents Introduction... 3 Environment... 3 R... 3 Special Installation Notes... 4 Install R... 5 Install
Chapter 7: Unix Security. Chapter 7: 1
Chapter 7: Unix Security Chapter 7: 1 Objectives Understand the security features provided by a typical operating system. Introduce the basic Unix security model. See how general security principles are
LSN 10 Linux Overview
LSN 10 Linux Overview ECT362 Operating Systems Department of Engineering Technology LSN 10 Linux Overview Linux Contemporary open source implementation of UNIX available for free on the Internet Introduced
Web Applications Security: SQL Injection Attack
Web Applications Security: SQL Injection Attack S. C. Kothari CPRE 556: Lecture 8, February 2, 2006 Electrical and Computer Engineering Dept. Iowa State University SQL Injection: What is it A technique
Shellshock Security Patch for X86
Shellshock Security Patch for X86 Guide for Using the FFPS Update Manager October 2014 Version 1.0. Page 1 Page 2 This page is intentionally blank Table of Contents 1.0 OVERVIEW - SHELLSHOCK/BASH SHELL
Monitoring Clearswift Gateways with SCOM
Technical Guide Version 01 28/11/2014 Documentation Information File Name Document Author Document Filename Monitoring the gateways with _v1.docx Iván Blesa Monitoring the gateways with _v1.docx Issue
Hardening Joomla 1. HARDENING PHP. 1.1 Installing Suhosin. 1.2 Disable Remote Includes. 1.3 Disable Unneeded Functions & Classes
1. HARDENING PHP Hardening Joomla 1.1 Installing Suhosin Suhosin is a PHP Hardening patch which aims to protect the PHP engine and runtime environment from common exploits, such as buffer overflows in
1. Introduction to the UNIX File System: logical vision
Unix File System 1. Introduction to the UNIX File System: logical vision Silberschatz, Galvin and Gagne 2005 Operating System Concepts 7 th Edition, Feb 6, 2005 Logical structure in each FS (System V):
Migration of Process Credentials
C H A P T E R - 5 Migration of Process Credentials 5.1 Introduction 5.2 The Process Identifier 5.3 The Mechanism 5.4 Concluding Remarks 100 CHAPTER 5 Migration of Process Credentials 5.1 Introduction Every
PHP Debugging. Draft: March 19, 2013 2013 Christopher Vickery
PHP Debugging Draft: March 19, 2013 2013 Christopher Vickery Introduction Debugging is the art of locating errors in your code. There are three types of errors to deal with: 1. Syntax errors: When code
Lecture 25 Systems Programming Process Control
Lecture 25 Systems Programming Process Control A process is defined as an instance of a program that is currently running. A uni processor system or single core system can still execute multiple processes
RECOVER ( 8 ) Maintenance Procedures RECOVER ( 8 )
NAME recover browse and recover NetWorker files SYNOPSIS recover [-f] [-n] [-q] [-u] [-i {nnyyrr}] [-d destination] [-c client] [-t date] [-sserver] [dir] recover [-f] [-n] [-u] [-q] [-i {nnyyrr}] [-I
Introduction to Linux (Authentication Systems, User Accounts, LDAP and NIS) Süha TUNA Res. Assist.
Introduction to Linux (Authentication Systems, User Accounts, LDAP and NIS) Süha TUNA Res. Assist. Outline 1. What is authentication? a. General Informations 2. Authentication Systems in Linux a. Local
Unix Scripts and Job Scheduling
Unix Scripts and Job Scheduling Michael B. Spring Department of Information Science and Telecommunications University of Pittsburgh [email protected] http://www.sis.pitt.edu/~spring Overview Shell Scripts
Operating Systems and Networks
recap Operating Systems and Networks How OS manages multiple tasks Virtual memory Brief Linux demo Lecture 04: Introduction to OS-part 3 Behzad Bordbar 47 48 Contents Dual mode API to wrap system calls
An Introduction to the Linux Command Shell For Beginners
An Introduction to the Linux Command Shell For Beginners Presented by: Victor Gedris In Co-Operation With: The Ottawa Canada Linux Users Group and ExitCertified Copyright and Redistribution This manual
Security Correlation Server Quick Installation Guide
orrelog Security Correlation Server Quick Installation Guide This guide provides brief information on how to install the CorreLog Server system on a Microsoft Windows platform. This information can also
Filesystem Security. General Principles
Filesystem Security 1 General Principles Files and folders are managed by the operating system Applications, including shells, access files through an API Access control entry (ACE) Allow/deny a certain
Penetration Testing Report Client: Business Solutions June 15 th 2015
Penetration Testing Report Client: Business Solutions June 15 th 2015 Acumen Innovations 80 S.W 8 th St Suite 2000 Miami, FL 33130 United States of America Tel: 1-888-995-7803 Email: [email protected]
Contents III: Contents II: Contents: Rule Set Based Access Control (RSBAC) 4.2 Model Specifics 5.2 AUTH
Rule Set Based Access Control (RSBAC) Linux Kernel Security Extension Tutorial Amon Ott Contents: 1 Motivation: Why We Need Better Security in the Linux Kernel 2 Overview of RSBAC 3 How
Decision Support System to MODEM communications
Decision Support System to MODEM communications Guy Van Sanden [email protected] Decision Support System to MODEM communications by Guy Van Sanden This document describes how to set up the dss2modem communications
IUCLID 5 Guidance and support. Installation Guide Distributed Version. Linux - Apache Tomcat - PostgreSQL
IUCLID 5 Guidance and support Installation Guide Distributed Version Linux - Apache Tomcat - PostgreSQL June 2009 Legal Notice Neither the European Chemicals Agency nor any person acting on behalf of the
How to share folders on Windows 7 and Windows 8
How to share folders on Windows 7 and Windows 8 1. Goto Control Panel / Network and Sharing / Advanced sharing options 2. Turn on file and printer sharing in (current profile) 3. Turn off [Password protected
3. Broken Account and Session Management. 4. Cross-Site Scripting (XSS) Flaws. Web browsers execute code sent from websites. Account Management
What is an? s Ten Most Critical Web Application Security Vulnerabilities Anthony LAI, CISSP, CISA Chapter Leader (Hong Kong) [email protected] Open Web Application Security Project http://www.owasp.org
Introduction to Operating Systems
Introduction to Operating Systems It is important that you familiarize yourself with Windows and Linux in preparation for this course. The exercises in this book assume a basic knowledge of both of these
SQL Injection Attack Lab
Laboratory for Computer Security Education 1 SQL Injection Attack Lab Copyright c 2006-2010 Wenliang Du, Syracuse University. The development of this document is funded by the National Science Foundation
Access Control Fundamentals
C H A P T E R 2 Access Control Fundamentals An access enforcement mechanism authorizes requests (e.g., system calls) from multiple subjects (e.g., users, processes, etc.) to perform operations (e.g., read,,
Module Title: Advanced Systems Administration 2
CORK INSTITUTE OF TECHNOLOGY INSTITIÚID TEICNEOLAÍOCHTA CHORCAÍ Semester 1 Examinations 2012/13 Module Title: Advanced Systems Administration 2 Module Code: COMP 7021 School: Mathematics & Computing Programme
CommonSpot Content Server Version 6.2 Release Notes
CommonSpot Content Server Version 6.2 Release Notes Copyright 1998-2011 PaperThin, Inc. All rights reserved. About this Document CommonSpot version 6.2 updates the recent 6.1 release with: Enhancements
Security Correlation Server Quick Installation Guide
orrelogtm Security Correlation Server Quick Installation Guide This guide provides brief information on how to install the CorreLog Server system on a Microsoft Windows platform. This information can also
White Paper. Blindfolded SQL Injection
White Paper In the past few years, SQL Injection attacks have been on the rise. The increase in the number of Database based applications, combined with various publications that explain the problem and
Maintaining Stored Procedures in Database Application
Maintaining Stored Procedures in Database Application Santosh Kakade 1, Rohan Thakare 2, Bhushan Sapare 3, Dr. B.B. Meshram 4 Computer Department VJTI, Mumbai 1,2,3. Head of Computer Department VJTI, Mumbai
Stata R Release 13 Installation Guide
i Stata R Release 13 Installation Guide Contents Simple installation........................................ 1 Installing Stata for Windows................................ 3 Installing Stata for Mac....................................
Partitioning. Files on the Hard Drive. Administration of Operating Systems DO2003. Partition = Binder with index. Write file = Insert document
Administration of Operating Systems DO2003 Mounting the file structure Devices Wecksten, Mattias 2008 Partitioning Wecksten, Mattias 2008 Files on the Hard Drive Partition = Binder with index Write file
RACK911 Labs. Year in Review. May 6, 2014
RACK911 Labs Year in Review May 6, 014 The security of the hosting industry has always been a concern of RACK911 and in May of 013 we decided to take a more proactive role by creating a new brand called
SSL Tunnels. Introduction
SSL Tunnels Introduction As you probably know, SSL protects data communications by encrypting all data exchanged between a client and a server using cryptographic algorithms. This makes it very difficult,
Unix Shell Scripts. Contents. 1 Introduction. Norman Matloff. July 30, 2008. 1 Introduction 1. 2 Invoking Shell Scripts 2
Unix Shell Scripts Norman Matloff July 30, 2008 Contents 1 Introduction 1 2 Invoking Shell Scripts 2 2.1 Direct Interpretation....................................... 2 2.2 Indirect Interpretation......................................
Online Backup Client User Manual
For Mac OS X Software version 4.1.7 Version 2.2 Disclaimer This document is compiled with the greatest possible care. However, errors might have been introduced caused by human mistakes or by other means.
Local File Sharing in Linux
Local File Sharing in Linux Would you like to share files among multiple users on the same Linux system? Surprisingly, this is trickier to accomplish than it appears, so here is a method that works. The
Columbia University Web Security Standards and Practices. Objective and Scope
Columbia University Web Security Standards and Practices Objective and Scope Effective Date: January 2011 This Web Security Standards and Practices document establishes a baseline of security related requirements
Active Directory and Linux Identity Management
Active Directory and Linux Identity Management Published by the Open Source Software Lab at Microsoft. December 2007. Special thanks to Chris Travers, Contributing Author to the Open Source Software Lab.
How to use PDFlib products with PHP
How to use PDFlib products with PHP Last change: July 13, 2011 Latest PDFlib version covered in this document: 8.0.3 Latest version of this document available at: www.pdflib.com/developer/technical-documentation
