Limon Çiçeği Teknoloji

Wednesday, November 22, 2006

Windows Event ID 528 and Logon Type

Windows'un Event ID=528 ise logon işlemi gerçekleştiğini biliyoruz. Ama bir de kayıtın içeriğinde Logon Type bölümü var ki, dikkat etmemiz gereken. Logon Type numarasının detayları ise şöyle:

Logon Type 2 – Interactive
This is what occurs to you first when you think of logons, that is, a logon at the console of a computer. You’ll see type 2 logons when a user attempts to log on at the local keyboard and screen whether with a domain account or a local account from the computer’s local SAM. To tell the difference between an attempt to logon with a local or domain account look for the domain or computer name preceding the user name in the event’s description. Don’t forget that logon’s through an KVM over IP component or a server’s proprietary “lights-out” remote KVM feature are still interactive logons from the standpoint of Windows and will be logged as such.

Logon Type 3 – Network
Windows logs logon type 3 in most cases when you access a computer from elsewhere on the network. One of the most common sources of logon events with logon type 3 is connections to shared folders or printers. But other over-the-network logons are classed as logon type 3 as well such as most logons to IIS. (The exception is basic authentication which is explained in Logon Type 8 below.)

Logon Type 4 – Batch
When Windows executes a scheduled task, the Scheduled Task service first creates a new logon session for the task so that it can run under the authority of the user account specified when the task was created. When this logon attempt occurs, Windows logs it as logon type 4. Other job scheduling systems, depending on their design, may also generate logon events with logon type 4 when starting jobs. Logon type 4 events are usually just innocent scheduled tasks startups but a malicious user could try to subvert security by trying to guess the password of an account through scheduled tasks. Such attempts would generate a logon failure event where logon type is 4. But logon failures associated with scheduled tasks can also result from an administrator entering the wrong password for the account at the time of task creation or from the password of an account being changed without modifying the scheduled task to use the new password.

Logon Type 5 – Service
Similar to Scheduled Tasks, each service is configured to run as a specified user account. When a service starts, Windows first creates a logon session for the specified user account which results in a Logon/Logoff event with logon type 5. Failed logon events with logon type 5 usually indicate the password of an account has been changed without updating the service but there’s always the possibility of malicious users at work too. However this is less likely because creating a new service or editing an existing service by default requires membership in Administrators or Server Operators and such a user, if malicious, will likely already have enough authority to perpetrate his desired goal.

Logon Type 7 – Unlock
Hopefully the workstations on your network automatically start a password protected screen saver when a user leaves their computer so that unattended workstations are protected from malicious use. When a user returns to their workstation and unlocks the console, Windows treats this as a logon and logs the appropriate Logon/Logoff event but in this case the logon type will be 7 – identifying the event as a workstation unlock attempt. Failed logons with logon type 7 indicate either a user entering the wrong password or a malicious user trying to unlock the computer by guessing the password.

Logon Type 8 – NetworkCleartext
This logon type indicates a network logon like logon type 3 but where the password was sent over the network in the clear text. Windows server doesn’t allow connection to shared file or printers with clear text authentication. The only situation I’m aware of are logons from within an ASP script using the ADVAPI or when a user logs on to IIS using IIS’s basic authentication mode. In both cases the logon process in the event’s description will list advapi. Basic authentication is only dangerous if it isn’t wrapped inside an SSL session (i.e. https). As far as logons generated by an ASP, script remember that embedding passwords in source code is a bad practice for maintenance purposes as well as the risk that someone malicious will view the source code and thereby gain the password.

Logon Type 9 – NewCredentials
If you use the RunAs command to start a program under a different user account and specify the /netonly switch, Windows records a logon/logoff event with logon type 9. When you start a program with RunAs using /netonly, the program executes on your local computer as the user you are currently logged on as but for any connections to other computers on the network, Windows connects you to those computers using the account specified on the RunAs command. Without /netonly Windows runs the program on the local computer and on the network as the specified user and records the logon event with logon type 2.

Logon Type 10 – RemoteInteractive
When you access a computer through Terminal Services, Remote Desktop or Remote Assistance windows logs the logon attempt with logon type 10 which makes it easy to distinguish true console logons from a remote desktop session. Note however that prior to XP, Windows 2000 doesn’t use logon type 10 and terminal services logons are reported as logon type 2.

Logon Type 11 – CachedInteractive
Windows supports a feature called Cached Logons which facilitate mobile users. When you are not connected to the your organization’s network and attempt to logon to your laptop with a domain account there’s no domain controller available to the laptop with which to verify your identity. To solve this problem, Windows caches a hash of the credentials of the last 10 interactive domain logons. Later when no domain controller is available, Windows uses these hashes to verify your identity when you attempt to logon with a domain account.

www.windowsecurity.com'dan alınmış özet bilgidir.

Limon Çiçeği

Thursday, November 09, 2006

"Windows cannot connect to the domain ...

Etki alanına ait bir bilgisayara/sunucuya bağlanma sırasında aşağıdaki mesajı alıyoruz.

"Windows cannot connect to the domain, either because domain the
domain controller is down or otherwise unavailable, or because your
computer account was not found. Please try again later. If this
message continues to appear, contact your network administrator for
assistance.".

İlk akla acaba "etki alanı servislerinde mi bir sorun var ?" sorusu geliyor. Bunları kontrol ettikten sonra, sunucunun etki alanında olmadığını farkettim. DNS'de IP ve isim eşleştirmesi sorunsuz olarak çalışıyor. Ama bizim sunucu artık bir şekilde etki alanına dahil değil. Etki alanından çıkartıp tekrar ekledik. Ve bizim sorun çözüldü.

Etki alanında iki tane aynı isimli bilgisayar var ise de aynı hata mesajı oluşuyormuş.

Bilgilerinize ...

Limon Çiçeği

Tuesday, November 07, 2006

Exchange - Realtime Antivirus

MS Exchange mesajlaşma sunucusu kullanıyorsanız, gelen giden mesajları virüs taramasından geçirmek ve hafızaya düşen ve dosya seviyesinde (file-level) virüs taraması konfigüre etmek gerekir. Microsoft Exchange yazılımının kullanıdığı dosyaların, dizinlerin ve proseslerin bazıllarını bu dosya seviyesinde taranmamasını öneriyor. Makalenin numarası 823166.
Kısaca özetlemek gerekir ise tarama dışı bırakılacak (exclude) dizin ve process şöyle:

1- Exchange databases and log files across all storage groups. By default, these are located in the Exchsrvr\Mdbdata folder.
2- Exchange MTA files in the Exchsrvr\Mtadata folder.
3- Additional log files such as the Exchsrvr\server_name.log directory.
4- The Exchsrvr\Mailroot virtual server folder.
5- The working folder that is used to store streaming .tmp files that are used for message conversion. By default, this folder is Exchsrvr\Mdbdata, but the location is configurable.
6- The temporary folder that is used in conjunction with offline maintenance utilities such as Eseutil.exe. By default, this folder is the location where the .exe file is run from, but you can configure where you run the file from when you run the utility.
7- Site Replication Service (SRS) files in the Exchsrvr\Srsdata folder.
8- Microsoft Internet Information Services (IIS) system files in the %SystemRoot%\System32\Inetsrv folder.
9- For clusters, the Quorum disk and the %Winnt%\Cluster folder.
10- The Exchsrvr\Conndata folder.

Prosesler :
Cdb.exe
Cidaemon.exe
Store.exe
Emsmta.exe
Mad.exe
Mssearch.exe
Inetinfo.exe
W3wp.exe

Ben dün uyguladım. Sonuçlar olumsuz olur ise zaten sizinle paylaşacağım.

Limon Çiçeği

Saturday, November 04, 2006

Entertainment Desktop

Vista'nın piyasaya çıkması ile onun getirdiği ürünler haberlerini de almaya başladık. Bunlardan bir tanesi, klavye ve fareden daha fazla özellik sağlayacak; şarj edilebilir, aydınlatmalı klavye-fare seti. Böylelikle sadce bir tuş (tık değil) ile hava durumuna bakabilir, arama motoruna girebilir ve bilgisayarınızı açıp kapatabileceksiniz. Haberin devami için
http://www.hurriyet.com.tr/teknonet/5362189.asp?m=1

Limon Çiçeği

Wednesday, November 01, 2006

Internet Explorer 7.0

IE 7.0 Window Content Injection sorunu ile karsi karsiya. Nasil oluyorda acilan sayfanin icerigi degisiyor diye sorarsaniz, ki ben de tam bunu yaptim. İcerigi degistirecek web sayfasina bagli iseniz ve girdiginiz diger sayfada bir pop-up acilacak ise acilan sayfanin icerigi degistirilebiliyormus. Microsoft durumun farkinda oldugunu ve bunu engellemek icin pop-up ekranlarda cikmayan adres cubugunu gorunur duruma geitrdiklerini soyledi. Yani siz baglandiginiz sayfayi gorebileceksiniz. Onerilen SSL baglanti kullanmak ve acilan sayfalarin adreslerini kontrol etmek.

Limon Cicegi