1/35
Looks like no tags are added yet.
hash functions
maps of arbitrary size data to data of fixed size
properties of hash functions
takes any input : stores into a fixed size of output of data
one-way: easy to do, hard to undo
collision resistant: difficult to find two messages that have the same has value
application of hash functions
passwords hash values are stored (so plaintext is not available for hackers)
data file integrity (make sure a file isn’t corrupted in transit) by comparing before/after hash values
VPN
VPN is a service that protects your internet connection and privacy online
virtual private network
VPN stands for
function of a VPN
create an encrypted tunnel for your data
protect your online identity by hiding your IP address, and allow you to use public wifi hotspots safely
how a VPN works
any connection requests you send first go through the VPN client
these messages are encrypted and then go over the network to a VPN server (which can be anywhere in the world)
the server decrypts the requests and forwards them to the internet
once the requested data is received, it is encrypted by the VPN server, and then sent back over the network to the VPN client
in the last phase, the VPN client on your device decrypts the received information so that you can freely (and safely) access it
advantages of VPNs
hides your online identity
help you bypass geo-blocks
content providers to control which geographic areas their websites, movies, music, and TV shows are available in
these services secure your online connections
credit cards, passwords, etc
prevent bandwidth throttling
bypass firewalls
might help avoid online price discrimination
disadvantages of VPNs
sometimes slow down online speeds
using wrong system can put your privacy in danger
quality systems will cost money
not all devices automatically support these
some websites may refuse to work if they detect one of these
google dorking (hacking)
using advanced search operators and techniques to perform precise and targeted searches on google or other search engines
crafting search queries using specific syntax to uncover sensitive information or vulnerabilities that may not be readily accessible through conventional searches
internet of things (IoT)
devices that incorporate sensors, software, and connectivity features that enable them to collect, exchange, and act on data
smart home devices
wearable technology
connected vehicles (GPS systems with traffic updates)
agriculture (soil moisture sensors)
operational technology (OT)
these are specialized hardware and systems used in industrial and critical infrastructure environments to monitor, control, and manage physical processes and equipment
malware
a program that is inserted into a system, usually covertly, with the intent of compromising the confidentiality, integrity, or availability of the victim’s data, applications, or operating system
short for malicious hardware
virus
a computer program that can copy itself and infect a computer without permission or knowledge of the user
this thing might corrupt or delete data on a computer, use email programs to spread itself to other computers, or even erase everything on a hard disk
because these things are insidious, we cannot assume a clean program yesterday is still a clean program today
this thing requires a user to interact with an infected file to activate it
worm
program that spreads copies of itself through a network
these spread copies through a network
trojan horse
a computer program that appears to have a useful function, but also has a hidden and potentially malicious function
ransomware
a type of malicious software designed to block access to a computer system until a sum of money is made
counter measures
user vigilance
use software acquired from reliable sources
install and update anti-virus software, firewall
test software in an isolated environment (virtual machine)
only open attachments when you know they are safe
treat every website as potentially harmful
create and maintain backups of system and files
scan the computer with anti-virus software to detect and remove viruses and malware
virus signatures
a virus cannot be completely invisible, because the virus itself must be stored somewhere
the virus code must be in memory to execute when activated
viruses need to spread to infect other systems and files
because these characteristics of a virus, usually the the virus has a pattern
operating system
a program (sequence of instructions) that supports a computer’s basic functions
scheduling tasks
executing applications
controlling peripherals (mice, keyboards, monitors, hard drives)
multitasking
refers to the ability of an operating system to have more than one program (task) open at one time
CPU rotates between tasks
common vulnerabilities and exposures (CVE)
unique identifier assigned to a publicly disclosed cybersecurity vulnerability
allow researchers, vendors, and security professionals to reference the same vulnerability
technique to protect OS vulnerabilities
defense-in-depth approach that includes regular updates, patch management, robust access controls, firewalls, and intrusion detection systems
who are you? what are you allowed to do? who decides what permissions you receive?
3 big questions regarding security
principle of least priviledge
users should have only the permissions necessary to perform their authorized responsibilities
prevents accidental damage
limits malicious activity
reduces the impact of compromised accounts
discretionary access control
administrators and resource owners to give access to users at specific levels
straightforward
flexibility
granular control
access control list
a set of rules that specifies who or what can access a resource and what actions they are allowed to perform
disadvantages of DAC
lack of centralized control - how to implement organization-wide policies
difficulty in enforcing consistent policies
poor scalability
role based access control
method of restricting access to systems and data based on the roles assigned to individual users within an organization
simplified user management
scalability
supports separation of duties
disadvantages of RBAC
lack of granularity
inflexible
role maintenance
attribute based access control
applies attributes to both users and resources
grants or denies access to resources based on these attributes
highly granular control
takes into account the context of the request (time, location, device)
dynamic access: access decisions can be made in real time based on current attributes
disadvantages of ABAC
complex policy management
performance overhead
difficult to implement + audit
structured query language (SQL)
it’s a special programming language used to interact with a database
oftentimes, in a web page, the user will enter something that will call code to be inserted into a database (or read from a database)
sql injection
original sql query can be altered to form an altogether different query
prompt injection
attacker uses crafted prompts to manipulate an LLM’s output
can result in the AI taking actions that fall outside of its intended purpose, such as making incorrect calls to sensitive APIs or returning content that does not correspond to its guidlines
risk management
identifying and understanding assets and threats, assessing the likelihood of a vulnerability occuring, and deciding how to control the danger