PRIMARY CATEGORY β†’ PENTESTING

Notetaking Sample Structure

Pentest Assessment

How to properly take notes following a specific structure and organization

Zoom in


Assessment Data Storage Sample Structure

Pentest Assessment

How to properly organize all data generated during an assessment

Zoom in

Setup
mkdir -p <ENTERPRISE>/{Admin,Deliverables,Evidence/{Findings,Scans/{Vuln,Service,Web,'AD Enumeration'},Notes,OSINT,Wireless,'Logging output','Misc Files'},Retest}

Then, we can open the <ENTERPRISE> folder as a vault from Obsidian, so we can interact with the notes and folders directly from the command line or inside the Obsidian tool


Logging

It becomes essential to save to a log file all scanning and attack attempts we perform during our assessment, including each tool’s raw output

Doing so, we have a fallback just in case we missed something during our notetaking

Tmux Logging

Check out Tmux for more information

Tmux Logging

Zoom in

Key Binding

C ↔ Control M ↔ Alt S ↔ Shift

ActionShortcut
Start/Stop Current Session/Pane Logging<prefix> + S-p
Save Visible Pane Content ( Screen Capture )<prefix> + M-p
Save Complete Current Pane History ( Retroactive Dump )<prefix> + M-S-p
Clear Current Pane History<prefix> + M-c
Setup
  • Cloning the Github Repository
git clone https://github.com/tmux-plugins/tmux-logging Tmux-Logging
  • Adding the snippet below to the ~/.tmux.conf file
  • Applying TMUX configuration
tmux source ~/.tmux.conf
  • Creating and accessing a new TMUX Session
tmux new -s '<TMUX_SESSION_NAME>'
  • Installing previous plugins

Within the TMUX Session

<PREFIX> + Shift + i

Resources

Black Hill Infosec: How to not suck at reporting