knowledge

Overview

Defensive Security focuses on preventing, detecting, and responding to cyber threats. Unlike offensive security which focuses on finding and exploiting vulnerabilities, defensive security aims to protect systems, detect intrusions, and minimize damage when incidents occur. Core tasks include user awareness training, asset management, system patching, preventative device deployment, and logging and monitoring.


Terminology

TermDefinition
SOCSecurity Operations Center; team responsible for monitoring and responding to threats
Threat IntelligenceCollection and analysis of information about potential attackers to improve defenses
DFIRDigital Forensics and Incident Response; scientific investigation of cyber incidents
Malware AnalysisStudy of malicious programs to understand behavior and intent
Incident ResponseStructured methodology for handling attacks, breaches, or misconfigurations
Static AnalysisExamining malware without executing it
Dynamic AnalysisExecuting malware in a controlled environment to observe behavior
Threat-Informed DefenseDefensive posture shaped by knowledge of likely attackers and their techniques

Core Concepts

Security Operations Center (SOC)

Team responsible for monitoring networks and systems to detect malicious events.

Area of InterestDescription
VulnerabilitiesUnpatched systems and software weaknesses
Policy ViolationsUnauthorized user or system behavior
Unauthorized ActivitySuspicious access patterns on the network
IntrusionsActive lateral movement or compromise

Threat Intelligence

Collects and analyzes information about potential adversaries to enable a threat-informed defense.

  • Identifies likely attack vectors and threat actors
  • Shapes defensive priorities and controls

Digital Forensics and Incident Response (DFIR)

Applies scientific methods to investigate cyber incidents.

Focus AreaDescription
File SystemsExamining stored files and artifacts left by attackers
System MemoryPrograms run in memory but may not be saved to disk — volatile evidence
System LogsRecords of system activity useful for reconstructing events
Network LogsRecords of network traffic and connections

Malware Analysis

MethodDescription
Static AnalysisExamining malware code without executing it
Dynamic AnalysisRunning malware in a controlled environment to observe its behavior

Incident Response

Structured methodology for handling attacks, breaches, or misconfigurations.

4 Steps To Incident Response

ℹ︎Backlog

Document the four phases (Preparation, Detection, Containment, Recovery) when revisiting with HTB content



References / Images

  • 4 Steps To Incident Response