Welcome to Vhunk’s Weblog











open windows registry [ start > Run > Regedit.exe hit Enter ]
Hive: HKEY_LOCAL_MACHINE

Key: \System\CurrentControlSet\Control\Terminal Server\

Name: fsDenyTSConnections

Type: REG_DWORD

Value: 0=Enable this key, that is Remote Desktop Connection

Value: 1=Disable this key, that is Dont allow remote person to Connect to the computer

if u are an Administrator and if u want to enable remote desktop connection remotely then i have a small script..


‘======================================================
‘Script_Name :Enable_RDP_Remotely.vbs
‘Description : This script enables the Remote desktop functionality remotely
‘ The script perform registry changes. In order to apply those changes
‘ a reboot is required……

‘Remarks and Limitations : Works for WinXP and Windows 2003 Servers.
Win2000 has not been tested Yet
‘ A Reboot is required
‘======================================================

‘Error Handling, Declare Constants and Variable…
‘—————————

On Error Resume Next

Const HKEY_LOCAL_MACHINE = &H80000002
dim vbYesNo
dim vbQuestion
vbYesNo = 4
vbQuestion = 48

‘Create inputbox in order to collect the computer Name
‘—————————-

StrComputer=InputBox(“Enter Name of the Remote Computer…”,”Connect to Remote Computer”)

‘Connect to the Remote Registry using WMI space
…We assume that you have administrative rights
‘———————————

Set oReg=GetObject(“winmgmts:{impersonationLevel=impersonate}!\\” & _
strComputer & “\root\default:StdRegProv”)

‘Error handling…if not able to connect to the remote machine…you will be notified
‘———————————————————

If Err.Number <> 0 Then
MsgBox “Error. Computer not accessible…Possible reasons” & vbcrlf & vbcrlf &_
“1.the computer name is incorrect” & vbcrlf & _
“2.the computer is not running… ” & vbcrlf & _
“3.the currently logged-on user has no admin rights”& vbcrlf & vbcrlf &_
“End of Script”,64,”An Error occured”
WScript.Quit()
End If

‘to enable remote desktop,
‘registry key HKLM\System\CurrentControlSet\Control\Terminal Server\fsDenyTSConnections
’should be set to 0

strKeyPath = “System\CurrentControlSet\Control\Terminal Server”
strValueName = “fDenyTSConnections”
dwValue = 0
oReg.SetDWORDValueHKEY_LOCAL_MACHINE,strKeyPath,strValueName,dwValue

‘Ask the User if he wants to reboot the machine right now or do it later….
‘————————————-

retry= msgbox (“A Reboot is required in order to apply the changes” & vbcrlf & _
“Do you want to reboot the remote computer Now ?”,52,”Reboot the Remote Machine”)

Select Case retry

Case vbYes
‘WMI Code used to reboot the remote computer
Set oWMI = GetObject(“winMgmts:\\”& strComputer)
Set colComputers = oWMI.ExecQuery(“SELECT * FROM Win32_OperatingSystem”)
For Each refComputer In colComputers
If refComputer.Reboot() <> 0 Then
WScript.Echo “Reboot failed”
Else
WScript.Echo “Computer rebooted”
WScript.echo ” Action completed sucessfully “
End If
Next
Case vbNo
WScript.Echo(“Changes will not be applied for the moment”)
End Select



{July 4, 2008}   Unblock any Website !!

Google as a proxy Reloaded !!

Recently i was surfing sum security related sites in my office but i found that some of them were blocked by a UTM [ Unified Threat Management ] device. it was really irritating whn the site was block..

as mentioned in my earlier Posts 9 Alternative ways to Access Blocked sites one of the methods was google cache method. i tried google cache trick and but i was blocked …

I didnt mention the trick of using Google as a proxy Server because its no more working….

Trick was : Translation of page from english to english by which google use to act as a proxy server but now doent workd

Click here if u wanna try google as proxy server trick

But Dont Worry you can Easily FOol the Search Engine… :P …here we go

i have tricked this hack…and by which Google can Still be used as a proxy server…

open the following page in your fav. browser

http://translate.google.com

then paste the url which you want to access…

in this e.g. i m using www.darknet.org.uk/2006/04/top-15-securityhacking-tools-utilities/ as my WebLink

by default you can see Spanish to English Translation

Click the small downarrow and Select Hindi from listbox as shown in the figure [ i use hindi coz lots of English words are still not translated into hindi and vice a versa..i guess its still in its beta ..]

now click the Translate button. You can now access this page by being anonymous on the INTERNET.. Keep Safe Surfing…Happy hacking :) ….i would b happy to hear sumthing from you in the comment section…u can share ur view , ideas , tricks



{July 3, 2008}   Type in Indian Languages

Visit this Link

http://quillpad.in/



{July 3, 2008}   Bluetooth Hacking

Bluetooth Hacking

Bluetooth hacking has gained popularity recently with an increasing amount of software becoming available to hackers for gaining access to Bluetooth devices. Most of the hacking tools seem to be for the Linux platform and include names such as BlueScan, BlueSniff and BTBrowser.

There is even a dictionary of Bluetooth hack terminology that seems to have become well established. Here is a brief rundown of the terms that are commonly used:

Bluesnarfing
Bluesnarfing involves gaining unauthorized access to a Bluetooth enabled device for the purpose of accessing or stealing personal information or files. This form of Bluetooth hacking is probably the most difficult for the hacker to achieve and recent firmware upgrades to Bluetooth devices have reduced the risk. Your best form of protection is to not leave your phone is discoverable mode.

Bluejacking
Bluejacking is a mostly harmless activity and usually involves sending a vCard (electronic business card) to another Bluetooth device with an offensive message in the name field. As most Bluetooth devices are still in the 10 meter range, the person who “Bluejacked” you is likely to be in the same room.

Bluebugging
Bluebugging involves hacking into a phone using device commands without the user noticing. If the hacker were successful, they could listen in on phone conversations, make phone calls and send or receive text messages. Bluebugging has a similar result to bluesnarfing but exploits a different vulnerability that is found in older phones.

Should you be concerned about Bluetooth hack attempts? Probably not due to the fact that most Bluetooth devices are still in the 10m range and there have been recent firmware upgrades to make Bluetooth devices more secure. If you are concerned, your best form of protection is to keep your devices Bluetooth turned off when not in use. And when Bluetooth is turned on, make sure you don’t leave it in discoverable mode.

Further reading:
Bluetooth hacking for fun and profit



et cetera