Great Circle Associates Firewalls
(April 1996)
 

Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: NT & C2
From: Martin Silbernagl <m . silbernagl @ interramp . com>
Date: Tue, 23 Apr 1996 16:48:20 -0400
To: "'Firewalls @ GreatCircle . COM'" <Firewalls @ GreatCircle . COM>

Cris wrote:
>NT 3.5 w/ sp3 is the only currently certified release of NT at the C2 
level.
>NT is only C2 certified with NO networking at all.

As part of Microsoft's Resource Kit (or Pack, I don't remember) for NT 3.51 
comes a little program called  "C2 Security Manager". It allows you to 
configure the local machine for C2 compliance. Besides some checks that 
aren't required by C2, it looks for the following:

- Only NTFS must be installed.
- No other operating system must be available (i.e., no multiple-boot 
configs).
- The boot loader must be set to 0 seconds delay.
- The OS/2 subsystem must be deleted.
- The POSIX subsystem must be deleted.
- The log must be set for manual deletion of old events.
- The system must halt on an audit failure.
- Users must log on in order to shut down the computer.
- The minimum password length must be six characters.
- The "Guest" account must be disabled.
- No networking services must be installed on the system.

I find this program very interesing, not only because of its claim that C2 
does not require hiding the last user's name during the log-on sequence (is 
that really true?). It is also a good indicator on just how badly NT is 
configured for security out of the box.

Don't get me wrong. Conceptually it is a very good OS in regards to 
security. But the way it installs itself... All the time and money that 
Microsoft shelled out for designing a secure OS is lost, because the 
default access permissions are set in a way that enable anyone with a bit 
of Win32 API knowlege to compromise a host (in front of a firewall, that 
is, not behind  :-) .

Let me back this up with a few examples:

Most parts of the registry are world-readeable and some hives are even 
world-writeable. One of the writeable hives is the hive for the default 
profile, used when the administrator did not create a specific user profile 
for a user (profiles contain information on the location of the home 
directory, or the Program Manager groups of a user, preferences, anything). 
If you put an NT box on the Internet this alone makes you completely 
vulnerable: anyone who want's to execute code on that machine only needs to 
connect to your registry remotely (possible with the standard NT 3.5 
REGEDT32.EXE or Win95's REGEDIT.EXE) and modify the startup group of the 
default user profile. The next time someone without a profile logs on, your 
code is executed. Combine this with an upload facility (e.g., FTP) and you 
may have guests soon (easiest way out for all of the WWW people using NT: 
disable the NetBEUI to UDP/TCP binding and use NetBEUI over NetBios or 
EtherTalk locally).

All the services run in the system account by default, including the 
scheduler, which in turn is used by the at command. Were you ever 
interested what the SAM hive contains? All you (or, for that matter, any 
user) have to do is run the "at" command to start an instance of 
regedt32.exe in a minute from now (at 12:01 regedt32.exe). Voila. Now you 
can change whatever you want. (I think the "at" loophole was removed from 
UN*X in 1846).

There are more flaws, all of them accessible to the average joe, and there 
are some  loopholes for the more experienced (especially now with user32 
and gdi in the kernel !). But after all, this is Firewalls @
 GreatCircle .
 com 
and I don't want to be a bore. It is also much too nice out right now to 
continue this mail. I will go to Central Park now (aaah, sweet freelance 
life),

	-Martin

begin 600 WINMAIL.DAT
M>)\^(A<4`0:0" `$```````!``$``0>0! @
 `(````Y 0```````#H``$(@ <`
M& ```$E032Y-:6-R;W-O9G0 @
 36%I;"Y.;W1E`#$(`0V ! `"````` @
 `"``$$
MD 8`. $```$````,`````P``, ,````+``\.``````(!_P\!````40``````
M``"!*Q^DOJ,0&9UN`-T!#U0"`````$9I<F5W86QL<T!'<F5A=$-I<F-L92Y#
M3TT`4TU44 !&:7)E=V%L;'- 1W)E871#:7)C;&4N0T]-`````!X``C !````
M!0```%--5% `````'@`#, $````:````1FER97=A;&QS0$=R96%T0VER8VQE
M+D-/30````,`%0P!`````P#^#P8````>``$P`0```!P````G1FER97=A;&QS
M0$=R96%T0VER8VQE+D-/32<`` @
 $+, $````?````4TU44#I&25)%5T%,3%- 
M1U)%051#25)#3$4N0T]-```#```Y``````L`0#H!`````@'V#P$````$````
M`````PD\`02 `0`(````3E0@)B!#,@!]`0$%@ ,`# @
 ```,P'! `7`! `, `4
M``(`1 $!(( #``X```#,!P0`%P`0`# `% `"`$0!`0F `0`I````-3 U,S4T
M,C$X1C<X.#DY.#-!.41#1C$Q04-!0C!#-C,T.$9#,# P- #@" $#D 8```L`
M`!0````+`",```````,`)@``````"P`I```````#`"X```````,`- @
 ``````
M0 `Y`$"-PS16,;L!'@!P``$````(````3E0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,"0*(B@>'_9L,K @
 +^#,*$JH!WRRW(>,OXB( .
 !9 @
 -%E4N .
 T
MDD^2.I/O:0(@@73A"8!TL:&J08"$7U5AJH(#4C[A!^ H(.$Q.#(Z,!1 @
 VWIJ
MD59O_SX1+Z [P ? @
 IT,#D1&Q&E"_J4*9$<=B,&*IHB^ @
 *,4![S)!BF+9!3;Q
M<&T`KX(@0(^N<R&@;I'=$E5 .
 *D? @
 X5)A,3 @
 T-LEN02$Q0?^ $ @
 1@,4$:(3 P
MHQ'!]\QS_W\1KV,PH9=#85$O46R @
 9-#_HQ)@8N:6-$/C!S<XYQ.+L/\\80B0
M,W$?X+X`F7-I\]U2[R/C9M*#87DB9T_PRZ:G`-NEX0,@(6J1=C)A`8 \(1>&
M]1P1'!%&AK5S0$?]F/)#- @
 !CX# .
 0+&%Y$RJ&_ZFB,)(]LD%14(%JNETPSY&?
M,*!;T5SA;W,%$&=H!4#_W5(PI#RA"E! @
 = # `Q OH>\CT7AA:Y PDD,?`2V0
M`R#O*B DL-U%_"!H*F #X G@/TM1"=$:,2EQ+."+<"DLWSA\#((Y0"\@'X%N
M)849P0(``# #`! 0``````,`$1 `````0 `',) !S"=+,;L!0 `(,$"-PS16
=,;L!'@`]``$````!``````````,`#33]-P``?,@!
`
end


Indexed By Date Previous: suspicious packets in firewall logs??
From: equaad @ indigo . mit . edu
Next: POP???
From: Rob Sansom <sansom @ connectix . com>
Indexed By Thread Previous: RE: NT & C2
From: Chris Pugrud <ChrisP @ steldyn . com>
Next: RE: NT & C2
From: Martin Silbernagl <m . silbernagl @ interramp . com>

Google
 
Search Internet Search www.greatcircle.com