Final Review Flashcards
(38 cards)
CIA
Confidentiality - preventing unauthorized access to sensitive information
Integritiy - assurance that data is not altered/destroyed unauthorized
Availability - continuous operation of computing systems (DOS prevention)
Exploit
Any attack that takes advantage of vulnerabilities in applications, networks, or hardware
T/F New exploits tend to be variations of common past exploits
True
Cracker
A person/entity that attempts to gain unauthorized access to a computer system, network, or data with malicious intent
Hacker
White hat - ethical cybersecurity
Black hat - cybercriminals
Gray hat - between the lines
DLP
Data Loss Prevention - software designed to detect to detect data leaks or breaches
IDS/IPS
Intrusion Detection / Prevention System
Located behind the firewall on protected network.
Detect and log abnormal traffic based on programmed signatures (data pattern).
Response capability based on signature = IPS.
Web Content Filtering
Originally intended to stop people from getting to specific websites / limit inappropriate content getting to children, now is often used to block malware
Hacker Goals
Reconnaissance - scanning, fingerprinting, enumerating
Exploit - steal/use/destroy info, stop/slow access, extortion
Hacker Motivation
Profit
Revenge
Challenge
Vandalism
Causes of Threats
Technology weakness
Configuration weakness
Policy weakness
Human error
PHP
O - Personal Home Pages
N - Php: Hypertext Preprocessor
PHP Key Benefits
Familiarity, Simplicity, Flexibility, Open Source
PHP Tag
<?php … ?>
or
<? … ?>
T/F You can have as many php blocks as you need spread throughout your HTML
True
phpinfo( )
A built-in function that outputs information about PHP’s configuration
print vs echo
print can return an error code (int), echo returns void
PHP Identifiers
Can begin with letter or underscore, be any length, consist of ASCII characters 127-255, case sensitive characters
PHP Variables
preceeded by a $
What is <?=$x?>
If short tags are enabled in php.ini, it is the short form of
<?php echo $x; ?>
Are there problems with Short Tags?
Unexpected behaviors, SQL injection vulnerabilities, Loose comparisons issues
T/F You can reassign variables dynamically?
True (risky)
How to Get/Set a variable’s type?
.gettype( ) and .settype( )
What are Variable Variables?
Allow you to use the value of one variable as the name of another. Defined by a variable name preceded by another $
eg. $varname = “student_num”;
$$varname = 121131;
// means $student_num = 121131;