Sunday, October 25, 2009

13th October 2009

I think that today's lab is the most attractive lab for me because Mr. Zaki is going to teach us how to hack a wireless password of a modem. We need wireless NIC (USB) and a software called backtrack or backtrack 2, 3 and 4.

First of all, Mr. Zaki ask us to find out a network called D-Linkvia wireless through our pc and connect it and the password give is '1a2b3c4d'. We using command prompt to login with the username is 'root' and the password is 'toor'. While for the backtrack, Mr. Zaki gave us a link and ask us to download from the website, the link given is www.remote-exploit.org/backtrack.html. Then we have to confirm whether the wireless card has been switch on and we start to check it out with command prompt. Type 'ipconfig' to know whether the network card can be used then type 'iwconfig' to know whether the wireless network card can be used.

According to Mr. Zaki, real key is set on wireless access point, 24 key is given by the IV and 40 key is given by ourselves. Next if want to switch on the rausb 0, then type 'ipconfig rausb0 up' in the command prompt to switch it on. Then a problem comes again, how to get to know whether it has been switch on? The answer is type 'ipconfig' again, then type 'iwconfig rausb0 mode monitor' following by 'iwconfig' nad we will see the 'Mode: Monitor'. After that, start the backtrack and plugin USB.

There are a lot of backtrack tool can get to hack computer. One of the way is type 'kismet' to scan the wireless. By doing that we can find all the information of D-Link. 's' is for sorting while 'b' is to sort according to BSSID. We need an encryption key here. Then we press 'q' to reach to Network List screen. Use airodump to cache the packet and save it in some path. Type 'airodump-ng --ivs -w output-abg rausb0' where the 'output' is the filename and rausb0 is the wireless network card.

After that, we need to type 'aireplay-ng -3 -b 00:1E:58:FB:57:ED -h 00:22:6B:A9:59:AF -x 1024 rausb0' where the first address is the MAC address, and the second address is local MAC address. While we do send a lot of packet to the network, it will send back some response too as feedback. We need to know how many IDs have cached. But don't worry, because Mr. Zaki mention that we can get the password even with a few of IDs have cached. Next, Type 'aircrack-ng -0 -n 64 -f 4 output-06.ivs' where 'output' is the file name, this command is to used to get the password.

Well, seems like we already reach our target today because we learnt the way to hack password and Mr. Zaki ask we not to use it on wrong way but what i feel the deepest is that I'm success learn what I want along this time.

Saturday, October 24, 2009

Lecture, 12th October 2009
Law and ethics, this is today's lecture title. Please don't doubt on the title, this is really cover in our Information Security's topic. Law is a rule of conduct prescribed or formally recognized as binding or enforced by a controlling authority and implies imposition by a sovereign authority and the obligation of obedience on the part of all subject to that authority. There are several categories of law like civil law, criminal law, tort law. Law can divide into private law which is law that regulate in some organization and public law which is regulating by the structure and administration of government. While for ethic, its definition is a set of moral principle or values, the principles of conduct governing an individual or a group, and an objectively defined standard of rights and wrong.
Well, ethics are always related to information security by several concepts which are differences across cultures, software license infringement, illicit use misuse of corporate resources and education. It is necessary to protect our data and programs so there are some laws regulate. Copyright, patents and trade secret are the methods. Since the copyright protection not only for the licensed program but also for open source program so the developer of an open source program can sue the one who sold his product without permission.
We should maintain the good ethics and obey the laws to reduce the IT criminal in order to produce a fair environment for the benefit among organization and among individual.

Lecture, 5th October 2009
Wireless security is the title of today's lecture. There are four types of wireless LANs which are 802.11, 802.11b, 802.11a, and 802.11g. Mr. Zaki said that 802.11g is is the most good features among in the wireless types, it support up to 54 Mbps in 2.4GHz range. The 802.11g contains 3 non-overlapping channels.
The standard wireless is Open System Authentication. An access point can broadcast their SSID (Service Set Identifier). SSID needed when a station need to access an access point. Access Control List (ACL) is a list that allowed MAC addresses but this is no good to access a station with this method because MAC address is sniffable and spoof able.
There are three basic security services define by IEEE for the WLAN environment which are Authentication, Integrity, and confidentially but 802.11b only provided authentication and encryption for security service. All the security provided can be attack by using some tools like Wepcrack or Airsnort. Therefore after that, WPA is used to fixes WEP’s problem but still this can be attack with using pre-shared key mode or Denial of service attack.

Lab, 29th September 2009

Unfortunately, we cannot have our lecture on time, the lecture was cancel because of the electric power blows off and the result is we change our lecture class to the Tuesday lab.

Then when in the lab session, our title for that is Security in Application. Email is the part will always involved in the application. There are five types of security provided in email which are 'Confidentiality', 'Data origin authentication', 'Message-repudiation of origin' and 'Key management'.

There are two main groups of Email security threat, so it is very unsecure when we using email. The less of confidentiality, integrity, lack of data authentication, lack of non-repudiation and lack of notification of receipt are the main causes of unsecure way to use email. There got a lot of example of threat, and one of them is spamming. Spamming will cause the bandwidth wasted and decrease productivity. So that, encryption play an important role to ensure security when we send the email. S/MIME and PGP are the two main encrypt function for confidentiality and signature for non-repudiation.

Mr. Zaki also taught us about SSL/TLS, SSH, and SET. E-commerce like electronic banking is always secure by SSL/TLS while SET is an open encryption and security specification designed to protect credit card transaction on the internet.

Biometric is the measurement and statistical analysis of biological data. It is use the unique for each person to identify a person for example finger print, ear and etc. There are dynamic and static biometric. Static is authentication based on a feature that is always present while dynamic is based on a certain behavior pattern. Finger print recognition, retinal scan, iris scan and hand geometry are static biometric while signature recognition, speaker recognition, and keystroke dynamics are the dynamic biometric.

Lab, 15th September 2009
Security in Network, this is what consisted in lab 7. There are two tasks for us to complete in this lab. Of course without explanation of Mr. Zaki we wouldn’t able to understand what we going to doing in this lab. Mr. Zaki has briefly describes on how to perform lab task when we start our lab which involved two tasks.
During the lab, we need to install software in virtual machine and create two virtual machine which are winserv03_server and winserv03_client. The window server needs to install Wireshark. Firstly, our task is to capturing File Transfer Protocol (FTP) username and password. So through Wireshark we can easily see the password and username that used FTP. It has proved that the FTP is unsecure to use.
The client and server OS need to check whether the Internet Information Services (IIS) and the FTP server have been installed. After that we have to activate them then we have to type several commands which are 'ftp', 'open', 'ip address of the server OS', 'username', 'password' and 'bye'. We can capture the packet transfer by opening the Wireshark. Because of that, the username and password of the administrator are revealing.
IPSec introduce in this lab so cover the disadvantages of FTP transmission. It provide two basic mode transport and tunnel mode. After I use the IPSec I feel that this is more secure because it is support with authentication and confidentiality.

Monday, October 19, 2009

Lecture, 14th September 2009
What a normal lecture again on Monday. Mr. Zaki conducted the lecture 6 for information security BITS 3423 in lecture room of 11. Today's lecture title is Security in Network.
Mr. Zaki has started the lecture with some introduction about this lecture. I felt that I can't concentrate in this lecture, maybe that's because I have many assignments to do recently and that makes me always can't sleep well at night. According to Mr. Zaki, hacker, spy, student, businessman, ex-employee, stockbroker and terrorist are the people who will cause security problem. Three types of hackers white hacker, grey hacker and black hacker which have different characteristic are available on the network system. The hacking phase is started with reconnaissance, scanning, gaining, maintaining access and covering tracks. Threats in network includes security exposures, impersonating, eavesdropping, denial for service, packet replay and packet modification while network security control includes encryption, strong authentication, Kerberos, Honeypot, and firewalls. Mr. Zaki continues on explaining the more details about the types of encryption which involved the layer 6 or 7 in the OSI model. Other than that, he also mentioned about the SSL (Secure Sockets Layer) encryption.
After that, everything seems like under prediction, Mr. Zaki continue explained and give examples for the Kerberos, Honeypot and firewalls. The lecture is ended on time today, no additional question from us. I think the other students also worry busy for their other assignments and it’s normal because we already pass our mid SEM. We are now busy for the final projects.

Lab, 25th August 2009
This is a lab that aims to install MySQL front and server for practical. We just follow Mr. Zaki's instructions to do this lab. At first, I can't install it because there are some errors before i proceed to the finish step. We asked Mr. Zaki to check out what's the problem. He found that got another people install it with another password so he taught us to type it in command prompt set password for root@localhost = old password ('abc123') to reset the password.
The next step is we have to use the SQL front to create a table and scheme that required in lab section. We have to set privilege for the database by choose the user account control at the top menu bar to set it. We learned the way to prevent potentially aggregate by accessing the data items individually. The steps are a bit complicate and we are confused sometime.
This is a quite short period lab, we felt happy because we can end our lab earlier.
Lecture, 24th August 2009
Today we are on lecture 5, the title is Database Security. It is the protection that is located in database from unauthorized access. Mr. Zaki first stated the concepts of this chapter which included Database, DBA (database administrator), and DBMS (database management system). He also highlighted for us that securing the data is important because some of information is critical resource in enterprise, prevent legal, professional direct marketing corporations and securing data can be a billion dollar industry.
Next, Mr. Zaki stated 4 levels to enforce to achieve the security which are physical security, operating security, DBMS security, and encryption. But there are some problems is that operating and DBMS cannot provide a satisfactory solution to the database problem so this problem is only can solve by using encryption methods.
After that, Mr. Zaki wants us to discuss about how to achieve database integrity. We have the results then such as field checks, access control and change log. This ways may help to maintain the integrity of a database and discover who had affected what values and when.
This lecture is all about the database security, many things I have to remember in this lecture and I feel that I got more and more things to remember for this subject, it challenge me.
Lecture, 17th August 2009
Mr. Zaki came late to lecture today. When he came he straightly started his lecture which title is Operating System Security. Mr. Zaki explained the operating system security background and what the operating system protects are memory, sharable I/O devices, serially reusable I/O devices, sharable program and sharable data.
There are several seven levels of protection which show on slide. Mr. Zaki then explain to us the methods use for memory protection which are fence, relocation, base/bound registers, tagged architecture, segmentation, paging and paging combined with segmentation. The explanations are show in slides which are in diagram forms; I think that if without the diagrams, there are harder for us to understand the methods. Each method are explained in details in the slides, Mr. Zaki has took plenty of time to explain the memory protection methods.
Authentication can divided into two contexts which are Entity authentication (EA) and Data Origin authentication (OA). Secret keys such as DES and AES algorithms are used in symmetric system. Both sender and receiver use the same key to encrypt and decrypt. Asymmetric system uses two-part key which are RSA and EI Gamal. Each recipient has a private key that is keep secret key and public key that is published to everyone. The private key is never in transit and remains invulnerable because the sender looks up or is sent the recipient's public key and uses it to encrypt the message and the recipient uses the private key to decrypt the message and never publishes or transmits the private key to anyone. After that, Mr. Zaki moves on to the password. He explained about password which is a character of strings that used to authenticate an identity or a user.
Lastly, Mr. Zaki conducted a pop quiz for us based in lecture 2, I feel a bit nervous but I completed the quiz in my best. The lecture ends up after the quiz.
Lab, 18th August 2009
This is a combine lab which Mr. Zaki decided to combined lab 4 and lab 5 in this lab which the first hour for lab 4 and the second hour for lab 5. Mr. Zaki taught us cryptography and web application security in this combine lab.
In the first hour, Mr. Zaki has given us some exercise for Caesar Cipher and Vignere Cipher. We also have learned the calculation for RSA algorithms. What is RSA algorithm? Here is some formula which related to the algorithms. Given n = p*q, where p and q are prime number, n is (public, calculated). For public chosen, e = gcd (O (n), e) = 1; 1
We then continue our lab 5 in the second hour of the lab section. Mr. Zaki discussed some of the vulnerabilities based on OWASP such as cross site scripting (XSS), injection flaws, and malicious site execution. Cross site scripting (XSS) happen when a web application accepts the input without validate the content. To prevent this, there are some steps which are input validation, strong output encoding, specify the output encoding, do not use "blacklist" validation, and watch out for canonicalization errors.
Injection Flaws like SQL injection is causing the web application to run an SQL code that will not intended by the application. Injection Flaws can manipulate the SQL statement with 'or 1 = 1-- OR 'or '1' = '1'--. It will return all the data from the table user. The following steps are taken to prevent injection flaws OWASP project.
- Input validation
- Use strong type parameterized query APIs
- Enforce least privilege
- Avoid detailed error messages
- Use stored procedures
- Do not use dynamic query interfaces
- Do not use dynamic query interfaces
- Do not use simple escaping functions
- Watch out for canonicalization errors

Malicious File Execution is another web application vulnerabilities caused by falling to control application input. The web application manipulated by this type of attack to become the attacker remote terminal to execute command line instruction. There are some steps to prevent this vulnerability, there are add firewall rules to prevent web connection to external website and internal systems and check user supplied files or filename cannot obviate other controls. For the PHP part, the steps are disable allow_url_fopen and allow_url_include in php, disable register_globals and use E_STRICT to find uninitialized variables, and ensure that all file and stream functions (stream_*) are carefully vetted.
Lecture, 10th August 2009
This week Mr. Zaki talked about Program Security. Mr. Zaki has briefly explained that fault is inside view of developer while failures are outside view of user. a failure normally occurred because of fault. He also mentioned vulnerabilities most commonly found in web application.
Next, Mr. Zaki mentioned that program errors are generally divided into two types which are malicious and nonmalicious program error. There are two types of nonmalicious program errors which are buffer overflow and incomplete medication. Nonmalicious program errors are unintentional error which causes by mistake made by programmers and developer. it will caused program fail to function but do not lead to serious security vulnerabilities.
According to Mr. Zaki, malicious code exploits the weaknesses in computer software and intends to cause undesired effects to a system. Malicious program can be divided into need host program and independent malicious program. Trapdoors, logic bombs, Trojan horses and viruses are categories in need host program malicious while bacteria and worms are in the independent malicious program. Mr. Zaki has focused on virus and worm when he explained some of the malicious code.
The explanation of Mr. Zaki let me understand that Trojan horse is a program which masquerades as a legitimate program but does something other than what was intended. Virus is a program which when executed can add itself to other program without permission. It normally hides in a compiler, database manager or a file manager. So, there are creations of detection tools, identification tools and removal tools are used to protect against viruses.
The different of worm compare with virus are that it does not require a host program in order to survive and propagate itself; it sends itself to other computer through a network connection. Mr. Zaki said that worm propagate normally by email, it will caused network shutting down suddenly. On other hand, bacteria does not affect network but it will replicates itself until fills all disk space.
Lastly, Mr. Zaki explained on the attack associated to program error. He said that cross site scripting, injection flaws and malicious execution are three most important attacks which will cover in lab section.

Lab, 28th July 2009
The title of lab 3 is Authentication and Basic Cryptography. We need to log on to Windows 2000 servers as Administrator and the computer at my seat didn't installed Windows 2000 servers so I shared computer with my friend.
We have to complete five tasks before we leave the lab so we start doing our tasks right after the tutorial by Mr. Zaki. For me, this lab is quite easy because we just have to follow the instructions in lab sheet. Sometime I think students may not learn anything if they just follow the instructions without reflect on the details of each task. For example, when I ask some of my friend about the task, they can't answer me so I think we should learn but not follow the instructions when in the lab.
I learned how to encrypt my data from being hack by others. There are many ways like set the password length and the password have to meet the complexity requirement so that our private data may be more secure from hacker. Other than that, I also learned how to set account lockout duration which means I can lock my account after three times fail to login my account. We had did experiment to prove the effectiveness of the ways.
I think I had learned many in this lab and I wish I have chance to use it in my future time.
Lecture, 27th July 2009
Third lecture on this subject, Mr. Zaki continue the last part that he stopped on last week. Mr. Zaki continues on Vigenere Ciphers, the Vigenere Ciphers uses a Vigenere Square to perform encryption. Vigenere Square is a square compose by a lot of alphabets which column of this square contains the English alphabet and for each letter, the row determined by that letter contains a rotation of the alphabet with that letter as the leading character.
Then Mr. Zaki mentioned about Transposition which mean rearrange the letters. There are two types of Transposition which are Unkeyed single transposition and keyed single transposition. Modern Algorithms use sequence of binary digits (bits), that is, zeros and ones such as ASCII. There are number of ways in these encryption algorithms like stream ciphers and block ciphers.
Next, Mr. Zaki has talked about MAC (Message Authentication Codes), Hash Function, CA (Certification Authority), PKI (Public Key Infrastructure) and RSA.
After the explanation about RSA, Mr. Zaki gave us a few of questions. He did this for text us weather we understand the lesson or not but this kind of encryption question is quite out of my ability so I can't do it. Mr. Zaki knew it and he answer the questions for us, thank you. I realized that this subject has its difficulty for me to understand so I think I should put more effort on this subject.
Lab, 21th July 2009
We all hate hot weather, hot weather plus no air condition in a covered room? NO WAY! Why I mention so? Is it related to my lab?
Second lab for the subject of Information Security, when I stepped in the lab I felt something incorrect, why so hot in the lab? We found out that the air condition in the lab was not work at all and that's why later on we all sweated in this lab period.
The title of second lab is The Goals of Information Technology Security. Confidentiality, Availability and Integrity are the goals and to show these goals, there are four tasks for us to implement.
The first task is Using NTFS to Secure Local Resources and second task is Data Confidentiality follow by the third and fourth tasks which are Data Availability and Data Integrity. We all did the tasks steps by steps which given in the lab sheet. FAT does not offer local file security while NTFS is the file system for Windows server 2003, is designed with local file security in mind. So we are try to convert FAT to NTFS to make the local resources are secure. Thanks for Mr. Zaki because he taught us how to create a FAT disk which used for transforming to NTFS disk later on. After one and half hour, I finished all my four tasks and I felt extremely tired and hot.
I realized that there is really suffer to study in hot condition and I hope the technicians may solve this problem and don't let it happens again.

Lecture, 20th July 2009
Second week lecture of BITS 3423 Information Security, Mr. Zaki a bit late today. I'm chatting with my friends while waiting for him.
After 10 minutes, Mr. Zaki came. Without waste any time, he switches on the projector and the slide was launched out. "Lecture 2 Authentication & Basic Cryptography", this is what showed on the screen and I’m strange to it. Mr. Zaki started to explain what authentication is by giving us its definition which is verification of identity of someone who generated some data. Only I knew that this chapter is all about how to protect our data with password. This is what I want to understand long time ago so I kept concentrate in this lecture.
According to Mr. Zaki, there are many ways to crack a password and a password can cracked faster and easier with the computing technology today. So to make sure our private data are protected, a good password is required. This lecture taught us how to choose password and there some password selecting strategies showed in the slide.
Next is about Cryptography Concept. To disguise information for example, from plaintext to ciptertext need a key along in the transmission process to prevent unauthorized people gaining access to it. Substitution and Transposition are the methods that use in cryptography algorithm. Caesar Ciphers is one of the earliest substitution cipher described by Julius Caesar in the Gallic Wars. The slide had showed some simple substitution ciphers for us and I just realized that people in ancient time already knew how to encrypt, that's make me felt amazing!
This is a quite long slide and Mr. Zaki needs more time to explain to us. We are lack of time so we will continue the lecture next week. Waiting for it.
Lab, 14th July 2009
The lab always after the lecture, this is because we learn theory in the lecture first then do practical in lab.
Today Mr. Zaki gave us a task that is installing the VMware workstation. First we installed the VMware by follow our lab sheet, the steps of installation is important so we have to follow and understand them. After that, we saw a interface of VMware. We created a virtual machine by click on the related icon. As the next task the virtual machine will be installed with Windows Server 2003, so the type of OS to be installed on the virtual machine is Microsoft Windows. Once the Windows Server 2003 had installed the task of today's lab is finish.
Every one of us can do that easily, according to Mr. Zaki, VMware software provides a completely virtualized set of hardware to the guest operating system.
This first lab is about the introduction to Virtualization & VMware and I believe there's more on next lab, I’m awaiting for it.
Lecture, 13th July 2009
Today is my first day to this lecture, BITS 3423 Information Security. I was late entered to lecture room because my faculty is just move to this new campus, so this is a brand new environment for me. Before the lecture start, our lecturer, Mr. Mohd Zaki conducted a quiz for us. The quiz was quite interesting because it is in crossword puzzle style, i have never try a quiz like this before. After the quiz, Mr. Mohd Zaki had introduced what is information security, he explained it clearly and also showed some example to back up his explanations.
The lecture was started after fifteen minutes. The first lecture today is introduction to information security, there are some subtopics in this first lecture which include security architecture, security principles, security policy, security attacks, methods of defense, security services and security mechanisms. Before we go more into this subject, what we want to understand first is what security is. according to the lecturer, the definition of security is the quality or state of being secure that is to be free from danger and to be protected from adversaries – from those who would do harm, intentionally or otherwise. Next, information security is the protection of information and the systems and hardware that use, store, and transmit that information.
Mr. Mohd Zaki is a nice lecturer because what I could see and feel is he wouldn't read the slide straightly but explain it clearly by his own words. I think students can understand more about information security from Mr. Mohd Zaki compare to other lecturers. Besides that, he is also a quite humor lecture, he could make some jokes which related to a point of the lecture, that attracted me when in his lecture, I wouldn't feel tired or sleepy like other lectures, I think my course mate will feel so.