Need help hacking my virtual network

No explicit questions like "how do I hack xxx.com" please!
Post Reply
User avatar
robski_g
On the way to fame!
On the way to fame!
Posts: 25
Joined: 28 May 2008, 16:00
15

Need help hacking my virtual network

Post by robski_g »

Hi,
Ok I'm just starting off basic as i'm new to this, i've setup a windows xp pro on my vmware, i hav not installed any services packs or updates so it should be vunerable(in an earlier post someone suggested using DVL but im not that used to linux yet). I have jus ran an aggresive scan with NMap and i it has found multiple open ports which are as follows:

135/tcp open msrpc?
139/tcp open netbios-ssn
445/tcp open microsoft-ds Microsoft Windows XP microsoft-ds
1025/tcp open NFS-or-IIS?
5000/tcp open upnp Microsoft Windows UPnP

Anyway I jus want to know where should I go from here? What other information do I need to aquire ? Should i find exploits for these services and try to implement them?What else should I try? Also any articles or tuts on this would be most appreciated..Thanks in advanced...Rob

User avatar
ayu
Staff
Staff
Posts: 8109
Joined: 27 Aug 2005, 16:00
18
Contact:

Post by ayu »

Well since it's completely opened you could just enter with

\\IP\C$

just press start -> run

and then type in \\computerIP\C$

=P


Well, checking every port for exact service and version might be useful, but if it isn't patched at all you could try the vulnerability that the blaster worm used.

http://www.milw0rm.com/exploits/69

Dunno if that is the exact one that the worm used, but should work anyway =)

Also, reading up on what all the services mean could be useful as well ^^ like what they do, etc
"The best place to hide a tree, is in a forest"

User avatar
bad_brain
Site Owner
Site Owner
Posts: 11636
Joined: 06 Apr 2005, 16:00
19
Location: In your eye floaters.
Contact:

Post by bad_brain »

to stop Microsoft DS/close port 445:
Start->Run->regedit
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NetBT\Parameters
create a new entry there:
"SMBDeviceEnabled"=dword:00000000
(the dword value is usually created as default)

to stop upnp (universal plug & play):
Start->Run->msconfig
pick the "autostart" tab and disable ssdpsrv.exe

to disable netbios:
right-click on "My Network Places"->Properties
right-click on your default connection->Properties
pick "Internet Protocol (TCP/IP)"->Properties->Advanced->WINS
disable "NetBIOS over TCP/IP"

restart your system when done.
I also disable all of the above on my system and experienced no problems yet.


msrpc is necessary for the system, disabling it would leave the system unusable. port 1025 is most likely not IIS or NFS, it is often used as local proxy by antivirus/firewall suites, best get "TCPview" from our downloads, it'll show you what program opened the port.

:wink:

User avatar
robski_g
On the way to fame!
On the way to fame!
Posts: 25
Joined: 28 May 2008, 16:00
15

Post by robski_g »

cats wrote:Well since it's completely opened you could just enter with

\\IP\C$

just press start -> run

and then type in \\computerIP\C$

=P


Well, checking every port for exact service and version might be useful, but if it isn't patched at all you could try the vulnerability that the blaster worm used.

http://www.milw0rm.com/exploits/69

Dunno if that is the exact one that the worm used, but should work anyway =)

Also, reading up on what all the services mean could be useful as well ^^ like what they do, etc
Is that a null session or is just a way to enter the system thru netbios?....cheers..rob

User avatar
ayu
Staff
Staff
Posts: 8109
Joined: 27 Aug 2005, 16:00
18
Contact:

Post by ayu »

Well seeing as you get access I don't think it's a NULL session =/

Think you would simply call it getting access through netbios, but I'm not sure ^^
"The best place to hide a tree, is in a forest"

User avatar
robski_g
On the way to fame!
On the way to fame!
Posts: 25
Joined: 28 May 2008, 16:00
15

Post by robski_g »

Nice one. I think a null session is used just to enumerate user names from a from the ip$ share and not to actually gain accessThanks for the advice tho pal i'll definately be giving it ago...Rob

User avatar
robski_g
On the way to fame!
On the way to fame!
Posts: 25
Joined: 28 May 2008, 16:00
15

Post by robski_g »

bad_brain wrote:to stop Microsoft DS/close port 445:
Start->Run->regedit
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NetBT\Parameters
create a new entry there:
"SMBDeviceEnabled"=dword:00000000
(the dword value is usually created as default)

to stop upnp (universal plug & play):
Start->Run->msconfig
pick the "autostart" tab and disable ssdpsrv.exe

to disable netbios:
right-click on "My Network Places"->Properties
right-click on your default connection->Properties
pick "Internet Protocol (TCP/IP)"->Properties->Advanced->WINS
disable "NetBIOS over TCP/IP"

restart your system when done.
I also disable all of the above on my system and experienced no problems yet.


msrpc is necessary for the system, disabling it would leave the system unusable. port 1025 is most likely not IIS or NFS, it is often used as local proxy by antivirus/firewall suites, best get "TCPview" from our downloads, it'll show you what program opened the port.

:wink:
Thanks for the info badbrain.However i can't find the "TCPview" app u were referring to in the downloads section...Rob

User avatar
computathug
Administrator
Administrator
Posts: 2693
Joined: 29 Mar 2007, 16:00
17
Location: UK
Contact:

Post by computathug »

robski_g wrote:
Thanks for the info badbrain.However i can't find the "TCPview" app u were referring to in the downloads section...Rob
you can get if from here

http://www.suck-oold.com/modules.php?na ... tit&lid=32

Post Reply