0% found this document useful (0 votes)
114 views

03 Cyber Attacks

Uploaded by

Boom Box
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
114 views

03 Cyber Attacks

Uploaded by

Boom Box
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 32
BS anand guru SUC EXPERTS Interview Questions on Cyber Attacks Anand Guru Security+ | CySA+| CEH | ECIH round SOC Experts hutpsi//socexpertscom LE Taeee tad + Reseach entiation and Selection of targets [+ Paing remote acess malware swith ext ino deliverabe mi + Transmission of weapon to Cyber Kill Chain defines the steps used by an attacker to. launch and carry-out a cyber attack. Itis defined by Lockheed Martin Ithas 7 phases + The weapon instal 2 backdoor * The compromised machine take takers machine + inate gal ofthe attack (((C(¢ at is MITRE ATT&CK Framework’ + The MITRE ATT&CK framework is a comprehensive matrix of tactics and techniques used by threat hunters, red teamers, and defenders to better classify attacks and assess an organization's risk. It highlights 12 Tactics and more than 250 Techniques that attackers use ramupacn) OT : cciinin,_,| Mtwmtnt | erpitenonss| amend OH Demeien sgc Mie Tat ecm ay TIPs stand for Tactics, Techniques and Procedures TTPs are patterns of activities or methods associated with a specific threat actor or group of threat actors. LE law sell Ne vulnerability or a malware that has be identified but doesn't have a fix (patch or signature) yet. itis the time period between a vulnerability/malware being identified and release of patch/signature. hat is an exploit and payload’ Exploit is a tool that takes advantage of a vulnerability. Usually exploit is used to penetrate into a system taking advantage of an existing vulnerability. Example - EternalBlue that took advantage of SMB vulnerability Payload is the actual malware. Part of the malware that does the damage (deleting files, stopping services, encrypting files, gathering and sending sensitive information, taking pictures etc.) Example - WannaCry used EnternalBlue as exploit and had the ultimate intention of encrypting the files and demand ransom. PEM igi e a lea ac lee Brute-force is a password guessing attack. It tries various combinations of usernames and passwords again and again until it gets in. Mitigatio Encourage users to use complex passwords Lockout accounts after few attempts Use Captcha to slow down brute-force Use multifactor authentication STE atta 1acla Dictionary attack is type of brute-force attack, It uses a list of words in a dictionary as passwords. Dictionary attack can also be personalized by using details of the target like date of birth, spouse name, children name, vehicle number etc. Advise users not to keep a simple word or easily identifiable information as password. Encourage users to use complex passwords Lockout accounts after few attempts Use Captcha to slow down brute-force Use multifactor authentication soc BS ITEC aac laela Rainbow attack is a type of brute-force attack that uses pre-computed password hashes. i.e. instead of trying to pass the password, it tries to match the hash in the user database. Mitigation: - Rainbow table attacks can easily be prevented by using salt techniques, = Salt is a random data that is passed into the hash function along with the plain text. - Lockout accounts after few attempts Use Captcha to slow down brute-force Use multifactor authentication CharT Si Sari lac lad Pass the hash is a hacking technique that allows an attacker to authenticate to a remote server or service by using the underlying hash of a user's password, instead of requiring the associated plaintext password as is normally the case. This will reduce the effort of the attacker as he does not have to crack the plaintext password from the stolen hash. Mitigation: - Restrict and protect high privileged domain accounts ~ This mitigation reduces the risk of administrators from inadvertently exposing privileged credentials to higher risk computers. ~ Restrict and protect local accounts with administrative privileges = This mitigation restricts the ability of attackers to use administrative local accounts for lateral movernent PtH attacks ~ Restrict inbound traffic using the Windows Firewall = This mitigation restricts attackers initiating lateral movernent from a compromised workstation by blocking inbound connections on, all other workstations with the local Windows Firewall soc BS Scanning is a method for discovering exploitable communication channels. Scanning for open ports Scanning for known vulnerabilities Mitigation: - Use Firewall and IPS. - OS Hardening - Use honeypots to detect scanning activities hat is Sniffing Attack Sniffing corresponds to theft or interception of data by capturing the network traffic when it flows through a computer network. Usually done using a packet sniffer Mitigation: - Avoid using insecure protocols (like HTTP, FTP, telnet etc, and use secured versions like HTTPS, SFTP, SSH etc.) - Use encryption whenever possible for data transmission. hat is Spoofi Spoofing is a malicious practice employed by cyber scammers and hackers to deceive systems, individuals, and organizations into perceiving something to be what itis not. Few types of Spoofing + IP Spoofing + MAC Address Spoofing + Email Spoofing + DNS Spoofing Mitigation: - Deploy IPS (IP Spoofing) - Educate users (Email Spoofing) - Enable port level security (ARP and MAC Address Spoofing) soc BS Explai + Phishing is a cyber attack that uses disguised email as a weapon, + The goal is to trick the email recipient into believing that the message is something they want or need + Example: a request from their bank, for instance, or a note from someone in their company + Ultimate intention is to get the user to click a link or download an attachment. Mitigation: - Use Email Security Solutions (to block obvious phishing and spam emails) - Educate users - Use DMARC (Domain-based Message Authentication, Reporting and Conformance) [DMARC is @ standard for venfying the authenticity ofan email, offers emallreceivers a way ta verify fa message is relly fram a autorized sender or not Corda due Nac) Explain Spear Phishing. Spear phishing is an email scam targeted towards a specific individual, organization or business. Attackers use the information they have gathered during reconnaissance to make the email appear personalized. Explain Whaling. Whaling is a type of phishing that targets senior management/leadership teams/important individuals at an organization Explain Vishing. Vishing works similar to phishing, instead of sending and email, the attacker tricks the target to give critical/sensitive information over phone call soc BS 17) Em Lee elie ML Oe Tae-Lal¢ Denial-of-Service (DOS) is a type of cyberattack in which the attacker seeks to make a machine or network resource unavailable to its intended users by temporarily or indefinitely disrupting services. Examples: UDP floods, ICMP floods, SYN floods, fragmented packet attacks, Ping of Death etc. Distributed Denial-of Service (DDOS) is a type of attack where multiple systems are used to launch DOS attack on one targeted system. Usually DDOS are result of multiple compromised systems (called Botnets) Mitigation: = Use Anti-DDOS technology (lke Arbor) Rate limit (limit the number of connections from an IP or User) Reduce connection wait ime Deploy load balancers soc BS Explain SYN flood attack. SYN Flood attack is a type of DOS attack where it exploits the normal TCP three-way handshake. The attacker send huge connection requests (SYN) but never sends an acknowledge back to the sever. This will make the server wait for certain time and hold the connection. This will consume all the concurrent connections on the target server making it inaccessible for legit users. Mitigation: ~ Use Anti-DDOS technology (ike Arbor) Rate limit (imit the number of connections from an IP or User) Reduce connection wait time = Deploy load balancers soc BS Explain ARP poisoni' + Also called as ARP Spoofing + ARP poisoning is when an attacker sends falsified ARP messages over a local area network (LAN) to link an attacker's MAC address with the IP address of a legitimate computer or server on the network. + Itisused to do a Man-in-the-Middle attack Mitigation: Use Static ARP ~ Detect ARP poisoning using tools like XARP Set up Packet filtering Install AV and keep signatures updated te ETM UE Tata Man-in-the-Middle is an attack where the attacker secretly relays and possibly alters the communications between two parties who believe that they are directly communicating with each other. Mitigation: Use Static ARP (to prevent ARP poisoning) = Use Encryption (prevent the attacker from leveraging the data), IPS system (can detect sudden change in the network performance) Explain DNS Poisoni + Also called as DNS Spoofing + Type of cyberattack that exploits vulnerabilities in the domain name system (DNS) to divert internet traffic away from legitimate servers and towards fake ones. + This is done by introducing corrupt (poisoned) DNS data into DNS Resolver’s Cache. Mitigation: Regularly audit DNS Zones Keeping DNS Servers up-to-date Restrict Zone Transfers = Limit recursive queries. Store only data related to the requested domain. soc BS LET Mri) + DNS Tunneling is a method of cyber attack that encodes the data of other programs or protocols in DNS queries and responses, + Usually DNS traffic is allowed through firewalls and attackers take advantage of this. + Itis used for data exfiltration (without being detected) Mitigation: IPS Systemes can help detect few DNS Tunneling attacks Block communication to IPs that are known to be used for data exfteration Use ONS firewall = Deploy standalone DNS protection solution (Like Infoblox) Cae Ene + Malware is a (malicious) software intentionally designed to cause damage to a computer or computer network + The malicious activities include Deleting files Encrypting files Gain access of the infected machine Collecting and sending sensitive data stopping services system shutdown etc, Mitigation: Use AV with up-to-date signature = Use Ad-blockers Educate users not to download files from unknown sources. Explain different Types of Malware. us: Viruses attach themselves to clean files and infect other clean files. Their intention is to damage a system's core functionality and deleting or corrupting files. They usually appear as an executable file (exe). Trojans: This kind of malware disguises itself as legitimate software but has malicious intent. It tends to act discreetly and create backdoors in your security to let other malware in. Worms: Worms infect entire networks of devices, either local or across the internet, by using network interfaces. It uses each consecutively infected machine to infect others. Spyware : Spyware is malware designed to spy on you. It hides in the background and takes notes on what you do online, including your passwords, credit card numbers, surfing habits, and more. Ransomware: This kind of malware typically locks down your computer and your files, and threatens to erase everything unless you pay a ransom. Adware: Though not always malicious in nature, aggressive advertising software can undermine your security just to serve you ads — which can give other malware an easy way in. Plus, they end up consuming system resources, Botnets: Botnets are networks of infected computers that are made to work together under the control of an attacker. RAT: Remote Access Trojan - Type of malware that allows an attacker gain unauthorized remote access of victim’s machine BS Tee an MK) CA Oy turd Virus: Viruses attach themselves to clean files and infect other clean files. A user action (like execution) is required for the virus to run. Trojans: They appear as useful programs, but have malicious intentions. Trojans are usually used to trick the user into performing certain action (like execution) Worms: Worm spread in the network without user actions. They spread by + Attached external storage + Available open network shares + Email (a worm can automatically send a copy of itself to all the users in your address book) Ear TY NM load? + Adrive-by download refers to the unintentional download of malicious code onto a computer or mobile device that exposes users to different types of threats. + In this type of attack, users need not click on anything to initiate the download. Simply accessing or browsing a website can activate the download. + Drive-by download happens by taking advantage of insecure, vulnerable, or outdated apps, browsers, or even operating systems. Mitigation: Encourage users to keep their software up to date = Install AV thats capable of scanning internet traffic install web-fltering sofware. Restrict add-ons on browsers. Educate users not to visit untrusted websites. SoC Era eeem Cc 1a Co ee + Fileless malware sneaks in without using traditional executable files as a first level of attack + Rather than using malicious software or downloads of executable files as its primary entry point onto corporate networks, fileless malware often hides in memory or other difficult-to-detect locations. + Uses living-off-the-land techniques + Fileless malware leverages trusted, legitimate processes running on the operating system to perform malicious activities, + Simply put, fileless malware run on RAM (memory-based) and doesn't have any trace on the Disk (file- based). This makes it impossible for a traditional antivirus which rely on signatures to detect a malware. Mitigation: = Use EDR tools to monitor and detect suspicious activities, Disable command line shell scripting language, Including PowerShell and Window Management instrumentation, wherever i's not needed soc BS Levers The Open Web Application Security Project (OWASP) is an online community that produces articles, methodologies, documentation, tools, and technologies in the field of web application security. Every year OWASP announces List of Top 10 Vulnerabilities for Web Applications ~ OWASP Top 10 As of 2019, top 10 web application attack/vulnerabilities are: + Injection + Security Misconfiguration + Broken Authentication + Cross-Site Scripting + Sensitive Data Exposure + Insecure Deserialization + XML External Entities (KEE) + Using Components With Known Vulnerabilities + Broken Access Control + Insufficient Logging And Monitoring i> Eee mara SQL injection is a code injection technique in which malicious SQL statements are inserted into an entry field for execution. These SQL statements control a database server behind a web application. By executing malicious statements, the attacker can gain unauthorized access, copy, modify or delete the data. Example of malicious SQL Statement: ' OR '1'="1' Mitigation: Input validation Sanitzeallinputs (ike remove quotes and special characters) = Use IPS and WAF solutions ‘Turn off visibility of Database errors on production servers SoC Explain Cross Site Scripting (XSS). Cross-site Scripting (XSS) is a client-side code injection attack. The attacker aims to execute malicious scripts in a web browser of the victim by including malicious code in a legitimate web page or web application. Usually happens where there is a text message box in the website. Like comments for a blog. Mitigation: Input validation Sanitzeallinputs (ike remove quotes and special characters) = Encode data on output. Lee CM cial peel g} + Also called as one-click attack or session riding + Cross-Site Request Forgery (CSRF) is an attack that forces an end user to execute unwanted actions on a web application in which they're currently authenticated, Example: + User Ais connected to a banking website - wnw.mybankcom + Attacker tricks the user into downloading and executing a code. + This code will send request to www:mybank.cam to transfer money to attackers account. +n this case the banking website performs the request because it see the request coming from User As machine whois already authenticated with the server. Mitigation: = Synchronizer token pattern Cookie-to-header token = Double Submit Cookle soc BS Pen ee ue aude ately Broken Authentication weaknesses can allow an attacker to either capture or bypass the authentication methods that are used by a web application. + Permits autornated attacks such as credential stuffing, where the attacker has alist of valid usernames and passwords. + Permits brute force or other automated attacks. + Permits default, weak, or well-known passwords, such as asswordt" or "adminfadmin” + Uses weak or ineffective credential recovery and forgot-password processes. + Uses plain text or weakly hashed passwords Mitigation: \Where possible, implement multi-factor authentication to prevent automated, credential stuffing, brute force, and stolen credential re-use attacks, Do not ship or deploy with any default credentials, particularly for admin users, Implement weak-password checks, such as testing new or changed passwords against a list of the top 10000 worst passwords. Lock user accounts after certain failed attempts Len ee uw eee liege) Broken Access Control is a weakness in web application that will let the users do more than what they are authorized. Example, user A can see the details of user B. Broken Access Control vulnerabilities often lead to + unauthorized information disclosure + modification or destruction of all data + performing a business function outside of the limits ofthe user. Mitigation: = Deny access to functionality by defaul. = Use Access control lists and role-based authentication mechanisms. + Log access contro! failures, alert admins when appropriate (e.g. repeated failures).

You might also like