www.dambeck.ch

Die andere Seite des Internets

Browsing Posts tagged Windows

Part One. Today an in my next posts we want take a closer look at the security settings of an windows server. One good way to start is the "Security Configuration Wizard" later called as SCW. The wizard was patched in the operating system with SP1. In the release 2 of windows server 2003 you don’t need to patch it’s from start up SP2. To enable the feature just open the windows components dialog ("Add or Remove Programs" -> "Add/Remove Windows Components") and mark the check box. Now you need to insert the windows disk. In the "Administrative imageTools" you will find an new program "Security Configuration Wizard". Or just run "scw.exe" from the run. On the start up screen of the SCW there is the first important notice. The message indicates that the wizard will detect inbound ports that are being used by this server. This requires that all applications that use inbound ports be running before you run the wizard and create the security policy. In my lab the server will work as file and print server. To do it al little harder the lab Server runs also TeamSpeak witch is not an Microsoft Application . The teamspeak server imagewill listen on UDP Port  8767. After Clicking next, the wizard ask to crate an new policy. The next part is Interesting you are able to chose the Local or an remote server. My preferred option is to insta ll the SCW on each server and make local scans. Now we are able to check the version of the "Security DB". If you need an special service on many server’s witch is not listed edit the XML files in "%SystemRoot%\Security\msscw\policies%". More info about the XML file are located on google. After Skipping the window we are able to chose the server roles . In the next Dialog we are able to chose the client features like DHCP client, wins client …. and may more. Now microsoft want us to chose witch are the installed options of the server. The SCW now detects non windows services. in my lab he find the VM Tool’s :-) . Now we must approve the disabling of unused services. Please check the list very cheerfully. Now the big magic continues with the approval of TCP/ IP ports. Please check the list very cheerfully. Now one of the biggest image "lion’s den". In the registry the SCW will change settings for "SMB Security Signatures", "LDAP Signing", "Outbound Authentication Protocols" and "Inbound Authentication Protocols". with this settings enabled the server are harden to the most man-in-the-middle attacks an password cracking will be not so easy. The audit policy is a mixed blessing. Its very imported to find security issues in the logs. But study the logs will take much much time. So just enable the normal logging. Enter an Description an Save the Policy File. Now You Are able to apply  the policy now or later. Applying the policy will force an restart of the server !!

After applying the policy the TeamSpeak server stop’s working like except. But after editing the policy and again, insert the port 8767 all services works fine.

 

My conclusion of the Microsoft Security Configuration Wizard is: The tool is very easy to use and brings many good changes in short time. The use of SCW sold be carefully tested. But i’m strongly advise the use on all windows servers.

Windows 7

No comments

It’s new, It’s hot, It’s Seven and It’s in Beta. The new version of the Microsoft Client Operating System. Since the 10 of January the beat version can be obtain from  www.microsoft.com. So lets take a short look to the new philosopher’s stone of Microsoft. In this little Video you can see the Installation of Windows Seven. Take a special look to the Hard drive Partitioning and to the new Homegoupe feature.

 

After some exploring the new OS i’m feel fine because not everything Seven_bluescreenhas changed. hire some Print screen of my first Bluescreen on Seven. The Screen appeared when try to install the VMware Tools. After a reboot the install worked fine.

If you want to try your own Seven install an inplace upgrade should work from Vista Sp1. Or an new Installation. The Installation need 6,4 GB Diskspace.

Some nice things in the beta are Internet Explorer 8, Medaplayer, DirectX 11, an new dressing paint Gui and an Freaky Taskbar.

Generally the new design look’s very nice and the User Account Controll, is not so annoying like in Vista. my guess is that Microsoft is on the rigth way with Windows Seven build 7000

Wer wollte das nichts schon lange seinen eigenen Windows Cluster in VMware. Alls erstes brachen wir mal einen OpenFiler als iScsi Target. wie man das macht findet ihr natürlich in meinem Blog etwas weiter unten. Um die Sache etwas Ressourcen sparender zu gestalten werde ich den 2 Node Cluster nehmen wobei der eine Node auch noch als Domain Controller Dient.

als erstest geben wir beiden Cluster Node’s den Gleichen IQDN Namen

image

Wir geben dem IQDN noch eine LUN auf dem OpenFiler. Jetzt Starten wir den Cluster Administrator.

image

und Los gehts mit dem Neuen Cluster.

image

So jetzt gehts weiter mit dem Wizzard

image

Und wir Formatiren unsere LUN mit NTFS. Sie dient Später als Quorum.

image

Wir geben den ersten Node an

image

Die Lun ist etwas Klein aber das reicht schon

image

Die IP des Clusters Angeben

image

Okay, ich gebe es zu der Domain Administrator ist nicht sauber aber es ist nur ein test.

image

Und der Cluster Steht mal mit einem Node

image

Weiter geht’s mit dem Node (knoten) 2

image

Den 2 Node Angeben

image

Wie Immer im leben, Die Warnungen einfach Ignorieren :-)

image

Den Cluster Account Angeben

image

Weiter,weiter und dann haben wir auch schon unseren Cluster

image

Für den Produktiven Einsatz eines Clusters empfehle ich noch pro Node eine NIC für den Heart Beat. Windows Cluster sind meiner Meinung nach etwas aus der Mode Geraten. Dies weil Sie etwas Kompliziert in der Verwaltung sind und relativ viel Kosten. Eine gute Alternative Könnte ein VMware ESX Cluster sein. Mal sehen ev gibts dazu demnächst auch noch ein Post.

The World of NTFS

No comments

Part 1 of 3 The Basic’s

Bevor wir Richtig loslegen ein kleiner Überblick was in den Nachsten Posts so ab geht. The World of NTFS soll einen kleinen Einblick in eines der am wenigstenbeachteten  Features von Microsoft Windows bieten. Im Part 1 geht es eigentlich generell Dateisysteme im besonderen um NTFS. Im Part 2 wenden wir uns dann auf Applikationen zu welche auf NTFS Aufbauen zb. VSS,  DFS etc. Im Part 3 geht es dann um die Grosse Organisatorische Fragen AGDLP Ownership Quotas etc. 

NTFS ist die Abkürzung für New Technologie File System. Also das Standard Dateisystem für Windows NT3.1 bis Server 2008. Wobei auch noch FAT gewählt werden kann. Der Quasi Vorgänger war HPFS von IBM welches unter OS2 und OS2 Warp benutzt wurde. In der Letzen Zeit halten aber auch immer mehr Erweiterungen einzug welche an NSS Volumes von Novells Netware Erinnern (meinermeinung das Beste FS welches es bis heute gibt) 

„Beginn Zitat: Wikipedia“

Aus Sicht des Dateisystems ist alles Teil einer Datei, auch die Informationen des Systems. Die Hauptdatei ist die MFT (Master File Table). In dieser Datei befinden sich die Einträge, welche Blöcke zu welcher Datei gehören, die Zugriffsberechtigungen und die Attribute. Jede Eigenschaft einer Datei ist unter NTFS ein Attribut, auch der eigentliche Dateiinhalt.

Sehr kleine Dateien und Verzeichnisse werden in der MFT direkt abgespeichert. Größere Dateien werden dann als Attribut in einem Datenlauf gespeichert.

Beim Formatieren der Festplatte wird für die MFT ein fester Platz reserviert, der nicht von anderen Dateien belegt werden kann. Wenn dieser voll ist, beginnt das Dateisystem freien Speicher vom Datenträger zu benutzen, wodurch es zu einer Fragmentierung der MFT kommen kann. Standardmäßig wird ein reservierter Bereich von 12,5 % der Partitionsgröße angenommen.

Beim Speichern von Meta-Daten wird ein Journal geführt, das bedeutet, dass eine geplante Aktion zuerst in das Journal geschrieben wird. Dann wird der eigentliche Schreibzugriff auf die Daten ausgeführt und abschließend wird das Journal aktualisiert. Wenn ein Schreibzugriff nicht vollständig beendet wird, zum Beispiel wegen eines Absturzes, muss das Dateisystem nur die Änderungen im Journal zurücknehmen und befindet sich anschließend wieder in einem konsistenten Zustand.

„Ende Zitat: Wikipedia“

Wie überall in der EDV Wellt gibt es auch bei NTFS verschiedene Versionen. Welche untereinander abwärtskompatibel sind. Die Versionen werden beim erstellen der Partition festgelegt. Die Version des NTFS kann nicht angepasst werden ausser durch ein Update des Betriebssystem. Was auch gerne mal zu Problemen mit Dual Boot Systemen führen kann. Seihe diesen etwas älteren aber immer noch Vista aktuellen Artikel  TechNet Artikel. http://support.microsoft.com/kb/184299/de

Unten bei eine kleine Liste mit den Windows NTFS Versionen und den Wichtigsten Neuerungen

  • NTFS 1.x – Windows NT 3.1
  • NTFS 1.x – Windows NT 3.5/3.51
  • NTFS 2.x – Windows NT 4.0
    Kann einzelne Daten Verschlüsseln
  • NTFS 3.0 – Windows 2000 (NT 5.0)
    EFS (Entripptet File System)
    Disk Quotas, auf Laufwerke
    Symlinks
    Junction Points
    Hardlinks (max 1023 namen pro File)
    Sparse File (speichert nur die Tatsächliche Grösse bei halb lehren Dateien „sihe NTFS 5.1“ )
  • NTFS 3.1 – Windows XP (NT 5.1)
  • NTFS 3.1 – Windows Server 2003 (NT 5.2)
    Folder Quotas (Ab Windows Server 2003 r2)
  • NTFS 5.0 – Windows Vista (NT 6.0)
  • NTFS 5.1 – Windows Vista SP1 (NT 6.1)
    Speed und ev eine bessere Indexe Dank teils impl. von  WINFS (diese Angaben ohne Gewähr)