19.12.2012 Views

IT Baseline Protection Manual - The Information Warfare Site

IT Baseline Protection Manual - The Information Warfare Site

IT Baseline Protection Manual - The Information Warfare Site

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Safeguard Catalogue - Communications Remarks<br />

____________________________________________________________________ .........................................<br />

Web Administration Tool (SWAT) which is supplied as standard with the<br />

SAMBA package.<br />

SAMBA currently offers four different means of achieving client<br />

authentication. With the setting security = user, the SAMBA server checks<br />

whether the client is transmitting a valid combination of user ID and<br />

password. With security = server or security = domain it leaves this check to<br />

one or more other SMB/CIFS servers which it trusts and are specified via the<br />

parameter password server. On the other hand, if security = share is set, only<br />

a simple password check is performed and the client does not have to transmit<br />

any user ID. This procedure is considerably weaker than authentication via<br />

user ID and password and should only be used if the data on the SAMBA<br />

server does not have to be protected. An example here might be a server with<br />

write-protected data medium and data that can be accessed by the public. In<br />

this case it is appropriate not to have any authentication, and the easiest way<br />

of implementing this is via the setting security = share.<br />

Either plaintext passwords or encrypted passwords can be used for client<br />

authentication. As plaintext passwords can easily be intercepted during their<br />

transportation over the network using freely accessible tools, in principle only<br />

encrypted passwords should be used. On the client side, encrypted passwords<br />

are supported e.g. by Windows 95 (with installed SMB update), Windows 98,<br />

Windows NT 4.0 and Windows 2000. In file smb.conf on the SAMBA server,<br />

encrypted passwords are activated by the parameter encrypt passwords = yes.<br />

Unlike plaintext passwords, a SAMBA server cannot check encrypted<br />

passwords with the authentication mechanisms of the underlying UNIX<br />

operating system (which, for example, references /etc/passwd or /etc/shadow).<br />

It is therefore necessary to have an additional password file, which is specified<br />

via the parameter smb passwd file. This file contains the encrypted passwords<br />

and must be carefully protected from unauthorised access.<br />

<strong>The</strong> rights of a user to access directories and files via SAMBA are derived<br />

partly from the settings in file smb.conf and partly from the access rights of<br />

the file system on which the shared data is held. Here too careful configuration<br />

is necessary to ensure that access rights are granted in a consistent manner.<br />

Unlike on Windows NT servers with NTFS drives, when SAMBA is used it is<br />

not always appropriate to grant access rights exclusively through the file<br />

system. <strong>The</strong> reason for this is that commonly used UNIX file systems<br />

implement a different security model, based on permissions and ownership,<br />

than NTFS. Depending on the specific application, it is therefore necessary to<br />

check whether certain superordinate access restrictions can be better<br />

configured through file smb.conf. Reference is made here to the parameters<br />

(in)valid users and read/write list.<br />

<strong>The</strong> following parameters can potentially allow access restrictions to be<br />

circumvented:<br />

admin users<br />

force group / group<br />

force user<br />

guest account<br />

hosts equiv<br />

username / users / user<br />

____________________________________________________________________ .........................................<br />

<strong>IT</strong>-<strong>Baseline</strong> <strong>Protection</strong> <strong>Manual</strong>: Oktober 2000

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!