Tuesday, October 23, 2007

10 security tips for all general-purpose OSes


There are key considerations for system security that apply no matter which general-purpose operating system platform you happen to be using. You should always consider the following precautions when securing your systems against unauthorized access and unfortunate disasters:
  1. Use strong passwords. One of the simplest ways to improve security is to use a password that isn’t easily guessed by brute force attacks. A brute force attack is one where the attacker uses an automated system to guess passwords as quickly as possible, hopefully finding the right password before long. Passwords that include special characters and spaces, use both capital and lowercase letters, avoid words in the dictionary, as well as numbers, are much more difficult to crack than your mother’s name or your anniversary date. Remember as well that increasing the length of your password by one single character multiplies the total number of possibilities by the number of valid characters that can be used. In general, anything less than eight characters is considered far too easy to crack. Ten, 12, or even 16 is better. Just don’t make it too long to remember or too difficult to type.
  2. Invest in good perimeter defense. Not all security occurs on the desktop. It’s a good idea to use an external firewall/router to help protect your computer, even if you only have one computer. At the low end, you can purchase a retail router device, such as the commercial Linksys, D-Link, and Netgear routers that are available in stores such as Best Buy, Circuit City, and CompUSA. Higher up the scale, you can get managed switches, routers, and firewalls from “Enterprise” class vendors such as Cisco, Vyatta, and Foundry Networks. Starting somewhere in the middle and moving all the way up to direct competition with the major “Enterprise” class vendors, you can put together your own firewalls either “from scratch” or using prepackaged firewall/router installers such as m0n0wall and IPCop. Proxy servers, antivirus gateways, and spam filtering gateways can all contribute to stronger perimeter security as well. Remember that in general switches are better for security than hubs, routers with NAT are better than switches, and firewalls are a definite necessity.
  3. Update your software. While concerns such as patch testing before deployment to production systems may be of critical importance in many circumstances, ultimately security patches must be rolled out to your systems. Ignoring security updates for too long can result in the computers you use becoming easy targets for unscrupulous security crackers. Don’t let the software installed on your computers fall too far behind the security update schedule. The same applies to any signature-based malware protection software such as antivirus applications (if your system needs them), which cannot be any more effective than the degree to which they are kept up to date with current malware signature definitions.
  4. Shut down services you don’t use. Often, computer users don’t even know which network accessible services are running on their systems. Telnet and FTP are common offenders that should be shut down on computers where they are not needed. Make sure you’re aware of every single service running on your computer, and have a reason for it to be running. In some cases, this may require reading up on the importance of that service to your particular needs so that you don’t make a mistake like shutting off the RPC service on a Microsoft Windows machine and disallow logging in, but it’s always a good idea to have nothing running that you don’t actually use.
  5. Employ data encryption. Varying levels of data encryption coverage are available to the security-conscious computer user or sysadmin, and choosing the right level of encryption for your needs is something that must be decided based on circumstances. Data encryption can range from use of cryptographic tools on a file-by-file basis, through filesystem encryption, up to full disk encryption. Typically, this doesn’t cover the boot partition, as that would require decryption assistance from specialized hardware, but if your need for privacy is great enough to justify the expense, it’s possible to get such whole-system encryption. For anything short of boot partition encryption, there are a number of solutions available for each level of encryption desired, including both commercial proprietary systems and open source systems for full disk encryption on every major desktop operating system.
  6. Protect your data with backups. One of the most important ways you can protect yourself from disaster is to back up your data. Strategies for data redundancy can range from something as simple and rudimentary as periodically saving copies to CD to complex, staggered, periodic automated backups to a server. On systems that must maintain constant uptime without loss of service, RAID can provide automatic failover redundancy in case of a disk failure. Free backup tools such as rsync and Bacula are available for putting together automated backup schemes of arbitrary complexity. Version control systems such as Subversion can provide flexible data management so that you can not only have backups on another computer, but you can keep more than one desktop or laptop system up to date with the same data without a great deal of difficulty. Using subversion in this manner saved my bacon in 2004 when my working laptop suffered a catastrophic drive failure, emphasizing the importance of regular backups of critical data.
  7. Encrypt sensitive communications. Cryptographic systems for protecting communications from eavesdroppers are surprisingly common. Software supporting OpenPGP for e-mail, the Off The Record plug-ins for IM clients, encrypted tunnel software for sustained communication using secure protocols such as SSH and SSL, and numerous other tools can be had easily to ensure that data is not compromised in transit. In person-to-person communications, of course, it can sometimes be difficult to convince the other participant to use encryption software to protect communications, but sometimes that protection is of critical importance.
  8. Don’t trust foreign networks. This is especially important on open wireless networks such as at your local coffee shop. If you’re careful and smart about security, there’s no reason you cannot use a wireless network at a coffee shop or some other untrusted foreign network, but the key is that you have to ensure security through your own system, and not trust the foreign network to be safe from malicious security crackers. For instance, it is much more critical that you protect sensitive communications with encryption on an open wireless network, including when connecting to Web sites where you use a login session cookie to automate authentication or enter a username and password. Less obviously, make sure you don’t have any network services running that are not strictly necessary, as they can be exploited if there is an unpatched vulnerability. This applies to network filesystem software such as NFS or Microsoft CIFS, SSH servers, Active Directory services, and any of a number of other possibilities. Check your systems both from the inside and the outside to determine what opportunities malicious security crackers may have to attempt to compromise your computer, and make sure those points of entry are as locked down as reasonably possible. In some respects, this is just an extension of the points about shutting down unneeded services and encrypting sensitive communications, except that in dealing with foreign networks you must be especially stingy with the services you allow to run on your system and what communications you consider “sensitive.” Protecting yourself on a foreign, untrusted network may in fact require a complete reworking of your system’s security profile.
  9. Get an uninterruptible power supply. You don’t just want a UPS so you won’t lose files if the power goes out. There are other, ultimately more important reasons, such as power conditioning and avoiding filesystem corruption. For this reason, make sure you get something that works with your operating system to notify it when it needs to shut itself down, in case you aren’t home when the power goes out, and make sure you get a UPS that provides power conditioning as well as battery back-up. A surge protector simply isn’t enough to protect your system against damage from “dirty” power. Remember, a UPS is key to protecting both your hardware and your data.
  10. Monitor systems for security threats and breaches. Never assume that just because you’ve gone through a checklist of security preparations your systems are necessarily safe from security crackers. You should always institute some kind of monitoring routine to ensure that suspicious events come to your attention quickly and allow you to follow up on what may be security breaches or threats to security. This sort of attention should not only be spent on network monitoring but also integrity auditing and/or other local system security monitoring techniques.
Other security precautions may apply depending on the specific OS you use. Some operating systems provide additional challenges to security because of design characteristics that produce a less-than-optimal security profile, and some operating systems grant the knowledgeable sysadmin capabilities for increased security that may not exist elsewhere. All of this should be kept in mind when securing your system, whether using proprietary systems such as Microsoft Windows and Apple Mac OS X or open source systems such as your favorite Linux distribution, FreeBSD, NetBSD, or even the very security-conscious OpenBSD.
Only in the very rarest of circumstances is a default install of your OS of choice, with no further thought to securing the system, truly sufficient. Start with the above enumerated security concerns regardless of your operating system, then consider the specific security needs and opportunities of your platform. Don’t leave the integrity of your system’s security up to luck.

Thursday, October 18, 2007

& Techniques for Managing ICT Staff

This info i taken from http://techrepublic.com.com/ with original title 7 techniques for manging your technical staff.


In my last blog, I talked about some of the general characteristics of an IT project team. For example:
  • They tend to be introverts
  • They tend to think more logically than emotionally
  • They tend to be problem solvers
  • They tend to be technically creative
Knowing some of the characteristics of your technical staff allows you to better understand how to manage them effectively. Applying some or all of the following techniques will help you create a more conducive work environment where people can excel.
Give them the tools that need to do their jobs.
Establish an environment where people feel they have what they need in order to do their jobs. This includes having appropriate hardware and software. It doesn’t necessarily need to be state of the art, but it should be of acceptable quality. Because they’re in the IT field, IT people get frustrated when they don’t have the right hardware and software to do their jobs effectively.
Make sure they have the right skills and provide opportunities to learn.
IT people love to learn new things. Managers should make sure their people have the skills needed to do their jobs and that they receive opportunities to grow into new technical areas. This doesn’t have to be third-party training classes. It can include computer-based training, seminars, webinars, books, magazines, etc. Also, once someone has mastered a certain skill and they start to become bored, look for ways they can cross-train and learn new areas of the group.
Create a viable work environment.
Technical people like to understand the work processes in the group, and then they like to be creative in working within that structure. So, set the high-level rules, but don’t micromanage the details.
Give people as much information as they need to do their jobs.
Managers should strive to be proactive communicators. Remember, many IT people are introverts who like to process information internally. They may or may not come up to you and ask you what’s going on all of the time. Managers should make sure that they communicate as much as they can about what’s going on in the company, their organization, and their group.
Shield the team from office politics
Don’t let your team get bogged down in the organization muck. This means removing organizational roadblocks and shielding the team from organizational politics. IT people will tend to get cynical fast if they feel like a political environment is affecting their work or in decisions that affect them.
Make sure each person remembers he’s part of a team.
Even though IT people tend to be introverts, it doesn’t mean they prefer to work alone. IT staff may prefer to work independently, but they also like being a part of the team. Managers should nurture this need. For instance, they should have regular team meetings. Managers should also make sure they have opportunities to do fun stuff as a group - even if it’s just going to lunch together once in a while.
Be there when needed and respond to problems and concerns.
Not all problems can be fixed, but many times the simple act of listening and trying is enough. People will give you credit for trying, even if the ultimate resolution to a problem isn’t available.
You might note that many of these management techniques are not unique to technical staff in general or IT staff in particular, but they’re particularly applicable to the IT staff.

Saturday, June 09, 2007

Suddenly My Windows XP Log In Then Log Off

Sign and Symptom

After we click the user account , It starts logging and the message (loading personal settings) starts, but suddenly during logging in it log's OFF and the message (Saving your personal settings) and goes back to the main screen with the three users icons. In Save Mode also the same things , you cannot do anything to log in into your account.

Diagnosis
Missing file or changing of the value Userinit key

Solution

A.Userinit-Missing

1.Boot into Full Support NTFS DOS
2.Check Userinit from c:\windows\systems32
3.If the file missing , copy from the other computer
4.Reboot

B.Editing Registry

1.Get Offline Registry Editor from http://home.eunet.no/~pnordahl/ntpasswd/
2.Get the Bootable CD - Using any software burn into the CD
3.Boot the CD
4.Load the 'software' registry
5.go to the full registry editor
6.Search for Microsoft/Windows NT/CurrentVersion/Winlogon key
7.Look the value of the Userinit subkey.
If it's not "C:\WINDOWS\System32\userinit.exe,", then change it.
8.Quit and save
9.Reboot
C. If got a large and partition hardisk.
1. Install another windows xp in the other partition
2. copy an userinit from windows/systems32(this from new OS)
3.then paste to the old windows XP

Tuesday, May 29, 2007

Apa itu Pfsense@Firewall?

Firewall
Firewall adalah alat keselamatan teknologi maklumat yang terletak ditengah hubungan rangkaian dan mempunyai tugas untuk memeriksa data yang keluar/masuk atau memjadi pusat pengesahan bagi aktiviti rangkaian dan sebagai benteng pemisah bagi sesuatu sistem rangkaian.

Apa itu Pfsense ?

Apa Itu Firewall
Sebelum kita tau Pfsense kita kena tau , apa itu firewall. Firewall = dinding terbakar ... hehehehehehe. Ntah kalau ikut direct translation , pening gak yer. Ok

Macamana nak Install Pfsense

Ok , hari ini aku dah decide nak wat firewall guna pfsense. Pfsense ni adik beradik dengan monowall. Aku pun x penah lagi explore benda ni. Hehehee excited gak nak wat benda ni. But anyway aku nak plan dulu. Nanti aku cadang nak letak kat cni step dia. leh jadi bahan rujukan. Sebab dulu banyak yg aku buat tapi akhir nyer lupa dan bila nak refer x tau kat ner nak cari. Ok doakan kali berjaya

Saturday, February 10, 2007

Torrent Slow or No Connection - ByPass TM - Proxomitron

Ok , sejak kebelakangan ni ramai yang dapati torrent makin slow, aku pun cari info kat net. Kebanyakan kata TM dah block P2P.Jadi mmg torrent ada problem. Aku lak dapat donlod tetapi kekadang tu slow sangat. tensen tul .. donlod NARUTO pun lambat ...

Jadi aku pon try la cari solution kat mesin carian (search engine - google la .. hehehehe) ni yang aku dapat .. Korang try jugak .. nanti kasik la feedback yup kat sini .. ok ker solution depa ni ..


Hi warga jiwang torrent?
Ramai user mengeluh disebabkan tak boleh nak connect ngan tracker.. sebab apa aa? semua utorrent, bitcomet, azureus dan lain2 akan mengeluarkan error : ?Connection Closed By Peer?? senang citer upload tarak, download tarak?
Jadi ada satu cara utk kite bypass keje org TM ni? camner?
Ikuti tips yang telah dibuat oleh zeroxxx :
Step 1 :
Download PROXOMITRON
Step 2 :
Lepas dan install, tutup la semua program dan jalankan PROXOMITRON
Step 3 :
Akan kuar la dialog nih :
Step 4 :
Kat dioalog utama PROXOMITRON ada button HEADER
Step 5 :
Scroll dan carik User Agent: SpaceBison (Out)
p/s : Korang juga boleh create user agent sendiri? Klik New dan masukan nilai2 tertentu.. nanti aku tunjuk contoh kat bawah? macam dalam gambo tu, User agent aku : User Agent: TM Babi (out).. sori terkasar bahasa?
Step 6 :
Tadaaa? dah setting pon menatang PROXOMITRON tu? senang kan?
pastu jom setting client korang? dalam contoh ni aku ajar utorrent.. lain2 korang explore sendiri k?
Pergi menu OPTION -> PREFERENCE atau CTRL+P
dan pergi pada menu CONNECTION
Pastu korang buat la cam dalam gambo tu?
Pastu siap? dan berjaya? korang leh sambung balik ke tracker? yeayyyy!!
_____________________________________________________________________________
Ni contoh kalo nak buat header baru :

Headers
"> NEW
Ok la? tu la tutorial yang telah ditunjukan oleh zeroxxx.. TQ zeroxxx? minta izin aku ubah sikit2 ye? hehehe?.
Lain-Lain :
Satu lagi? korang juga leh setting kat Internet Option :
Cara dia =
Start "> Control Panel "> Internet Option "> Connections
Ori Link :
Others Reference Link :

Pengurusan Air Untuk Ternak Ikan Air Tawar

Kriteria Air Berkualiti - Kimia: Kandungan Oksigen Terlarut (DO): Lebih daripada 4.0 mg/l (Disyorkan lebih daripada 5.0 mg/l) pH: 6.5 - 8....