Steps to Secure Windows

There are lot of secure option for Windows, You can secure by -


    * Set a difficult password for administrator

    * Disable gust account

    * Give minimum & limit permissions to administrator's members

    * Make minimum share folder on your Windows's

    * Give minimum share permission on that folder & full control to 
       trust users

    * Always change the administrator password

    * Install third part firewall & set minimum port.

    * Access & deny those user's & IP which you don't want to access to
       your computer.

    * Don't share your password.

Difference between windows 2000 server and windows 2003 server

1. Domain rename is not possible in windows 2000

2.In w 2003 server inbuilt firewall is there.

3. windows 2k - IIS 5 and windows 2k3 - II6

4.Windows 2k - IE 5 and Windows 2k3 - IE6

5. Terminal service are enhanced in win2k3

6.Windows 2k doesn't have 64 bit version

7. DNS Stub zone has introduced in win2k3.

8. Shadow copying has introduced.

9. Schema version has changed from ver.13 to ver.30.

10.Win2000 Supports 4-node clustering and 2003 supports 8-node clustering.

11Win 2003 has High HCL Support (Hardware Compatibility List) issued by Microsoft.

12.Code name of 2000 is Win NT 5.0 and Code name of 2003 is Win NT 5.1

13.In 2000 we can create 1 million users and in 2003 we can create 1 billion users.

14.Win2003 has Improved Print management compared to 2000 server.

15.Win2003 has telnet sessions available.

16.Win2000 supports IPV4 whereas 2003 supports IPV4 and IPV6.

17In Win 2000 server we can apply 620 group policies but in 2003 we can apply nearly 720 so Win2003 server is more secure than win 2000 server.

18.Win2000 doesn’t support Dot net whereas 2003 Supports Microsoft .NET 2.0

19.In 2000 it supports of 8 processors and 64 GB RAM (In 2000 Advance Server) whereas in 2003 supports up to 64 processors and max of 512GB RAM.

20.Win2000 has Server and Advance Server editions whereas 2003 has Standard, Enterprise, Datacenter and Web server Editions.

21.Win2000 has basic concept of DFS (Distributed File systems) with defined oots whereas 2003 has Enhanced DFS support with multiple roots.

22.In 2000 there is complexality in administering Complex networks whereas 2003 is easy administration in all & Complex networks.

23.In 2003 we have concept of Volume shadow copy service which is used to create hard disk snap shot which is used in Disaster recovery and 2000 doesn’t have this service.

24.In 2000 we don’t have end user policy management, whereas in 2003 we have a End user policy management which is done in GPMC (Group policy management console).

25In 2000 we have cross domain trust relation ship and 2003 we have Cross forest trust relationship.

26.2003 has service called ADFS (Active Directory Federation Services) which is used to communicate between branches with safe authentication.

27.In 2003 their is improved storage management using service File Server Resource Manager (FSRM).

28.2003 has service called Windows Share point Services (It is an integrated portfolio of
collaboration and communication services designed to connect people, information, processes, and systems both within and beyond the organizational firewall).

29.When installing terminal services for win2000 u r prompted to select application server functions or administrative functions sets can be installed sequently on one server but it performs only one function at one time. But in 2003 still distinguishes between application and administrative services but installation and management are now consolidated.

Win2000 ADS :-
1.Only one million object can be created.
2.Universal group membership is not present.
3. Between parent and child, there is no built in trust .It is called as non-transitive trust.
4. There is only three AD partition, Domain partition, configuration partition, schema partition.
5. In Win 2000 server we can apply 620 group policies .
6. but 2k only Emergency Repair Disk(ERD) is there.

Win2003 ADS :-
1.2 Million object can be created .
2.Between parent and child, there is built in trust .It is called as transitive trust.
3. Same partitions are there in 2003, but one additional partition called Application directory partition is present.
4. but in 2003 we can apply nearly 720 so Win2003 server is more secure than win 2000 Server.
5. Automated System Recovery(ASR) is there.

Microsoft outlook and Outlook express

Outlook Express is primarily an email client and newsgroup reader. It is the default email client supplied with Windows and comes free with Windows. It has all the basic facilities you expect from an email client - multiple identities, creation of folders to categories stored emails, and automated log-in and log-out. But it is just an email client.

Outlook is a full-blown contact management system. It enables you to store details on all your contacts, and to easily search and retrieve this data. It is NOT free with Windows, it is purchased as part of the Microsoft Office suite of programs. It uses the basic Outlook Express email engine as a part of its functionality. Overall it is much more powerful than the Express version. It is the sort of program a company would use to track its business contacts and their details for example. The average home user on the other hand is only likely to need to use Outlook Express, as the extra features in Outlook are all business orientated. A home user is notliekly to categories their friends for example, but a business will categories their contacts. Outlook will store electronic business cards, while Express cannot.

FIREWALL

What is a Firewall?

A firewall is a piece of software or hardware that helps screen out hackers, viruses, and worms that try to reach your computer over the Internet. If you are a home user or small-business user, using a firewall is the most effective and important first step you can take to help protect your computer.

Different Types of Firewalls

Different firewalls use different techniques. Most firewalls use two or more of the following techniques:

Packet Filters:

A packet filter looks at each packet that enters or leaves the network and accepts or rejects the packet based on user-defined rules. Packet filtering is fairly effective and transparent, but it is difficult to configure. In addition, it is susceptible to IP spoofing.

Application Gateway:

An application gateway applies security mechanisms to specific programs, such as FTP and Telnet. This technique is very effective, but it can cause performance degradation.

Circuit-layer Gateway:

This technique applies security mechanisms when a Transmission Control Protocol (TCP) or User Datagram Protocol (UDP) connection is established. After the connection has been established, packets can flow between the hosts without any further checking.

Proxy Server:

A proxy server intercepts all messages that enter and leave the network. The proxy server effectively hides the true network addresses.

Application Proxies:

Application proxies have access to the whole range of information in the network stack. This permits the proxies to make decisions based on basic authorization (the source, the destination and the protocol) and also to filter offensive or disallowed commands in the data stream. Application proxies are "stateful," meaning they keep the "state" of connections inherently. The Internet Connection Firewall feature that is included in Windows XP is a "stateful" firewall, as well as, the Windows Firewall. The Windows Firewall is included with Windows XP Service Pack 2 (SP2).

What does a firewall do?

A firewall examines all traffic routed between the two networks to see if it meets certain criteria. If it does, it is routed between the networks, otherwise it is stopped. A firewall filters both inbound and outbound traffic. It can also manage public access to private networked resources such as host applications. It can be used to log all attempts to enter the private network and trigger alarms when hostile or unauthorized entry is attempted. Firewalls can filter packets based on their source and destination addresses and port numbers. This is known as address filtering. Firewalls can also filter specific types of network traffic. This is also known as protocol filtering because the decision to forward or reject traffic is dependant upon the protocol used, for example HTTP, ftp or telnet. Firewalls can also filter traffic by packet attribute or state.

What can't a firewall do?

A firewall cannot prevent individual users with modems from dialling into or out of the network, bypassing the firewall altogether. Employee misconduct or carelessness cannot be controlled by firewalls. Policies involving the use and misuse of passwords and user accounts must be strictly enforced. These are management issues that should be raised during the planning of any security policy but that cannot be solved with firewalls alone.

The arrest of the Phonemasters cracker ring brought these security issues to light. Although they were accused of breaking into information systems run by AT&T Corp., British Telecommunications Inc., GTE Corp., MCI WorldCom, Southwestern Bell, and Sprint Corp, the group did not use any high tech methods such as IP spoofing (see question 10). They used a combination of social engineering and dumpster diving. Social engineering involves skills not unlike those of a confidence trickster. People are tricked into revealing sensitive information. Dumpster diving or garbology, as the name suggests, is just plain old looking through company trash. Firewalls cannot be effective against either of these techniques.

Who needs a firewall?

Anyone who is responsible for a private network that is connected to a public network needs firewall protection. Furthermore, anyone who connects so much as a single computer to the Internet via modem should have personal firewall software. Many dial-up Internet users believe that anonymity will protect them. They feel that no malicious intruder would be motivated to break into their computer. Dial up users who have been victims of malicious attacks and who have lost entire days of work, perhaps having to reinstall their operating system, know that this is not true. Irresponsible pranksters can use automated robots to scan random IP addresses and attack whenever the opportunity presents itself.

How does a firewall work?

There are two access denial methodologies used by firewalls. A firewall may allow all traffic through unless it meets certain criteria, or it may deny all traffic unless it meets certain criteria. The type of criteria used to determine whether traffic should be allowed through varies from one type of firewall to another. Firewalls may be concerned with the type of traffic, or with source or destination addresses and ports. They may also use complex rule bases that analyse the application data to determine if the traffic should be allowed through. How a firewall determines what traffic to let through depends on which network layer it operates at. A discussion on network layers and architecture follows.

Desktop Firewall

Any software installed on an operating system to protect a single computer, like the one included with Windows XP, is called a desktop or personal firewall. This type of firewall is designed to protect a single desktop computer. This is a great protection mechanism if the network firewall is compromised.

Software Firewall

This type of firewall is a software package installed on a server operating system which turns the server into a full fledged firewall. Many people do not consider this the most secure type of firewall as you have the inherit security issues of the underlying operating system. This type of firewall is often used as an application firewall. This means the firewall is optimized to protect applications such as web application and email servers. Software firewalls have complex filters to inspect the content of the network traffic to insure that type of traffic is properly formatted. This type of firewall is usually (but not always) behind hardware firewalls (explanation to follow).

Hardware Firewall

A hardware firewall is a dedicated hardware device with a proprietary operating system or a stripped down operating system core. These firewalls include network routers with additional firewall capabilities. These firewalls are designed to handle large amounts of network traffic. Hardware firewalls are often placed on the perimeter of the network to filter the internet noise and only allow pre-determined traffic into the network. Sometimes hardware firewalls are used in conjunction with software firewalls so the hardware firewall filters out the traffic and the software firewall inspects the network traffic. When hardware firewalls are bombarded with bogus network traffic they drop the unwanted traffic only letting in the right traffic. This not only protects the software firewall but allows the software firewall only has to inspect proper network traffic thus the combination optimizes the network throughput.

Network-Level Firewalls

The first generation of firewalls (c. 1988) worked at the network level by inspecting packet headers and filtering traffic based on the IP address of the source and the destination, the port and the service. Some of these primeval security applications could also filter packets based on protocols, the domain name of the source and a few other attributes.

Network-level firewalls are fast, and today you'll find them built into most network appliances, particularly routers. These firewalls, however, don't support sophisticated rule-based models. They don’t understand languages like HTML and XML, and they are capable of decoding SSL-encrypted packets to examine their content. As a result, they can’t validate user inputs or detect maliciously modified parameters in an URL request. This leaves your network vulnerable to a number of serious threats.

Circuit-Level Firewalls

These applications, which represent the second-generation of firewall technology, monitor TCP handshaking between packets to make sure a session is legitimate. Traffic is filtered based on specified session rules and may be restricted to recognized computers only. Circuit-level firewalls hide the network itself from the outside, which is useful for denying access to intruders. But they don't filter individual packets.

Application-Level Firewalls

Recently, application-level firewalls (sometimes called proxies) have been looking more deeply into the application data going through their filters. By considering the context of client requests and application responses, these firewalls attempt to enforce correct application behavior, block malicious activity and help organizations ensure the safety of sensitive information and systems. They can log user activity too. Application-level filtering may include protection against spam and viruses as well, and be able to block undesirable Web sites based on content rather than just their IP address.

If that sounds too good to be true, it is. The downside to deep packet inspection is that the more closely a firewall examines network data flow, the longer it takes, and the heavier hit your network performance will sustain. This is why the highest-end security appliances include lots of RAM to speed packet processing. And of course you'll pay for the added chips.

Stateful Multi-level Firewalls

SML vendors claim that their products deploy the best features of the other three firewall types. They filter packets at the network level and they recognize and process application-level data, but since they don't employ proxies, they deliver reasonably good performance in spite of the deep packet analysis. On the downside, they are not cheap, and they can be difficult to configure and administer.

Trouble Shooting server problems

Loss of connectivity:
Check all cable connections.
Check media state for all wired and wireless network interfaces.
Check network connectivity by pinging another computer on the network.
Check internetwork connectivity by pinging a com
Check IP address and default gateway settings.
Check DNS and WINS
Check proxy settings.
Check security policies and authentication settings.
Check whether the server’s TCP/IP settings are correct

Physical layer problems:
Is the server running?
Are necessary peripherals attached and running properly?
Are network cables properly connected?
Are NICs connectivity/power lights on?
Is recently added hardware compatible with operating system?
Are correct drivers installed on server?
Are New Devices causing internel BIOS conflicts on server?

Name resolution problems:
Can you ping another system by both name and IP address?
Check DNS settings.
Check WINS settings.
Check HOSTS and LMHOSTS files.
Ensure that there are no obsolete host file entries.

Application Problems:
Does the application interact with networking?
Are all installed applications compatible with the configured network settings?
Check the event log for application errors.
Check the application log (Start Programs Admin.Tools Event Viewer) for application errors.

Print server problems:
Is the printing device working and are all connections secure?
Make sure the correct printer drivers are installed.
Check the print spooler service to ensure that it is running.
Check to see that there is plenty of disk space on the server for spooling.
Check the permissions set on the printer.
If your network is an Active Directory Domain,Check group policy settings for printers.

E-Mail server problems:
Ensure that the Mail Exchange (MX) resource records in your DNS entries are correct.
Ensure that the mail server has plenty of disk space for user mailboxes.
If you want your mail server to receive mail from other mail servers,ensure that your mail server is configured to enable relay.

Terminal Services problems:
In an Active Directory domain,check Group policy and individual users account properties if users are unable to connect to the terminal server or are unexpectedly disconnected.
Ensure that Terminal Services and/or Remote Desktop are configured correctly.
Ensure that you have set up a Terminal services license server and that you have sufficient licenses.

Dial-up/remote access server problems:
Ensure that remote access service are installed and configured on your server.
Make sure the service is started.
Ensure that your dial-in, PPTP, and/or L2TP ports are enabled to accept inbound remote access calls.
Ensure that the remote access server is configured to allow connections on the protocol(s) that are being used by the remote clients.

What else could the problem be?
Check your server's security settings,as well as any site- ordomine-wide security policies that may be preventing connectivity.
Check client licenses and licensing settings.
Check the routers and the client computers to ensure that the real problem doesn't lie elsewhere.

Windows Server Questions

1.What are the Features of windows2003?
ACTIVE DIRECTORY

Easier Deployment and Management
ADMT version 2.0—migrates password from NT4 to 2000 to 20003 or from 2000 to 2003
Domain Rename--- supports changing Domain Name System and/or NetBios name
Schema Redefine--- Allows deactivation of attributes and class definitions in the Active directory schema
AD/AM--- Active directory in application mode is a new capability of AD that addresses certain deployment scenarios related to directory enabled applications
Group Policy Improvements----introduced GPMC tool to manage group policy
UI—Enhanced User Interface

Grater Security
Cross-forest Authentication
Cross-forest Authorization
Cross-certification Enhancements
IAS and Cross-forest authentication
Credential Manager
Software Restriction Policies

Improved Performance and Dependability
Easier logon for remote offices
Group Membership replication enhancements
Application Directory Partitions
Install Replica from media
Dependability Improvements--- updated Inter-Site Topology Generator (ISTG) that scales better by supporting forests with a greater number of sites than Windows 2000.

FILE AND PRINT SERVICES
Volume shadow copy service
NTFS journaling file system
EFS
Improved CHDSK Performance
Enhanced DFS and FRS
Shadow copy of shared folders
Enhanced folder redirection
Remote document sharing (WEBDAV)

IIS
Fault-tolerant process architecture----- The IIS 6.0 fault-tolerant process architecture isolates Web sites and applications into self-contained units called application pools
Health Monitoring---- IIS 6.0 periodically checks the status of an application pool with automatic restart on failure of the Web sites and applications within that application pool, increasing application availability. IIS 6.0 protects the server, and other applications, by automatically disabling Web sites and applications that fail too often within a short amount of time
Automatic Process Recycling--- IIS 6.0 automatically stops and restarts faulty Web sites and applications based on a flexible set of criteria, including CPU utilization and memory consumption, while queuing requests
Rapid-fail Protection---- If an application fails too often within a short amount of time, IIS 6.0 will automatically disable it and return a "503 Service Unavailable" error message to any new or queued requests to the application
Edit-While-Running


2.What are the Difference between NT & 2000?
NT SAM database is a flat database. Where as in windows 2000 active directory database is a hierarchical database.
In windows NT only PDC is having writable copy of SAM database but the BDC is only read only database. In case of Windows 2000 both DC and ADC is having write copy of the database
Windows NT will not support FAT32 file system. Windows 2000 supports FAT32
Default authentication protocol in NT is NTLM (NT LAN manager). In windows 2000 default authentication protocol is Kerberos V5.
Windows 2000 depends and Integrated with DNS. NT user Netbios names
Active Directory can be backed up easily with System state data

3.What Difference between 2000 & 2003?
Application Server mode is introduced in windows 2003
Possible to configure stub zones in windows 2003 DNS
Volume shadow copy services is introduced
Windows 2003 gives an option to replicate DNS data b/w all DNS servers in forest or All DNS servers in the domain.
Refer Question 1 for all Enhancements

4.What Difference between PDC & BDC?
PDC contains a write copy of SAM database where as BDC contains read only copy of SAM database. It is not possible to reset a password or create objects with out PDC in Windows NT.

5.What are Difference between DC & ADC?
There is no difference between in DC and ADC both contains write copy of AD. Both can also handles FSMO roles (If transfers from DC to ADC). It is just for identification. Functionality wise there is no difference.

6.What is DNS & WINS
DNS is a Domain Naming System, which resolves Host names to IP addresses. It uses fully qualified domain names. DNS is a Internet standard used to resolve host names
WINS is a Windows Internet Name Service, which resolves Netbios names to IP Address. This is proprietary for Windows

7.How may Types of DNS Servers
Primary DNS
Secondary DNS
Active Directory Integrated DNS
Forwarder
Caching only DNS

8.If DHCP is not available what happens to the client ?
Client will not get IP and it cannot be participated in network . If client already got the IP and having lease duration it use the IP till the lease duration expires.

9.what are the different types of trust relationships ?
Implicit Trusts
Explicit Trusts—NT to Win2k or Forest to Forest

10.what is the process of DHCP for getting the IP address to the client ?
There is a four way negotiation process b/w client and server
DHCP Discover (Initiated by client)
DHCP Offer (Initiated by server)
DHCP Select (Initiated by client)
DHCP Acknowledgment (Initiated by Server)
DHCP Negative Acknowledgment (Initiated by server if any issues after DHCP offer)

11.Difference between FAT,NTFS & NTFSVersion5 ?
NTFS Version 5 features
Encryption is possible
We can enable Disk Quotas
File compression is possible
Sparse files
Indexing Service
NTFS change journal
In FAT file system we can apply only share level security. File level protection is not possible. In NTFS we can apply both share level as well as file level security
NTFS supports large partition sizes than FAT file systems
NTFS supports long file names than FAT file systems

12.What are the port numbers for FTP, Telnet, HTTP, DNS ?
FTP-21, Telnet – 23, HTTP-80, DNS-53, Kerberos-88, LDAP-389

13.what are the different types of profiles in 2000 ?
Local Profiles
Roaming profiles
Mandatory Profiles

14.what is the database files used for Active Directory ? ?
The key AD database files—edb.log, ntds.dit, res1.log, res2.log, and edb.chk—all of which reside in \%systemroot%\ntds on a domain controller (DC) by default. During AD installation, Dcpromo lets you specify alternative locations for these log files and database files
NTDS.DIT

15.What is the location of AD Database ?
%System root%/NTDS/NTDS>DIT

16.What is the authentication protocol used in NT ?
NTLM (NT LAN Manager)

17.What is subnetting and supernetting ?
Subnetting is the process of borrowing bits from the host portion of an address to provide bits for identifying additional sub-networks
Supernetting merges several smaller blocks of IP addresses (networks) that are continuous into one larger block of addresses. Borrowing network bits to combine several smaller networks into one larger network does supernetting

18.what is the use of terminal services ?
Terminal services can be used as Remote Administration mode to administer remotely as well as Application Server Mode to run the application in one server and users can login to that server to user that application.

19.what is the protocol used for terminal services ?
RDP

20.what is the port number for RDP ?
3389