DEV Community

Learner
Learner

Posted on

Cybersecurity: Defensive and Offensive Security Testing

Cybersecurity or Security Testing has 2 types of testing:

  1. Defensive Security Testing - Protection against attack
  2. Offensive Security Testing - Attack

Defensive Security Testing

This type of testing is to put proactive safeguards for any organisation security. This testing is done to validate the security controls, monitoring tools and response workflow to work to protect from any real world attacks.

The strategy for this kind of testing is all about prevention and early detection.The goal is to build a security layer which is hard for intruders.

Offensive Security Testing

This testing refers to a range of strategies by using the similar kind of tactics used by malicious actors used in real-world attacks to strengthen the network security of an organisation.

The security personals simulate the attacks to uncover vulnerabilities.This is done by the ethical hackers who use their hacking skills to find and fix their IT systems flaws.

Teams

Teams across organisations doing or simulating the attacks are known as Red Teams.

Teams protecting the organisations from the attacks are known as Blue Teams.

Testing Techniques

Defensive Security Testing

  • Firewalls Implementation and intrusion prevention systems which can

    block the malicious network traffic.

  • Regular vulnerability scans and penetration tests to timely find out the weaknesses.

  • Access Controls Management to make sure authorised access for important and sensitive data.

  • Implement monitoring system to assess the potential threats real- time

Offensive Security Testing

  • Exploration & Scanning - Nmap, Exploit Database, Google Hacking Database

  • Web Application Testing - Burp Suite, OWASP ZAP

  • Exploitation & Post-Exploitation: Metasploit Framework, Impacket

  • Active Directory & Privilege Escalation: Mimikatz, Rubeus, BloodHound/ADAlanche, Certipy, winPEAS, linPEAS

  • Traffic & Password Analysis: Wireshark, John the Ripper

Top comments (0)