Docsity

computer and network security report 1 and 2, Thesis of Computer Security

Partial preview of the text

Download computer and network security report 1 and 2 and more Thesis Computer Security in PDF only on Docsity!

PREPARED BY:- KALKIDAN MEKONNEN April 18, 2018

SUBMITTED TO:- DR. HENOCK

MULUGETA

St. Mary’s University

Department Of Computer Science

Computer And Network Security

Report No. Two

Computer and Network Security Report no. Two

In this report you are expected to research network security audit tools and investigate one that can be used to identify host or network device vulnerabilities. Fill in the report below based on your findings.

1. Research various security audit and network attack tools - Wireshark The very first step in vulnerability assessment is to have a clear picture of what is happening on the network. Wireshark (previously named Ethereal) works in promiscuous mode to capture all traffic of a TCP broadcast domain. Customized filters can be set to intercept specific traffic; for example, to capture communication between two IP addresses, or capture UDP-based DNS queries on the network. Traffic data can be dumped into a capture file, which can be reviewed later. Additional filters can also be set during the review. Typically, the tester is looking for stray IP addresses, spoofed packets, unnecessary packet drops, and suspicious packet generation from a single IP address. Wireshark gives a broad and clear picture of what is happening on the network. However, it does not have its own intelligence, and should be used as a data provider. Due to its great GUI, any person with even some basic knowledge can use it. - Nmap This is probably the only tool to remain popular for almost a decade. This scanner is capable of crafting packets and performing scans to a granular TCP level, such as SYN scan, ACK scan, etc. It has built-in signature- checking algorithms to guess the OS and version, based on network responses such as a TCP handshake. Nmap is effective enough to detect remote devices, and in most cases correctly identifies firewalls, routers, and their make and model. Network administrators can use Nmap to check which ports are open, and also if those ports can be exploited further in simulated attacks. The output is plain text and verbose; hence, this tool can be scripted to automate routine tasks and to grab evidence for an audit report. - Metasploit Once sniffing and scanning is done using the above tools, it’s time to go to the OS and application level. Metasploit is a fantastic, powerful open

You might also want to take a look at my list of premium Windows password recovery programs. However, if you do have access to an account on the PC, by all means, give Cain & Abel a try. It might be just what you're looking for.

  • John the Ripper is a free password cracking software tool. Initially developed for the Unix operating system, it now runs on fifteen different platforms (eleven of which are architecture-specific versions of Unix, DOS, Win32, BeOS, and OpenVMS). It is one of the most popular password testing and breaking programs as it combines a number of password crackers into one package, auto detects password hash types, and includes a customizable cracker. It can be run against various encrypted password formats including several crypt password hash types most commonly found on various Unix versions (based on DES, MD5, or Blowfish), Kerberos AFS,
  • THC Hydra We’ve purposely placed THC Hydra underneath John The Ripper because they often go ‘hand-in’hand’. THC Hydra (we’ve abbreviated to simply ‘Hydra’ throughout our site) is a hugely popular password cracker and has a very active and experienced development team. Essentially THC Hydra is a fast and stable Network Login Hacking Tool that will use dictionary or brute-force attacks to try various password and login combinations against an log in page. This hacking tool supports a wide set of protocols including Mail (POP3, IMAP, etc.), Databases, LDAP, SMB, VNC, and SSH. Take a look at John the Ripper as well. 2. Fill in the following form for the security audit or network attack tool

Name of tool: John The Ripper

Developer: Solar Designer and community in May 30, 2013

Type of tool: Password cracking hash and cipher types One of the modes John can use is the dictionary attack. It takes text string samples (usually from a file, called a wordlist, containing words found in a dictionary or real passwords cracked before), encrypting it in the same format as the password being examined (including both the encryption

algorithm and key), and comparing the output to the encrypted string. It can also perform a variety of alterations to the dictionary words and try these. Many of these alterations are also used in John's single attack mode, which modifies an associated plaintext (such as a username with an encrypted password) and checks the variations against the hashes. John also offers a brute force mode. In this type of attack, the program goes through all the possible plaintexts, hashing each one and then comparing it to the input hash. John uses character frequency tables to try plaintexts containing more frequently used characters first. This method is useful for cracking passwords which do not appear in dictionary wordlists, but it takes a long time to run.

Cost of Tool: Free

License GNU General Public License

Used on(network device or

computer host):

John The Ripper was originally developed for Unix operating systems but now runs on various platforms 11 of which are architecture-specific versions of DOS, Unix, BeOS, Win32 and OpenVMS.

Description of key features and capabilities of product or tool 1 36 1

John The Ripper is perhaps the best known password cracking (hacking) tools out there,

and that’s why it will always be in our ‘concise top ten hacking tools’ category. Aside

from having the best possible name, we love John, as it is affectionately known, because

simply said, it works and is highly effective. John The Ripper is, like Metasploit, also part

of the Rapid7 family of pentesting/ hacking tools.

Often you’ll see it abbreviated as ‘JTR’ this is an awesome bit of hacking software that is

designed to crack even very complicated passwords.

John the Ripper, mostly just referred to as simply, ‘John’ is a popular password cracking

pentesting tool that is most commonly used to perform dictionary attacks. John the

Ripper takes text string samples (from a text file, referred to as a ‘wordlist’, containing

popular and complex words found in a dictionary or real passwords cracked before),

encrypting it in the same way as the password being cracked (including both the

which, simply said, is the process in which a computer system guesses for the correct by

cross-checking against an available cryptographic hash of the password. If the brute

force attack is against clear-text words then the process derives from a ‘dictionary

attack’. If the password is guessed using password hashes (which is faster), then the

used process would be a ‘rainbow’ table.

If you work in Cyber Security, or are looking to get started in the profession, then it is ‘a

must’ that you learn certain aspects of cryptography. We’d therefore strongly suggest

that you learn, and try to crack, offline passwords using John The Ripper.

What Are the Ripper’s Tools?

Now, that we understood what features are offered by John the Ripper, let us now also

get exposed to the tools that could enable us to visualize such features on a practical

level.

A nice approach to overtaking after cracking a user’s password is to inform him/her

after acquiring all desired benefit. One way to do this is to simply email them and inform

them that their passwords were cracked. They will really love you! This is accomplished

through “mailer”

The actual password cracker performed by “John”. The explanation of such tool is clearly

illustrated in the following image.

An ethical approach on the other hand, which is mainly useful for penetration testers, is

to get the users informed of their passwords being weak. This way can propose that

users afterward shall choose a stronger password. “unafs” is the tool mainly used for this

purpose.

Passwords and shadow files could be combined together through the “unshadow” tool.

If the used wordlist has duplicates, they could be omitted for more efficient dictionary

attacks thereafter. This could be performed through the “unique” tool

Types of password cracking attacks:

Here’s I’ll be listing various types of password cracking attacks that are generally used

by attackers:

  • Dictionary attack : This attack uses a file that contains a list of words that are found in the dictionary. This mode matches different combinations of those words to

crack your device open.

  • Brute force attack : Apart from the dictionary words, brute force attack makes use of non-dictionary words too.
  • Rainbow table attack : This attack comes along with pre-computed hashes. Thus, this method is faster.

There are lots of other password cracking techniques like phishing, spidering, social engineering, shoulder surfing etc. Soon, I’ll be discussing them in detail in another article. So, let’s get started with our list of the best password cracking tools of 2016.

References and info links:-

https://www.concise-courses.com/hacking-tools/password-crackers/#john-the-ripper

https://www.lifewire.com/insecure-org-top-100-network-security-tools-

https://en.wikipedia.org/wiki/List_of_security_assessment_tools

https://www.concise-courses.com/hacking-tools/password-crackers/#john-the-ripper

https://n0where.net/john-the-ripper-gui-johnny

  1. Reflection

a. What is the frequency of network attacks and what is their impact on the operation of an organization? What are some key steps organizations can take to help protect their networks and resources?

Vulnerability analysis tools can help identify security holes so that network administrators can take steps to correct the problem before an attack occurs. Other steps that can be taken include: The use of firewalls, intrusion detection and prevention, hardening of network devices, endpoint protection, user education and security policy development.

b. Have you actually worked for an organization or know of one where the network was

Fill in the following form for the network attack selected.

Name of attack: Email Spoofing

Types of attack: Active Attack :-Spoofing Attack

Dates of attack: March 1, 2016

Computers/organizations affected:

Silicon Valley tech company

employees of a Silicon Valley tech giant were warned to be on the lookout for email spoofing scams directed at finance and HR personnel.

A week later.

How it works and what it did:

All it takes to send a fake email is access to an email sender software, such as PHP Mailer, and a

server that can send emails, also called an SMTP server. Most web hosts offer SMTP services. You can also install it on your own computer. Traditional mailing software usually fills the “from” field with the email address you used to log in. Software such as PHP Mailer enables you

to select a custom sender address. While some spoof-altered emails are falsified by hand, the great majority of spoofed emails are created by special software. The use of mass-mailing ratware programs is widespread among spammers. Ratware programs sometimes run massive built-in word lists to create thousands of target email addresses, spoof a source email, and then

blast the spoof email to those targets. Other times, ratware programs take illegally acquired lists of email addresses and then send spam to them.

When you send the email, the recipient will receive a message that seems to have come from the

address you typed but if they look under the hood, there are details that indicate the email has

been spoofed.

Mitigations options:

  • If the email appears to be from someone you know, send them a separate email or contact them through an alternate method (phone, messenger app, secondary email) and confirm that they’ve sent the original email.
  • If the message instructs you to log into a website, don’t click on the link embedded in the email. Browse to the website by typing its original address and check to see if a similar notification has appeared in your account.
  • Keep your anti-malware and web protection software active and up to date. Most antivirus solutions have tools to detect online scam
  • Use your spam filters.
  • Learn to read email message headers and check

What is Email Spoofing and How to Detect It

What is Email Spoofing?

Email spoofing is the creation of email messages with a forged sender address for the purpose of fooling the recipient into providing money or sensitive information. For example: a sender [email protected] sends a message to your business email address stating that you have one day to log into your account to take advantage of new stock investments. The message uses your company’s letterhead, looks as legitimate as the 401k notices you’ve received before and has a login link.

Spoofing attacks became very noticeable in mid-late 2015 and more prevalent in early 2016.

What is it costing companies?

In August 2015, the FBI issued a public notice indicating that Business Email Compromise (BEC) is estimated to have cost companies over $1.2 billion between October 2013 and August 2015. Spoofing is one of many forms of BEC. See table below for more details.

A Recent Attack

In one recent example, employees of a Silicon Valley tech giant were warned to be on the lookout for email phishing scams directed at finance and HR personnel. A week later, on March 1, 2016, the company suffered an email attack impersonating the organization’s CEO that requested all of the employee W-2 forms. Subsequently, the 2015 W-2 tax form information for current and former U.S.- based employees was sent to an unauthorized third party. The employee responding to the request believed it was a legitimate internal business email. Typically, the forged address is owned by a fellow employee that the attack victim trusts. A particular category of spoofing, called whaling, involves a victim who is a high value target such as a CFO, CEO or CIO. Criminals involved in whaling perform extensive social media research prior to their attack. Figure 1 is a fictitious example of an attack on Alan who is an executive at the company called Alpha. The attacker sends this message to Alan from outside of the company. The forged address is owned by Alice, Alpha’s Global Sales Director, who is in Asia at the time of the attack.

How can you protect yourself?

Spoofers play on an employee’s fear of consequences, a sense urgency that leads to dismissing careful verification in favor of quick reaction. In these situations it is better to slow down and use available tools. Mail user agents, like MS Outlook, can compare the Friendly From address in the body with the Mail From address in the envelope. In Outlook 2010 you can do this with the following two easy steps:

  1. Select the message and then select Message Options in upper-left tool bar, as shown in Figure
  2. Inside the Message Options menu, you can compare the Friendly From and Mail From addresses as shown in Figure 4. All mail user agents have this ability. If this message were received by a Cisco customer, the next step would be to notify the company’s mail administrator and they would interact with Cisco support, or their Content Security sales team, to configure the needed filters that compare these address 3.1. Active attack Some active attacks are spoofing attack, Wormhole attack, Modification, Denial of services, Sinkhole, and Sybil attack. a. Spoofing When a malicious node miss-present his identity, so that the sender change the topology

https://heimdalsecurity.com/blog/ip-email-phone-spoofing/

https://www.villanovau.com/resources/iss/companies-affected-by-cyber-attacks/#.WqpYIee-nIV

https://www.coursehero.com/file/pcvbrp/CCNA-Security-Step-2-Fill-in-the-following-form-for-the-security- audit-or/

https://en.wikipedia.org/wiki/Email_spoofing

Conference Organized by Interscience Institute of Management and Technology, Bhubaneswar, Odisha, India Network Security and Types of Attacks in Network Mohan V. Pawar, Anuradha J

. Well I wrote the article about viruses and said that I will write this article about the types of attacks and how to protect yourself against these attacks. There are alot of different attacks but I'm going to cover only these:

  • Eavesdropping
  • Snooping
  • Interception
  • (^) Modification Attacks
  • Repudiation Attacks
  • Denial-of-service (DoS) Attacks
  • Distributed denial-of-service (DDoS) Attacks
  • Back door Attacks
  • Spoofing Attacks
  • Man-in-the-Middle Attacks
  • Replay Attacks
  • Password Guessing Attacks

Eavesdropping - This is the process of listening in or overhearing parts of a conversation. It also includes attackers listening in on your network traffic. Its generally a passive attack, for example, a coworker may overhear your dinner plans because your speaker phone is set too loud. The opportunity to overhear a conversation is coupled with the carelessness of the parties in the conversation.

Snooping - This is when someone looks through your files in the hopes of finding something interesting whether it is electronic or on paper. In the case of physical snooping people might inspect your dumpster, recycling bins, or even your file cabinets; they can look under your keyboard for post- It-notes, or look for scraps of paper tracked to your bulletin board. Computer snooping on the other hand, involves someone searching through your electronic files trying to find something interesting.

Interception - This can be either an active or passive process. In a networked environment, a passive interception might involve someone who routinely monitors network traffic. Active interception might include putting a computer system between sender and receiver to capture information as it is sent. From the perspective of interception, this process is covert. The last thing a person on an

IP spoofing and DNS spoofing. The goal of IP spoofing is to make the data look like it came from a trusted host when it really didn't. With DNS spoofing, The DNS server is given information about a name server that it thinks is legitimate when it isn't. This can send users to a website other than the one they wanted to go to.

Man-in-the-Middle Attacks - This can be fairly sophisticated, This type of attack is also an access attack, but it can be used as the starting point of a modification attack. This involves placing a piece of software between a server and the user that neither the server administrators nor the user are aware of. This software intercepts data and then send the information to the server as if nothing is wrong. The server responds back to the software, thinking it's communicating with the legitimate client. The attacking software continues sending information to the server and so forth.

Replay Attacks - These are becoming quite common, This occur when information is captured over a network. Replay attacks are used for access or modification attacks. In a distributed environment, logon and password information is sent over the network between the client and the authentication system. The attacker can capture this information and replay it later. This can also occur security certificates from systems such as kerberos: The attacker resubmits the certificate, hoping to be validated by the authentication system, and circumvent any time sensitivity.

Password Guessing Attacks - This occur when an account is attacked repeatedly. This is accomplished by sending possible passwords to an account in a systematic manner. These attacks are initially carried out to gain passwords for an access or modification attack. There are two types of password guessing attacks:

  • Brute-force attack: Attempt to guess a password until a successful guess occurs. This occurs over a long period. To make passwords more difficult to guess, they should be longer than two or three characters (Six should be the bare minimum), be complex and have password lockout policies.
  • Dictionary attack: This uses a dictionary of common words to attempt to find the users password. Dictionary attacks can be automated, and several tools exist in the public domain to execute them.

Well, there you have it, the only way basically to prevent these types of attacks is to get a good firewall, anti-virus software, and a good Intrusion Detection System (IDS). Tell your firewall to drop ICMP packets, that will prevent ICMP flooding. I will write another article in which I will cover only TCP and UDP attacks such as:

  • Sniffing
  • Port Scanning
  • TCP Syn or TCP ACk Attack
  • TCP Sequence number attack
  • TCP Hijacking
  • (^) ICMP Attacks
  • Smurf Attacks
  • ICMP Tunelling