1 Flashcards
to set a limit on the amount of data we expect to receive to set aside storage for that data
*required in most programming languages
* prevents buffer overflows
Bounds Checking
A type of software development vulnerability that occurs when multiple processes or multiple threads within a process control or share access to a particular resource, and the correct handling of that resource depends on the proper ordering or timing of transactions
Race Conditions
a type of attack that can occur when we fail to validate the input to our applications or take steps to filter out unexpected or undesirable content
Input Validation
a type of input validation attacks in which certain print functions within a programming language can be used to manipulate or view the internal memory of an application
Format String Attack
A type of attack that can occur when we fail to use strong authentication mechanisms for our applications
Authentication Attack
A type of attack that can occur when we fail to use authorization best practices for our applications
Authorization Attack
A type of attack that takes advantage of weaknesses in the software loaded on client machines or one that uses social engineering techniques to trick us into going along with the attack
Cryptographic Attack
A type of attack that takes advantage of weaknesses in the software loaded on client machines or one that uses social engineering techniques to trick us into going along with the attack
Client-Side Attack
an attack carried out by placing code in the form of a scripting language into a web page or other media that is interpreted by a client browser
XSS (Cross Site Scripting)
an attack in which the attacker places a link on a web page in such a way that it will be automatically executed to initiate a particular activity on another web page or application where the user is currently authenticated
XSRF (cross-site request forgery)
An attack that takes advantage of the graphical display capabilities of our browser to trick us into clicking on something we might not otherwise
Clickjacking
A type of attack on the web server that can target vulnerabilities such as lack of input validation, improper or inadequate permissions, or extraneous files left on the server from the development process
server-side attack
Name the 4 main categories of database security issues
- Protocol issues
- unauthenticated access
- arbitrary code execution
- privilege escalation
A type of tool that analyzes web pages or web-based applications and searches for common flaws such as XSS or SQL injection flaws, and improperly set permissions, extraneous files, outdated software versions, and many more such items
web application analysis tool
unauthenticated flaws in network protocols, authenticated flaws in network protocols, flaws in authentication protocols
protocol issues
An attack that exploits an applications vulnerability into allowing the attacker to execute commands on a user’s computer.
* arbitrary code execution in intrinsic or securable SQL elements
arbitrary code execution
An attack that exploits a vulnerability in software to gain access to resources that the user normally would be restricted from accessing.
* via SQL injection or local issues
Privilege Escalation
a security best practice for all software
* the most effective way of mitigating SQL injection attacks
validating user inputs
A web server analysis tool that performs checks for many common server-side vulnerabilities & creates an index of all the files and directories it can see on the target web server (a process known as spidering)
Nikto (and Wikto)
A well-known GUI web analysis tool that offers a free and professional version; the pro version includes advanced tools for conducting more in-depth attacks
burp suite
A type of tool that works by bombarding our applications with all manner of data and inputs from a wide variety of sources, in the hope that we can cause the application to fail or to perform in unexpected ways
fuzzer
A tool developed by Microsoft to find flaws in file-handling source code
MiniFuzz File Fuzzer
A tool developed by Microsoft to examine source code for general good practices
BinScope Binary Analyzer
A tool developed by Microsoft for testing certain pattern-matching expressions for potential vulnerabilities
SDL Regex Fuzzer
CERT, NIST 800, BSI, an organization’s internal coding guidelines
good sources of secure coding guidelines
the process of reducing the number of available avenues through which our OS might be attacked
OS hardening
The total of the areas through which our operating system might be attacked
attack surface
- Removing unnecessary software
- Removing or turning off unessential services
- Making alterations to common accounts
- Applying the principle of least privilege
- Applying software updates in a timely manner
- Making use of logging and auditing functions
6 main hardening categories
states we should only allow a party the absolute minimum permission needed for it to carry out its function
Principle of Least Privilege
A particularly complex and impactful item of malware that targeted the Supervisory Control and Data Acquisition (SCADA) systems that run various industrial processes; this piece of malware raised the bar for malware from largely being a virtual-based attack to actually being physically destructive
Stuxnet
A type of tool that uses signature matching or anomaly detection (heuristics) to detect malware threats, either in real-time or by performing scans of files and processes
anti-malware tool
the process of anomaly detection used by anti-malware tools to detect malware without signatures
heuristics
A hardware and software-based technology that prevents certain portions of the memory used by the operating system and applications from being used to execute code
executable space protection
The act of inputting more data than an application is expecting from a particular input, creating the possibility of executing commands by specifically crafting the excess data
buffer overflow (overrun)
a security method that involves shifting the contents of memory around to make tampering difficult
ASLR (Address Space Layout Randomization)
This type of firewall generally contains a subset of the features on a large firewall appliance but is often capable of similar packet filtering and stateful packet inspection activities
software firewall
a system used to analyze the activities on or directed at the network interface of a particular host.
* may communicate with management device by sending regular beacons
HIDS (host-based intrusion detection system)
a type of tool that can detect various security flaws when examining hosts
scanner
A tool that is aimed specifically at the task of finding and reporting network services on hosts that have known vulnerabilities
vulnerability assessment tool
A well-known vulnerability assessment tool that includes a port scanner
Nessus
A group of tools that can include network mapping tools, sniffers, and exploits
exploit framework
small bits of software that take advantage of flaws in software/applications in order to cause them to behave in ways that were not intended by their creators
exploits
Name 3 examples of exploit frameworks
Metasploit, Immunity CANVAS, Core Impact
This method of security involves a well-configured and patched network, and incorporating elements such as network segmentation, choke points, and redundancy
security in network design
The act of dividing a network into multiple smaller networks, each acting as its own small network (subnet)
network segmentation
certain points in the network, such as routers, firewalls, or proxies, where we can inspect, filter, and control network traffic
choke points
a method of security that involves designing a network to always have another route if something fails or loses connection
redundancy
a mechanism for maintaining control over the traffic that flows into and out of our networks
firewall
A firewall technology that inspects the contents of each packet in network traffic individually and makes a gross determination (based on source and destination IP address, port number, and the protocol being used) of whether the traffic should be allowed to pass
packet filtering
a firewall that can watch packets and monitor the traffic from a given connection
SPI (Stateful Packet Inspection)
a firewall technology that can analyze the actual content of the traffic that is flowing through
DPI (Deep Packet Inspection)
a specialized type of firewall that can serve as a choke point, log traffic for later inspection, and provides a layer of security by serving as a single source of requests for the devices behind it
proxy server
a combination of a network design feature and a protective device such as a firewall.
Often used for systems that need to be exposed to external networks but are connected to our own network (such as a web server)
DMZ (demilitarized zone)
A system that monitors network traffic and alerts for unauthorized activity
NIDS (Network intrusion detection system)
An IDS that maintains a database of signatures that might signal a particular type of attack and compares incoming traffic to those signatures
signature-based IDS
an IDS that takes a baseline of normal network traffic and activity and measures current traffic against this baseline to detect unusual events
anomaly-based IDS
an encrypted connection between two points
VPN (Virtual Private Network)
protocol used to secure traffic in a variety of ways, including file transfers and terminal access. uses RSA encryption (asymmetric encryption)
SSH (Secure Shell)
a phrase that refers to an organization’s strategy and policies regarding the use of personal vs. corporate devices
BYOD (bring your own device)
a solution that manages security elements for mobile devices in the workplace
MDM (mobile device management)
a well-known Linux sniffing tool used to detect wireless access points
kismet
A Windows tool used to detect wireless access points
NetStumbler
A well-known port scanner that can also search for hosts on a network, identify the operating systems those hosts are running, detect the version of the services running on any open ports, and more
nmap
this type of tool can intercept traffic on a network; listens for any traffic that the network interface of our computer or device can see
packet sniffer (aka network or protocol analyzer)
classic, command-line sniffing tool that monitors network activities, filters traffic, and more
runs on UNIX systems
tcpdump (WinDump for Windows)
a graphical interface protocol sniffing tool that is capable of filtering, sorting, & analyzing both wired and wireless traffic - popular troubleshooting tool
Wireshark
A type of tool that deliberately displays vulnerabilities or attractive data so it can detect, monitor, and sometimes tamper with the activities of an attacker
honeypot
A tool used to test the security of firewalls and map network topology.
- constructs specially crafted ICMP packets to evade measures to hide devices behind firewall
- scripting functionality to test firewall/IDS
hping3
A type of security that is concerned with the protection of people, equipment, and data
physical security
the plans we put in place to ensure that critical business functions can continue operations in the event of an emergency
BCP (Business Continuity Plan)
the plans we put in place in preparation for a potential disaster, and what exactly we will do during and after
DRP (Disaster Recovery Plan)
extreme temperature, gases, living organisms, projectiles, movement, energy anomalies, people, toxins, smoke, and fire
major categories of physical threats
The devices, systems, people, and other methods we put in place to ensure our security in a physical sense
physical security controls
name the 3 main types of physical controls
- deterrent
- detective
- preventive
Controls designed to discourage those who might seek to violate our security controls
deterrent controls
controls designed to detect and report undesirable events that are taking place
detective controls
Controls designed to physically prevent unauthorized entities from breaching our physical security
preventive controls
Data that is unintentionally left behind on a storage device
residual data
Name the 3 main considerations for protecting people
- Safety
- evacuation plans
- administrative controls
Name the 3 main considerations for protecting data
- availability
- residual data
- backups
Name the considerations for protecting equipment
equipment, facility repair/replacement
storage media that is least sensitive to temperature, humidity, magnetic fields, and impacts
flash media
a data storage virtualization technology that combines multiple physical disk drive components into a single logical unit for the purposes of data redundancy, performance improvement, or both.
RAID (redundant array of inexpensive disks)
protecting data, passwords, social engineering, network usage, malware, the use of personal equipment, clean desk, policy knowledge
most common security awareness issues
a security awareness issue that is concerned with the criticality of carefully handling data from the perspectives of compliance, as well as reputation and customer retention
protecting data
a security awareness issue that involves educating users of the importance of strong passwords and password handling best practices
passwords
techniques used by an attacker that rely on the willingness of people to help others
social engineering
A technique involving a fake identity & a believable scenario that elicits the target to give out sensitive information or perform some action which they would not normally do for a stranger
pretexting
a social engineering technique that uses electronic communications (email, text, phone calls) to convince a potential victim to give out sensitive information or perform some action
phishing
a social engineering techniqe that targets a specific company, organization, or person, and involves knowing specifics about the target to appear valid
spearphishing
a method by which a person follows directly behind another person who authenticates to the physical access control measure, thus allowing the follower to gain access without authenticating
tailgating (piggybacking)
a security awareness issue that involves educating users about security issues around connecting devices to networks, such as connecting outside devices to the corporate network, and connecting corporate resources to a public network
network usage
a security awareness issue that involves educating users about malicious software and how to avoid it
malware
security awareness issue that is concerned with protecting a company’s assets
use of personal equipment
a security awareness issue that requires users to protect sensitive information at all times, even when away from one’s desk
clean desk policy
a security awareness issue that is necessary to maintain compliance throughout the organization
policy and regulatory knowledge
a program that seeks to make users aware of the risk they are accepting through their current actions and attempts to change their behavior through targeted efforts
SATE (Security Awareness, Training and Education)
the process we use to protect our information
OPSEC (Operations Security)
A Chinese military general from 6th century BC who wrote The Art of War, a text that shows early examples of operations security principles
Sun Tzu
The codename of a study conducted to discover the cause of an information leak during the Vietnam War; is now a symbol of OPSEC
Purple Dragon
the process of intelligence gathering and analysis in order to support business decisions
competitive intelligence
5 steps of the operations security process (OPSEC)
1.Identification of critical information
2.Analysis of threats
3.Analysis of vulnerabilities
4.Assessment of risks
5.Application of countermeasures
If you don’t know the threat, how do you know what to protect?
The 1st Law of Haas’ Laws of Operations Security
If you don’t know what to protect, how do you know you are protecting it?
The 2nd Law of Haas’ Laws of Operations Security
If you are not protecting it, the dragon wins!
The 3rd Law of Haas’ Laws of Operations Security