Monday, September 29, 2008

Recover admin password

Have you forgotten your Windows Xp Administrator Password, cant remember even after many tries?

Well you can easily change or wipe out your Administrator password during Windows XP Repair. Here's step-by-step description of Repair process.

  1. Place your XP CD in your rom and start your computer(it' s assumed that you have your bios set to "Boot from CDrom")
  2. Select - Press any key to boot from CD
  3. The first screen will indicate that Setup is inspecting your system and loading files.
  4. Press ENTER to Setup Windows now
  5. The Licensing Agreement comes next - accept it.
  6. The next screen is the Setup screen which gives you the option to do a Repair, press R to begin the Repair process.
  7. Setup will now check your disks and then start copying files
  8. After the Copying Files stage, you will be required to reboot.
  9. During the reboot, do not make the mistake of "pressing any key" to boot from the CD again! Setup will resume automatically with the standard billboard screens and you will notice Installing Windows is highlighted.
  10. Keep your eye on the lower left hand side of the screen and when you see the Installing Devices progress bar, press SHIFT + F10. This is the Security hole! A command console will now open up giving you the potential for wide access to your system.
  11. At the prompt, type NUSRMGR.CPL and press Enter. You will gain graphical access to your User Accounts in the Control Panel.
  12. Now simply pick the account you need to change and remove or change your password as you prefer. After you've made your changes close the window, exit the command box and continue on with the Repair.
  13. Once the Repair is done, you will be able to log on with your new password. Your programs and personalized settings should remain intact.

Friday, March 7, 2008

Secure your computer system

Lock Down Firefox

Firefox is pretty secure in its own right, but its vast library of add-ons include a number of tools that can make it even tighter. Here's a few easy-to-use ways to lock down the fox:
  • Vidalia (original post): The Tor anonymity network isn't a fail-proof secrecy system, or a great way to quickly transfer lots of data, but the Tor setup tool Vidalia does make it a one-installation, one-button system for anonymizing your browsing on Windows, Mac, or Linux. In short: Tor won't defeat an intrepid IT manager, but it works pretty well for most situations.
  • SafeHistory & SafeCache: Prevent web sites from seeing where you came from and what you were looking at before you got there with these lightweight twin extensions.
  • Change settings for better privacy: It's not just nosy co-workers you don't want seeing what you do online, but also any over-the shoulder hackers or snoopers who strike while you're away from the keys. ff_settings_cropped2.jpgTake some of Adam's advice and set Firefox to erase your private data on exit, stop keeping "address bar history," and enable a master password if you don't want to remember your legion of site logins. Here's more on locking down your autofilling web site logins with a single master password. Don't forget to set a timer to disable the Master Password accessibility if you tend to leave Firefox open when you walk away.
  • Always use https connections: Fans of Google's services might not know that almost every one of the search giant's tools offer a connection through SSL, the scrambled, harder-to-eavesdrop-on protocol than plain old HTTP. Can't seem to remember the "s"? Try this Greasemonkey script, which can automatically make the switch for you at pre-defined sites.

Encryption made easy

When it comes to solid, dependable encryption on a hard disk or flash drive, nothing beats TrueCrypt, now available in GUI form for Windows, Mac, and Linux, and it's not that hard to set up. Still, you don't need to set up system-wide encryption or virtual drives to ensure no nefarious third parties are looking at your communications:
  • Guest writer Jason Thomas showed us how to set up Thunderbird with encryption in four easy steps using the Enigmail extension.
  • The FireGPG Firefox extension employs selective encryption in the browser, including in GMail messages (as does the GMail Encrypt Greasemonkey script).
  • Multi-protocol, open-source, cross-platform instant messenging client Pidgin pidgin_private.jpg(and its OS X cousin Adium) supports encryption through a one-button "Off the Record" plug-in. Windows users can grab it here, Adium chatters can learn how to enable encryption chats here, and most Linux users can find plug-ins in their repositories (Ubuntu users, for example, can grab pidgin-otr).
  • If you just need to send a few documents securely to someone else, you could always compress and password-protect them with a zip utility like Lifehacker's favorite cross-platform tool 7-Zip.
  • For a file-by-file encryption solution in Windows, check out AxCrypt. It's still pretty beta in some ways, but the Big Bonus is adding encryption to Windows' right-click menu—doesn't get much easier than that.

Make strong but memorable passwords

The heart of any secure computer lies in its passwords—from commonly-used web passwords down to ultra-paranoid stuff like BIOS locking. If you find yourself resorting all too often to birthdays and pet names, check out the following resources:
  • password_cropped.jpgIf you're the type of person who writes their passwords down, like security expert Bruce Schneier, it never hurts to have at least one ultra-secure master password. For that, look no further than the Ultra High Security Password Generator—you can just use 6-10 of the totally random characters, unless you feel up for memorizing more than 60 of them.
  • Once you've got that uber-tight password, feel free to use it for your Windows/Mac/Linux login password or your multi-app keychain program, and then pick more basic, easy-to-grok passwords for web sites and the like, as suggested by a recent Macworld article. With the auto-suspend/lockout features in many systems, having a single, secure gateway into your data makes sense.
  • It won't work for every site, but getting set up with an OpenID could give you fewer passwords to keep track of and faster access to you favorite sites.
  • If you must write down your passwords, don't do it on a monitor Post-It note or even a plain text file. Here's how to securely track your passwords in an encrypted desktop database, KeePass.
  • ff_pass2.jpgMade your passwords so secure that you forgot one? Don't worry—we've got you covered for Firefox, in software and web pages, and at user login too, using an OphCrack Live CD.

Bolt down your network

Unfortunately, there aren't a lot of shortcuts to the basics of setting up a decently secure home wireless network—setting an SSID, WPA encryption, and MAC filters are just part of the (acronym-crazy) game. Going forward, though, you can make sure the computers in your home or small office are safe without weekend-consuming projects:
  • portscan.jpgWe've shown you the extensive way of scanning for port security holes, but here's a much easier tool for novices— the Audit My PC online firewall test. I highly doubt it catches everything and hands out extensive troubleshooting help, but for just knowing what should and shouldn't be accessible to the outside world it is worth the price of admission.
  • For networking n00bs looking for a little GUI-fied help, check out the free version of Network Magic, which can help move you through the basics.
  • If you're not behind a router or physical/corporate firewall, be sure to turn on your operating system's firewall (not enabled by default, for instance, in OS X Leopard) and make it secure.

Lojack your laptop (and USB drives)

All the best proxies, lock-downs and passwords will only help you so much if your whole system ends up in a thief's hands. Here's how to secure, and possibly even locate, your lost goods with free tools:
  • iPods digital cameras and USB drives are appealing, easy-to-grab targets for thieves—believe me, I know. GadgetTheft, a free auto-run trick that you can install on any device that you can transfer a file to, will send you as much information as it can grab from a computer once you've turned on tracking. iHound, a free USB-drive-only tool, works in a similar way, but actually sends rough geo-location info based on the IP address of its captive users' computer.
  • ialert_scaled.jpgA dedicated thief might not let some wailing laptop speakers stop his crime, but you can help keep coffee shop patrons honest with tools like iAlertU for the Mac and Laptop Alarm for PCs. Both can make a racket—or even snap a few incriminating pictures—if they detect something fishy going on.
  • Windows users have their own webcam-into-security-cam tool in Yawcam, which can even be set to send regular photos to an FTP server.

Monday, March 3, 2008

Remote File Access Through E-Mail

Introduction:

This is a (proof-of-concept) outlook macro that you can use with an outlook rule to retrieve your files from your home/office PC by sending it a mail with a subject having a predefined special keyword and the body containing the names and paths of the files. The remote PC will then mail you the files on a predefined e-mail ID.

Usage:

1. Download file (birendra-outlook-remote-file-access) from "http://www.esnips.com/web/birendrasinh-Public" and unzip it. It has a VB module “shantz-outlook-remote-file-access.bas” (can be opened with any text editor)

2. Create a new macro in Outlook. Copy the code contained in Module1.bas to the main source file of the macro.

3. Edit the code to change the e-mail ID to which the files will be e-mailed. Save the macro.

4. Create a new rule in Outlook. Choose to run the rule when a specific word is found in the subject. e.g. use “SendMeMyFiles”.

5. The action part of the rule should be “run a script”. Here you can choose the macro that you just created from the list shown by Outlook.

6. Save the rule and you are done.

Now try, sending a mail to the account that your outlook is configured to receive mail for, with the special keyword in the subject and a list of files (with their complete absolute paths on the remote computer) separated by semicolons (”;” without the quotes), and watch magic happen :).

e.g.: To: myemail@email.com

subject: SendMeMyFiles

Body: c:\path\of\files\file1;d:\second\path\file2

IMPORTANT NOTES:

  • For this thing to work, outlook has to be running on the remote PC as this depends on a “client-side” rule.
  • This is just a proof-of-concept as of now, so there is no error handling right now. Plus the e-mail body parsing is finicky and so the e-mail body should not have anything other than the file paths and names. This might change in future if I decide to update it.
  • Don’t use it if your life depends on it. Use it for basic purposes and modify and improve it appropriately before you decide to use it seriously (You may submit your modifications here as well)
  • It has been tested only on Outlook 2003, but might work on others as well.

Let me know of any thoughts you may have about this.

Monday, February 4, 2008

Haking "admin" from "user"

Using simple command line tools on a machine running Windows XP we will obtain system level privileges, and run the entire explorer process (Desktop), and all processes that run from it have system privileges. The system run level is higher than administrator, and has full control of the operating system and its kernel. On many machines this can be exploited even with the guest account. At the time I’m publishing this, I have been unable to find any other mention of people running an entire desktop as system, although I have seen some articles regarding the SYSTEM command prompt.

Local privilege escalation is useful on any system that a hacker may compromise; the system account allows for several other things that aren’t normally

Possible (like resetting the administrator password).

The Local System account is used by the Windows OS to control various aspects of the system (kernel, services, etc); the account shows up as SYSTEM in the Task Manager

Local System differs from an Administrator account in that it has full control of the operating system, similar to root on a *nix machine. Most System processes are required by the operating system, and cannot be closed, even by an Administrator account; attempting to close

They will result in an error message.

Under normal circumstances, a user cannot run code as System, only the operating system itself has this ability, but by using the command line, we will trick Windows into running our desktop as System, along with all applications that are started from within.

Getting SYSTEM

I will now walk you through the process of obtaining SYSTEM privileges.

To start, lets open up a command prompt (Start > Run > cmd > [ENTER]).

At the prompt, enter the following command, then press [ENTER]:

Code : at

If it responds with an “access denied” error, then we are out of luck, and you’ll have to try another method of privilege escalation; if it responds with “There are no entries in the list” (or sometimes with multiple entries already in the list) then we are good. Access to the at command varies, on some installations of Windows, even the Guest account can access it, on others it’s limited to Administrator accounts. If you can use the at command, enter the following commands, then press [ENTER]:

Code:

at 15:25 /interactive “cmd.exe”

Let’s break down the preceding code. The “at” told the machine to run the at command, everything after that are the operators for the command, the important thing here, is to change the time (24 hour format) to one minute after the time currently set on your computers clock, for example: If your computer’s clock says it’s 4:30pm, convert this to 24 hour format (16:30) then use 16:31 as the time in the command.

If you issue the at command again with no operators, then you should see something similar to this:

When the system clock reaches the time you set, then a new command prompt will magically run. The difference is that this one is running with system privileges (because it was started by the task scheduler service, which runs under the Local System account). It should look like this:

You’ll notice that the title bar has changed from cmd.exe to svchost.exe (which is short for Service Host). Now that we have our system command prompt, you may close the old one. Run Task Manager by either pressing CTRL+ALT+DELETE or typing taskmgr at the command prompt. In task manager, go to the processes tab, and kill explorer.exe; your desktop and all open folders should disappear, but the system command prompt should still be there.

At the system command prompt, enter in the following:

Code:

explorer.exe

A desktop will come back up, but what this? It isn’t your desktop. Go to the start menu and look at the user name, it should say “SYSTEM”. Also open up task manager again, and you’ll notice that explorer.exe is now running as SYSTEM. The easiest way to get back into your own desktop is to log out and then log back in.

What to do now that we have SYSTEM access, everything that we run from our explorer process will have it too, browsers, games, etc. You also have the ability to reset the administrator’s password, and kill other processes owned by SYSTEM. You can do anything on the machine, the equivalent of root; you are now God of the Windows machine. I’ll leave the rest up to your imagination.

Friday, February 1, 2008

Trace the IP adress of the E-mail sender

When you receive an email, you receive more than just the message. The email comes with headers that carry important information that can tell where the email was sent from and possibly who sent it. For that, you would need to find the IP address of the sender. The tutorial below can help you find the IP address of the sender. Note that this will not work if the sender uses anonymous proxy servers.

First of all, the IP address is generally found in the headers enclosed beween square brackets, for instance, [129.130.1.1]

Finding IP address in Gmail
Log into your Gmail account with your username and password.
Open the mail.
To display the email headers,
Click on the inverted triangle beside Reply. Select Show Orginal.
You may copy the headers and use my IP address detection script to ease the process. Or if you want to manually find the IP address, proceed to 5.
Look for Received: from followed by the IP address between square brackets [ ].
Received: from [69.138.30.1] by web31804.mail.mud.yahoo.com via HTTP;
If you find more than one Received: from patterns, select the last one.
Track the IP address of the sender

Finding IP address in Yahoo! Mail
Log into your Yahoo! mail with your username and password.
Click on Inbox or whichever folder you have stored your mail.
Open the mail.
If you do not see the headers above the mail message, your headers are not displayed. To display the headers,
Click on Options on the top-right corner
In the Mail Options page, click on General Preferences
Scroll down to Messages where you have the Headers option
Make sure that Show all headers on incoming messages is selected
Click on the Save button
Go back to the mails and open that mail
You should see similar headers like this:

You may copy the headers and use my IP address detection script to ease the process. Or if you want to manually find the IP address, proceed to 7.
Look for Received: from followed by the IP address between square brackets [ ]. Here, it is 202.65.138.109.
That is be the IP address of the sender.
If there are many instances of Received: from with the IP address, select the IP address in the last pattern. If there are no instances of Received: from with the IP address, select the first IP address in X-Originating-IP.
Track the IP address of the sender


Finding IP address in Hotmail
Log into your Hotmail account with your username and password.
Click on the Mail tab on the top.
Open the mail.
If you do not see the headers above the mail message, your headers are not displayed. To display the headers,
Click on Options on the top-right corner
In the Mail Options page, click on Mail Display Settings
In Message Headers, make sure Advanced option is checked
Click on Ok button
Go back to the mails and open that mail
You should see the email headers now.
You may copy the headers and use my IP address detection script to ease the process. Or if you want to manually find the IP address, proceed to 7.
If you find a header with X-Originating-IP: followed by an IP address, that is the sender's IP address
In this case the IP address of the sender is [68.34.60.59]. Jump to step 9.
If you find a header with Received: from followed by a Gmail proxy like this

Look for Received: from followed by IP address within square brackets[].
In this case, the IP address of the sender is [69.140.7.58]. Jump to step 9.
Or else if you have headers like this

Look for Received: from followed by IP address within square brackets[].
In this case, the IP address of the sender is [61.83.145.129] (Spam mail). Jump to step 9.
* If you have multiple Received: from headers, eliminate the ones that have proxy.anyknownserver.com.
Track the IP address of the sender

clean the virtual memory page files in Windows XP

Virtual memory is a system enhancing functionality implemented for Microsoft Windows operating systems. When you have multiple programs or tasks running at the same time, Windows creates one or more virtual memory page files that store information not used by your memory (RAM). These page files can sometimes contain sensitive information such as credit-card numbers and passwords you enter

Follow this steps
You can make your computer automatically clear the virtual memory pagefiles whenever you shut down your computer. To do this, follow the steps below:
1. Click Start, then click Run...
2. Type "regedit" then click OK. The Registry Editor will be displayed.
3. In the left menu, expand the following registry keys in this order:
HKEY_LOCAL_MACHINE, SYSTEM, CurrentControlSet, Control, Session Manager
4. Click the Memory Management folder,
5. In the right pane, double-click ClearPageFileAtShutdown. The Edit DWORD Value window will be displayed.
6. Type 1 in the Value data field, then click OK.
7. Exit the Registry Editor.
8. Restart your system so the changes can take affect.

Make Your PDF files to speak

 Use following shortcuts for hearing pdf files in abobe reader 6.0 or higher

ctrl+shift+b ---->to hear the whole topic
ctrl+shift+v ---->to hear the page

Tweak: Yahoo Messenger multiple instance

  • Click start then run
  • Write regedit, press enter
  • Goto “HKEY_CURRENT_USER\Software\Yahoo\Pager\Test”
  • Create a DWORD registry value named “Plural” by right clicking the right hand side window.
  • Double click the new DWORD entry and set the value to 1
Now you remain online with two or more different yahoo ids at the same time. It works with Yahoo messenger and Yahoo Mail

Tweak: Google Talk multiple instance

Default Installation of Google Talk doesn’t allow you to login with two different Ids from a single computer. But you can run two different instance of Google Talk at same time on a single computer after tweaking it a little. Just locate the Google Talk shortcut in Start -> Programs -> Google Talk -> Google Talk. Right click on the shortcut and go to properties. A dialog box will open as shown in the image below.

Google Talk Properties

Add “/nomutex” at the end of Target string, it should look like as shown in the image and click ok. That’s all now every time when you want an extra instance of Google Talk, click on this shortcut. Easy!

All hidden apps list within WinXP

Here Is The Complete List:
To run any of these apps go to Start > Run and type the executable name, for example: charmap

WINDOWS XP HIDDEN APPLICATIONS:

1. Character Map = charmap.exe (very useful for finding unusual characters)

2. Disk Cleanup = cleanmgr.exe

3. Clipboard Viewer = clipbrd.exe (views contents of Windows clipboard)

4. Dr Watson = drwtsn32.exe (Troubleshooting tool)

5. DirectX diagnosis = dxdiag.exe (Diagnose & test DirectX, video & sound cards)

6. Private character editor = eudcedit.exe (allows creation or modification of characters)

7. IExpress Wizard = iexpress.exe (Create self-extracting / self-installing package)

8. Mcft Synchronization Manager = mobsync.exe (appears to allow synchronization of files on the network for when working offline. Apparently undocumented).

9. Windows Media Player 5.1 = mplay32.exe (Retro version of Media Player, very basic).

10. ODBC Data Source Administrator = odbcad32.exe (something to do with databases)

11. Object Packager = packager.exe (to do with packaging objects for insertion in files, appears to have comprehensive help files).

12. System Monitor = perfmon.exe (very useful, highly configurable tool, tells you everything you ever wanted to know about any aspect of PC performance, for uber-geeks only )

13. Program Manager = progman.exe (Legacy Windows 3.x desktop shell).

14. Remote Access phone book = rasphone.exe (documentation is virtually non-existant).

15. Registry Editor = regedt32.exe [also regedit.exe] (for hacking the Windows Registry).

16. Network shared folder wizard = shrpubw.exe (creates shared folders on network).

17. File siganture verification tool = sigverif.exe

18. Volume Contro = sndvol32.exe (I've included this for those people that lose it from the System Notification area).

19. System Configuration Editor = sysedit.exe (modify System.ini & Win.ini just like in Win98! ).

20. Syskey = syskey.exe (Secures XP Account database - use with care, it's virtually undocumented but it appears to encrypt all passwords, I'm not sure of the full implications).

21. Mcft Telnet Client = telnet.exe

22. Driver Verifier Manager = verifier.exe (seems to be a utility for monitoring the actions of drivers, might be useful for people having driver problems. Undocumented).

23. Windows for Workgroups Chat = winchat.exe (appears to be an old NT utility to allow chat sessions over a LAN, help files available).

24. System configuration = msconfig.exe (can use to control starup programs)

25. gpedit.msc used to manage group policies, and permissions

Thursday, January 31, 2008

Trick To Increase Browsing Speed for IE and Firefox

You really don’t need to tweak your browser in case you are using Firefox because it is a browser which has been specially designed for optimized and fast browsing but if you can make it even a little more fast that would certainly be a treat for you. Likewise there is a trick to make Internet Explorer 6 fast too. Browsers are designed to work with fast connections but with this trick even dial-up users can experience fast and smooth browsing.

Optimize Firefox and IE Browsing Speed

I shall be teaching you two tricks which work separately on Firefox and Internet Explorer. It doesn’t require you to be some expert rather all you have to do is change some registry values and you are done. I have also included a video tutorial for those who want to see it step by step visually. This is perhaps one of the oldest tricks to optimize Firefox and IE but it still works great.

Trick to Increase Firefox Speed

1. Open firefox and in the address bar write about:config and press enter
2. Double click network.http.pipelining and set it to True
3. Double click network.http.pipelining.maxrequests and set value to 10 from 4
4. Right click and create a new string nglayout.initialpaint.delay and set its value to 0

You are done. Enjoy lightning fast Firefox browsing and now for IE.

Trick to Increase Internet Explorer Speed

1. Go to Start –> Run and type regedit
2. Select HKEY_CURRENT_USER –> Software –> Microsoft –> Windows –> Current Version –> Internet Settings
3. Increase the values (DECIMAL) from default to a higher value e.g. 10

See the difference in speed of IE Very Happy

Blog Archive