global security disclosure

test4guest.htm

test4guest.htm
Posted Aug 17, 1999

Testing for unpassworded guest access on a Windows host.

systems | windows
MD5 | ae0a78a2ffee51a1fc4961d64bbdfdaf

test4guest.htm

Change Mirror Download
<HTML>
<HEAD>
<TITLE>Test for Guest</TITLE>
</HEAD>
<BODY BGCOLOR="#ffffff" LINK="#0000ff">

<B><P ALIGN="CENTER">Test for Guest</P>
<FONT SIZE=2><P>&nbsp;</P>
<P>&nbsp;</P>
<P>What it does :</B> Test for Guest tests for an enabled guest account with no password set on it, on a number of (NT or Linux) machines in a given range of IP addresses eg 123.123.123.1 to 123.123.123.256. </P>
<P>&nbsp;</P>
<B><P>How it works :</B> NT has a hidden share IPC$. This is to allow connections from remote machines using some form of InterProcess Communication method. Test for Guest will try and make a connection to this IPC$ share on the target machine supplying t
he guest account with no password as the logon credentials.</P>
<P>&nbsp;</P>
<B><P>net use </B></FONT><B><FONT SIZE=3>\\123.123.123.123\ipc$</B></FONT></A><B><FONT SIZE=2> "" /user:guest</P>
<P>&nbsp;</P>
</B><P>Incidently you can connect to the IPC$ share in a null session, that is without supplying any credentials. You use the following command to do so :</P>
<P>&nbsp;</P>
<B><P>net use </B></FONT><B><FONT SIZE=3>\\123.123.123.123\ipc$</B></FONT></A><B><FONT SIZE=2> "" /user:""</P>
</B><P>&nbsp;</P>
<B><P>Running it</B> : You need the Perl 5 script interpreter and Windows NT (maybe it’ll run on 95) to run this. From a command prompt run: </P>
<P>&nbsp;</P>
<B><P>c:\perl5\bin>perl test4gst.pl</P>
</B><P>&nbsp;</P>
<P>You’ll be prompted for a network address (that is the first 3 bytes of an IP address as if it were a class C network.) eg 123.123.123 . Test for Guest will then try the guest account starting with 123.123.123.1, then 123.123.123.2 and so on upto 123.1
23.123.255. Depending on the speed of your modem it will take around 250 mins to test 255 machines.</P>
<P>&nbsp;</P>
<P>What you’re looking for is the response : "The command completed successfully." This means the Guest account is enabled and has no password on it so you now know a valid NT account and its password for that machine. Below I’ve listed some e
rrors that may occur and what they mean</P>
<P>&nbsp;</P>
<B><P>System error 53 has occurred.</P>
<P>The network path could not be found.</P>
</B><P>Either the host is unreachable or there is no IPC$ share on the machine.</P>
<P>&nbsp;</P>
<B><P>System error 1326 has occurred.</P>
<P>Logon failure : Unknown username or bad password</P>
</B><P>&nbsp;</P>
<B><P>System error 1331 has occurred.</P>
<P>Logon failure : account currently disabled.</P>
</B><P>The guest account has not been enabled by the admin.</P>
<P>&nbsp;</P>
<B><P>System error 1909 has occurred.</P>
<P>The referenced account is currently locked out and may not be logged on to.</P>
</B><P>This is a good response. You know the account is enabled, it is just temporarily locked out. Try again later.</P>
<P>&nbsp;</P>
<B><P>System error 1240 has occurred.</P>
<P>The account is not authorized to login from this station.</P>
</B><P>This response will probably be from a LINUX machine that only authorizes the guest account to log on from machines with certain IP addresses.</P>
<P>&nbsp;</P>
<P>How to get it : <A HREF="test4gst.txt">Click here</a>. This will take you to test4gst.txt. Cut and paste into notepad and save as test4gst.pl. Unfortunately if I put it up as test4gst.pl this server will send down in one long line.</P>
<P>&nbsp;</P>
<P>&nbsp;</P></FONT></BODY>
</HTML>

Comments

RSS Feed Subscribe to this comment feed

No comments yet, be the first!

Login or Register to post a comment

File Archive:

May 2012

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    May 1st
    37 Files
  • 2
    May 2nd
    53 Files
  • 3
    May 3rd
    33 Files
  • 4
    May 4th
    4 Files
  • 5
    May 5th
    10 Files
  • 6
    May 6th
    17 Files
  • 7
    May 7th
    19 Files
  • 8
    May 8th
    36 Files
  • 9
    May 9th
    34 Files
  • 10
    May 10th
    35 Files
  • 11
    May 11th
    20 Files
  • 12
    May 12th
    18 Files
  • 13
    May 13th
    11 Files
  • 14
    May 14th
    27 Files
  • 15
    May 15th
    58 Files
  • 16
    May 16th
    54 Files
  • 17
    May 17th
    25 Files
  • 18
    May 18th
    53 Files
  • 19
    May 19th
    9 Files
  • 20
    May 20th
    15 Files
  • 21
    May 21st
    25 Files
  • 22
    May 22nd
    32 Files
  • 23
    May 23rd
    35 Files
  • 24
    May 24th
    26 Files
  • 25
    May 25th
    25 Files
  • 26
    May 26th
    0 Files
  • 27
    May 27th
    0 Files
  • 28
    May 28th
    0 Files
  • 29
    May 29th
    0 Files
  • 30
    May 30th
    0 Files
  • 31
    May 31st
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2012 Packet Storm. All rights reserved.

close