Friday, September 28, 2007

Internet Information Service (IIS) 7.0

IIS version 7.0 is a major enhancement to the existing IIS Web server and plays a central role in integrating Web platform technologies.

IIS 7.0 is built to be compatible with existing releases. All existing ASP, ASP.NET 1.1, and ASP.NET 2.0 applications are expected to run on IIS 7.0 without any code changes (using the compatible ISAPI support).

All existing ISAPI extensions and most ISAPI filters will also continue to work, unchanged. However, ISAPI filters that rely on READ RAW DATA notification are not supported in IIS 7.0

Who will be interested in this feature?

Any business or organization that hosts or develops Web sites or WCF services can benefit from the improvements made in IIS 7.0.

You should review this topic, and the additional supporting documentation on IIS 7.0, if you are in any of the following groups:

· IT planners and analysts who are technically evaluating the product

· Enterprise IT planners and designers for organizations

· IT professionals who deploy or administer IIS

· Developers who create Web sites or WCF services

· Internet Service Providers (ISPs) or similar organizations that provide Web hosting

Please find the full document which you can download from the file sharing section of live space.

http://cid-80e0d4743a9bf96c.skydrive.live.com/self.aspx/Public/Web%20Server(IIS7).doc

Monday, September 10, 2007

Implementing
Application Security Using the Microsoft .NET Framework


In this article we are going to discuss the application security using Microsoft® .NET Framework. Specifically, we will discuss:

 .NET Framework security features.
 Code access security.
 Role-based security.
 Cryptography.
 Securing Microsoft ASP.NET Web applications.
 Securing ASP.NET Web services.


I assume that reader have Development experience with Microsoft Visual Basic®, Microsoft Visual C++®, or C#
Experience building Microsoft Windows® or Web applications using the .NET Framework.

The .NET common language runtime controls the execution of .NET code. The .NET Framework security system is part of the common language runtime.
The .NET Framework includes many features that you will cover soon in this article, such as type checking for safe type-conversions, secure exception management, and code access security control.
.NET Framework security is designed to complement the security provided by Microsoft Windows®. It does not override Windows-based security. For example, if a Windows access control list (ACL) restricts access to a file, the .NET Framework does not override this security.

.NET Managed Execution Security
The .NET Framework security features
Assist you in developing secure applications
Include many components, including:
Type Checker
Exception Manager
Security Engine
Complement Windows Security

A Type-Safe System
Type-safe code:
Prevents buffer overruns
Restricts access to authorized memory locations
Allows multiple assemblies to run in the same process

App Domains provide:
Increased performance
Increased code security

Type-safety verification is the cornerstone of .NET Framework security because it prevents access to unauthorized memory locations. This allows you to consistently enforce security policy. For example, code cannot overrun a buffer and cause execution to jump to an arbitrary memory location.
Type-safety verification allows the common language runtime to run more than one type-safe assembly in the same process. These sub-processes are called application domains. Application domains are especially useful in server scenarios in which the overhead of using many processes may slow system performance.
In the past, the use of dynamic-link library (DLL)-based components was preferred for efficiency reasons, because EXE-based components were seen to be more secure and robust (due to the Microsoft Win32® virtual address space architecture). However, .NET supports the concept of an App Domain. An App Domain can be thought of as a process within a process, which provides good performance (like a DLL-based component), excellent security, and robustness.


• Managed code typically does not deal with raw pointers (such as a char *). Instead, the .NET runtime uses classes such as System.String and System.Text.StringBuilder, which are managed by .NET type-verification checks.
• A String is an immutable object, which vastly alleviates the buffer overrun issue. Consider the following code:

void CopyString (string src)
{
stringDest = src;
}

When the code executes, a new resultant string object will be created, and the reference stringDest will be altered to refer to that string. Therefore, a buffer overrun is not possible.
Another string class found in the .NET Framework is StringBuilder. StringBuilder is also a robust class and will throw an exception if an attempt is made to overwrite its internal buffer.

Trapping arithmetic errors in unmanaged code (for example, Visual C++) is very difficult. However, with managed code, spotting arithmetic runtime errors is easier. For example, the Visual C# compiler enables automatic checking for arithmetic overflows and underflows.
• By default, the arithmetic error trapping feature is turned off (for optimization reasons). However, you can easily turn on this feature either from the project properties or by using the checked keyword in your code.
• If you have turned arithmetic checking on at the project level, you can override the settings by using the unchecked keyword in your code. This is useful if you are certain that arithmetic errors cannot occur in specific blocks of code and you want to optimize those blocks when your code is compiled.
In few moments, you will see:
• How .NET data-type safety works.
• How to use the checked keyword.

Strong-Named Assemblies
Strong names are unique identifiers for your assemblies. You can generate strong names and then use them to digitally sign your assemblies. Strong-naming solves problems (such as version control and backward compatibility issues) that are caused when components are shared by multiple applications. In effect, strong names associate a distinct build of a component assembly with the client application. A distinct build is indicated by a combination of a version number and a special value that is called the publicKeyToken.
You can generate a public/private key pair for signing your assembly by using the Strong Name tool (Sn.exe).

Isolated Storage
Provides a virtual file system
Allows quotas
Implements file system isolation based on:
Application identity
User identity
IsolatedStorageFile isoStore =
IsolatedStorageFile.GetUserStoreForAssembly();

For some applications, such as downloaded Web applications and code that may come from sources that are not trusted, the basic file system does not provide the necessary isolation and safety. Isolated storage is a data storage mechanism that provides isolation and safety by defining standardized ways of associating code with saved data

With isolated storage, developers no longer have to invent unique paths to specify safe locations in the file system. Developers can now access safe locations by using either the application's identity or the user's identity. The code sample on the slide show an example of how to access the isolated storage based on a user's identity

These are the main .net Security features and we will cover other portions soon. Any comments and questions are acceptable. (maneeshpnair@msn.com). Accept my advance apology for any delayed response as I am in rest.
Forthcoming sections include code access security, Securing ASP.NET Web applications etc.. (Visit: http://maneeshpnair.spaces.live.com/)

Monday, August 6, 2007

Why application security matters

Because computers are an important component of any business, they need to:

Be reliable.

Be able to withstand security attacks.

Provide a feeling of confidence to both businesses and individuals that their data is secure

Source of Attacks.

Workforce mobility is increasing, and consequently, the way in which employees connect to your company’s network is evolving. Employees connect in a number of different ways, including traditional wired connections, new and evolving wireless network standards, and dial-up and broadband virtual private network (VPN) connections. The variety of ways your mobile users connect to your company’s network introduces a number of security concerns.

Applications are becoming increasingly dependant on connections to the Internet, for updated data, Web services, and so on. The Internet is a potential route to your systems for attackers and viruses. Many businesses require a persistent connection to the Internet so that they can provide Web sites, File Transfer Protocol (FTP) site, and Web services. As already stated, the Internet is a potential route to your systems for attackers and viruses

There are many types of attacks which need more pages to explain. Point of this article is to generate an idea on Secure Application Development Practices. Even if you have the most secure network infrastructure possible, with completely hardened servers, a simple vulnerability in your application (for example, failing to validate input) renders all of that useless

The Developer Role in Application Security

Solution architects, developers, and systems administration personnel must all work together and take collective responsibility for security.

Developers must adopt good practices that ensure the production of secure software. They must be knowledgeable about security vulnerabilities and how to avoid them, and must have both a broad and deep knowledge about security technologies and how to use them in order to create secure solutions

Developers must:

Work with solution architects and systems administrators to ensure application security

Contribute to security by:

Adopting good application security development practices

Knowing where security vulnerabilities occur and how to avoid them

Using secure programming techniques

The SD3 Security Framework

Secure by Design

Secure by Default

Secure in Deployment

  • Secure architecture and code
  • Threat analysis
  • Vulnerability reduction

Attack surface area reduced

Unused features turned off by default

Minimum privileges used

  • Protection: Detection, defense, recovery, management
  • Process: How to guides, architecture guides
  • People: Training

Secure by Design means that you have taken the appropriate steps to ensure that the overall design of the product is secure from the outset. Include threat modeling at the design phase and throughout the project to identify potential vulnerabilities. Use secure design, coding, and testing guidelines.

Secure by Default means that the product is released so that it is secure out of the box. If features are optional, and you can turn them off by default. If a feature is not activated, then an attacker cannot use it to compromise your product. Ensure that only the least amount of privilege is required by user accounts to run your application. Then a compromise can have less serious consequences than if an attacker is able to run malicious code under an account with administrator privileges. Ensure that effective access controls are in place for resources.

Secure in Deployment means that the system is maintainable after installation. If a product is difficult to administer, it makes it more difficult to maintain protection against security threats as new ones evolve. Ensure that users are educated to use the system in a secure manner. If security vulnerability is discovered and a patch is necessary, ensure that the fix is fully tested internally and then issued in a timely manner.

Thank you for your time and interest. It’s just a step to explain today’s trend in application development, and most of you aware with this. Any comments and questions are acceptable. (maneeshpnair@msn.com). Forthcoming articles include Secure Development Process, Threat Modeling, Risk Mitigation and Security Best Practices (Visit: http://maneeshpnair.spaces.live.com/ , http://maneeshpnair.blogspot.com/ , http://360.yahoo.com/maneeshpnair )

Friday, July 20, 2007

Social Engineering

Social engineering is a collection of techniques used to manipulate people into performing actions or divulging confidential information

Social engineering takes advantage of the lack of concern for security in the daily lives of most people. An attacker can spend time at work or leisure getting to know users and gaining their confidence. While an attacker asks questions and gains information that on a per-answer basis does not appear harmful, the information taken as a whole provides the attacker with the means to start or carry out an attack.

take good care...A known stranger may filch your password or PII (personally identifiable information ).

Friday, July 13, 2007

Windows 2003 Server

How demote a childdomain without parent domain or forest?

Use dcpromo /forceremoval

Uninstalling procedure of MS Exchange 2000

Start Uninstalling from The AddReove Program snap in which you have in control panel.

Then remove Server from 1st storage group. Still you got Server exist error message then install only management snap in and remove server. Then start installation with “forestprerp” switch. After that start normal installation and make sure you choose different directory than previous one. Now things gonna be work.

Before uninstall mail boxes must be deleted or moved. Note the point that this will not recover any old mailboxes.

Tuesday, July 10, 2007

Looking for a tool to migrate your System settings?????

Looking for a tool to migrate your System settings?????

Files and Settings Transfer Wizard…….

It’s the best way to transfer your files, settings, e mails to other PCs or user IDs with least problems. Most case it transfers e mails and settings from Microsoft Outlook and always from Outlook express.

Some of the situation it doesn’t work is transferring to a different language version, migrating to a non complete installation of office (e.g. typical installation). The GUI is very simple and bit customization also available (Grrrr.. not enough for professionals).

The point is it works with single system. If you looking for large deployment MSUMT (Microsoft User Migration Tool) is the one you needed. The bad news is it supports command line only. But I am assuring that it has all option that you want, such as transfering all settings to server and then migration form there, customized program/setting adding option thru XML files.(The XML support is in version 3. Previous versions supports INF only)

Friday, July 6, 2007

February 21

Old pal

Hi friends,
Yesterday night i met Prem Lal in a restaurant.
He was sitting opposite to me and looking at me like he knows me from
somewhere. He had his dinner wash his hands and come again and asked
where i been, Then i replied a question that in which poly you
studied. He answered Nattakom.There i cnfrmd that he
is our old class mate Prem lal....... After 8 years......its a long time na

February 09

Plan

A good plan today is better than perfect plan tomorrow

February 05

Professional

Think Who You are and Think What others Thinking

January 04

Quote

Never explain--your friends do not need it and your enemies will not believe you anyway. -- Elbert Hubbard

Parents Wedding Anniversary

Today is My Parent's 29th Wedding anniversary. May God bless them to stay many more years together and requesting all of yuors prayer to them.

Monkuttan

Wednesday July 12, 2006 - 11:11pm (PDT) Permanent Link | 0 Comments

My Teacher

Hey I got my 4th standard teacher's Phone Number and we had a talk..its happening after 15 years. She still remember me and once in a week she is speking about me to somebody. I am very thankful to her as she made a big role to make me Maneesh. I mean todays Maneesh.

Sunday July 9, 2006 - 01:29pm (PDT) Permanent Link | 2 Comments

Sister'sMarriage

Sister'sMarriage magnify

My Sister’s marriage was on May 13th. Some of the Snaps I uploaded here.. My colleagues, old pals, and classmates’ neighbors my relatives….all were there to bless them. My apology to those who didn’t get personal attention. As you know there were around 2000 individuals. Once again THANKS very much to all of you.

Monu

Sunday May 21, 2006 - 08:07am (PDT) Permanent Link | 0 Comments

At Native...............

Hey after 5 months again am at native.....Breathing fresh air!!!! Is this fresh? what ever, enjoying my holydays with family,  friends and my folks...

Wednesday April 26, 2006 - 06:25pm (PDT) Permanent Link | 0 Comments

World Without Strangers

Imagine and Explore a world where we Accept everybody,

where we Beilve and Listen to each other and where being together is our Strength.

Entry for February 28, 2006

Today morning i felt to update.. but i saw one important person accept my invitation...am nervous to write any ... see ye ....tomorrow...take care alll...bbyyyyee

Tuesday February 28, 2006 - 11:59pm (PST) Permanent Link | 0 Comments

Wht's New?

http://360.yahoo.com/elizbethseema

check out this friends...very nice page...

And whts new..ha i added my friends pict here..everybody can watch it.. U can see Afzu, Chachu, Pillu and my bodu guard syed.. ....watch it

Wednesday February 22, 2006 - 07:59am (PST) Permanent Link | 0 Comments

Entry for February 20, 2006

Hi friends,
Yesterday night i met Prem Lal in a restaurant.
He was sitting opposite to me and looking at me like he knows me from
somewhere. He had his dinner wash his hands and come again and asked
where i been, Then i replied a question that in which poly you
studied. He answered Nattakom.There i cnfrmd that he
is our old class mate Prem lal....... After 8 years......its a long time na

Monday February 20, 2006 - 09:37pm (PST) Permanent Link | 0 Comments

What is A FRIEND

it's a single soul dwelling in two bodies.

Aristotle

Its not mine. But Each of us think ourselves and ask, "Is this really true?"

Thursday February 9, 2006 - 09:38am (PST) Permanent Link | 0 Comments

Entry for February 04, 2006

Really Love makes my heart Faster

love is always patient and kind. it is never jealous. love is never boastful or conceited.it is never rude or selfish. it does not take offense and it is not resentful.Love takes no pleasure in other people's sins...but delights in the truth.it is always ready to excuse,to trust, to hope...and to endure...... whatever comes..

Mhmmmmm Full Post View | List View

I am here to share my moments and to watch your's

WORM_CONDOWN.A Manual Removal Instruction.

Activity

Mainly these virus files reside in root drive and system32 folder. It’s using Autorun facility and once it’s activated automatically moving to multiple locations and running in 2 different names. It will kill almost all anti virus services and modify the registry to deny future running of AV services. The other modification in Registry will deny Show all hidden files option permanently.

Removal Instruction

Win XP /2000

Restart the PC and go to Safe mode Command Prompt. (Press F8 before booting)

Use attrib command to reset the files flag to not hidden, not system, archive.

Use type command to read autorun.inf and note the file name. Reset the flag of same file and then delete. Type regedit in command prompt and browse the key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run

Delete the values which pointing to wnta.exe and lgwubrw.exe.

Delete the same files from system32 directory.

Browse the key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options

And then find the sub key related to antivirus name, just delete it. (eg:,nod32.exe, nod32krn.exe)

That’s it.

Tags: virusalert

Wednesday June 20, 2007 - 12:26pm (PDT) Permanent Link | 0 Comments

Entry for January 18, 2007

Entry for January 18, 2007 magnify

2007 Syarted with Good Newses...........Jan 17th.......

Thursday January 18, 2007 - 09:41am (PST) Permanent Link | 0 Comments

Wishing you allllllllllll

Merry X' Mas and Prosperous New year to All of You
Maneesh

Thursday December 21, 2006 - 07:50am (PST) Permanent Link | 0 Comments

Entry for November 26, 2006

Hey just was thru a short trip. Round around Native, Delhi, Dubai. and back to base now.

Just a Biz trip. nothing fun..........

Sunday November 26, 2006 - 09:54pm (PST) Permanent Link | 0 Comments

Entry for September 19, 2006

long time nothing comes up huh..... Actually was thru tight schedules...now bit free , will try to bring new updates soon till

 then signing off Monu

http://360.yahoo.com/maneeshpnair