Saturday, January 5, 2008

Screen Saver - the screen life saver

Allmost all of them who use computer are well versed with the term "screen saver",butonly few might have tried to unearth its origin.what ever may be the case, let me explain laconic history about the origin of word "screen saver".


In earlier times when people used to keep the computer idle for long time, the contents of screen used to be same - same pixels form the screen contents.Implies the same set of electron beam strikes the screen for long duration,as a result monitor got damaged soon and its life got reduced.


Thats the point of time ,the smart people came into act ,found a new concept and coined it as "screen saver" . The "screen saver" continoulsy changes the contents of the screen(main logic), hence the pixels projected on the screen, preventing the damage of the screen and ameliorating the life of the monitor.Thus how the origin of the word "screen saver", came into existence.

Password Conundrum

I have many email accounts ,and login accouts on many servers on which i work.I often get obfuscated with passwords of different accounts .Off course you might suggest to keep the same password, but the problem is if one gets hacked then problem surmounts.

After trying various methods, finally i came up with answers to two important questions.First is method of generating secure password and second is how to manage passwords of many accounts.

To generate good password,one method i follow is, first take some sentence of english that you like, say "Google is the mother of all search engines".Pick the first,last or any letter from each word in a sentence.I pick here the first letter of each word.Then append each letter,that will generate a highly secure and easy to remember passwords.The password for the above case becomes becomes "gitmoase".Voila!! see how easily ,cryptic and easily rememberable password can be generated.
Lets come to second case,generate the passwords for other accounts using the password generated in earlier case i,e "gitmoase" as template.Lets say you have created the account for Rediff account, you can keep it as "gitRmoase" ,insert the first letter of the site name "Rediff.com" as fourth letter of the password of that site,you can pick any letter and put at any place as your convenience.For yahoo keep it as "gitYmoase"("Yahoo.com) and so on.

Dont try to break my passwords using the same ;)

Thursday, January 3, 2008

Peek into system registry

In earlier version of windows , Each program used to have .ini files known as initialization files(such as Dektop.ini).Which contains the initialization parameters for the programs.As no of programs increased in the system.Microsoft adapted new technique of using the registry (database).
Registry is a database for all the programs.Where each program stores its info.Apart from that windows uses it for other purpose,such as which programs to start at startup ,and user specfic info and others.
Registry is the most vulnerable thing in windows.All viruses and trojan uses the power of this to spread and infect the systems..
Lets elucdiate it by some examples.
The entry :
a)HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
If you make entry of the any program here , it will start up when windows starts.

b)HKEY_LOCAL_MACHINE\SOFTWARE\Classes\exefile\shell\open\command
If you make the entry of your program name here,Your program will execute each time when a executable is Run.

Hmm this is how the virus and trojans use the Registry to spread and infect the system.
To manipulate the registry ,we can do it by using Regedit tool or programmatically we can manipulate it by using the apis(thats what viruses use).
To Know various ways how the virus and trojans make use of registry to affect the system , and how the virus and trojan code is written follow this link.
Trojans and virus working.