CISA Made Easy

                                           - easy CISA preparation

Showing posts with label Protection of Information Assets. Show all posts
Showing posts with label Protection of Information Assets. Show all posts

Thursday, December 4, 2008

IPsec & Encryption

This post is in relation to a question asked by reader

Question:

Angus has left a new comment on your post "IP Security & Authentication Header (AH)":

May I ask a question about IPsec?
Which of the following VPN methods will transmit data across the local network in plain text without encryption?

A. Secure Sockets Layer (SSL)
B. IPsec
C. Transport Layer Security (TLS)
D. Layer 2 Tunneling Protocol (L2TP)
The book answer is B, but why? IPsec does provide the encryption, dosen't it?


Answer:

You are perfectly right IPSec do provide Encryption.


Let us see each choice one by one:

A. Secure Sockets Layer (SSL)

SSL is the predecessor of Transport Layer Security (TLS).SSL encrypts data of OSI Layer -4 and provide end to end connectivity


B. IPSec

IPSec helps in
i. Authentication
ii. Encryption

Encryption is decided by Security Association (SA)



C. Transport Layer Security (TLS)

TLS also encrypts data of OSI Layer -4 and provide end to end connectivity and is actualyy successor of SSL.



D.Layer 2 Tunneling Protocol (L2TP)

L2TP is essentially a Layer 5 Protocol.It does not provide encryption by itself. With the help of IPSec encryption is provided for data transfer.




So, in my view, the corect answer should be D. Layer 2 Tunneling Protocol (L2TP) and not the B. IPsec.

Read More......
Readers who visited this post also read :

Monday, December 1, 2008

Volatile and Non-volatile memory

This post is in relation to a question asked by a reader

Question:

Angus has left a new comment on your post "10 things you must remember about Antivirus":

Sorry, I can't find a proper subject appropriate for my question, so I post it here.
The question:
Which of the following is the best description of nonvolatile data?
A. Contents of random access memory
B. Data on the hard disk
C. Data acquired by forensic recovery
D. Data from logical disk backups
The book answer is B, but I thought the answer c, data acquired by forensic recovery is the most nonvolatile data.
Can PassCISA please correct my thoughts, thanks a lot.


Answer:
Dear Angus,

Thanks again for sharing your doubts.

Before solving this question please remember the basic difference between Volatile memory and Non volatile meory.


Volatile Memory -

Volatile memory is memory which loses its contents when the computer is switched off or power is lost.

Example- Random Access Memory (RAM).


Non Volatile Memory -

Non Volatile memory is memory whose contents remains intact even if the computer/hardware is switched off or power is lost.
Example - Hard Disk, CMOS Memory,CD,DVD,Floppy,tapes etc.


Now let us discuss the choice one by one.



1. A. Contents of random access memory- contents of RAM - By above definition this is a volatile memory.
2. B. Data on the hard disk - By above definition this is a Non volatile memory

3. C. Data acquired by forensic recovery - This could be a combination of Volatile and Non-volatile memory.
Most important data recovered for forensic purpose is that of a RAM which is a Non volatile memory.

4. D. Data from logical disk backups -By above definition this is a volatile memory

So, the answer of the book is correct and the correct answer is B and not C.

Read More......
Readers who visited this post also read :

Monday, November 24, 2008

Two factor authentication using digital certificates

This post is in relation to a question asked by the reader

Question:

Angus comment on post "Certificate Authority for CISA Exam - its all abou...":

May I ask a question about how Digital certificates (also known as a soft token) can be used for two-factor authentication? Thanks a lot.

Answer:

Two factor authentication means use of following two factors:

  1. Something You have
  2. Something you are/Something you know

Let us first see what could be the one factor authorization. One factor authorization involves something you know- your user name and password. Best thing would be to combine this to something you have – digital certificate. The combination of these two will make this Two factor authentication.


Following will be the steps for simplest two factor authentication using digital certificate:

  1. User account is created
  2. User is linked to an unique digital certificate in the certificate database.
  3. An unique digital certificate is installed in the user's system.
  4. Through PKI user's digital certificate is verified and user is allowed to use SSL services.
  5. By using user name and password created user gains access to the resources.

Benefits of using Digital Certificate for two factor authentication are:

  1. Lower costs
  2. Easy to use
  3. Availability of many standards.

Read More......
Readers who visited this post also read :

Wednesday, November 19, 2008

IP Security & Authentication Header (AH)

IP Security (IPSec) is a super set of protocols which to large extent ensure security of Internet Protocol (IP). Beside Internet Key Exchange (IKE) two other important protocol supported by IPSec are

1. Authentication Header (AH)
2. Encapsulating Security Payload (ESP)


This article intends to briefly discuss about Authentication Header (AH) part of IPSec. IKE and ESP will be discussed seperately.


Role and benefits of Authentication Header (AH)

Following are the functions/benefits of Authentication Header (AH):

1. Connectionless integrity protection
2. Datagram Authentication
3. Replay attack Protection


Architecture of Authentication Header:

Following diagram will explain the architecture of AH:





By the above diagram it is obvious that AH fits itself into datagram and with the help of Integrity check value (ICV) datagram integrity is ensured.Sequence number of AH provides protection against replay attack with the help of sliding window.



Implementation of Authentication Header (AH)
Authentication Header (AH) can be implemented in following ways:

1. Single implementation of AH
2. Implementation along with Encapsulating Security Payload (ESP)
3. In tunnel mode

Read More......
Readers who visited this post also read :

Monday, October 27, 2008

Access Control in UNIX based operating systems

A lot of UNIX based operating systems are available. Although basic architecture is same for all these Operating System but they varies in functionality. Following are some of the important UNIX based OS:

Solaris,
SCO UNIX,
Linux- Red Hat, Fedora,
BSD – Open BSD, NetBSD, Free BSD
HP-UX
AIX
Darwin
Mac

In Unix based information system following measures are very much required to ascertain proper access control.



CISA Exam may not ask platform specific question. Similarly the directory structure and commands may not be asked. CISA aspirants need to know the basic concepts behind these only. I am providing these details for Information Security Professionals and IS Auditors.



1)Root access Control

Root access can be controlled by configuring one of the following:

a. /etc/default/login
b. Sshd.config
c. Ssh.config


2)Remote Access Control

Remote access can be controlled by configuring one of the following:

.rhosts
.netrc

The use of the following should be strictly on need basis as per predefined policy:

a. rlogin – remote login
b. rcp- remote copy
c. ftp – file transfer protocol
d. telnet – remote connectivity


3)Restrict su capabilities to a few

4)Role Based Access Control (RBAC)

RBAC can be configured by following:

a. etc/security/auth_attr - deals with attribute related to authorization
b. etc/security/prof_attr - deals with attribute related to profiles
c. etc/security/exec_attr- deals with attribute related to execution
d. etc/user_attr - deals with attribute related to users and roles

5)File System Access Control Lists (FACL)

By following command the FACL information may be obtained:

getfacl –ad

this will give nessacary information like

filename
file owner
file group owner
ACL
Or default ACL

The command setfacl with parameters may be used to set ACLs.

6)Password Aging

The periodic password agiing should be implemented by using

/etc/default/passwd


7)System Log management

This should be done to know

Event logs
SU attempts
Failed login attempts
Last command – who logged in, when and from where

Also the periodic review of /etc/hosts.allow and /etc/hosts.deny should be done
to know the efficacy of SSH.

Ideally logs should be stored in a separate system and access to that system should be only to security administrator. In no case logs should be accessed by system administrator.

Some of the commands/directories/files mentioned above may be specific to a particular flavour of UNIX.

Read More......
Readers who visited this post also read :

Wednesday, October 8, 2008

Auditing a Database Management System (DBMS)

There can be many types of database system.Some important types of database models are:

1. Simple Flat File Model
2. Hierarchical Model
3. Network Model
4. Relational Model
5. Object Oriented Relational Model etc.



An IS Auditor/ Database Auditor should broadly see following area while auditing a database ( mainly for Relational model):

1. Database consistency
2. Data Integrity
3. Data independence
4. Other ACID Properties
5. distinction of external view, conceptual view & internal view of database
6. Division of labor and Segregation of duties
7. Access Control

Most of the above topics have already been explained in my earlier posts.




Following are the minimum steps to be ensured for an IS auditor auditing a DBMS.

1. The OS user rights/privilege and database user rights should be based on the need.

2. IS auditor should verify the installation privilege /data file access privilege should be as per security policy and standards.

3. Segregation of duties among Database Administrator (DBA), Security Administrator & Programmer

4. Availability of separate Test Database & Live database should be there.

5. Testing of patch and modification before applying to live area and proper documentation should be available.

6. All database logs should be periodically verified.

7. Proper backup system should be in place.

8. Backup should be periodically tested.

9. The data should be consistent as there should not be any disparity in same data from two tables.

10. Password File/fields should be encrypted.

11. Documentation regarding database incidents should be complete.

12. Default user names and passwords should not be in use.



Read More......
Readers who visited this post also read :

Friday, October 3, 2008

How to secure your Network by Firewall implementation and auditing

Protection of information assets is the major aim of IT Security policy. Firewall is one of the important tools for IT Security. Firewall protects networks from malicious intrusion from outside the network and many times from inside the network. Configuration and location of a firewall in a network is very important area for an Information Security Manager whereas an IS Auditor should see if firewall implementation helps in all the three basic requirement of a good Information System i.e. Confidentiality, Integrity & Availability of IS resources.

Before knowing what an IS Auditor should see while auditing a firewall. Let us see the benefits of different types of Firewall implementation.

1.SYN Flood defense
SYN Flood attack fills the connection table of vulnerable targets to prevent legitimate traffic and may result into Denial of Service attack later.

2.Protection from susceptible Services
Firewalls can restrict susceptible services that may compromise the whole network or a part of network.

3.Protection from Inherent Backdoors
Firewall can be configured to restrict known backdoors by blocking a known behavior.

4.Controlled Internet and network resources access.
Network resources can be allocated on need to know & need to do basis by using firewalls. A proxy system may help in restricting internet usage.

5.Stateful Inspection
Firewall can restrict/allow information on the basis of connection stateand not only on the basis of IP address.

6.Better management
Information System resources can be managed properly by using firewalls.

7.Protocol Inspection
Firewall can also check the movement of information by inspecting protocols & Services like HTTP, TCP/IP, SSH etc.

8.Sequence Number Scrambling
This feature helps in making guess by attacker a difficult process and making Information System more secure.

9.Privacy & Secrecy
Privacy & Secrecy of Information system is managed by Firewall. Specific types of services can be offered to specific types of users by using firewalls.

10.Protection from Spoofing
Many types of spoofing including address spoofing can be prevented by suitable type of firewall.

For all of the above location of firewall, configuration and type of firewall is very important. Audit of a firewall must include all of the following:

Configuration of firewall
Routing table
Location of firewall
Backup of firewall configuration
Backup or standby firewall
Sufficiency of firewall
Periodic Testing of firewall
Incident Management
Periodic Log verification


Abbreviation used:
HTTP-Hyper Text Transfer Protocol
TCP – Transmission Protocol
IP- Internet Protocol
SSH- Secure Shell

Read More......
Readers who visited this post also read :

Thursday, September 25, 2008

IDS – an Information security tool to protect your network

IDS stands for Intrusion Detection System. IDS is primarily used by network administrator, Information Security professionals, IS Auditors and Penetration testers for detection of any external or internal network intrusion(s). Before going further let us see what an intrusion is?

What is an intrusion?

The basic principle of any Information System is CIA triad where

C = Confidentiality
I= Integrity &
A= Availability.

When one or more of the above three is/are compromised for some malicious intent, the outcome is said to be intrusion.

An IDS is a software, a hardware or a combination of both which detects the above process of intrusion or the compromise on confidentiality, integrity or availability.

Modern IDS may detect most common types of intrusion. Some common examples of intrusion where an IDS can help Information Security / IS Audit Professionals, Penetration Testers or Security administrators are

1.DOS
2.DDOS
3.Port Scanning
4.Malicious Penetration
5.Local Intrusion
6.Internal intrusion
7.Remote intrusion etc.


IS professionals before analyzing and providing solution to detected intrusion or configuring an IDS, should also be aware of why these intrusions are possible. These intrusions are commonly possible because of Hardware bugs and/or Software bugs present in hardware, application, OS or network & communication devices. Some common examples are

1. Improper validation controls
2. Lack of proper memory handling in applications
3. Poor configuration
4. Poor deadlock management like circular wait
5. Lack of physical control
6. Poor logical security etc.

An IDS is a great tool and it helps Information Security / IS Audit Professionals, Penetration Testers and Security administrators by providing

1. Timing of attack
2. Source IP address and Port
3. Destination IP and Port
4. Platform of attack
5. Nature of attack
6. Severity of attack
7. Possible solution

An IS Auditor may use all these information for hardening systems and save network and resources from internal as well as external attacks.

Abbreviation used:

DOS- Denial of Service
DDOS- Distributed Denial of Service
IS – Information System / Information Security
IP – Internet Protocol


Read More......
Readers who visited this post also read :

Tuesday, September 9, 2008

Kerberos - a Single Sign-on Network Security Tool

Have you ever worked in an environment where 10 or more different user credentials and passwords are required for different applications and services.What if, the number of applications and user credentials are even more? This situation may lead to

i. Diffculty in user management
ii. Difficulty in authentication between client and server or between two different applications.
iii.Difficulty for user in remembering so many password/ PIN/ Tokens and user credentials.

Earlier authentication protocol like Hyper Text Transfer protocol (HTTP) was able to one way authenticate the user.It was silent about authentication of server. Chances of spoofing was always there and because of this the need for dual authentication was felt and the concept of Single sign-on came. Kerberos is one such Single Sign-on concept.As an Information Security Expert or an as an IS Auditor one should know the following important points about kerberos.


1. Kerberos is a Single Sign-on tool which is used to protect networks and related resources.

2. Kerberos work in Open Network Environment (ONE) which is sometimes also known as Distributed Computing Environment(DCE) and manages authentication in diverse environment.

3.In kerberos both client and server are authenticated.

4.Purpose of kerberos is to avoid spoofed attacks

5.Important components/ parts of kerberos system includes:

Authenticator
Credential
Kerberos Authentication Server(KAS)
Kerberos Database
Session Key
Ticket
Ticket Granting Server (TGS)
Timestamp
User or Client


6. Client identity is stored in kerberos database.

7. Ticket contains user identity,a session key, a timestamp etc.

8. Every ticket will have unique session key.

9. Tickets can be reused.

10. Kerberos server maintains history of previous user requests & sessions.


This article will be followed by few questions on Single sign-on and kerberos which will further clarify your concept. These questions will be published in next few posts.

Read More......
Readers who visited this post also read :

Monday, August 18, 2008

Important Things to know about Vulnerability Assessment

This article intends to cover following topics about Vulnerability Assessment / Vulnerability analysis in brief.

1. Meaning of vulnerable

2. What is Vulnerability?

3. What is Vulnerability Assessment?

4. Who can exploit Vulnerabilities?

5. Use of Vulnerability Assessment

6. How Vulnerability Assessment is different from Threat analysis?

1. Meaning of vulnerable

Vulnerable means weak and liable to be attacked.

2. What is Vulnerability?

Vulnerability in relation to Information System / Networking is a problematic condition because of which the system can be attacked, exploited and /or compromised. These problematic condition could be:

  1. Software /Programming bug
  2. Backdoors
  3. Unnecessary Open ports
  4. Hardware Bugs
  5. Improper configuration
  6. Improper parameters
  7. Improper patch/update management etc.

3. What is Vulnerability Assessment?

Vulnerability Assessment or Vulnerability Analysis is the process of identification, Classification, mapping and rating of vulnerabilities of Information System / Networking System.

4. Who can exploit Vulnerabilities?

Vulnerability can be exploited by Crackers, Some kind of hackers, script kiddies for malicious intent. Some times it is exploited by Penetration Tester/ IS Auditors / Good hackers for the benefit of the general public/group and strengthening / hardening the system.

5. Use of Vulnerability Assessment

Vulnerability Assessment is used for:

  1. Risk Rating and Risk Analysis
  2. potential Threat Measurement
  3. Protect Information assets and their integrity.
  4. Prevention and correction tool for Information System

6. How Vulnerability Assessment is different from Threat analysis?

One common question asked is whether Vulnerability Assessment or Vulnerability Analysis is same as Threat Analysis. Answer is "no". No because Threat analysis is generally done after Vulnerability Assessment. Threat analysis is evaluation/examination of threats against detected /known vulnerabilities.

Read More......
Readers who visited this post also read :

Tuesday, August 12, 2008

10 things you must remember about Antivirus

The application software/hardware which works against viruses is called Anti-virus. A lot of questions can be framed on this topic. Here are some important points all CISA aspirants and Information Security Professionals are required to know about anti-viruses.

1. Virus signature / database/data mask/ is an algorithm or a set of algorithms which calculate a hash to distinctively identify the strains of a virus.

2. A generic anti-virus checks the database or virus signature and a heuristic anti-virus uses heuristic algorithm and checks malicious character in virus behaviour by different statistical and other advanced means.

3. Common place where a virus may reside are

RAM
Boot Records
Master Boot records
Different type of files

4. A good anti-virus should have the following capabilities:

Script checking
Compressed Files/folder checking
Quarantine capability
Email and web mail checking
P2P/File Sharing Protection
Registry checking
Macro protection


5. Inoculators calculate snapshot of a fresh program and checks any change thereafter. This is one of the best ways to counter virus but think what will happen if snapshot is calculated on infected file/program. ?



6. Integrity checker anti-virus calculates Calculates Cyclic Redundancy Checks (CRC).

7. Immunizer inserts a small piece of malicious code to provide protection against that malicious agent.

8. How Behaviour blocker anti-viruses work?. I leave this point for my readers to answer.

9. False positive condition means anti-virus reports a virus when actually no virus is there.


10. False negative is actually reverse of the false positive. In false negative is a situation where anti-virus fails to find a virus when virus actually exists in the system.

Read More......
Readers who visited this post also read :

Friday, August 8, 2008

10 Things to consider when auditing a firewall

A firewall can be software, hardware or combination of both. This article intends to describe in brief the minimum things an IS Auditor / Information Security Professional should consider in auditing a firewall.

1. Platform

Operating system and other hardware platform are the key area an IS Auditor/ Penetration Tester should see. Different architectures need different configurations and hence different way of audit.

2. Services & Application

Type of services allowed and disallowed depends upon requirement, architecture and topology of the setup. However following common services need to be carefully analyzed and allowed on need basis only. Some of the common services are:

HTTP, FTP, SMTP, Ping, SNMP, IMAP, TFTP, X-Windows, POP, Telnet, SSH, NetBIOS etc.

Although most of the above services are very useful but may be exploited if not properly configured. So, an IS Auditor needs to evaluate the need of the allowed services and related configurations.

3. Ports

There can be 0 to 65535 ports (a total of 65536) out of which 0 to 999 are called well known ports and rest are registered and private ports.These ports are associated with some default services or in other words. some services are associated with default ports. For example,
21-FTP, 23-Telnet, 110-POP3 etc.

Wherever possible it is advisable not to allocate default port number for the default application. This will make hacker's job a little more difficult. An IS Auditor must see the port allocation and feasibility.


4. Rule sets - Restrictions and Access control

Rule sets include the ports and services configuration. There could be many rule sets some of the critical rules an auditor must see are:

i. Packet state checking
ii. Stop IP spoof
iii. Connection state
iv. Allow/disallow inner/local traffic
v. Allow /Disallow ICMP Packet
vi. logging of events



5. Patches & Updates

Auditor should check whether OS updates /application patches necessary for firewall have been configured properly or not.

6.Position of Firewall

Auditor should ensure the position/location of firewall based on network topology and requirement of organization. It also depends upon firewall implementation like DMZ, Application level Firewall, Screened subnet arrangement, Dual homed firewall etc.

7. Periodicity of Penetration Testing/Vulnerability Assessment

Auditor should see and analyze the reports pertaining to periodic penetration testing and should also check whether the recommendation of Penetration Testing / Vulnerability assessment have been complied with in best possible way.

Many times Penetration testing remains the part of firewall audit.


8.Logs Generation and audit of logs

Generally firewalls are configured for logging and monitoring. All network logs / application logs / operating system log should be carefully studied. An IS Auditor should ensure:
i. Log sufficiency
ii. Log relevancy
iii. Periodic analysis of logs
iv. Log backup

9. Backup of Configuration file and provision of standby Firewall

Backup of all necessary configuration files and Presence of secondary/standby firewall should also be audited by IS Auditor based on the scope of Audit.

10. Physical access Control.

This is one of the most important thing and auditor should audit while auditing a firewall.


Summary :

An ideal firewall auditing should include checking of most of the following

i. Noise drops
ii. Deny & Allow
iii. Logging & backup
iv. Routing tables
v. IP tables
vi. Remote access
vii. Masquerading
viii. User IDs
ix. Active X
x. Java Applets
xi. MIME
xii. Backups

Read More......
Readers who visited this post also read :

Monday, August 4, 2008

Designing a secure access control policy

Access Control Policy of an organization should ensure

i. Availability of resources on need to do and need to know basis.

ii. Authentication of process

iii. Authorization of process

iv. Integrity of process and information

v. Confidentiality of information


To achieve all or some of above we need to consider a lot of factors. Some of the factors which we must consider before devising our access control policies are:

  1. Nature of Business

Nature of business primarily decides our access control system. For a financial firm customer's data access will be the important criteria whereas for a marketing firm third party data collection and storage will be the important criteria.

  1. Asset / Process Sensitivity & Criticality

A sensitive information or asset needs more protection than relatively less sensitive information or assets. Our policy should document the assets based on sensitivity and criticality. These classifications can be done in many ways depending upon the type of assets /information. for example - critical, sensitive, major, minor, public, confidential etc. This asset classification is most important and generally done in the beginning of Access policy development. This classification can be done on the basis of risk analysis and Business Impact Analysis.

Note: information itself is an asset.

  1. Ownership and Usage of assets

Asset access is largely done on the need to know and need to do basis.

  1. Segregation of duties

Segregation of duties play important role in designing Access control Policy. For example a database administrator can not be a programmer. So, a programmer should not be given any access to live data.

  1. Degree of outsourcing

A clear third party access control policy should be prepared by management before outsourcing any job.

Essential component of a good access control policy:

A good access control system should have one or more of the following components:

  1. Access Control Matrices
  2. Password/PIN/User ID rules
  3. Shared User ID rules ( if any) and justification
  4. Biometric Access rules
  5. Asset Classification
  6. Privileges, Roles and Profile description
  7. Authentication and Authorization rules
  8. Operating System and Database access rule
  9. Source code and executables access rules
  10. Network access rules
  11. Change management procedures
  12. Third party access procedures

Read More......
Readers who visited this post also read :

Thursday, July 31, 2008

Degaussing – An ideal way for media destruction and data security

Gauss's law for magnetism talks about net flux for an open and closed system. Degaussing process is named after this pioneer of magnetism. It is an act of minimizing the magnetic field of media.

All magnetic media like Hard Disk, Magnetic tapes, different types of floppies can be degaussed. Degaussing weakens the magnetic field of media in such a way that proper data orientation inside the disk is disturbed and data retrieval is practically impossible.

This is done by using other magnetic device called degausser.

This is the best way for media destruction.

An IS auditor / Information Security Personnel should ensure that all critical magnetic media must be degaussed before handing over to third party.

Other type of media destruction

Media may also be destroyed by following methods:

1. Physical destruction

Physical destruction may involve

i. Breaking

ii. Abrading

iii. Drilling etc.

All CD ROMs, DVDs, Optical Discs, USB Disks can be destroyed by this method.

2. By using UV rays

Strong UV rays may destroy data of many types of Electronically Programmable Read-Only Memory (E-PROM).

3. Destruction by burning

Before degaussing technique came this method was used for media destruction. As this method is not environment friendly so, mostly not recommended.


Summary:

Destruction Method/technique

Mainly used for

Degaussing

Most of the magnetic disks/tapes

Physical Destruction

CD,DVD,USB disks

UV Rays

Flash EPROM drives

Fire

Not environment friendly

Read More......
Readers who visited this post also read :

Friday, July 25, 2008

Achieving confidentiality through Cryptography

In today's internet environment sending message to the destination with confidentiality, authentication, non repudiation and authorization is very important. To achieve all of these or part of these we use cryptographic techniques.


This article intends to discuss how confidentiality can be achieved by cryptographic methods. This article is equally important for IS auditors and Information Security Professionals.

Beside communication channel, Cryptographic Message communication involves

  1. Sender
  2. Receiver(s)
  3. Cryptographic algorithm
  4. Key(s)

My article about Symmetric and Asymmetric Encryption and benefits of encryption give you some initial background on this topic.

Let us see first what is Confidentiality?

As I said cryptographic message involves sender and receiver. Achieving confidentiality means the message sent should reach to the person for whom the message is sent to. In other ways if A sends a message to B, message must reach B only and other than B nobody should be able to decrypt the message. Message must be decrypted by authorized recipient only.

To see how confidentiality is achieved I shall discuss some scenarios which will help us in knowing the concept better.

Scenario1. When the sender encrypts the message with Symmetric key/Secret key.

In symmetric cryptography a sender encrypts the message with the symmetric key and sends the message to the receiver. The message can be decrypted by the receiver who will have the same symmetric key. So, the message is decrypted by the intended person only.

Thus scenario-1 achieves Confidentiality.

Sometimes, Symmetric Key is also known as Secret key

Scenario-2. When the sender encrypts the message with Sender's Private Key.

Asymmetric cryptography involves two keys read my article. When the message is encrypted by Sender's Private Keys this can be decrypted by anyone having Sender's Public Key. So this type of message does not intended for particular receiver.

Thus this scenario-2 does not achieve Confidentiality.

Scenario-3. When the sender encrypts the message with Sender's Public Key.


Although this is not a practical approach to achieve confidentiality but to discuss all possible scenario I included this. When the sender encrypts the message with his public key then the message can be decrypted by the sender only as he only knows his private key. The receiver can not decrypt the message.


Thus this scenario-3 does not achieve Confidentiality.

Scenario-4. When the sender encrypts the message with Receiver's Private Key.


This is also not possible as the sender can not have the receiver's private key.


Thus this scenario-4 is not possible in normal course and does not achieve Confidentiality.


Scenario-5. When the sender encrypts the message with Receiver's Public Key.


In this scenario the receiver's public key may be known to sender and so, the sender can encrypt the message with Receiver's Public Key. Only the intended receiver could decrypt the message with his private key.


Thus scenario-5 achieves Confidentiality.


The following table summaries the above scenarios:


Case

If Sender encrypts the Message by

Which receiver can decrypt the message

Confidentiality achieved or not

1.

Symmetric/Secret key

Only the receiver having the symmetric/secret key

Achieved

2.

Sender's Private key

Any of receivers having sender's public key

Not achieved

3.

Sender's Public key by sender

Only sender can decrypt the message. No receiver can decrypt the message

Not achieved as the source and destination is same

4.

Receiver's Private key

Not possible as sender can not have the receiver's private key

Not applicable

5.

Receiver's Public key

Only actual receiver

Achieved


CISA Type question 08 -2507

A sender encrypts the message in various ways. the confidentiality can not be achieved when the sender encrypts the message by

  1. Symmetric Key
  2. Secret Key
  3. Receiver's Public Key
  4. Sender's public Key

Answer to CISA Type Question 08-2307


Scope and nature of follow up audit all depends on engagement letter/audit charter. So, the correct answer is 3. As per the audit charter/engagement letter

Read More......
Readers who visited this post also read :

Monday, July 21, 2008

Important Points to Remember about Symmetric & Asymmetric Cryptography for CISA Exam.

1. Symmetric Cryptography uses same key to encrypt and decrypt the message. That is why the name is Symmetric Cryptography.

2.The key used in Symmetric Cryptography is called Symmetric Key.

3. Some examples of Symmetric Cryptography includes:

DES (Data Encryption Standard)
Double DES
Triple DES
AES (Advanced Encryption Standard
RC4
RC5
RC6

4. Asymmetric Cryptography uses a set of key called Public Key or Private Key.

5. If One key in Asymmetric Cryptography is used for encryption, the other key is used for decryption.That is why the name is Asymmetric Cryptography.

6.Some Examples of Asymmetric Cryptography includes :

RSA
Elliptic Curve Crypto system


Question for you to think about:

1. Which of the the cryptography is faster and why?


2. Which of the above helps in

Confidentiality?

Nonrepudiation ?

Authentication?

Authorisation ?


3. Which algorithm is more complicated and why?

4. Can both be clubbed?


Although I shall try to discuss each of the above in my future posts? But answering each of the above will make you further prepared for this topic for CISA Exam.



CISA Type Question 08-2107

When data volume is more which cryptography is fast and suitable method to encrypt such data?

1. Symmetric Cryptography
2. Asymmetric Cryptography
3. Both are equally efficient




Answer to CISA Type Question 08-1507


Thing that an Penetration tester/IS Auditor will request for, after receiving scope of audit is Network topology map beside other information. So, the correct answer should be 1. Network Map of the organization

Read More......
Readers who visited this post also read :

Tuesday, July 15, 2008

How to plan a Penetration Test

CISA Quick Tips 08-1507

When an IS Auditor work as a hacker? This is a common misconception that hackers are basicaly bad guys but believe the are social and ethical in nature and bad guys are basically crackers.

An IS auditor while doing a network penetration testing works like a hacker.Although hackers may be differentiated from Penetration Tester but here we are assuming that both are same.

Penetration Tests is very important as it leads to the modification/adoption of policies related to Information System. Vulnerabilities detection may lead to a stronger system.Proper planning of Penetration testing is even more important.

Before going for a Pen Test(short of penetration Testing), an auditor should decide many things.
I shall try to discuss few of them here.

1. Source of Penetration Testing

Based on the Management's requirement the auditor/ Testing Team should decide the source from which penetration testing will be done.for example if it is a web server penetration which is available to outside world.External penetration is desired. Internal or Peripheral penetration is also good way in many cases.

2. Destination of Penetration Testing.

What part of the network will be covered.Which subnet will be covered. Range of Host/IP address/MAC address details should be finalized and ready prior to Penetration testing

3. Tools & Methodology
What tools and methods will be suitable and used for Pen Test should be finalized.

4. Timing
Timing of penetration testing is very important.Some penetration test is done during business hours when system use is more but most of the financial Network Pen Test is being done during non business hour or late in the night when the number of transcation(s) is less.

5. Presence of vendors

Not only the network and telecommunication but the application vendor, system vendor,and aother related vendor's qualified representative should be present at the site or should be available for the service.I have seen non presensce of application vendor has caused the greater downtime of the faulty system.

6.Prioritized Contact list

Although management's representative should be present at the site but the prioritized list of representaives from all concerned group should be ready before the test.

7. Backup System

Ideally the backup of network facility,application, database,telecommunication facility should be ready for the extreme condition.

8.Intimation
If this is not a secret pen test, all concerned people as per the policy of the organization should be intimated well in advance.In the case of secret pen test only the authorized people should be intimated.

9. Reports & Reporting formats.
Reports and reporting format should be finalized in advance.

All of the above depent upon following factors:
.
a. The scope of audit/penetration testing
b. Nature and Type of Pen test
c. The platform of the setup





CISA Type Question 08-1507

Which of the following is the first thing that an Penetration tester/IS Auditor will request for, after receiving scope of audit?

1. Network Map of the organization
2. Details of all the employee of the organization
3. details of the management of the organization
4. Application Service provider detail


Answer to CISA Type Question 08-1407

The exception report ideally should be available to few people only based on the policy of the organization. So, the correct answer is 1. Exception Report is available only to few people in the organization. Rest all are the thing of major concerns



Read More......
Readers who visited this post also read :

Saturday, July 5, 2008

Certificate Authority for CISA Exam - its all about trust

CISA Quick Tips 20:

CISA quick tips are published every week from Monday to Friday.Saturdays and Sundays I want them to go through my archived quick tips.Due to increase in your response and hits to my blog I thought to publish one additional article this Saturday(today).This article is very important but I have tried my best to present this in most simplified way.

I have seen many of my friends (CISA aspirants) fail to answer correctly question related to following topics:

Digital Certificate

PKI

Encryption

IPSec

SSL/TSL.

But believe me these topics are as easy as some other simple topics. To make them easily understandable i shall today present Certificate Authority in simpler form.

Before starting I recommend do not read these topics from too many sources and confuse yourself.But do not forget to read ISACA's CISA Review Manual.

When we talk about Public Key Infrastructure (PKI)/Encryption/Digital Signature, Certificate Authority (CA) plays a key role.

In today's electronic environment when information is transferred there should be a mechanism which ensures transmission to the intended recipients and recipients should be sore of the correct origin. When you do not know the intended recipient and he/she does not know you, the following questions will arise :

how to make sure of correct delivery of the message?

How to establish trust level between such source and destination?

Answer is Certificate Authority (CA). How? See, the following diagram.

ca trust

As source trusts Certificate Authority (CA) and the destination trusts the same Certificate Authority (CA). So both trust each other through common CA.

How Certificate Authority (CA) works?

Please, see the following diagram:

how CA works

CA issues certificate to applicant for all verified request of Registration Authority (RA) and mantains huge database of certificates.

I believe the things are more clear to you but following Quick FAQ will clear the concept a little more.

1. What are the contents of digital certificate?

Public key

Key holder identity

Expiration date

2. What are different types of certificates?

Certificate can be of many types but important two are

Sever Certificate &

Client Certificate

3.whether all PKI will have CA?

No, but most will have.

4.When certificates can be revoked?

When keys are compromised or on expiration.

5. where expired certificate list is maitained?

in Certificate Revocation List (CRL)

6. How certificates are checked in web environment?

through web browser

CISA Type Question 20.

Which of the following is true about Certificate Authority (CA)?

1. Certificate Authority can be private for an organization

2. Certificate Authority are always commercial

3. Both A and B

4. None

Answer to CISA Type Question 19.

All of the characteristics describes Electronic Vaulting.

So, the correct answer is 2. Electronic vaulting.

Read More......
Readers who visited this post also read :

Thursday, July 3, 2008

CISA Preparation - Know the benefits of Encryption

CISA Quick Tips 18

following are the benefits of encryption:

1. Confidentiality

Only legitimate destination (to whom data has been sent) can access the data.

2. Integrity

Data has not been modified in the transmission process

****3. Non-repudiation****

Sender later can not deny his sending of data.

Where use of encryption is beneficial ?

For Financial transactions and Payment processing industries

Where use of encryption is harmful?

Use by criminals with malicious intent

-----------------------------------------------------------------------------------------------------------

CISA Type Question 18

What an IS auditor should see while evaluating/auditing encryption policy of an organization?

1. Where encryption has been used ?

2. How encryption has been used?

3. Existing Government & Regulatory Policies on encryption

4. All of the above

------------------------------------------------------------------------------------------------------------

Answer to CISA Type Question 17

Today also i received few emails and comments, most of them saying answer should be Simple Random sampling. But this time i do not agree with their views.Although I believe that representation of sample is dependent on type of population,nature of population, nature of audit and many other factors. So, this is not always appropriate to ask which of the four will best/least represent the population.

But for such questions you need to understand the basics. As I mentioned Simple Random sampling , Stratified Random Sampling & Multistage Cluster Sampling are mathematical way of choosing sample where as Purposive sampling is actually a judgmental sampling (Non mathematical way). So, all other factor remaining same,chances are always that Mathematical way will better represent the population as compared to non mathematical way.

So, the answer should be 4. Purposive sampling.

---------------------------------------------------------------------------------------------------------------

**** Very Important

Read More......
Readers who visited this post also read :

Tuesday, July 1, 2008

Hybrid Firewall for CISA Exam

CISA Quick Point 16

Following diagram will explain layered approach of a typical Hybrid Firewall.

 

image

 

This is clear from the above diagram that Hybrid firewall is a layered approach
which blocks viruses/worms/malicious agents by one or more of the following


1. Routing Checks
2. Stateful Inspection
3. Application Checks

 


CISA Type question 16.


Hybrid Firewall can protect networks by working on all layers of OSI
architecture EXCEPT which of the following layers?


1. Application Layer
2. Data Link Layer
3. Presentation Layer
4. Physical Layer

 

Answer to CISA Type Question 15

CAAT product media and manual is very important source for evaluation.

So, the correct answer is 1. CAAT Product Manual/Documentation

Read More......
Readers who visited this post also read :
 

Home | | | | |

CISA made Easy - Easy CISA Preparation