What is ethical hacking?
Ethical hacking is to evaluate the security of and identify vulnerabilities in target systems, networks or system infrastructure. which means hacking with good intentions also called as "White hats". Ethical hackers are security experts perform these assessments. The proactive work helps to improve an organization's security posture.
Why should we lean Ethical Hacking?
- To find out the ways we can get hack
- Test other systems to find vulnerabilities and report to the developers.
- Help Organizations to fix loopholes
CIA stands for confidentiality, integrity, and availability, otherwise known as the CIA triad. This "triad" can help guide the development of security policies for organizations.
Confidentiality. Ensuring only the correct, authorized users can view, access, change, or otherwise use data. Confidentiality is when private data remains private and is not seen by unauthorized entities. Organizations will commonly use encryption to ensure only authorized entities with access to the data can see it.
Integrity. Ensuring that the system and information is accurate and correct. Integrity is when an organization knows the data has not been manipulated by accident or by malicious actors.
Availability. Ensuring that systems, information, and services are available the vast majority of time.
Best practices for implementing the CIA triad?
Putting Confidentiality into Practice:
- Categorize data and assets being handled based on their privacy requirements.
- Require data encryption and two-factor authentication to be basic security hygiene.
- Ensure that access control lists, file permissions and white lists are monitored and updated regularly.
Scoping Integrity
- Review all data processing, transfer and storage mechanisms.
- Version control, data logs, granular access control, and checksums can be useful to enforce integrity. Hash functions can further prevent data corruption.
- Invest in a dependable backup and recovery solution; one that assures business continuity and quick data recovery in the event of a security or data breach.
Ensuring Availability
- Build preventive measures such as redundancy, failover. Make security audits routine. Auto-update or stay abreast of system, network, and application updates.
- Utilize detection tools such as network/server monitoring software and anti-virus solutions.
- Develop a Data Recovery and Business Continuity plan with detailed corrective measures in the event of data loss, including timely communication with customers
To facilitate some manual tasks and speed up the hacking process, hackers can use a set of tools such as:
- Metasploit
- Wireshark
- NMAP
- Burp Suite
- OWASP ZAP
- Nikto
- SQLmap
what is payload?
A payload is a piece of malicious codes that carry important information that can be used to hack any device.
what is vulnerability?
Vulnerability is a loophole within an organization's information systems, internal controls, or system processes that can be exploited by cyberattackers.
what are the phases of ethical hacking?
There are mainly 5 phases in hacking.
- Reconnaissance
- Scanning
- Gaining Access
- Maintaining Access
- Clearing Track
What is Reconnaissance?
This is the first step of Hacking. It is also called as Foot-printing and information gathering Phase. We usually collect information about three groups - Network, Host and People involved.
Reconnaissance efforts broken up into two types: passive and active.
Active: Directly interacting with the target to gather information about the target.
Tools used in Active Recon scanning: Nmap, Nessus, OpenVAS, Nikto, Metasploit
Passive: Collect the information about the target without directly accessing the target. This involves collecting information from social media, public websites etc.
Tools used in Passive recon scanning: Wireshark, Google Dorking, FindSubDomains.com, VirusTotal, Shodan
What is scanning and what are some examples of the types of scanning used?
Scanning may be referred to as a set of procedures for identifying hosts, ports and the services attached to a network. There are three types of scannings are involved: - Port Scanning, Vulnerability Scanning, Network Mapping.
Port scanning: This phase involves scanning the target for the information like open ports, Live systems, various services running on the host.
Vulnerability Scanning: Checking the target for weaknesses or vulnerabilities which can be exploited. Usually done with help of security tools.
Network Mapping: Finding the topology of network, routers, firewalls servers if any, and host information. This map serve as a valuable piece of information throughout the hacking process.
What happens in Gaining Access phase?
In this phase attacker enter into a system and try to gain administrative privileges so that he can install an application he needs or modify data or hide data.
What happens in Maintaining Access phase?
Hacker maintains the connection in the background without the knowledge of the user. This can be done using Trojans, Rootkits or other malicious files. The aim is to maintain the access to the target until hacker finishes the tasks he planned to accomplish in that target.
What is Clearing Track phase?
No hacker wants to get caught. Hacker always clears all evidence by deleting the logs or modify the registry so that no one will find any traces leading to him.
What is Exploitation?
It is a piece of programmed software or script which can allow hackers to take control over a system, exploiting its vulnerabilities. Hackers normally use vulnerability scanners like Nessus, Nexpose, OpenVAS, etc. to find these vulnerabilities.
What is pentesting?
A pentest is an ethical cyber security assessment conducted to identify, safely exploit and help eliminate vulnerabilities that reside across an organisation’s IT environment.
What is footprinting? What are the techniques used for footprinting?
Footprinting refers to accumulating and uncovering information about the target network before attempting to gain access.
Hacking techniques include:
Open source footprinting: This technique will search for administrator contact information, which can be later used for guessing the correct password in social engineering.
Network enumeration: This is when the hacker attempts to identify the domain names and network blocks of the targeted
Scanning: Once the network is known, the second step is to pry on the active IP addresses on the network.
Stack fingerprinting: This technique should be the final footprinting step that takes place once the port and host are mapped.
What is mitigation?
Mitigation is the reduction of something harmful or reducing the risk.
what is honeypot? how it protects from attack?
Network sniffing involves using sniffer tools that enable real-time monitoring and analysis of data packets flowing over computer networks. Sniffers can be used for different purposes, whether it’s to steal information or manage networks. Network sniffing is used for ethical as well as unethical purposes.
What is SQL injection and its types?
A SQL injection occurs when the application does not sanitize the user input. Thus a malicious hacker would inject SQL query to gain unauthorized access and execute administration operations on the database. SQL injections can be classified as follows:
- Error-based SQL injection
- Blind SQL injection
- Time-based SQL injection
What is cross-site scripting and its different variations?
Cross-site scripting (XSS) attacks are a type of injection where malicious scripts are injected into otherwise benign and trusted websites. XSS takes place when an attacker inserts a malicious payload, usually in the form of JavaScript code in a web form. XSS vulnerabilities are categorized as follows:
- Reflected cross-site scripting
- Stored cross-site scripting
- DOM-based cross-site scripting
Explain what is Brute Force Hack?
Brute force hack is a technique for the hacking password and get access to the system and network resources.
What is Phishing?
Phishing technique involves sending of false emails, chats or website to the impersonate real system with aim of stealing information from the original website.
No comments:
Post a Comment