Introduction To Cyber Security
Introduction To Cyber Security
Topics
ii
Contents
iii
2.14 Windows hashing basics
2.15 Using Minikatz to crack Windows password
2.16 Phishing
2.17 Vulnerability Exploitation
2.18 Advanced Persistent Threats
2.19 Whois
2.20 DOS
2.21 DDOS
2.22 SEO Poisoning
2.23 Quick Quiz: Identify the Attack Type
2.24 Blended Attack
2.25 Blended Threats: Get the facts
2.26 CodeRed Windows Worm
2.27 Email-Worm.Win32.Klez.E
2.28 SQL Slammer
2.29 Conflicker worm
2.30 What is Impact Reduction?
2.31 A social engineering walkthrough
2.32 Google Hack
2.33 Terms and Concepts Practice
2.34 Chapter Two Quiz
Chapter 3: Protect Your Data and Privacy
3.1 Protecting your computing Device
3.2 Shodan, a web-based IoT device scanner
3.3 Functions and importance of Windows Firewall
3.4 Use Wireless Networks Safely
3.5 Key Reinstallation Attacks (KRACK)
3.6 Protect yourself while using wireless network
3.7 Use Unique Password for each online account
3.8 LAB: Create and store strong password
3.9 Encrypt Your Data
3.10 Backup your data
3.11 Deleting your data permanently
3.12 Lab: Who Owns Your Data?
3.13 How secure is your data when it’s stored in the cloud?
3.14 Two Factor Authentication
3.15 OAuth 2.0
3.16 Do not share too much on social media
3.17 Email and web browser privacy
3.18 Discover your own risky online behavior
3.19 Safety tips
3.20 Terms and Concepts Practice
3.21 Chapter Three Quiz
Chapter 4: Protect the Organization
4.1 Firewall Types
iv
4.2 Firewall Types and Generation Explain
4.3 Quick Quiz: Identify the firewall type
4.4 Port Scanning: Zenmap
4.5 Quick Quiz: Identify the Port Scan Response
4.6 Security Appliances
4.7 Quick Quiz: Identify the Security Appliance
4.8 VPN Routers
4.9 Detecting Attack in real time
4.10 Protecting Against Malware
4.11 Security Best Practices
4.12 SANS, Botnet
4.13 The Kill chain in cyberdefense
4.14 Quick Quiz: Order of the Stages of Kill chain
4.15 Behavior-Based Security
4.16 What are honeypots?
4.17 NetFlow
4.18 CSIRT
4.19 Security Playbook
4.20 Tools for Incident Prevention and detection
4.21 Fundamentals of ISE
4.22 SIEM
4.23 Data Loss Prevention (DLP)
4.24 IDS and IPS
4.25 Quick Quiz: Identify Cybersecurity Approach Terminology
4.26 Terms and Concept Practice
4.27 Chapter Four Quiz
v
About
This is a hand note of Sazzad Saju, student at Hajee Mohammad Danesh Science & Technology
University, Dinajpur, Bangladesh. Department of Computer Science and Engineering. This hand
note contains details information from different source related to Cybersecurity. Majority of this
note are from Cisco’s Introduction to Cyber Security course and noted in 2020. As this e-book is
part of a study material hence there is no copyright. I believe study materials should be free. But
using this book as business purpose is highly forbidden. Otherwise share this pdf to spread
knowledge and consciousness about staying secure online. Thank You…
Sazzad Saju
CSE, HSTU
Email: sazzadsaju17@gmail.com
iv
Chapter 0: Course Introduction
Cybersecurity Guru
Cybersecurity Forensic Expert
Information Security Expert
Ethical Hacker
In this course, you will do the following:
1
Chapter 1: The Need for Cybersecurity
Cybersecurity professionals must have the same skills as the cyber attackers, but cybersecurity
professionals must work within the bounds of the local, national and international law. Cybersecurity
professionals must also use their skills ethically.
1.1 What is cybersecurity?
The connected electronic information network has become an integral part of our daily lives. Cybersecurity
is the ongoing effort to protect these networked systems and all of the data from unauthorized use or harm.
On a personal level, you need to safeguard your identity, your data, and your computing devices. At the
corporate level, it is everyone’s responsibility to protect the organization’s reputation, data, and customers.
At the state level, national security, and the safety and well-being of the citizens [নাগরিকদেি কল্যাণ] are at
stake [জরিত].
Your data
This personal information can uniquely identify you as
an individual. This data includes the pictures and
messages that you exchange with your family and
friends online. Other information, such as name, social
security number, date and place of birth, or mother‘s
maiden name, is known by you and used to identify you.
Medical records: Every time you go to the doctor’s
office, more information is added to your electronic
health records (EHRs). Your EHR includes your
physical health, mental health, and other personal
information that may not be medically-related. The
EHR may also include information about your family.
Medical devices, such as fitness bands, use the cloud
platform to enable wireless transfer, storage and display
of clinical data like heart rates, blood pressures and blood sugars.
Education Records: As you progress through your education, information about your grades and test
scores, your attendance, courses taken, awards and degrees rewarded, and any disciplinary reports may be
in your education record.
Employment and Financial Records: Your financial record may include information about your income
and expenditures. Tax records could include paycheck stubs, credit card statements, your credit rating and
other banking information. Your employment information can include your past employment and your
performance.
2
The Need for Cybersecurity
Besides stealing your money for a short-term monetary [আরথিক] gain, the criminals want long-term profits
by stealing your identity. As medical costs rise, medical identity theft is also on the rise. The identity thieves
can steal your medical insurance and use your medical benefits for themselves. An identity thief can file a
fake tax return and collect the refund. The legitimate [বৈধ] filers will notice when their returns are rejected
by IRS (Internal Revenue Service). With the stolen identity, they can also open credit card accounts and
run up debts in your name. This will cause damage to your credit rating and make it more difficult for you
to obtain loans.
1.3 Introduction to Organizational Data
Corporate data includes personnel information, intellectual properties, and financial data.
The personnel information includes application materials, payroll, offer letters, employee
agreements, and any information used in making employment decisions.
Intellectual property, such as patents, trademarks and new product plans, allows a business to gain
economic advantage over its competitors. This intellectual property can be considered a trade
secret; losing this information can be disastrous for the future of the company.
The financial data, such as income statements, balance sheets, and cash flow statements of a
company gives insight into the health of the company.
3
The Need for Cybersecurity
Confidentiality ensures the privacy of data by restricting access through authentication encryption.
Another term for confidentiality would be privacy. Company policies should restrict access to the
information to authorized personnel and ensure that only those authorized individuals view this
data. The data may be compartmentalized [divide into sections or categories] according to the
security or sensitivity level of the information. Methods to ensure confidentiality include data
encryption, username ID and password, two factor authentication, and minimizing exposure of
sensitive information.
Integrity assures that the information is accurate and trustworthy. Data must be unaltered during
transit and not changed by unauthorized entities. File permissions and user access control can
prevent unauthorized access. Version control can be used to prevent accidental changes by
authorized users. Backups must be available to restore any corrupted data, and checksum hashing
can be used to verify integrity of the data during transfer. A checksum is used to verify the integrity
of files, or strings of characters, after they have been transferred from one device to another across
your local network or the Internet. Checksums are calculated with hash functions. Some of the
common checksums are MD5, SHA-1, SHA-256, and SHA-512. A hash function uses a
mathematical algorithm to transform the data into fixed-length value that represents the data. The
hashed value is simply there for comparison. From the hashed value, the original data cannot be
retrieved directly. For example, if you forgot your password, the password must be reset.
Availability ensures that the information is accessible to authorized people. Maintaining
equipment, performing hardware repairs, keeping operating systems and software up to date, and
creating backups ensure the availability of the network and data to the authorized users. Plans
should be in place to recover quickly from natural or man-made disasters. Security equipment or
software, such as firewalls, guard against downtime due to attacks such as denial of service (DoS).
Denial of service occurs when an attacker attempts to overwhelm [bury or drown beneath a huge
mass] resources so the services are not available to the users.
Downtime [time during which a machine, especially a computer, is out of action or unavailable for use.]
1.6 LAB-Compare Data with a Hash
It is important to understand when data has been corrupted or it has been tampered with.
4
The Need for Cybersecurity
Notice:
5
The Need for Cybersecurity
Even though the company informed its customers that their passwords had been hashed, it was still possible
for the hackers to decipher them. The passwords in the database were scrambled using MD5 hash function,
but the security questions and answers were stored in plaintext. Unfortunately, MD5 hash function has
known vulnerabilities. The hackers can determine the original passwords by comparing millions of pre-
calculated hash values.
With the information exposed in this data breach, cybercriminals could use it to create email accounts,
apply for credits, and commit crimes before the children were old enough to go to school. For the parents
of these children, the cybercriminals could take over the online accounts because many people reuse their
passwords on different websites and accounts.
The security breach not only impacted the privacy of the customers, it ruined the company’s reputation, as
indicated by the company when its presence on the stock exchange was suspended.
For parents, it is a wake-up call to be more vigilant about their children’s privacy online and demand better
security for children’s products.
Security Breach Example 3
Equifax Inc. is one of the nationwide consumer credit reporting agencies in the United States. This
company collects information on millions of individual customers and businesses worldwide. Based on the
collected information, credit scores and credit reports are created about the customers. This information
could affect the customers when they apply for loans and when they are looking for employment.
In September 2017, Equifax publicly announced a data breach event. The attackers exploited [take
advantage of] a vulnerability [েু ৈিল্তা] in the Apache Struts web application software. The company
believes that millions of U.S. consumers' sensitive personal data were accessed by the cyber criminals
between May and July of 2017. The personal data includes the customers' full names, Social Security
numbers, birth dates, addresses and other personally identifiable information.
Equifax established a dedicated web site that allows the consumers to determine if their information was
compromised, and to sign up for credit monitoring and identity theft protection. Using a new domain name,
instead of using a subdomain of equifax.com, this allowed nefarious parties to create unauthorized websites
with similar names. These websites can be used as part of a phishing scheme to trick you into providing
personal information. Furthermore, an employee from Equifax provided an incorrect web link in social
media for worried customers. Fortunately, this web site was taken down within 24 hours. It was created by
an individual who use it as an educational opportunity to expose the vulnerabilities that exists in Equifax's
response page.
As a concerned consumer, you may want to quickly verify if your information was compromised, so you
can minimize the impact. In a time of crisis, you may be tricked into using unauthorized websites. You
should be cautious about providing personal information so you do not become a victim again. Furthermore,
companies are responsible for keeping our information safe from unauthorized access. Companies need to
regularly patch and update their software to mitigate exploitation of known vulnerabilities. Their employees
should be educated and informed about the procedures to safeguard the information and what to do in the
event of a breach.
Unfortunately, the real victims of this breach are the individuals whose data may have been compromised.
In these situations, the most you can do is be vigilant when you are providing personally identifiable
information over the Internet. Check your credit reports regularly (once per month or once per
6
The Need for Cybersecurity
quarter). Immediately report any false information, such as applications for credit that you did not initiate,
or purchases on your credit cards that you did not make.
Consumer credit: Consumer credit is personal debt taken on to purchase goods and services. A credit card
is one form of consumer credit.
A credit reporting agency: is a business that maintains historical credit information on individuals and
businesses. They receive reports from lenders and various other sources which are compiled in a credit
report that includes a credit score when issued. They may also be referred to as a credit reporting bureau.
Links:
In this lab, you will explore a few security breaches to determine what was taken, what exploits [ক়ীরতিকল্াপ]
were used, and what you can do to protect yourself.
February 28, 2017
Article 29 Working Party still not happy with Windows 10 privacy controls
European Union data protection watchdogs, Article 29 Working Party, have said they still have concerns
about the privacy settings of Microsoft’s Windows 10 operating system, despite the US Company
announcing changes to the installation process.
The watchdog, which enforces data protection law, wrote to Microsoft last year expressing concerns about
the default installation settings of Windows 10 and users’ apparent lack of control over the company’s
processing of their data.
Despite a new installation screen presenting users with five options to limit or switch off Microsoft’s
processing of their data, the Working Party was not clear to what extent users would be informed about the
specific data being collected.
In 2015 Microsoft executive vice president Terry Myerson emphasized that the information the company
collects is encrypted and doesn’t include personal identifiers, content or files.
Microsoft views data that it does and doesn’t collect at three levels, “safety and reliability data”,
“personalisation data” and “advertising data we don’t collect,” The “safety and reliability data” has already
been used to fix a bug that caused some PCs to crash and reboot, according to the post. Myerson said
personalisation data is used for recommending apps, text completion suggestions, and other things the user
may like. What is not done, Myerson said, is scan emails or personal messages to deliver targeting
advertising.
The group asked for more explanation of Microsoft’s processing of personal data for various purposes,
including advertising. “Microsoft should clearly explain what kinds of personal data are processed for what
purposes. Without such information, consent [সম্মতি] cannot be informed, and therefore, not valid.” Working
Party group said in a statement.
7
The Need for Cybersecurity
After reading about the security breaches, what can you do to prevent these types of breaches?
Ans: As an user of Windows 10 or any other software I need to build a clear idea if they are collecting my
data for advertising and business purpose and if they do what data that they are collecting. If those are
personal data, emails and messaging, we must not give away permissions in a process like default
installation. We need to find an alternatives.
And in an organization, if it is a notable Corp., it should have a secure system of managing IT assets within
the organization. But if they had those incident of missing drives, it’ll be their responsibility to inform us
and protect our information. We need to follow their instruction afterward.
8
The Need for Cybersecurity
Amateurs – These people are sometimes called Script Kiddies. They are usually attackers with
little or no skill, often using existing tools or instructions found on the Internet to launch attacks.
They may be using basic tools, but the results can still be devastating.
Hackers – This group of attackers break into computers or networks to gain access. Depending on
the intent of the break-in, these attackers are classified as white, gray, or black hats.
The white hat attackers break into networks or computer systems to discover weaknesses so that the
security of these systems can be improved. These break-ins are done with prior permission and any results
are reported back to the owner. Black hat attackers take advantage of any vulnerability for illegal personal,
financial or political gain. Gray hat attackers are somewhere between white and black hat attackers. Some
gray hat hackers publish the facts about the vulnerability on the Internet so that other attackers can exploit
it.
External Security Threats: External threats from amateurs or skilled attackers can exploit
vulnerabilities in network or computing devices, or use social engineering to gain access.
9
The Need for Cybersecurity
10
The Need for Cybersecurity
11
The Need for Cybersecurity
Summary of Chapter 1:
Explains why your personal online identity and data is vulnerable to cyber criminals.
Gives some tips on how you can protect your personal online identity and data.
Discussed organizational data: what it is, where it is, and why it must be protected.
Explained who the cyber attackers are and what they want.
o Cybersecurity professionals must use their skills ethically.
Explained cyberwarfare and why nations and governments need cybersecurity professionals to help
protect their citizens and infrastructure.
Additional Resources
1.14 Supply Chain Risk Management
Software programming is closer to an art than a science and as a result, software quality is not consistent,
often contains hard-to-detect errors, is put on the market before being adequately tested, and can leave your
system with exploitable weaknesses. When someone publicizes one of the errors as a publicly known
vulnerability we all get to apply patches. There are standards and best practices developed by organizations
to provide software developers tools to reduce software errors and improve overall quality. One such
organization, the Software Assurance Forum for Excellence in Code (SAFECode) works to identify and
promote best practices for developing and delivering more secure and reliable software. Other organizations
such as Open Web Application Security Project (OWASP), and the Build Security In (BSI)
consortium also provide useful tools and practices for the software developer.
A common problem is that the integrated circuits or "chips" used in electronic devices are found to be
previously used, obtained from discarded products, cleaned up, and slipped into a bundle of new chips
destined for a product manufacturer. Home appliances, healthcare devices, cars, and military systems are
all exposed to and suffer from this threat. Business and industry groups as well as international standards
bodies and government agencies are aligned to combat these crimes. Some examples are Organization of
International Standards (ISO) with its publication of "ISO 27036", and SAE International with its
publication of "AS 5553". The Open Group Trusted Technology Forum is developing practices focusing
on supply chain trustworthiness.
1.15 Supply Chain Risk Defined
Risks to the ICT supply chain arise from the loss of confidentiality, integrity, or availability of information
or information systems and reflect the potential adverse impacts to organizational operations (including
mission, functions, image, or reputation), organizational assets, individuals, and other organizations.
Supply chain risk management (SCRM) is the process of understanding these risks, their business
impacts, and how to manage them by mitigating supply chain weaknesses and exploits throughout the
system lifecycle. The U.S. National Institute of Standards and Technologies (NIST) is producing
a guidebook for organizations seeking to understand and adopt practices that will strengthen lifecycle
processes, both prior to and following an acquisition, to make them more resistant to supply chain
exploitation.
It therefore becomes necessary to distinguish counterfeit parts [জাল্] from authentic parts. There are for
example, electronic tests that can compare a particular component to a manufacturer's design standards or
a known-good artifact. These tests measure attributes such as logic circuitry, frequency characteristics, and
12
The Need for Cybersecurity
common electric parameters (e.g., power consumption), all of which combine to help form a digital
"fingerprint."
Patch - [mend or strengthen (fabric or an item of clothing) by putting a piece of material over a hole or
weak point in it.]
1. Cybersecurity problems are mostly supply-chain problems.
2. 63% data breaches linked directly or indirectly to third party access.
Walmart, the recent Equifax breach, Apple, CBS, CNN all of these big breaches happen not because of
problem with their system but because of issues and vulnerabilities with their supplies.
13
The Need for Cybersecurity
in all over Europe but particularly in Iran and this came with no error signs from the control systems so
there was something that did not make sense.
Symptoms:
1. Higher than usual equipment damage due to high rotation speeds
2. Control systems showed nothing was wrong
3. Damages result in equipment replacement
After the investigation had been done in a nuclear plant you normally
have a cycle of control where you have a centrifuge rotation speed
that you need to maintain and this is maintained by a control system,
this is a control loop, which are sensors and as well as velocity
controls. This one sends us how quick is going they send the control
system does something about the sensing speed and adjust the velocity
and this is the normal control loop. A cyber attacker came in the
middle and he took over the rotation speed information. And blocked
what the sensor was telling the control system from the plant and the
attacker with his software told the control system that everything was
fine. So even though the centrifuge was rotating more and more
quickly with higher speed the control system continued to increase
velocity. Thereby resulting in the failure of the system. So why is this
important?
14
The Need for Cybersecurity
The problem is that there are subtle semantic differences in the way different parties apply the terms cybercrime,
cyberwar, cyber espionage, cyber hacktivism, or cyber terrorism. According to Richard Stiennon, it takes a deeper
investigation into the goals and motives of the attack to assign a label to it.
Cyberwar could be characterized as the use of cyber weapons to destroy enemy capabilities and/or populations. Cyber-
crime could be defined as the use of cyber weapons/tools to execute a criminal act driven by any number of reasons.
A cybercriminal is generally motivated purely by profit. That is a different goal than cyber espionage, which seeks to
access intellectual property for military or industrial strategic advantage, or cyberwar, which focuses on actually
sabotaging infrastructure, disrupting critical systems, or inflicting physical damage on an enemy.
You don’t really need to concern yourself with how to label the attack, though. Ultimately, it is hard to imagine any
act of cyberwar that wouldn’t also be a violation of existing laws. In that sense, all cyberwar is cybercrime, but not all
cybercrime is cyberwar.
15
The Need for Cybersecurity
5. ongoing effort to protect networked systems connected to the Internet and to protect all of the data
from unauthorized use or harm
- cybersecurity
6. also called privacy, which means that data access is restricted to authorized personnel only
- confidentiality
7. codes of behavior that are sometimes, but not always, enforced by laws
- ethics
8. a malware program designed to damage the nuclear enrichment plant of Iran, a program which is
an example of a state-sponsored attack
- Stuxnet
9. persons or organizations that take advantage of any vulnerability for illegal personal, financial, or
political gain
- black hat hackers
10. attacks originating from outside of an organization
- External security threats
11. attacks originating from within an organization
- internal security threats
12. Data encryption, username ID and password, two factor authentication, etc.
- Methods to ensure confidentiality
13. the term that indicates accuracy, consistency, and trustworthiness of the data
- integrity
14. an Internet-based conflict that involves the penetration of computer systems and networks of other
nations
- cyberwarfare
15. a large network of physical objects including sensors and equipment
- IoT
16. the term that describes the services and data being well maintained and able to be accessed all the
time
- availability
17. a global partnership of world governments, industries, and academia dedicated to improving global
capabilities when dealing with cyber threats
- International Multilateral Partnership Against Cyber Threats (IMPACT)
1. During a meeting with the Marketing department, a representative from IT discusses features of an
upcoming product that will be released next year.
a. Ethical
b. Unethical
Ans: Ethical, Both the employee and the manager are within the same department and company so this
behavior would be ethical.
16
The Need for Cybersecurity
2. An employee points out a design flaw in a new product to the department manager.
a. Ethical
b. Unethical
Ans: Ethical. Both the employee and the manager are within the same department and company so this
behavior would be ethical.
3. An employee is at a restaurant with friends and describes an exciting new video game that is under
development at the company the employee works for. Is the behavior of the employee ethical or
unethical?
a. Ethical
b. Unethical
Ans: Unethical. It is not ethical to share a confidential product idea before it is released. Describing the
game to a group of friends outside the company could leak the idea and jeopardize the new product offering.
4. Alicia, a company employee, has lost her corporate identification badge. She is in a hurry to get to
a meeting and does not have time to visit Human Resources to obtain a temporary badge. You lend
her your identification badge until she can obtain a replacement.
a. Ethical
b. Unethical
Ans: Unethical. Employees should never give their credentials to another employee, regardless of the
situation or the familiarity with the other employee. Once your credentials are out of your sight, you have
no idea what they are being used for
5. An employee is laid off after fifteen years with the same company. The employee is then hired by
another company within a week. In the new company, the employee shares documents and ideas
for products that the employee proposed at the original company.
a. Ethical
b. Unethical
Ans: Unethical. Even though the employee was laid off, the employee probably signed a Non-Disclosure
Agreement (NDA) with the original company. Any work or idea developed at the original company,
regardless of who proposed the idea, is still the property of the original company. Depending on the level
of severity of the breach, this could result in legal action.
17
The Need for Cybersecurity
18
The Need for Cybersecurity
10. What are three methods that can be used to ensure confidentiality of information? (Choose three.)
a. Data encryption
b. File permission settings
c. Two factor authentication
d. Backup
e. Version control
f. Username ID and password
1. d
- A checksum value of a block of data is calculated and transmitted with the data. After the data
is received, the checksum hashing is performed again. The calculated value is compared with
the transmitted value to verify the integrity of the data.
2. D
- Cyberwarfare is Internet-based conflict that involves the penetration of the networks and
computer systems of other nations. Organized hackers are typically involved in such an attack.
3. Online
4. 4. b, e, f
- The CIA triad contains three components: confidentiality, integrity, and availability. It is a
guideline for information security for an organization.
5. c
- Internal threats have the potential to cause greater damage than external threats because internal
users have direct access to the building and its infrastructure devices. Internal users may not
have better hacking skills than external attackers. Both internal users and external users can
access the network devices through the Internet. A well designed security implementation
should require authentication before corporate data is accessed, regardless of whether the
access request is from within the corporate campus or from the outside network.
6. d
- Hacktivism is a term used to describe cyberattacks carried out by people who are considered
political or ideological extremists. Hacktivists attack people or organizations that they believe
are enemies to the hacktivist agenda.
7. d
- White hat attackers break into networks or computer systems in order to discover weaknesses
for the purpose of improving the security of these systems. These break-ins are done with
permission from the owner or the organization. Any results are reported back to the owner or
the organization.
8. a
- Privacy is another name for confidentiality. Accuracy, consistency, and trustworthiness
describe integrity of data.
9.
a. State-sponsored attackers
b. Terrorists
c. Hacktivists
10. a, c, f
19
The Need for Cybersecurity
- Methods including data encryption, username ID and password, and two factor authentication
can be used to help ensure confidentiality of information. File permission control, version
control, and backup are methods that can be used to help ensure integrity of information.
20
Chapter 2: Attacks, Concepts and Techniques
Most modern cyberattacks are considered to be blended attacks. Blended attacks use multiple techniques
to infiltrate and attack a system. When an attack cannot be prevented, it is the job of a cybersecurity
professional to reduce the impact of that attack.
2.1 Finding Security Vulnerabilities
Security vulnerabilities are any kind of software or hardware defect. After gaining knowledge of a
vulnerability, malicious users attempt to exploit it. An exploit is the term used to describe a program written
to take advantage of a known vulnerability. The act of using an exploit against a vulnerability is referred to
as an attack.
Software vulnerabilities: Software vulnerabilities are usually introduced by errors in the operating system
or application code, despite all the effort companies put into finding and patching software vulnerabilities,
it is common for new vulnerabilities to surface. Microsoft, Apple, and other operating system producers
release patches and updates almost every day. Application updates are also common. Applications such as
web browsers, mobile apps and web servers are often updated by the companies or organizations
responsible for them.
In 2015, a major vulnerability, called SYNful Knock, was discovered in Cisco IOS. This vulnerability
allowed attackers to gain control of enterprise-grade routers, such as the legacy Cisco 1841, 2811, and 3825
routers. The attackers could then monitor all network communication and had the ability to infect other
network devices. This vulnerability was introduced into the system when an altered IOS version was
installed in the routers. To avoid this, always verify the integrity of the downloaded IOS image and limit
the physical access of the equipment to authorized personnel only.
The goal of software updates is to stay current and avoid exploitation of vulnerabilities. While some
companies have penetration testing teams dedicated to search, find and patch software vulnerabilities before
they can get exploited, third party security researchers also specialize in finding vulnerabilities in software.
Google’s Project Zero is a great example of such practice. Google Security Research can be found here.
Hardware Vulnerability: Hardware vulnerabilities are often introduced by hardware design flaws. RAM
memory for example, is essentially capacitors installed very close to one another. It was discovered that,
due to proximity, constant changes applied to one of these capacitors could influence neighbor capacitors.
Based on that design flaw, an exploit called Rowhammer was created. By repeatedly rewriting memory in
the same addresses, the Rowhammer exploit allows data to be retrieved from nearby address memory cells,
even if the cells are protected.
Hardware vulnerabilities are specific to device models and are not generally exploited through random
compromising attempts.
Zero day vulnerability: is a hole in software that is unknown to the vendor [তিক্রেিা] and is then exploited
by hackers before the vendor becomes aware and hurries to fix it.
21
Attacks, Concepts and Techniques
router to do all kinds of bad things. Now the good news is there’s no vulnerability in cisco routers that
allowed them to load this malware onto your computer. Right now nobody sure how these routers were
infected with this malicious firmware but the malware’s literally overriding your iOS firmware with some
malicious firmware. Most likely the attackers gain remote access using the normal credentials of the router,
perhaps the router was kept in a default password stay. In either case you might be wondering what to do
about this sort of attack. If the flaw is actually in your password, it’s typically harder to catch. Usually your
network security control are behind your router, so my suggestion is actually to take advantages of
checksum or hash values to confirm the firmware that’s running on your devices. Now that we have the
internet of things, all this devices which have updated firmware, we need to start checking that the firmware
loaded on the device is indeed the firmware we expect.
22
Attacks, Concepts and Techniques
algorithms because it will likely introduce vulnerabilities. It is strongly advised that developers use security
libraries that have already created, tested, and verified.
Access-control problems – Access control is the process of controlling who does what and ranges from
managing physical access to equipment to dictating who has access to a resource, such as a file, and what
they can do with it, such as read or change the file. Many security vulnerabilities are created by the improper
use of access controls.
If the attacker has physical access to target equipment, no matter what you set a file’s permissions to, the
operating system cannot prevent someone from bypassing the operating system and reading the data directly
off the disk. To protect the machine and the data it contains, physical access must be restricted and
encryption techniques must be used to protect data from being stolen or corrupted.
23
Attacks, Concepts and Techniques
Scareware – This is a type of malware designed to persuade the user to take a specific action based on fear.
Scareware forges pop-up windows that resemble operating system dialogue windows. These windows
convey forged messages stating the system is at risk or needs the execution of a specific program to return
to normal operation. In reality, no problems were assessed or detected and if the user agrees and clears the
mentioned program to execute, his or her system will be infected with malware.
Rootkit – This malware is designed to modify the operating system to create a backdoor. Attackers then
use the backdoor to access the computer remotely. Most rootkits take advantage of software vulnerabilities
to perform privilege escalation and modify system files. It is also common for rootkits to modify system
forensics and monitoring tools, making them very hard to detect. Often, a computer infected by a rootkit
must be wiped and reinstalled.
Virus - A virus is malicious executable code that is attached to other executable files, often legitimate
programs. Most viruses require end-user activation and can activate at a specific time or date. Viruses can
be harmless and simply display a picture or they can be destructive, such as those that modify or delete
data. Viruses can also be programmed to mutate to avoid detection. Most viruses are now spread by USB
drives, optical disks, network shares, or email.
It has the ability to replicate itself and the ability to attach itself to another computer file. A few telltale
signs that your computer may have a virus include: slow response time, random hard drive crashes,
extensive pop up ads. To protect from virus, install a program from only reputable websites, install a quality
firewall program, do not open suspicious emails, or attachments, and make sure you have a good anti-virus
program.
Trojan horse - A Trojan horse is malware that carries out malicious operations under the guise of a desired
operation. This malicious code exploits the privileges of the user that runs it. Often, Trojans are found in
image files, audio files or games. A Trojan horse differs from a virus because it binds itself to non-
executable files.
Worms – Worms are malicious code that replicate themselves by independently exploiting vulnerabilities
in networks. Worms usually slow down networks. Whereas a virus requires a host program to run, worms
can run by themselves. Other than the initial infection, they no longer require user participation. After a
host is infected, the worm is able to spread very quickly over the network. Worms share similar patterns.
They all have an enabling vulnerability, a way to propagate themselves, and they all contain a payload.
Worms are responsible for some of the most devastating attacks on the Internet. In 2001 the Code Red
worm had infected 658 servers. Within 19 hours, the worm had infected over 300,000 servers
Man-In-The-Middle (MitM) – MitM allows the attacker to take control over a device without the user’s
knowledge. With that level of access, the attacker can intercept and capture user information before relaying
it to its intended destination. MitM attacks are widely used to steal financial information. Many malware
and techniques exist to provide attackers with MitM capabilities.
Transport layer security (TLS) is a cryptographic protocol that allows client server applications to
communicate across a network, in a way designed to prevent eavesdropping and tampering. Website authors
should ensure any sensitive information is done over HTTPS, which makes use of the TLS protocol.
Suppose, Owl, is a hacker, he went to a coffee shop, and there are public Wifi, then he turn on his hotspot,
so people can mistake and enter to his wifi, he also sets up a network sniffer, so he inspect any traffic as it
passes through. But victim is safe if they visits sites that implement HTTPS, everything except the domain
of the site is encrypted in the HTTP packets, however anytime victim visits a site that doesn’t use
encryption, Owl can see the conversation, and record unsecured credentials and other sensitive information.
24
Attacks, Concepts and Techniques
Watch:
25
Attacks, Concepts and Techniques
In 1970: The first story written about a computer virus is The Scarred Man by Gregory Benford.
Just like their biological analog these types of programs will infect a computer before self-replicating by
spreading themselves to other machines. Now whatever prank was intended to be pulled can be run on
hundreds or thousands or possibly even millions of computers, all because the program itself was designed
to travel. The idea of an autonomously self-replicating entity goes all the way back to 1940s, Theory of
Self-Reproducing Automata (in 1949), John Von Neumann. It wouldn’t be until the early 70s that such
a program would actually exist. Created in 1971 the app we named Creeper was released onto the
ARPANET where it bounce around between computers. The only trace it left was a message printed out
on to the teletype terminal reading I’M THE CREEPER : CATCH ME IF YOU CAN. Later versions of the
program would drop a copy of itself on the visited machine, making Creeper the first program to
automatically spread copies of itself to other machines. In other words, the first computer worm. Eventually
the worms creator Ray Tomlinson, tired of the nuisances program caused created the world’s second
computer worm Reaper. Designed to clean up the mess that the creeper had created across the network.
Just a few years later, (1975), like creeper, Animal (THE ANIMAL GUESSING PROGRAM, john walker,
April 1974) was never designed with no intension. Written in the era of text-based games, Animal was a
popular program among UNIVAC users, where would try to guess what animal the user was thinking of
through a series of yes-or-no questions. After improving the game with the ability to learn from users and
26
Attacks, Concepts and Techniques
expand its database of animals. John Walker described it as a totally new way of distributing software.
Walker added a routine to the program, called PERVADE, which in the background as the user is playing
would make a copy of animal, to every folder the user had access to. In the case of a super user, the program
would be able to copy itself to every directory in the system. And as tape sharing was a common practice
between users of the time, Animal found its way on the systems where it had never been requested. Mostly
harmless, would eventually halted the spread of animal was an unintended side effect of a system update.
One of the main reasons these worms were so effective was the fact that they were set loose on multi-user
systems, meaning that a worm could either propagate by way of a network, like with Creeper. Or through
resources shared between users, in the case of Animal.
In 1972: The science fiction novel, When HARLIE Was One, by David Gerrold, contains one of
the first fictional representations of a computer virus.
In 1973: In fiction, the 1973 Michael Crichton movie Westworld made an early mention of the
concept of a computer virus.
In 1974: The Rabbit (or Wabbit) virus, more a fork bomb than a virus, is written. The Rabbit virus
makes multiple copies of itself on a single computer (and was named "Rabbit" for the speed at
which it did so) until it clogs the system, reducing system performance, before finally reaching a
threshold and crashing the computer.
In 1981, A program called Elk Cloner, written for Apple II systems, was created by high school
student Richard Skrenta, originally as a prank. The Apple II was particularly vulnerable due to
the storage of its operating system on a floppy disk. Elk Cloner's design combined with public
ignorance about what malware was and how to protect against it led to Elk Cloner being responsible
for the first large-scale computer virus outbreak in history
The term "virus" is re-coined by Frederick B. Cohen in describing self-replicating computer
programs. In 1984 Cohen uses the phrase "computer virus" (suggested by his teacher Leonard
Adleman) to describe the operation of such programs in terms of "infection". He defines a "virus"
as "a program that can 'infect' other programs by modifying them to include a possibly evolved
copy of itself."
In 1986, a boot sector virus appear on the IBM PC, dubbed the BRAIN virus (created in Pakistan),
after the company that created it. This virus listed the contact information of the two creators within
the program. The original intent of this virus was to track how far would spread, to help understand
the scope of software piracy. However, the two brothers were student surprised, to find out their
program had managed to cross the globe all the way over to the United States, the brain virus was
an experiment, but it very quickly showed the potential widespread chaos a computer virus could
cause with more destructive payload. In the following years, the numbers of PC viruses would
explode, from few isolated incidents.
Brain is considered the first IBM PC compatible virus, it was created in Lahore, Pakistan by 19-year-
old Pakistani programmer, Basit Farooq Alvi, and his brother, Amjad Farooq Alvi.
1988: One of the largest viral disasters at the time was the Morris worm released onto the internet
in 1988, by Cornell grad student, Robert Tappan Morris. 6000 infections, 10% of the internet at
that time. The worm did damages on the order of thousands to millions of dollars giving Morris
one of the first high-profile convictions for the 1984, Computer Fraud and Abuse Act. Morris worm
becomes the first worm to spread extensively "in the wild"
By the late 80s, the first antivirus software had already arrived on the scene. System like flu shot would
embed themselves within the operating system and alert the user any time a program attempted to modify
27
Attacks, Concepts and Techniques
another file. Another tactic was to search files or the boot sector for specific signatures associated with a
virus.
1990: A virus could avoid detection while modifying a file by using a custom routine that, went
below the operating system and with the introduction of polymorphic viruses like 1260, the Kota
virus added could be encrypted so that no two infections were alike.
1992: Michelangelo Virus.
1995: Concept Virus: the very first macro virus. Rather than using shared software to spread
concept would infect word documents. Though this virus was mostly harmless, it did highlight an
entirely new and much more dangerous vector for infection. After all sharing files was far more
common than sharing software, especially within businesses.
1999: Happy99: starting with happy99, many viruses and worms would spread by email, talking
advantages of human curiosity, to be activated, upon which they would mail themselves to
whatever email contacts the program would find. Probably the most famous of these mischievous
mass mailing malware menaces was that I Love You worm
2000: ILOVEYOU: The worm was spread by email as an attached love letter from the previously
infected victim. The attachment was named Love-Letter-For-You.txt.vbs relying on the fact that
windows would truncate the rightmost extension, (just show .txt) the file looked like a text file.
And so they would unintentionally activate the worm, Iloveyou and its variants spread across the
globe in mere hours on May 5th of the year 2000, causing an estimated five to nine billion dollars
in damages from clogging internal mail servers to destroying files on host machines.
A common thread among email worm was some form of social engineering from the firework of happy 99
to the intimate Iloveyou massage in order for the program to spread it needed to encourage the user to
activate it that was until the Blaster (2003) and Sasser (2004) came on the scene.
Blaster and Sasser (2003, 2004): These worm both made use of exploits within Windows XP and
Windows 2000, spread themselves without any human intervention. This made them not only easy
to catch but also very hard to isolate since they would continue to automatically spread until
manually removed.
Welchia (2003): Welchia was released making use of the same exploit, rather than cause mayhem
though, the worm was designed to patch the system, as well as blaster worm disinfection. It’s not
always that often you actually find a helpful worm. But Welchia didn’t always manage to patch the
system correctly, it generated traffic that brought many networks down. And at the end of the day,
whether its intension is good or bad, Welchia was still making modifications to other people’s
system without permission, kind of no-no however you slice it.
Santy (2004): A particularly unique method for propagation for malware online was through the
search engine Google. The 2004 Santy worm which infected websites powered by PHP BB selected
its targets by performing a Google search with term specifically designed to return a list of
vulnerable pages. Of course this meant that the spread of the worm was pretty quickly halted when
Google blocked the specific search query.
Overall viruses have mostly trended away from being mindlessly destructive to being destructive in
financially effective ways, case in point WannaCry (2017)
WannaCry(2017): an example of ransomware back in 2017, the worm once again proved that
malware was certainly capable of causing significant financial damage to a target but it wins one
step further by also causing significant financial gains to its creator. Ransomware like WannaCry
encrypts the user’s data, demanding a Bitcoin payment in order for the data to be safely decrypted
28
Attacks, Concepts and Techniques
and return. Whether or not that end of the deal is held up is not necessarily guaranteed them.
Allegedly the creators of WannaCry made around $140,000 from ransom payments made through
their worm and inspired similar ransomware programs like Petya (2017), and Thanatos (2018) in
the following years.
First ransomware: AIDS Trojan (1989): It was simple though. The first known attack was initiated in 1989
by Joseph Popp, PhD, an AIDS researcher, who carried out the attack by distributing 20,000 floppy disks
to AIDS researchers spanning more than 90 countries, claiming that the disks contained a program that
analyzed an individual’s risk of acquiring AIDS through the use of a questionnaire. However, the disk also
contained a malware program that initially remained dormant in computers, only activating after a computer
was powered on 90 times. After the 90-start threshold was reached, the malware displayed a message
demanding a payment of $189 and another $378 for a software lease. This ransomware attack became
known as the AIDS Trojan, or the PC Cyborg.
In 2011, a ransomware worm emerged
that imitated the Windows Product
Activation notice, making it more difficult
for users to tell the difference between
genuine notifications and threats.
CryptoLocker was one of the most
profitable ransomware strains of its time.
December 2013, CryptoLocker infected
more than 250,000 systems. It earned
more than $3 million for its creators. Now
a tool available online to recover
encrypted files compromised by
CryptoLocker.
Fig: Percentage distribution of ransomware variants
Watch:
observed by Kaspersky Labs, 2015-2016.
A brief history of computer virus
The difference between viruses, worms and Trojans
Rootkits as Fast as Possible
Read:
29
Attacks, Concepts and Techniques
Pretexting - This is when an attacker calls an individual and lies to them in an attempt to gain
access to privileged data.
Tailgating - This is when an attacker quickly follows an authorized person into a secure location.
Something for Something (Quid pro quo) - This is when an attacker requests personal information
from a party in exchange for something, like a free gift.
Divulging [make known (private or sensitive information).]
2.13 Wi-Fi Password Cracking
Wi-Fi password cracking is the process of discovering the password used to protect a wireless network.
These are some techniques used in password cracking:
Social engineering – The attacker manipulates a person who knows the password into providing
it.
Brute-force attacks – The attacker tries several possible passwords in an attempt to guess the
password. Brute-force attacks take time, complex passwords take much longer to guess. A few
30
Attacks, Concepts and Techniques
password brute-force tools include Ophcrack, L0phtCrack, THC Hydra, RainbowCrack, and
Medusa.
Ophcrack can be used to crack suppose Windows passwords. Ophcrack uses rainbow tables, where a
rainbow table is a huge pre-computed list of hash values for every possible combination of characters.
Network sniffing – By listening and capturing packets sent on the network, an attacker may be
able to discover the password if the password is being sent unencrypted (in plain text). If the
password is encrypted, the attacker may still be able to reveal it by using a password cracking tool.
Watch:
Changes to this policy become effective without a device restart. The above screenshot gives the fact that
that version of windows using NTLM hash technique.
31
Attacks, Concepts and Techniques
SAM and SYSTEM will be needed for Mimikatz software, here all of these are AES encrypted file.
To export, run> regedit …> export SAM and SECURITY as registry hive files
32
Attacks, Concepts and Techniques
SAM database file: Security Account Manager (SAM) is the database file that stores the user’s password
in the hashed format. You would need access to this file in order to retrieve hashes from your local or
remote Windows machine. Extract hashed passwords from your Windows desktops using a very popular
and powerful tool — mimikatz. Binaries are available at Github
Move SAM, and system to mimikatz directory:
> Run mimikatz.exe and type lasdump::sam command followed by the file paths of sam and system file.
> If you get an error as below, you will need to elevate permissions of mimkatz. Type token::elevate to
elevate the permissions
Once you have the hash, you can use online NTLM generator utility to generate hashes by yourself and
confirm if it matches.
Tools:
SAM and SYSTEM files can’t copy from Windows, so release from regedit, as registry hive files. The
application downloaded from the github. There .zip file contains source code, can be built from visual
studio, and .7z file contains the .exe file> from 64 bit, run the program, here first we check the command
33
Attacks, Concepts and Techniques
version. That works so, then we command, lsadump::sam /system. Means we’re giving sam and system
files, as there are both in desktop, from properties we get the directory, /system:directory\SYSTEM is the
system directory and /SAM:directory\SAM
Here, /system in smaller case them upper case \SYSTEM. Then SAM is both upper case /SAM and \SAM,
these are important. Otherwise error happens. So finally our hash NTLM is:
705f011864c68c0755b18d0122bcae12
This way windows password can still crack and that would be vulnerable for Google Chrome Password
Manager User.
Watch:
34
Attacks, Concepts and Techniques
Step 1. Gather information about the target system. This could be done in many different ways
such as a port scanner or social engineering. The goal is to learn as much as possible about the
target computer.
Step 2.One of the pieces of relevant information learned in step 1 might be the operating system,
its version, and a list of services running on it.
Step 3. When the target’s operating system and version is known, the attacker looks for any known
vulnerabilities specific to that version of OS or other OS services.
Step 4. When a vulnerability is found, the attacker looks for a previously written exploit to use. If
no exploits have been written, the attacker may consider writing an exploit.
Example: an attacker using whois, a public Internet database containing information about domain names
and their registrants. An attacker use the nmap tool, a popular port scanner. With a port scanner, an attacker
can probe ports of a target computer to learn about which services are running on that computer.
Whois
35
Attacks, Concepts and Techniques
2.20 DOS
Denial-of-Service (DoS) attacks are a
type of network attack. A DoS attack
results in some sort of interruption of
network service to users, devices, or
applications. There are two major types
of DoS attacks:
1. Overwhelming Quantity of Traffic
- This is when a network, host, or
application is sent an enormous quantity
of data at a rate which it cannot handle.
This causes a slowdown in transmission
or response, or a crash of a device or
service.
2. Maliciously Formatted Packets - This is when a maliciously formatted packet is sent to a host or
application and the receiver is unable to handle it. For example, an attacker forwards packets containing
errors that cannot be identified by the application, or forwards improperly formatted packets. This causes
the receiving device to run very slowly or crash
DoS attacks are considered a major risk because they can easily interrupt communication and cause
significant loss of time and money. These attacks are relatively simple to conduct, even by an unskilled
attacker.
2.21 DDOS (Distributed Denial of Service)
A Distributed DoS Attack (DDoS) is similar to a DoS attack but originates from multiple, coordinated
sources. An attacker builds a network of infected hosts, called a botnet. The infected hosts are called
zombies. The zombies are controlled by handler systems. The zombie computers constantly scan and infect
more hosts, creating more zombies. When ready, the hacker instructs handler systems to make the botnet
of zombies carry out a DDoS attack.
DDoS is a cyber-attack on a specific server or network. An intended purpose of disrupting normal operation.
DoS attack is just coming from one source. It’s easier to pinpoint. The server can only close the connection
where the attack coming from. DDoS coming from multiple source simultaneously. When this happen it
will overwhelm the server. The other sources connected to the server face a denial of service. The attacker
get involve other computers by a malicious software.
Botnet – an army of infected computers to do a DDoS attack.
2.22 SEO Poisoning
Search engines such as Google work by ranking pages and presenting relevant results based on users’ search
queries. Depending on the relevancy of web site content, it may appear higher or lower in the search result
list. SEO, short for Search Engine Optimization, is a set of techniques used to improve a website’s ranking
by a search engine. While many legitimate companies specialize in optimizing websites to better position
them, a malicious user could use SEO to make a malicious website appear higher in search results. This
technique is called SEO poisoning. To force a malicious site to rank higher in search results, attackers take
advantage of popular search terms. The most common goal of SEO poisoning is to increase traffic to
malicious sites that may host malware or perform social engineering.
36
Attacks, Concepts and Techniques
Some Nimbda variants used email attachments; file downloads from a compromised web server;
and Microsoft file sharing (e.g., anonymous shares) as propagation methods.
Other Nimbda variants were able to modify the system’s guest accounts to provide the attacker or
malicious code with administrative privileges.
The recent Conficker and ZeuS/LICAT worms were also blended attacks. Conficker used all the
traditional distribution methods.
37
Attacks, Concepts and Techniques
download some kind of spyware, Trojan or key logger, that would take valuable information, and send
that outside of the network environment.
Let’s discuss the worms that carried a blended attacks. Here we’ll talk about 1. CodeRed Windows Worm
2. Klez.E 3. SQL Slammer worm 4. Conflicker worm
2.26 CodeRed Windows Worm
CodeRed Worm (2001): start spreading and then it stop spreading and instead direct it’s focus on ddosing
whitehouse.gov. The worm didn’t cause any sever downtime, however most people remember it for certain
page, that would display. “Welcome to https://worm.com hacked by Chinese”
2.27 Email-Worm.Win32.Klez.E
Klez.E: This worm surfaced in October 2001. Quickly spread to many pcs due to its interesting email
messages.
You’ll see it’s not a legit program, that’s telling us that QTMF181.EXE does not have enough memory to
start. While display this error message, it drop its main file to windows system directory and begins its mass
mailing routine. This routine selects BOB different phrases from a list of dozens phrases that it has like
“this is a very humor game, I thought you would like it…” and attaches itself and one random file from the
system to the email. So your personal documents might get leaked on the internet. It activates it’s payload
whenever the month is odd and the day is six. And activates it’s super payload whenever its July or January
6th. It checks the date all the time.
The file becomes corrupted, but the name’s there. So when restart, it take forever as the file can’t be loaded.
2.28 SQL Slammer
SQL Slammer worm of 2003
On a Saturday morning, a bunch of text, and calls and notices that the internet was going nuts. 75 thousand
within 10 minutes.
On Saturday 25th January 2003, the internet was hit by a rapacious computer worm now known as SQL
Slammer. Spreading like wildfire over the internet via a bug in a version of Microsoft SQL, it is believed
to have infected over 75,000 machines within a matter of minutes. Globally, over 250,000 computers were
thought to have been affected.
At its height, SQL Slammer, which was the most widespread worm since 2001’s Code Red worm, doubled
in size every 8.5 seconds. Although the worm’s impact was short-lived, the immediacy of this damage was
critical. SQL Slammer, which was only 376 bytes worth of code. The fix for Slammer was relatively simple;
systems could be rebooted, and, if the patch had been installed, the problem was immediately fixed.
2.29 Conflicker worm
Targets the Microsoft Windows operating system, first detected Nov, 2008. Also known as, Downup,
Downadup, Kido. Infected over 15 million computers around the globe including government, business
and home. Largest known infection since since the 2003 Welchia. Conflicker target a flaw in the SMB
network service in Windows 2000, XP, Vista & 7 Beta. Conflicker is really interesting worm to study
because it utilizes many different malware technique making it harder to stop. Once that shellcode was run,
it would join a larger botnet, and be ready to receive its payload, from a daily list of 250 domain names.
And in later variants they increase that up to 50,000 daily domain names making it harder for network
operators to get rid of this problem. These payloads would updates the worm from a new variant and have
the ability to install additional malware like key loggers, root kits and other nefariouos software. The worm
38
Attacks, Concepts and Techniques
itself used encryption to armor itself from detection, and even reset system restore points disabled Windows
automatic updates, Anti-virus updates and more to prevent detection and removal.
Check out the book Worm by Mark Bowden. It’s a fascinating read for those of us in or entering into the
cyber security industry.
Watches:
Communicate the issue. Internally employees should be informed of the problem and called to
action. Externally, clients should be informed through direct communication and official
announcements. Communication creates transparency, which is crucial in this type of situation.
Be sincere and accountable in case the company is at fault.
Provide details. Explain why the situation took place and what was compromised. It is also expected
that the company take care of the costs of identity theft protection services for affected customers.
Understand what caused and facilitated the breach. If necessary, hire forensics experts to research
and learn the details.
Apply what was learned from the forensics investigation to ensure similar breaches do not happen
in the future.
Ensure all systems are clean, no backdoors were installed, and nothing else has been compromised.
Attackers will often attempt to leave a backdoor to facilitate future breaches. Make sure this does
not happen.
Educate employees, partners, and customers on how to prevent future breaches.
Summary
39
Attacks, Concepts and Techniques
40
Attacks, Concepts and Techniques
1. Improper use of practices that manage physical control of equipment, data, or applications
- access-control problems
2. The use of network data structures that have been created to disrupt the operation of network devices
- maliciously formatted packets
3. Created by Google, this is an example of a third-party permanent team of researchers that is dedicated to
finding software vulnerabilities.
- Project Zero
4. The use of multiple distributed systems to send data that disrupts services provided by networks and
network devices
- Distributed denial-of-services (DDoS)
5. Malware designed to track the actions of users and capture data
- Spyware
6. Usually caused by errors in operating system or application code
- Software vulnerability
7. A way of gaining access to resources that manipulates individuals into performing actions or divulging
[প্রকাশ] confidential information. Attackers attempt to exploit [কাক্রজ িাগান] our willingness to help or exploit
our weaknesses.
- Social engineering
8. A multi-phase, long term, stealthy, and advanced attack against a specific target
- Advanced persistent threat (APT)
9. A highly targeted attack in which emails that appear to be sent from a legitimate source are customized
for specific persons. An attacker researches the interests of the target in order to create an email that tricks
that specific person.
- Spear attack
10. Released by operating system and application producers to avoid exploitation of vulnerabilities
- Security patches and updates
11. Malware designed to automatically perform actions over the Internet
- Bot
12. The use of a software program to challenge a password repeatedly with all the possible values that could
be used for a password, or with a list of words that are commonly used in passwords. Complex passwords
are much more difficult to guess.
41
Attacks, Concepts and Techniques
- Brute-force attack
13. The use of techniques to limit the damage caused by a successful attack. These techniques include ways
of communicating about the attack to employees and clients, investigation of the attack, and measures to
prevent future attacks.
- Impact reduction
14. A public Internet database that contains information about Internet domain names and the people or
organizations that registered the domains. It is a source of information that can be used to exploit system
vulnerabilities.
- whois
15. An attack that interrupts network services to users, devices, or applications
- denial-of-service (DoS)
16. A type of social engineering attack in which an attacker follows an authorized person into a secure
location
- tailgating
17. Malware that carries out malicious operations while appearing to have a desired function. They are
included in non-executable files, unlike viruses, which are executable
- Trojan horse
18. A vulnerability in which data supplied to a program by a user or exploit causes the application to behave
in an unintended way
- Non-valid input
19. Malware designed to modify operating systems to allow unauthorized remote access through a backdoor
- Rootkit
20. A program written to take advantage of a known security vulnerability
- An exploit
21. Software that automatically delivers advertisements. Some types contain spyware
- Adware
22. The use of software to capture packets on a wireless network. Unencrypted passwords can be captured
and used in an attack, and encrypted passwords could be cracked with a software tool.
- Network sniffing
23. A technique in which an attacker can take control of a device without the owner's knowledge. The
attacker can intercept and capture information that passes through the device on its way to another
destination
- Man-in-the Middle (MitM)
42
Attacks, Concepts and Techniques
24. A DoS attack in which an enormous number of packets are sent to a network at a rate that the network
systems cannot handle. This results in a slowdown of network transmission or response, or the crash of a
device or service
- Overwhelming quantity of traffic
25. Security weaknesses caused by design flaws in computer devices and components. They are usually
limited to specific device models and are commonly exploited through targeted attacks.
- Hardware vulnerability
26. A type of social engineering attack in which an attacker requests personal information in exchange for
something such as a free gift
- Something for something
27. A type of social engineering attack in which an individual lies in order to gain access to privileged
information
- Pretexting
28. Use of a generic fraudulent email that appears to be sent by a legitimate source. The email tricks people
into installing malware or sharing confidential information
- Phishing
29. The manipulation of the ranking of a malicious website in order to attract users to the site so that
malicious code will be distributed or social engineering can be used to gather confidential information
- Search engine optimization (SEO) poisoning
30. A software vulnerability that occurs when data is written beyond the limits of memory areas that are
allocated to an application. This vulnerability can cause an application to access memory that is allocated
to other processes
- Buffer overflow
31. The act of discovering a password that is used to protect a wireless network
- Wi-Fi password cracking
32. Any computer code that can be used to steal data, bypass access controls, or harm or compromise a
system
- Malware
33. The use of multiple techniques to compromise a target
- Blended attack
34. The use of various methods, including software tools or social engineering, to gain information about a
system. This attacker uses this information to find weaknesses that exist in that specific system.
- vulnerability exploitation
43
Attacks, Concepts and Techniques
35. A vulnerability that occurs when an ordered or timed set of processes is disrupted or altered by an
exploit
- Race condition
36. Malicious executable code that can be attached to legitimate programs.
- Virus
37. A network of distributed infected hosts that is used to launch a DDoS attack
- Botnet
38. A popular port scanning tool that can be used to discover vulnerabilities in networked systems
- Nmap
39. The act of using an exploit against a vulnerability with the goal of breaking into the target system
- a cyberattack
40. A type of malware that holds a computer system captive, frequently by encrypting essential data, until
a payment is made to the attacker
- Ransomware
41. An attack that is a variation of (MitM). A mobile device is infected with malware that takes control of
the device and causes it to forward sensitive information to attackers.
- Man in the mobile (MitMO)
42. Malware in the form of malicious code that replicates itself independently by exploiting vulnerabilities
in networks. They spread very rapidly over a network because they run by themselves. All share similar
patterns including an enabling vulnerability, a way to propagate themselves, and a payload
- Worms
44
Attacks, Concepts and Techniques
Answers
1. Password cracking –
Common ways used to crack Wi-Fi passwords include social engineering, brute-force attacks, and network
sniffing.
2. to gain privileged access to a device while concealing itself –
Malware can be classified as follows:
- Virus (self replicates by attaching to another program or file)
- Worm (replicates independently of another program)
45
Attacks, Concepts and Techniques
46
Chapter 3: Protect Your Data and Privacy
About
47
Protect Your Data and Privacy
likely to be comprised. The best way to protect yourself from this scenario is to have IoT devices using an
isolated network, sharing it only with other IoT devices.
Explore the Internet of Things: Use Shodan to discover which of your devices are connected to
the Internet, where they are located and who is using them.
See the Big Picture: Websites are just one part of the Internet. There are power plants, Smart TVs,
refrigerators and much more that can be found with Shodan!
Monitor Network Security: Keep track of all the computers on your network that are directly
accessible from the Internet. Shodan lets you understand your digital footprint.
Get a Competitive Advantage: Who is using your product? Where are they located? Use Shodan
to perform empirical market intelligence.
3.3 Functions and importance of Windows Firewall
Windows Firewall is a security application by Microsoft which is used for filtering packets and data
coming to your system through the network. It is used for blocking potentially harmful programs requesting
access to your Windows machine. It also prevent a server from remote code execution. So users can
themselves add programs want to block the access, and similarly add programs which they want to allow
through the firewall. The firewall also prevents certain ports to prevent malicious code which might want
to be executed on your system. You can visualize the windows firewall as a large concrete wall with
numerous doors for entry. A support is just like a door, some doors are always closed unless you tell the
firewall to open it. In this way you are protected from the sneaky activities. So if you want to host a web
service in your network, you need to allow it through the firewall to allow it to make outside connections.
Firewall is a vital security step taken to prevent unauthorized access and hacking activities to some extent.
So it is crucial to enable Windows Firewall for additional windows security.
Visits:
48
Protect Your Data and Privacy
and manipulate the network traffic. This vulnerability can be exploited using Key Reinstallation Attacks
(KRACK). It affects all modern, protected Wi-Fi networks. For laptops or other devices with wired NIC,
a wired connection could mitigate this vulnerability. Furthermore, you can also use a trusted VPN service
to prevent the unauthorized access to your data while you are using the wireless network.
When you are away from home, a public Wi-Fi hot spot allows you to access your online information and
surf the Internet. However, it is best to not access or send any sensitive personal information over a public
wireless network. To prevent someone from intercepting your information (known as “eavesdropping”)
while using a public wireless network, use encrypted VPN tunnels and services. The VPN service provides
you secure access to the Internet, with an encrypted connection between your computer and the VPN service
provider’s VPN server. With an encrypted VPN tunnel, even if a data transmission is intercepted, it is not
decipherable.
Many mobile devices, such as smartphones and tablets, come with the Bluetooth wireless protocol. This
capability allows Bluetooth-enabled devices to connect to each other and share information. Unfortunately,
Bluetooth can be exploited by hackers to eavesdrop on some devices, establish remote access controls,
distribute malware, and drain batteries. To avoid these issues, keep Bluetooth turned off when you are not
using it.
3.5 Key Reinstallation Attacks (KRACK)
Breaking WPA2 by forcing nonce reuse Discovered by Mathy Vanhoef, 2017
We discovered serious weaknesses in WPA2, a protocol that secures all modern protected Wi-Fi networks.
An attacker within range of a victim can exploit these weaknesses using key reinstallation attacks
(KRACKs). Concretely, attackers can use this novel attack technique to read information that was
previously assumed to be safely encrypted. This can be abused to steal sensitive information such as credit
card numbers, passwords, chat messages, emails, photos, and so on. The attack works against all modern
protected Wi-Fi networks. Depending on the network configuration, it is also possible to inject and
manipulate data. For example, an attacker might be able to inject ransomware or other malware into
websites.
The weaknesses are in the Wi-Fi standard itself, and not in individual products or implementations.
Therefore, any correct implementation of WPA2 is likely affected. To prevent the attack, users must update
affected products as soon as security updates become available. During our initial research, we discovered
ourselves that Android, Linux, Apple, Windows, OpenBSD, MediaTek, Linksys, and others, are all affected
by some variant of the attacks.
Our key reinstallation attack is exceptionally devastating against Linux and Android 6.0 or higher. This is
because Android and Linux can be tricked into (re)installing an all-zero encryption key. When
attacking other devices, it is harder to decrypt all packets, although a large number of packets can
nevertheless be decrypted.
Our attack is not limited to recovering login credentials (i.e. e-mail addresses and passwords). In general,
any data or information that the victim transmits can be decrypted. Additionally, depending on the device
being used and the network setup, it is also possible to decrypt data sent towards the victim (e.g. the content
of a website). Although websites or apps may use HTTPS as an additional layer of protection, we warn that
this extra protection can (still) be bypassed in a worrying number of situations.
Our main attack is against the 4-way handshake of the WPA2 protocol. This handshake is executed when
a client wants to join a protected Wi-Fi network, and is used to confirm that both the client and access point
49
Protect Your Data and Privacy
possess the correct credentials (e.g. the pre-shared password of the network). At the same time, the 4-way
handshake also negotiates a fresh encryption key that will be used to encrypt all subsequent traffic.
Currently, all modern protected Wi-Fi networks use the 4-way handshake. This implies all these networks
are affected by (some variant of) our attack. For instance, the attack works against personal and enterprise
Wi-Fi networks, against the older WPA and the latest WPA2 standard, and even against networks that only
use AES. All our attacks against WPA2 use a novel technique called a key reinstallation attack (KRACK)
In a key reinstallation attack, the adversary tricks a victim into reinstalling an already-in-use key. This
is achieved by manipulating and replaying cryptographic handshake messages. When the victim
reinstalls the key, associated parameters such as the incremental transmit packet number (i.e. nonce) and
receive packet number (i.e. replay counter) are reset to their initial value. Essentially, to guarantee security,
a key should only be installed and used once. Unfortunately, we found this is not guaranteed by the WPA2
protocol. By manipulating cryptographic handshakes, we can abuse this weakness in practice.
3.6 Protect yourself while using wireless network
Encryption is the best way to keep your personal data safe. It works by scrambling the data in a message so
that only the intended recipients can read it. When the address of a website you're visiting starts with
"https" instead of "http," that indicates encryption is taking place between your browser and site.
The two most common types of encryption are Wired Equivalent Privacy (WEP), and Wi-Fi Protected
Access (WPA). The strongest one commonly available is WPA2, so use that if you have the option. Home
Wi-Fi systems and public Wi-Fi access points, or "hotspots," usually will inform you of the encryption they
use.
Learn:
50
Protect Your Data and Privacy
help you to log into your online accounts automatically. You only need to remember your master password
to access the password manager and manage all of your accounts and passwords.
To prevent unauthorized physical access to your computing devices, use passphrases, rather than
passwords. It is easier to create a long passphrase than a password, because it is generally in the form of a
sentence rather than a word. The longer length makes passphrases less vulnerable to dictionary or brute
force attacks. Furthermore, a passphrase maybe easier to remember, especially if you are required to change
your password frequently. Here are some tips in choosing good passwords or passphrases:
51
Protect Your Data and Privacy
52
Protect Your Data and Privacy
Next,
a) Open a web browser and go to http://preshing.com/20110811/xkcd-password-generator/
b) Generate a random word password by clicking Generate Another! At the top portion of the
webpage.
53
Protect Your Data and Privacy
54
Protect Your Data and Privacy
subscribe to a cloud storage service, the cost depends on the amount storage space needed. With a cloud
storage service like Amazon Web Services (AWS), you have access to your backup data as long as you
have access to your account. When you subscribe to online storage services, you may need to be more
selective about the data being backed up due to the cost of the storage and the constant online data transfers.
One of the benefits of storing a backup at an alternate location is that it is safe in the event of fire, theft or
other catastrophes other than storage device failure.
What happens if you don't pay your AWS bill?
You'll get multiple emails from AWS to pay the outstanding amount. If you fail to pay they will
first suspend your account and terminate it (delete all data) after two months.
[MY LAB] I could have multiple google account, and share from all of the account to one single/master
account in Google Drive. Each account offer 15GB of free storage. With a lots of account and share with
a master account, I can have a lots of data in a single accounts for free. Not sure. Again, there could be a
potential threats that I could need to handle like after not using/ log in for a long periods of time like 2-3
years, a account could be suspended and everything could be deleted. Discover when that will occur.
[MY LAB-2] Format a harddrive and recover data using Get Data Back (GDB)
Watch:
VeraCrypt: How to encrypt files
Visit:
Download: VeraCrypt
Backup Data to External Storage
Part One: BackUp to a Local External Disk. Getting started with Backup Tools in Windows:
To access the Backup and Restore utility in Windows 7, follow the steps below:
a) Connect an external drive.
b) Execute the Backup and Restore by using the following path: Start > Control Panel > Backup
and Restore
Backup Documents:
Now that the external disk is connected, we know how to find the backup tools, here two things could
happen. After choosing a backup place, we could let windows backup by default. That will include
everything including files of different users on PC, and the operating system. Or we could choose exactly
what to backup/ create a shadow image. Here we only select the documents, and make a shadow image to
pendrive. Note I don’t need this tools very much as I have onedrive connected. Everything is automatically
copied to onedrive. Even the deleted files is stayed for a few times to backup from onedrive. If internet is a
problem, then we need to do this manually like this.
Advantages:
The Backup files is not a simple copy. It’s a portable file that need to dismount / restore. Now this
compressed single file can be uploaded to drives or share perhaps. Can be Restore anywhere.
List a few of cloud-based backup services. Best cloud backup services at a glance:
55
Protect Your Data and Privacy
1. IDrive
2. OneDrive
3. Backblaze Business
4. Carbonite Safe
5. CrashPlan
6. SOS Online Backup
7. SugarSync Business
8. Dropbox Business
Research the services you listed above. Are these services free?
IDrive 5GB
Google drive- 15GB
Are the services listed by you platform dependent?
No, cloud based services are not platform dependent.
Can you access your data from all devices you own (desktop, laptop, tablet and phone)?
Yeah, anything with internet connection.
Notice that Dropbox and OneDrive allow you to create a folder on your computer that acts as a link to the
cloud drive. Once created, files copied to that folder are automatically uploaded to the cloud by the
cloud-service client that is always running.
Schedule Backup: you can use any backup tools of your choice to schedule cloud backups. Use Windows
Backup and Restore to back up your files to Dropbox. Open Windows Backup and Restore and configure
it to use the new Dropbox folder as a backup destination.
3.11 Deleting your data permanently
When you move a file to the recycle bin or trash and delete it permanently, the file is only inaccessible from
the operating system. Anyone with the right forensic tools can still recover the file due to a magnetic trace
left on the hard drive. In order to erase data so that it is no longer recoverable, the data must be overwritten
with ones and zeroes multiple times. To prevent the recovery of deleted files, you may need to use tools
specifically designed to do just that. The program SDelete from Microsoft (for Vista and higher), claims to
have the ability to remove sensitive files completely. Shred for Linux and Secure Empty Trash for Mac
OS are some tools that claim to provide a similar service.
The only way to be certain that data or files are not recoverable is to physically destroy the hard drive or
storage device. It has been the folly [েু দভিেয] of many criminals in thinking their files were impenetrable or
irrecoverable.
Besides storing data on your local hard drives, your data may also be stored online in the cloud. Those
copies will also need to be deleted. Take a moment to ask yourself, “Where do I save my data? Is it backed
up somewhere? Is it encrypted? When you need to delete your data or get rid of a hard drive or computer,
ask yourself, “Have I safeguarded the data to keep it from falling into the wrong hands?”
Watch:
56
Protect Your Data and Privacy
Do you have an account with an online service provider? If so, have you read the Terms of Service
agreement?
Not really
What is the data use policy?
The Data Use Policy is a compulsory legal disclosure of how a website operator collects,
retains and shares personally identifiable information.
What are the privacy settings?
Privacy settings are controls available on many social networking and other websites that
allow users to limit who can access your profile and what information visitors can see.
What does security policy mean?
A security policy is a written document in an organization outlining how to protect the
organization from threats, including computer security threats, and how to handle situations
when they do occur.
What happens to your data when you close your account?
All your information is permanently deleted from Facebook after about one month. If you
only deactivate your account, Facebook will not delete any information and you may
reactivate. While deactivated your friends will still see you in their lists. Some
information may remain in backup copies and logs for up to 90 days.
What can you do to protect yourself?
57
Protect Your Data and Privacy
3.13 How secure is your data when it’s stored in the cloud?
As cloud storage becomes more common, data security is an increasing concern. Companies and schools
have been increasing their use of services like Google Drive for some time, and lots of individual users
also store files on Dropbox, Box, Amazon Drive, Microsoft OneDrive and the like. They’re no doubt
concerned about keeping their information private – and millions more users might store data online if they
were more certain of its security.
Data stored in the cloud is nearly always stored in an encrypted form that would need to be cracked before
an intruder could read the information.
Commercial cloud storage systems encode each user’s data with a specific encryption key. Without it, the
files look like gibberish – rather than meaningful data. But who has the key? It can be stored either by the
service itself, or by individual users. Most services keep the key themselves, letting their systems see and
process user data, such as indexing data for future searches. These services also access the key when a user
logs in with a password, unlocking the data so the person can use it. This is much more convenient than
having users keep the keys themselves. But it is also less secure: Just like regular keys, if someone else has
them, they might be stolen or misused without the data owner knowing.
Letting users keep control: A few less popular cloud services, including Mega and SpiderOak, require
users to upload and download files through service-specific client applications that include encryption
functions. That extra step lets users keep the encryption keys themselves. For that additional security, users
forgo some functions, such as being able to search among their cloud-stored files.
These services aren’t perfect – there’s still a possibility that their own apps might be compromised or
hacked, allowing an intruder to read your files either before they’re encrypted for uploading or after being
downloaded and decrypted. And, of course, if a user loses the password, the data is irretrievable.
Protecting yourself: To maximize cloud storage security, it’s best to combine the features of these various
approaches. Before uploading data to the cloud, first encrypt it using your own encryption software. Then
upload the encoded file to the cloud. To get access to the file again, log in to the service, download it and
decrypt it yourself.
This, of course, prevents users from taking advantage of many cloud services, like live editing of shared
documents and searching cloud-stored files. And the company providing the cloud services could still
modify the data, by altering the encrypted file before you download it.
The best way to protect against that is to use authenticated encryption. This method stores not only an
encrypted file, but additional metadata that lets a user detect whether the file has been modified since it was
created.
Watch:
58
Protect Your Data and Privacy
personal identification number (PIN) or pattern, two factor authentication requires a second token, such
as a:
For this to work, the application ‘XYZ’ is registered with ‘ABC’ and is an approved application. When you
access XYZ, you use your user credentials for ABC. Then XYZ requests an access token from ABC on
your behalf. Now you have access to XYZ. XYZ knows nothing about you and your user credentials, and
this interaction is totally seamless for the user. Using secret tokens prevents a malicious application from
getting your information and your data.
59
Protect Your Data and Privacy
60
Protect Your Data and Privacy
3) Ignore the message, making sure you don’t click it or download the program and close the website.
(0 points)
e. When you need to log into your financial institution’s website to perform a task, you:
1) Enter your login information immediately. (3 points)
2) You verify the URL to ensure it is the institution you were looking for before entering any
information. (0 points)
3) You don’t use online banking or any online financial services. (0 points)
f. You read about a program and decide to give it a try. You look around the Internet and find a trial version
on an unknown site, you:
1) Promptly download and install the program. (3 points)
2) Search for more information about the program creator before downloading it. (1 points)
3) Do not download or install the program. (0 points)
g. You find a USB drive while walking to work. you:
1) Pick it up and plug it into your computer to look at its contents. (3 points)
2) Pick it up and plug it into your computer to completely erase its contents before re-using it. (3
points)
3) Pick it up and plug it into your computer to run an anti-virus scan before re-using it for your own
files (3 points)
4) Don’t pick it up. (0 points)
h. You need to connect to the Internet and you find an open Wi-Fi hotspot. You:
1) Connect to it and use the Internet. (3 points)
2) Don’t connect to it and wait until you have a trusted connection. (0 points)
3) Connect to it and establishes a VPN to a trusted server before sending any information. (0 points)
B. Analyze your online behavior:
The higher your score, the less safe your online behaviors are. The goal is to be 100% safe by paying
attention to all your online interactions. This is very important as it only takes one mistake to compromise
your computer and data.
Add up the points from Part 1. Record your score.
0: You are very safe online.
0 – 3: You are somewhat safe online but should still change your behavior to be completely safe.
3 – 17: You have unsafe behavior online and have a high risk of becoming compromised.
18 or more: You are very unsafe online and will be compromised.
Survey:
61
Protect Your Data and Privacy
ticketing company responsible for the race event. Because you have just been to the event, the email
seems more credible.
b. Reusing passwords is a bad practice. If you reuse a password in a service under attackers’ control,
they may be successful when attempting to log in as you in other services.
c. Emails can be easily forged to look legitimate. Forged emails often contain links to malicious sites
or malware. As a general rule, do not click embedded links received via email.
d. Do not accept any unsolicited software, especially if it comes from a web page. It is extremely
unlikely that a web page will have a legitimate software update for you. It is strongly recommended
to close the browser and use the operating system tools to check for the updates.
e. Malicious web pages can be easily made to look like a bank or financial institution website. Before
clicking the links or providing any information, double-check the URL to make sure it is the correct
web page.
f. When you allow a program to run on your computer, you give it a lot of power. Choose wisely
before allowing a program to run. Research to make sure the company or individual behind the
program is a serious and legitimate author. Also, only download the program from the official
website of the company or individual.
g. USB drives and thumb drives include a tiny controller to allow computers to communicate with it.
It is possible to infect that controller and instruct it to install malicious software on the host
computer. Because the malware is hosted in the USB controller itself and not in the data area, no
amount of erasing or anti-virus scanning will detect the malware.
h. Attackers will often deploy fake Wi-Fi hotspots to lure users. Because the attacker has access to all
the information exchanged via the compromised hotspot, users connected to that hotspot are at risk.
Never use unknown Wi-Fi hot spots without encrypting your traffic through a VPN. Never provide
sensitive data such as credit card numbers while using an unknown network (wired or wireless).
Summary
1. hardware or software that prevents hackers from accessing your personal or company data
firewall
2. a program that scans a computer for malicious software and deletes it
antivirus
3. monitors online activities and collects personal information without permission
spyware
4. destroys data and can slow down a computer
virus
5. to use the latest software and security patches/updates
secure the browser and operating system
6. a web based device scanner
Shodan
62
Protect Your Data and Privacy
7. The process of converting information into a form where an unauthorized party cannot read it
Encryption
8. An encrypted connection between a computer and a VPN server to prevent data interception
Encrypted VPN
9. Adds an additional barrier in discovering the network and provides minimal security
Disable an SSID broadcast
10. An open standard protocol that allows an end user to access third party applications without
exposing the password of the user
Open Authorization (Oauth)
11. Physically destroy the hard drive or storage device
How can you make a file unrecoverable?
12. A software or service that stores and encrypts different and complex passwords for use with online
accounts
Password manager
13. Connect to a specific wireless network by the way of a network identifier
Service Set Identifier (SSID)
14. A public location to surf the Internet but where it is best not to access or send any sensitive personal
information
Public Wi-Fi hot spot
15. In addition to a username and password, the requirement of a second token, such as a credit card
or phone number, to verify the credentials of a user
Two Factor authentication
16. Do not use dictionary word or names in any languages. Do not use common misspellings of
dictionary words. Do not use computer names or account names. If possible use special characters,
such as ! @ # % ^ & * ( ). Use at least a ten character password.
How can you make a secure password?
17. Prevents the loss of irreplaceable data through a local or cloud storage solution
Data backup
18. Enable wireless security and use WPA2 encryption feature
Encrypt wireless communication
19. Methods of keeping Internet browsing history private by automatically disabling cookies, deleting
temporary Internet files, and having browsing history removed after closing the window or program
Microsoft Internet Explorer: InPrivate, Google Chrome: Incognito, Mozilla Firefox:
Private tab/ private window, Safari: Private: Private browsing
1. A consumer would like to print photographs stored on a cloud storage account using a third party online
printing service. After successfully logging into the cloud account, the customer is automatically given
access to the third party online printing service. What allowed this automatic authentication to occur?
a. The cloud storage service is an approved application for the online printing service.
b. The password entered by the user for the online printing service is the same as the password used
on the cloud storage service.
c. The user is on an unencrypted network and the password for the cloud storage service is viewable
by the online printing service.
63
Protect Your Data and Privacy
d. The account information for the cloud storage service was intercepted by a malicious application.
Ans: Open Authorization is an open standard protocol that allows end users to access third party
applications without exposing the user password. The correct answer is: The cloud storage service is an
approved application for the online printing service
2. How can users working on a shared computer keep their personal browsing history hidden from other
workers that may use this computer?
a. Operate the web browser in private browser mode.
b. Reboot the computer after closing the web browser.
c. Move any downloaded files to the recycle bin.
d. Use only an encrypted connection to access websites.
Ans: When a computer user browses the web in private mode, the following occurs:
64
Protect Your Data and Privacy
5. Which configuration on a wireless router is not considered to be adequate security for a wireless network?
a. modify the default SSID and password of a wireless router
b. enabling wireless security
c. implement WPA2 encryption
d. prevent the broadcast of an SSID
Ans: A wireless router can be configured to not allow the SSID to be broadcast, but that configuration is
not considered to be adequate security for a wireless network
The correct answer is: prevent the broadcast of an SSID
6. What is the best method to prevent Bluetooth from being exploited?
a. Always use a VPN when connecting with Bluetooth.
b. Always disable Bluetooth when it is not actively used.
c. Only use Bluetooth to connect to another smartphone or tablet.
d. Only use Bluetooth when connecting to a known SSID.
Ans: Bluetooth is a wireless technology that can be exploited by hackers to eavesdrop, establish remote
access controls, and distribute malware. A user should keep Bluetooth turned off when not in use.
The correct answer is: Always disable Bluetooth when it is not actively used.
7. Why do IoT devices pose a greater risk than other computing devices on a network?
a. Most IoT devices do not require an Internet connection and are unable to receive new updates.
b. IoT devices cannot function on an isolated network with only an Internet connection.
c. Most IoT devices do not receive frequent firmware updates.
d. IoT devices require unencrypted wireless connections.
Ans: IoT devices commonly operate using their original firmware and do not receive updates as frequently
as laptops, desktops, and mobile platforms.
The correct answer is: Most IoT devices do not receive frequent firmware updates.
8. A user is surfing the Internet using a laptop at a public WiFi cafe. What should be checked first when the
user connects to the public network?
a. if the laptop web browser is operating in private mode
b. if the laptop requires user authentication for file and media sharing
c. if the laptop Bluetooth adapter is disabled
d. if the laptop has a master password set to secure the passwords stored in the password manager
Ans: When a user connects to a public network, it is important to know if the computer is configured with
file and media sharing and that it requires user authentication with encryption.
The correct answer is: if the laptop requires user authentication for file and media sharing
9. Which technology removes direct equipment and maintenance costs from the user for data backups?
a. network attached storage
b. a cloud service
c. an external hard drive
65
Protect Your Data and Privacy
d. a tape
Ans: The cost of cloud storage commonly depends on the amount of storage space needed. The cloud
provider will maintain the equipment and the cloud user will have access to the backup data.
The correct answer is: a cloud service
10. As data is being stored on a local hard disk, which method would secure the data from unauthorized
access?
a. data encryption
b. deletion of sensitive files
c. two factor authentication
d. a duplicate hard drive copy
Ans: Data encryption is the process of converting data into a form where only a trusted, authorized person
with a secret key or password can decrypt the data and access the original form.
The correct answer is: data encryption
11. Which type of technology can prevent malicious software from monitoring user activities, collecting
personal information, and producing unwanted pop-up ads on a user computer?
a. two factor authentication
b. password manager
c. firewall
d. antispyware
Ans: Antispyware software is commonly installed on a user machine to scan and remove malicious spyware
software installed on a device.
The correct answer is: antispyware
12. How can a user prevent others from eavesdropping on network traffic when operating a PC on a public
Wi-Fi hot spot?
a. Use WPA2 encryption.
b. Create strong and unique passwords.
c. Disable Bluetooth.
d. Connect with a VPN service.
Ans: When a user connects through an encrypted VPN tunnel on a public Wi-Fi network, any data being
sent or received from the user will be undecipherable.
The correct answer is: Connect with a VPN service.
রকছু প্রশ্ন
পাৈরল্ক হটস্পদট কাদনক্ট কিদল্, দেখদত হদৈ দেখাদন দকান দেদেনরিযাল্ ইনফিদেিন দেেন দফেৈুদক ল্গইদনি জদনয
ইউজাি দনে/পােওযােি চায রকনা। েরে চায তদৈ তা দেওযা োদৈ না। কািণ দেদেদত্র তা হযাকাদিি কাদছ চদল্ োৈাি একটা
েম্ভাৈনা থাদক, রেদিক্ট দেইন দটক্সদট।
66
Protect Your Data and Privacy
আি েরে দেদেনরিযাল্ ইনফিদেিন নাও ল্াদগ, তািপদিও হযাকাি চাইদল্ দকান ওদযৈোইদট ঢুকরছ ইতযারে দেদখ রনদত
পাদি। এজদনয রভরপএন ইউজ কিদল্ দেই ইনদফািদেিনও এনরেপদটে আকাদি পাে হয। ফদল্ ইভেড্ররপিংএ পিদল্ও দকান
ইনদফািদেিন পাে হয না।
অদনকেেয WPA-2 key reinstallation attack এটাক হদল্ আি HTTPS কাজ কদি না। তাই োটা এনরেদেে আকাদি
পাে হয না। এদেদত্রও হযাকাি ৈযাকগ্রাউদে দথদক েরনটরিিং কিদত পাদি। আি হুট কদি এই HTTPS দপ্রাদটাকল্ কাজ না
কিদল্ আি দেইরেদক দখযাল্ও থাদক না। এই েু দোগদক কাদজ ল্াগায তািা। এখন রেরল্যন েল্াি কুদযশ্চানঃ HTTPS েরে
রিকেদতা এনরেপিন কদি আি রভরপএনও েরে এনরেপিন এি কাজ কদি, তাহদল্ রক েু ইৈাি এনরেপিন হদে েখন
আেিা রভরপএন চারল্দয HTTPS এ ওদযৈ ব্রাউরজিং করি?
67
Chapter 4: Protecting the Organization
This chapter:
briefly covers the many types of firewalls, security appliances, and software that are currently used
explains botnets, the kill chain, behavior-based security
using NetFlow to monitor a network.
Packet Filters
Stateful Firewalls
Circuit-Level Gateways/Firewalls
Application Level Gateway/Firewalls
Firewall technologies have evolved a lot over the past 30 years. It a common these days for firewalls to be
able to do a lot of different things. Nobody cares what would generation of firewall it is, unless you’re
talking about the history of firewalls. Where I’d start how firewalls evolved all that stuff matters.
Packet Filters: Simplest of the firewalls, a packet filtering router is nothing than a router with an access
control list. The access control list is kinda limited in term of what it can do. It looks at source and/or
68
Protecting the Organization
destination IP address, it can look at the protocol that’s in use whether it’s IP or even IP X, IP version 6 so
can look at the protocol that’s in use, it can also look at the next layer of protocol that’s in use for instance
TCP, UDP, GRE, ICMP etc. So it has the capacity to go in and identify protocols and permit or deny them
based upon the protocol that’s in use. You can identify where the traffic is coming from or going to, based
on the IP address. It can also go in and look at things like a DHCP for quality of service related stuff.
Benefits: comparatively inexpensive, fast, fairly easy to implement, Ubiquitous in routers & switches, We
see this kind of functionality in huge numbers of devices, from wireless access points to layer 3 switches,
old-fashioned routers
Disadvantages: Savvy attackers will get around them, they are not insurmountable, now they’re going to
keep the average person from doing things that you don’t want them to do but with somebody’s got
sufficient motive opportunity means then they’re going to very easily bypass this. The other big thing with
packet filtering routers or packet filtering firewalls that they look at each packets as if it was a unique entity,
no other information is relevant or pertinent. When the packet comes in the packet filtering firewall looks
at it makes a decision, based upon its rule set and either permits or denies it. And then moves on to the next
packet and there’s no memory of the packet that came before and so packets are coming in the decision, is
made on them one by one, with absolutely no consideration for anything that came before it. When we talk
about the other package types or are the firewall types that’s actually a problem. For that reason you could
call them stateless firewalls, (nobody actually calls it). Don’t handle fragmentation very well, looking at
the payload is something that is oftentimes very high on people’s list of priorities and a regular packet router
can’t do it. Because it is so comparatively easy to circumvent and it maintains no concept of state, and it
has no capacity to go in and inspect the application-layer payload, the packet filtering router is considered
to be the least secure form of firewall. But they do have a place in the world, I don’t take it that means that
they don’t work at all, because they do.
[There is an experiment at the next part of the video (bellow) which illustrate “you cannot defend yourself
from the internet using just packet filtering routers” There was two types of attack. Need a VM to do that.]
Will be continue…
Watch:
69
Protecting the Organization
[Masquerade = ছদ্মদৈি]
In networking, each application running on a device is assigned an identifier called a port number. This
port number is used on both ends of the transmission so that the right data is passed to the correct
application. Port-scanning can be used maliciously as a reconnaissance [পুনরুদ্ধাি] tool to identify the
operating system and services running on a computer or host, or it can be used harmlessly by a network
administrator to verify network security policies on the network.
For the purposes of evaluating your own computer network’s firewall and port security, you can use a port-
scanning tool like Nmap to find all the open ports on your network. Port-scanning can be seen as a
precursor to a network attack and therefore should not be done on public servers on the Internet, or on a
company network without permission.
To execute an Nmap port-scan of a computer on your local home network, download and launch a program
such as Zenmap, provide the target IP address of the computer you would like to scan, choose a default
scanning profile, and press scan. The Nmap scan will report any services that are running (e.g., web
services, mail services, etc.) and port numbers. The scanning of a port generally results in one of three
responses:
Open or Accepted – The host replied indicating a service is listening on the port.
Closed, Denied, or Not Listening – The host replied indicating that connections will be denied to
the port.
Filtered, Dropped, or Blocked – There was no reply from the host.
To execute a port-scan of your network from outside of the network, you will need to initiate the scan from
outside of the network. This will involve running an Nmap port-scan against your firewall or router’s public
IP address. To discover your public IP address, use a search engine such as Google with the query “what is
my ip address”. The search engine will return your public IP address.
To run a port-scan for six common ports against your home router or firewall, go to the Nmap Online Port
Scanner at https://hackertarget.com/nmap-online-port-scanner/ and enter your public IP address in the input
box: IP address to scan… and press Quick Nmap Scan. If the response is open for any of the ports: 21, 22,
25, 80, 443, or 3389 then most likely, port forwarding has been enabled on your router or firewall, and you
are running servers on your private network , as shown in the figure.
70
Protecting the Organization
Zenmap is a cool, free tool that you can use to discover network devices, either on your home network, or
your work network. It’s a tool that really awesome if you want to figure out if you have any unauthorized
devices or rogue devices on your network. Before you can figure out what devices are unauthorized, you
first have to establish a baseline. [run a scan later on and compared it against that baseline]
Once caveat with Zenmap is for it to be accurate, for network discovery, we need to run the tool from the
same subnet that we’re scanning against. This is because Zenmap uses arping to discover the devices. If
we relied on ping, or looking for open TCP ports, we will miss a lot of devices. Because a lot of devices
71
Protecting the Organization
typically have inbound traffic blocked, including ICMP echo request, If that device is different subnet, the
scanner subnet, subnet we’re running Zenmap from, we won’t be able to discover that device.
What is Zenmap? How use to scan subnet? How to add notes and save scan as a Baseline?
How to add a new scan and compare against baseline?
Zenmap is a graphical user interface for Nmap. All it really does is just nmap on tha back, in the background.
Cmd> ipconfig> I got my ip address (IPV4)
Here 192.168.43 this are going to be a part of the network ID, because the mask includes all 1’s there
(255.255.255) (11111111.11111111.11111111) => 24
Ip address, 4th part: 192, subnet mask 4th part: 0
IP : 11000000 (192)
SNM: 00000000
So, we can’t use anything, 0
Subnet Mask: 192.168.43.0/24
If 4th part of subnet mask is 110000000, we could use the first two in the ip address, so it would be
192.168.43.192/CIDR, as 192 was part of the subnet mask (in the binary form)
If 4th part of the subnet mask was 10000000, we could use only first one bit in the ip address, so it would
be so 10000000 = 128, so
192.168.43.128/CIDR
Zenmap- Lab:
Use the subnet mask 192.168.43.0/24 as target
-Pn means-> don’t ping the host, just assume it’s online,
-n -> we don’t really need to go into a reverse lookup of the IP address to the hostname
72
Protecting the Organization
You can click on services here. This will show you all the services discovered on this particular subnet.
This might be your baseline, if you know these devices, you could make a comment (click on host, then
click a host, host details> then comment like ‘domain controller’)
You may wanna same this result, this will be our baseline. Go scan> save scan> give a name (discovery 1)
save to a location.
73
Protecting the Organization
Next, get another scan, save scan result, (can view this in webpage), go Tools> Compare result> open two
XML file, this will compare, also from ‘Scan Output’ under A scan and B scan, we can see the files
individually.
Watch:
Routers - Cisco Integrated Services Router (ISR) routers, have many firewall capabilities
besides just routing functions, including traffic filtering, the ability to run an Intrusion Prevention
System (IPS), encryption, and VPN capabilities for secure encrypted tunneling.
Firewalls - Cisco Next Generation Firewalls have all the capabilities of an ISR router, as well as,
advanced network management and analytics.
IPS - Cisco Next Generation IPS devices, are dedicated to intrusion prevention.
VPN - Cisco security appliances are equipped with a Virtual Private Network (VPN) server and
client technologies. It is design.
Malware/Antivirus - Cisco Advanced Malware Protection (AMP) comes in next generation
Cisco routers, firewalls, IPS devices, Web and Email Security Appliances and can also be installed
as software in host computers for secure encrypted tunneling.
Other Security Devices – This category includes web and email security appliances, decryption
devices, client access control servers, and security management systems.
74
Protecting the Organization
Remember:
75
Protecting the Organization
DDoS Attacks and Real Time Response - DDoS is one of the biggest attack threats requiring real-time
response and detection. DDoS attacks are extremely difficult to defend against because the attacks originate
from hundreds, or thousands of zombie hosts, and the attacks appear as legitimate traffic, as shown in the
figure above. For many companies and organizations, regularly occurring DDoS attacks cripple Internet
servers and network availability. The ability to detect and respond to DDoS attacks in real-time is crucial.
দেদকান রেদেে হযাকে হদত পাদি। রেদফন্স হদল্া এটাক হৈাি পি কত দ্রুত রিস্পন্স কিা োয এি দেজািদেন্ট। কািণ
অদনক দকাম্পারন আদছ োিা রেদনি পি রেন ইদভি োদেি পি োে এভাদৈই চল্দছ, আইদেরন্টফাই কিদত পাদিরন দে তাদেি
রেদেে হযাকে হদয আদছ। কািণ হযাকািিা এিকে দকান কাে কদি ৈদে না, দে হযাকে হওযাি োদথ োদথ ৈুদে দফল্দৈ
েৈাই অথৈা দকান দনারটরফদকিন আেদৈ! এটাক রেদটকে কিাি জদনয করন্টরনউযাে ফাযািওযযাল্, IDS/IPS রেভাইদেি
োধযদে দেন কদি দেদত হদৈ দে এটাক হৈাি েদতা দকান োেরপরেযাে ৈযাপাি ঘটদল্া রকনা। আেেদনি েদধয একটা ৈি
আেেন হদল্া DDoS এটাক। আদগ দথদক একটা ৈট দনট রেদযট কদি এটা, ভাইোি রেরিরৈউদটি োধযদে। েখন হাজাি
খাদনক ৈা এইিকে অদনক অদনক রপরে ৈটদনদটি আওতায চদল্ আদে, তখন হযাকাদিি কাদছ অদনকটা েু পাি করম্পউটাি
হাদত পাওযাি েদতা ৈযাপাি ঘদট। কািণ এই ৈটদনদট থাকা েৈ রপরে রেদল্ একোদথ এটাক রেদল্ অদনক রেরপইউ পাওযাি
ইউজ কিা োয, আি দেই এটাক দিকাদনাি উপায থাদক না। আৈাি রজরু দে এটাক হদল্ও আদগ দথদক প্ররতদিাদধি ৈযাৈস্থা
দনই দেদহতু দেটা রেদেদেি ৈাগ দথদক হয। এইজদনয আোন্ত হদত পাদি দকান দকাম্পারন রকন্তু এটাদকি োদথ োদথ ৈযাৈস্থা
রনদত হদৈ এৈিং েত দ্রুত েম্ভৈ।
76
Protecting the Organization
Perform Risk Assessment – Knowing the value of what you are protecting will help in justifying
security expenditures [ৈযয]
Create a Security Policy – Create a policy that clearly outlines [রূপদিখা] company rules, job duties,
and expectations.
Physical Security Measures – Restrict access to networking closets [কে], server locations, as well
as fire suppression [েেন]
Human Resource Security Measures – Employees should be properly researched with
background checks.
77
Protecting the Organization
Perform and Test Backups – Perform regular backups and test data recovery from backups.
Maintain Security Patches and Updates – Regularly update server, client, and network device
operating systems and programs.
Employ Access Controls – Configure user roles and privilege levels as well as strong user
authentication.
Regularly Test Incident Response – Employ an incident response team and test emergency
response scenarios.
Implement a Network Monitoring, Analytics and Management Tool - Choose a security
monitoring solution that integrates with other technologies.
Implement Network Security Devices – Use next generation routers, firewalls, and other security
appliances.
Implement a Comprehensive Endpoint Security Solution – Use enterprise level antimalware
and antivirus software.
Educate Users – Educate users and employees in secure procedures.
Encrypt data – Encrypt all sensitive company data including email.
Some of the most helpful guidelines are found in organizational repositories such as the National Institute
of Standards and Technology (NIST) Computer Security Resource Center. One of the most widely known
and respected organizations for cybersecurity training is the SANS Institute. Go here to learn more about
SANS and the types of training and certifications they offer.
4.12 SANS
Training is very good but that’s too expensive. SANS is the most trusted and by far the largest source
for information security training and security certification in the world. SANS provides intensive,
immersion training designed to help you and your staff master the practical steps necessary for defending
systems and networks against the most dangerous threats - the ones being actively exploited. The courses
are full of important and immediately useful techniques that you can put to work as soon as you return to
your offices. To find the best teachers in each topic in the world, SANS runs a continuous competition for
instructors. Last year more than 90 people tried out for the SANS faculty, but only five new people were
selected. Many of the valuable SANS resources are free to all who ask. They include the very
popular Internet Storm Center (the Internet's early warning system), the weekly news digest (NewsBites),
the weekly vulnerability digest (@RISK), and more than 1,200 award-winning, original information
security research papers.
SANS Information Security Reading Room - More than 3070 original research papers in 111
important categories of security
SANS Weekly Bulletins and Alerts - Definitive updates on security news and vulnerabilities
SANS Security Policy Project - Free Security Policy Templates - Proven in the real world
Visit:
GIAC Certification
SANS
78
Protecting the Organization
4.12 Botnet
A botnet is a group of bots, connected through the Internet, with the ability to be controlled by a malicious
individual or group. A bot computer is typically infected by visiting a website, opening an email attachment,
or opening an infected media file.
A botnet can have tens of thousands, or even hundreds of thousands of bots. These bots can be activated to
distribute malware, launch DDoS attacks, distribute spam email, or execute brute force password
attacks. Botnets are typically controlled through a command and control server.
Cyber criminals will often rent out Botnets, for a fee, to third parties for nefarious purposes.
79
Protecting the Organization
What are the attack indicators at each stage of the Kill Chain?
Which security tools are needed to detect the attack indicators at each of the stages?
Are there gaps in the company’s ability to detect an attack?
According to Lockheed Martin, understanding the stages of Kill Chain allowed them to put up defensive
obstacles, slow down the attack, and ultimately prevent the loss of data. The figure shows how each stage
of the Kill Chain equates to an increase in the amount of effort and cost to inhibit and remediate attacks.
80
Protecting the Organization
Honeypots - A Honeypot is a behavior-based detection tool that first lures the attacker in by
appealing to the attacker’s predicted pattern of malicious behavior, and then, when inside the
honeypot, the network administrator can capture, log, and analyze the attacker’s behavior. This
allows an administrator to gain more knowledge and build a better defense.
Cisco’s Cyber Threat Defense Solution Architecture - This is a security architecture that uses
behavior-based detection and indicators, to provide greater visibility, context, and control. The goal
is to know who, what, where, when, and how an attack is taking place. This security architecture
uses many security technologies to achieve this goal.
81
Protecting the Organization
the rest of the corporate network and any intruder or any attacker actually comes into the system, breaks
the password, what he will see is it like a real system, with all the network connections and all but that
system is actually it’s nothing but it’s a honeypot. The attacker is fooled in this way, and this is one of the
latest intrusion detection technology, that they have and one more really good thing about honeypot, is they
come up with sensors and loggers, that actually detect the access and blocks the certain privileges to the
attacker. So here by doing honeypot, a company can get a lot of insights into what an attacker is looking to
access, as well as his main motive in order to get access to the corporate system inside the network.
Cisco system cyber security solution: within cyber threat defense there’s a few components that make it
work, one we partnered with a company called Lancope that brings it all together under single pane of
glass, the cisco piece is net flow produced by our routers and switches that kind of act like a phone bill for
your network, it sees every piece of information that goes across your network and feeds it in the land coat
for them to correlate. So besides just bringing and looking at the data we need to know who is actually
accepting this information or who the bad guy is in the network. So that is actually that pieces of Cisco
context information from our identity services engine that kind of feeds who what where when why and
how of a cyber-threat defense.
Watch:
82
Protecting the Organization
When a packet enters an interface, that the router hasn’t seen before, it will decide whether or not to route
the Datagram and if it forwards the Datagram, it will make an entry in the flow cache on the router based
on matching criteria in the packet. The flow cache entry contains things like the destination and source IP
addresses the destination and source ports, the source interface, the protocol, the bytes and some other
details, are all entered into the flow cache, the packet is then routed out the destination interface. As the
following packets that match an existing flow entry come into the router, the byte and packet counters keep
incrementing for each additional Datagram, until the connection between the hosts involved in a flow is
torn down, so packets that enter the router that don’t have a matching flow entry are first determined to be
routable and if they are accepted they are then forwarded after a flow cache entry is made a flow cache can
contain hundreds of thousands of entries and in some cases into the millions.
Now when the flow is expire they are exported off to the NetFlow collector which will constantly analyze
and archive the flows for future reference. The NetFlow collector can then provide details on things like
the threats detected, the network topology, top interfaces and of course graphical trends.
Netflow is used for finding bandwidth hogs, hunting down network threats, isolating application slowness
issues, and even for usage based billing by some service providers. Many hardware vendors are now
adopting IPFIX which is the official standard for all flow technologies, both netflow and IPFIX can be
performed in hardware or software. They can be used to export information real time right down to the
second and they can be used for both flow and packet sampling much like s flow.
Watch:
What is NetFlow
4.18 CSIRT
Many large organizations have a Computer Security Incident
Response Team (CSIRT) to receive, review, and respond to
computer security incident reports, as shown in Figure at right.
The primary mission of CSIRT is to help ensure company,
system, and data preservation by performing comprehensive
investigations into computer security incidents. To prevent
security incidents, Cisco CSIRT provides proactive threat
assessment, mitigation [প্রশ ন] planning, incident trend
analysis, and security architecture review, as shown in bellow.
[Proactive- (of a person, policy, or action) creating or controlling a situation by causing something to happen
rather than responding to it after it has happened.]
83
Protecting the Organization
Cisco’s CSIRT collaborates with Forum of Incident Response and Security Teams (FIRST), the
National Safety Information Exchange (NSIE), the Defense Security Information Exchange (DSIE),
and the DNS Operations Analysis and Research Center (DNS-OARC).
There are national and public CSIRT organizations like the CERT Division of the Software Engineering
Institute at Carnegie Mellon University, that are available to help organizations, and national CSIRTs,
develop, operate, and improve their incident management capabilities.
Watch:
84
Protecting the Organization
SIEM – A Security Information and Event Management (SIEM) system is software that
collects and analyzes security alerts, logs and other real time and historical data from security
devices on the network.
DLP – Data Loss Prevention Software (DLP) is a software or hardware system designed to stop
sensitive data from being stolen from or escaping a network. A DLP system may focus on file
access authorization, data exchange, data copying, user activity monitoring, and more. DLP
systems are designed to monitor and protect data in three different states: data in-use, data in-motion
and data at-rest. Data in-use is focused on the client, data in-motion refers to data as it travels
through the network, and data at-rest refers to data storage.
Cisco ISE and TrustSec – Cisco Identity Services Engine (Cisco ISE) and Cisco TrustSec
enforce access to network resources by creating role-based access control policies that segment
access to the network (guests, mobile users, employees) without added complexity. Traffic
classification is based on user or device identity
4.21 Fundamentals of ISE
I remember my first security policy. So simple. Good stuff on, bad stuff off. Over the years, however,
defining good and bad as gotten really difficult. So one policy quickly became two, then 10, then more and
forget about just defining these policies, I need to enforce them as well. Now there's compliance and the
need to prove I'm secure. On top of all that, everyone's bringing in his or her favorite Wi-Fi device and
expecting full network access. Keeping up with this stuff takes time, people, and money, not to mention
how I translate policy terms like location, users, devices, and applications into geek speak like IPs, MACs,
ACLs, ports, and 802.1x. Enough! An answer for us.
The Cisco Identity Servers Engine or ISE is an identity-based policy platform that enables compliance,
enhances security, and streamlines operations. Its unique architecture lets you gather real-time contextual
information about users and devices to proactively enforce governance policy across the entire network
infrastructure. As the central policy component for Cisco's TrustSec Solution, ISE is the single source for
policy definition, control, and reporting.
Let me show you the tool set. Triple A. Authentication, authorization, and accounting. Hey, what's your
username and your password? Cool. Now let me give you access to just what you need and by the way, I'm
logging this whole session just in case. Posture. Is this device clean? Carrying any suspicious applications
or viruses? No? Profiler. You say you're a printer, but now you act like a web camera? I'm going to show
you the door. Out! And now, guest management. Just need temporary access? No problem. You get just
enough access, but when your time is up, it's up. And automatically. Nice thing for me, I don't even have
to set you up as a guest. All that's handled by the person who wanted you to visit.
Now many of you are saying to yourself right now, self, this sounds just like Cisco NAC and ACS. And
you're right. That's where it starts. ISE combines the functionality of both, but with simpler deployment and
common management. Moving forward, ISE will extend more deeply into the network, into the data center,
85
Protecting the Organization
and the application stack. The Cisco Identity Services Engine is the single source of truth for end points all
across the network.
Now, there are really just two packages to understand here. The base package is all about authentication,
ID, and guest services like what you find in Cisco ACS and NAC Guest Server. The advanced package
adds profiling and posture services into the mix. A deeper more intelligent analysis of anything requesting
access. NAC Appliance and Profiler, they'd be your reference points here. And anticipating your next
logical question, no, this does not mean end of life for NAC or ACS. Every network is different. ICS is for
those of us who want to consolidate policies in an 802.1x framework. If that's not you because say you want
a choke point that's in line, or maybe you're just looking to authenticate a network device admins or
something. Well, existing NAC or ACS products? They're going to be a better fit.
Now unlike other solutions, Cisco ISE has the ability to run specific functions at critical points in the
network. For example, a pair of ISE appliances for administration, maintenance, and troubleshooting, and
logging, and a high availability configuration. This could be located centrally, but with distributed
appliances for making policy decisions as close to the user or device as possible communicating to your
Cisco network infrastructure for enforcement. This is a really important design point to call out here. Cisco
ISE works with your existing network devices, switches, wireless controllers, VPN concentrators, to
balance the workload and keep enforcement as close to the end point as possible. If you have legacy gear
in your network, no worries. ISE can make enforcement work with these as well. Now this example was a
large network design simply to illustrate the flexibility available.
Our assault on complexity continues now with a simple interface including things like a centralized
dashboard with hotlinks to more details, flexible filtering of your active session, drag and drop re-ordering
of rules, reusable objects. You're just going to love the clarity ISE provides here. Visibility into what just
happened, when it happened, who or what was involved and how it was taken care of. We all know that
complexity is the enemy of good security. This is why the ISE dashboard and the reporting tools, the live
logs, are so robust and valuable.
4.22 SIEM
What is a SIEM? SIEM stands for security information and event management. It’s a system that
collects log files, security alerts, and events into one place. So security teams can more easily analyze data.
You can think of a SIEM as a log management system, specialized for security. SIEMs collect all this
information from other security systems like endpoint security, Firewalls, Intrusion detection systems,
and the like. They were necessitated with the growth and the number of security systems. The logs and
alerts from these systems, needed to be stored centrally, so that analysts didn’t have to go to each individual
security product to conduct the investigations. SIEMs offer powerful log search features, the ability to
trigger alerts using rules, and reports that organizations can provide to auditors to demonstrate compliance
with various regulations. That’s the old definitions of SIEM. In 2017, the analyst firm Gartner, updated
86
Protecting the Organization
their definition of a SIEM, They added two new and important technologies, UEBA and SOAR. Two more
acronyms for you to remember, UEBA stands for user and entity behavior analytics. And is an analytic
slayer that tracks normal and abnormal behavior for users and entities, like databases, servers and devices.
It helps analysts spot abnormal behaviors, like login from an usual location, or machine uploading large
amounts of information for the first time. Both are potential signs of a security issue. SOAR stands for
Security Orchestration automation and response, SOAR automates what security analysts need to do to
respond to security incidents. Remember how the original SIEM meant analysts didn’t need to go each
individual security system to clock logs? Well they would still need to, if they wanted to respond to an
incident. SOAR eliminates that. Let’s say there’s malware found on a laptop. An analyst would normally
go to the Endpoint Security system, quarantine the computer, and then maybe search for the source of the
malware in an IDS or an IPS to make sure no one else is affected. With SOAR, the analyst can automate
the quarantine action, from the SIEM. They don’t need to log into the endpoint security system, and with a
modern SIEM that has UEBA, the system automatically discovers that the malware come from a phishing
link in an email. So now the analyst wants to block that link in other emails, so no one else gets affected.
This is where orchestration comes in.
SIEMs can be used for a number of purposes, in fact that’s why they are often the foundational platform
for the security operations center, the SOC. You can still use your SIEM to demonstrate compliance with
regulations like SOX, HIPPA, and GDPR. But a more advanced use would be zero-day detection, where
unusual behavior would help detect something you’ve never seen before. Some companies use SIEM for
insider threat detection, or threat hunting. This is a proactive search for usual activities inside an
organization. Lastly, with SOAR a SIEM can help to automate the SOC from detection through
investigation and response.
87
Protecting the Organization
to the corporate network and corporate data to machines you are unable to modify, then nDLP is the only
choice here for the short term. Changes to the endpoint policy are typically long term plans in most
organizations.
Watches:
What Type of Data Loss Prevention (DLP) is right for your Organization? Endpoint DLP vs.
Network DLP
What is SIEM? Explained
Overview of Trustsec and Terminology
The scanning performed by the IDS slows down the network (known as latency). To prevent against
network delay, an IDS is usually placed offline, separate from regular network traffic. Data is copied or
mirrored by a switch and then forwarded to the IDS for offline detection. There are also IDS tools that can
be installed on top of a host computer operating system, like Linux or Windows.
An Intrusion Prevention System (IPS) has the ability to block or deny traffic based on a positive rule or
signature match. One of the most well-known IPS/IDS systems is Snort. The commercial version of Snort
is Cisco’s Sourcefire. Sourcefire has the ability to perform real-time traffic and port analysis, logging,
content searching and matching, and can detect probes, attacks, and port scans. It also integrates with other
third party tools for reporting, performance and log analysis.
4.25 Quick Quiz: Identify Cybersecurity Approach Terminology
88
Protecting the Organization
Here,
DLP: Data Loss Prevention
ISE: Identity Services Engine
CSIRT: Computer Security Incident Response Team
IDS: Intrusion Detection System (IDS)
SIEM: security information and event management
IPS: Intrusion prevention system
Watch:
1. the process of probing a computer, server, or other network host for open ports
port scanning
2. protects the network by controlling what traffic is allowed in, as well as allowed out
firewall
3. a security appliance that has the ability to block or deny traffic based on a positive rule or a signature
match
IPS/IDS
4. True or False. Today there are single security appliances that will solve all the network security
needs of an organization.
False
5. This attack disrupts services by simply overwhelming servers and network devices with bogus
traffic.
DDoS
6. True or False. A botnet can have tens of thousands of bots, or even hundreds of thousands.
True
7. the process of probing [অনু সন্ধান] a computer, server, or other network host for open ports
port scanning
8. a type of security measure that restricts access to networking closets, server locations, as well as
fire suppression [দ্ ন]
89
Protecting the Organization
physical security
9. a conceptual outline of the stages of an information systems attack
Kill Chain
10. a tool used to gather information about data flowing through a network
NeTFlow
1. What type of attack disrupts services by overwhelming network devices with bogus traffic?
a. DDoS
b. zero-day
c. port scans
d. brute force
Ans: DDoS, or distributed denial of service, attacks are used to disrupt service by overwhelming network
devices with bogus traffic. The correct answer is: DDoS.
2. A ___ is a group of compromised or hacked computers (bots) controlled by an individual with malicious
intent.
Ans: A compromised or hacked computer that is controlled by a malicious individual or group is known as
a bot. A group of these hacked computers under the control of a malicious individual or group is known as
a botnet. The correct answer is: botnet
3. Which tool can identify malicious traffic by comparing packet contents to known attack signatures?
a. Zenmap
b. IDS
c. Nmap
d. Netflow
Ans: An IDS, or intrusion detection system, is a device that can scan packets and compare them to a set of
rules or attack signatures. If the packets match attack signatures, then the IDS can create an alert and log
the detection. The correct answer is: IDS
4. Which protocol is used by the Cisco Cyberthreat Defense Solution to collect information about the traffic
that is traversing the network?
a. NAT
b. NetFlow
c. Telnet
d. HTTPS
Ans: NetFlow is used both to gather details about the traffic that is flowing through the network, and to
report it to a central collector. The correct answer is: NetFlow
90
Protecting the Organization
5.
In general, these phases are carried out in sequence. However, during an attack, several phases can be
carried out simultaneously, especially if multiple attackers or groups are involved. The correct answer
is: malicious action
91
Chapter 5: Will Your Future Be in Cybersecurity?
This chapter:
Covers the legal and ethical issues that arise when working in cybersecurity.
There are educational paths towards certifications that you may wish to pursue with the Cisco
Networking Academy. Some of these certifications are prerequisites to Specialization Certificates
in many areas of networking, including cybersecurity.
The Networking Academy Talent Bridge page (netacad.com under Resources) provides good
information to help you write a great résumé and prepare for a job interview. It also contains listings
for Cisco and Cisco Partner jobs.
5.1 Legal Issues in Cybersecurity
Cybersecurity professionals must have the same skills as hackers, especially black hat hackers, in order to
protect against attacks. One difference between a hacker and a cybersecurity professional is that the
cybersecurity professional must work within legal boundaries.
92
Will Your Future Be in Cybersecurity?
In addition to working within the confines of the law, cybersecurity professionals must also demonstrate
ethical behavior.
93
Will Your Future Be in Cybersecurity?
o CompTIA members are trusted, skilled, and knowledgeable tech professionals. If you’re
CompTIA certified, you’re already a member! Not CompTIA certified? Find your path to
membership. Student membership - $29/year. Basic student membership -free
Cisco has a team devoted exclusively to ethical business conduct. Go here to read more about it.
This site contains an eBook about Cisco’s Code of Business Conduct, and a pdf file. In both files is an
“Ethics Decision Tree”, as shown in the figure above. Even if you do not work for Cisco, the questions and
answers found in this decision tree can easily be applied to your place of work. As with legal questions, in
general, if you are confused about whether an action or behavior might be unethical, assume that it is
unethical and do not do it. There may be someone in your company’s human resources or legal department
who can clarify your situation before you do something that would be considered unethical.
Search online to find other IT-related organizations with codes of ethics. Try to find what they all have in
common.
o Cisco/CCNA will benefit you more than CompTIA A+
o The natural progression to network engineer or system engineer is from a helpdesk role, without
this sort of experience, it’s very difficult.
o CompTIA certificates expired? Yes.
o A+ certificates suits for beginner, to get in a help desk. But to get to above that skip A+
o A person was promoted to junior network admin just because he was working on CCNA
o Network Plus, Server plus those also are great certs (A+ certs). They covering the basics. Cisco
certs, Microsoft certs already do that for you. Skip the network plus or server plus.
Watch:
CompTIA or Cisco? Should I get the CompTIA A+/Network+ OR the Cisco CCNA/CCENT –
Microsoft MCSA?
Visits:
94
Will Your Future Be in Cybersecurity?
hacker, searches and exploits security vulnerabilities in applications, networks and systems. To become a
penetration tester, you will need to gain experience in other IT jobs, such as security administrator, network
administrator, and system administrator. Each one of these jobs requires its own set of skills that will help
you become a valuable asset to an organization.
The Cisco Networking Academy provides many courses for you to continue your education in
Cybersecurity. We encourage you to enroll in the next course, Cybersecurity Essentials, to continue to
build strong foundational knowledge in Cybersecurity. Check out the Cisco Networking Academy and see
a list of courses that are available. Furthermore, you can also access career resources available in Cisco
Networking Academy.
Just for fun, click here to read a graphic novel about a cybersecurity superhero!
NetAcad can support your education and your career. Cisco Cert Exams and Discount Vouchers:
You have worked hard to complete this course. Now it is time to think about how your new skills and
knowledge can help when talking industry-recognized certification exams. Now only that, netacad.com
might also be able to help save you money on the cost of exam.
Summary
Discussing the legal and ethical issues that professionals in cybersecurity commonly face.
Presented educational and career paths for those who wish to become cybersecurity professionals.
Three external Internet job search engines are presented for you to explore.
95
Final Assessment
You will have 3 attempts to complete the exam. This exam contains content learned in this course. Essay
questions are designed for reflection and will not be scored. Other items are scored using the Weighted
Model where each MCSA (Multiple-Choice Single-Answer) is worth two points and each MCMA
(Multiple-Choice Multiple-Answer) is worth one point for each correct option. If more options are selected
than required, the student will receive a score of zero.
1. What are two objectives of ensuring data integrity? (Choose two.)
a. Access to the data is authenticated
b. Data is encrypted while in transit and when stored on disk
c. Data is available all the time
d. Data is not changed by unauthorized entities
e. Data is unaltered during transit
Ans: d,e
2. A medical office employee sends emails to patients about recent patient visits to the facility. What
information would put the privacy of the patients at risk if it was included in the email?
a. First and last name
b. Contact information
c. Next appointment
d. Patient records
Ans: d
3. The IT department is reporting that a company web server is receiving an abnormally high number
of web page requests from different locations simultaneously. Which type of security attack is
occurring?
a. Adware
b. DDoS
c. Social engineering
d. Spyware
e. Phishing
Ans: b
4. What action will an IDS take upon detection of malicious traffic?
a. Reroute malicious traffic to a honeypot
b. Drop only packets identified as malicious
c. Block or deny all traffic
d. Create a network alert and log the detection
Ans: d
5. When describing malware, what is a difference between a virus and a worm?
a. A virus can be used to launch a DoS attack (but not a DDoS), but a worm can be used to launch
both DoS and DDoS attacks.
b. A virus can be used to deliver advertisements without user consent, whereas a worm cannot.
c. A virus focuses on gaining privileged access to a device, whereas a worm does not.
96
Final Assessment
d. A virus replicates itself by attaching to another file, whereas a worm can replicate itself
independently.
Ans: d
6. What is the best approach to prevent a compromised IoT device from maliciously accessing data
and devices on a local network?
a. Place all IoT devices that have access to the Internet on an isolated network
b. Disconnect all IoT devices from the Internet
c. Install a software firewall on every network device
d. Set the security settings of workstation web browsers to a higher level
Ans: a
7. What tool is used to lure an attacker so that an administrator can capture, log, and analyze the
behavior of the attack?
a. Nmap
b. Honeypot
c. Netflow
d. IDS
Ans: b
8. A web server administrator is configuring access settings to require users to authenticate first before
accessing certain web pages. Which requirement of information security is addressed through the
configuration?
a. Confidentiality
b. Scalability
c. Availability
d. Integrity
Ans: a
9. What is the best method to avoid getting spyware on a machine?
a. Install software only from trusted websites
b. Install the latest operating system updates
c. Install the latest antivirus updates
d. Install the latest web browser updates
Ans: a
10. True or False? An employee does something as a company representative with the knowledge of
that company and this action is deemed illegal. The company would be legally responsible for this
action.
a. True
b. False
Ans: a
11. For what purpose would a network administrator use the Nmap tool?
a. identification of specific network anomalies
b. detection and identification of open ports
97
Final Assessment
98
Final Assessment
d. Fingerprint
e. Voice recognition
Ans: d,e
18. A company is experiencing overwhelming visits to a main web server. The IT department is
developing a plan to add a couple more web servers for load balancing and redundancy. Which
requirement of information security is addressed by implementing the plan?
a. Scalability
b. Availability
c. Confidentiality
d. Integrity
Ans: b
19. What is an example of the a Cyber Kill Chain?
a. A group of botnets
b. A combination of virus, worm, and Trojan Horse
c. A series of worms based on the same core code
d. A planned process of cyberattack
Ans: d
20. Which two tools used for incident detection can be used to detect anomalous behavior, to detect
command and control traffic, and to detect infected hosts? (Choose two.)
a. NetFlow
b. Honeypot
c. Intrusion detection system
d. A reverse proxy server
e. Nmap
Ans: a,c
21. Which technology creates a security token that allows a user to log in to a desired web application
using credentials from a social media website?
a. In-private browsing mode
b. Open Authorization
c. VPN service
d. Password manager
Ans: b
[END]
99
100