Friday, September 21, 2018

Penetration Testing

Penetration Testing


A penetration test or pen test, is an authorized simulated attack on a computer system, performed to evaluate the security of the system.

Pen testers aka ethical hackers essentially get paid to legally break into computers or devices.

Pen tests can be automated with software applications or they can be performed manually.

Ethical hacking steps


1. Planning and reconnaissance - Get documented permission and gather information.

2. Scanning - inspect code and how the system works.

3. Exploitation - get into the system and back out with information without being noticed.

4. Maintaining access - The goal of this step is to see if the vulnerability can be used to achieve a persistent presence in the exploited system.

5. Analysis - compile a report detailing:
-Specific vulnerabilities that were exploited
-Sensitive data that was accessed
-The amount of time the pen tester was able to remain in the system undetected



Penetration Testing Methods


External Testing - target the assets of a company that are visible on the internet.

Internal Testing - test with access to an application behind its firewall.

Blind Test - a tester is only given the name of the enterprise that’s being targeted. This gives security personnel a real-time look into how an actual application assault would take place.

Double Blind Test - security personnel have no prior knowledge of the simulated attack.

Targeted Testing - In this scenario, both the tester and security personnel work together and keep each other appraised of their movements.

The main objective of penetration testing is to determine security weaknesses.


Up Next: Encryption




Threats or Attacks

Threats or Attacks


A Threat or Cyberattack is deliberate exploitation of computer systems, technology-dependent enterprises and networks.

Common Threats can include


Botnets - A collection of computers compromised by malicious code and controlled across a network.

(DoS)Denial of Service - An attack that prevents or impairs the authorized use of information system resources or services.

(DDoS)Distributed Denial of Service - A denial of service technique that uses numerous systems to perform the attack simultaneously.

Malware - Software that compromises the operation of a system

(MITM) Man-in-the-middle attack - is an attack where the attacker secretly relays and possibly alters the communication between two parties who believe they are directly communicating with each other.

Phishing - A digital form of social engineering to deceive individuals into providing sensitive information.

Ransomware - is a type of malware that prevents users from accessing their system or personal files and demands ransom payment in order to regain access.

Spoofing -  Faking the sending address of a transmission to gain illegal entry. The deliberate inducement of a user or resource to take incorrect action. Impersonating, masquerading, piggybacking, and mimicking are forms of spoofing.

Spyware - Software that is secretly or surreptitiously installed into an information system.

(SQLi)SQL injection - is a code injection technique, used to attack data-driven applications.

Trojan horse - A computer program that appears to have a useful function, but also has a hidden and potentially malicious function.

Virus - A computer program that can replicate itself infect a computer and then spread.

Worm - A self-replicating, self-propagating, self-contained program that uses networking mechanisms to spread itself.

(XSS)Cross-Site Scripting - is a common attack that injects malicious code into a vulnerable web application.

The process of keeping up with new technologies, security trends and threat intelligence is a challenging task.


Up Next: Penetration Testing