Kali Platform and Installation
Not publishedof exam
Linux Fundamentals and Shell
Not publishedof exam
Debian Package Management
Not publishedof exam
Networking, Services and Security
Not publishedof exam
Customization and Enterprise
Not publishedof exam
Quick Facts
- Provider
- OffSec
- Course
- PEN-103
- Questions
- 80 multiple-choice
- Time
- 90 minutes
- Pace average
- 67.5 seconds per question
- Delivery
- ClassMarker; proctored
- Resources
- Closed book; no notes
- Results
- Immediately after final answer
- Passing score
- Not published
- Validity
- No expiration
- Course prerequisites
- None formal
- Topic weights
- Not published
Boot Mode Memory
Install writes; Live runs; persistence saves
Live vs Installed
Live
- Boot live image
- Changes normally temporary
- Persistence optional
Installed
- Boot installed system
- Changes saved on disk
- Regular package upgrades
Temporary vs persistent system
Image Picker
- Permanent installation→Installer
- Small setup download; internet available→NetInstaller
- Try without disk installation→Live
- Retain Live USB changes→USB persistence
- Protect persistent data at rest→Encrypted persistence
- Use hypervisor guest→VM image
- Preserve forensic media→Forensic boot(Validate evidence handling)
Kali Essentials
- Debian
- Kali distribution base
- BackTrack
- Kali predecessor
- kali-rolling
- Continuously updated default branch
- kali-last-snapshot
- Frozen at versioned releases
- kali-dev
- Development integration branch
- Xfce
- Default desktop environment
- Standard user
- Non-root by default since 2020.1
- sudo
- Policy-controlled privileged command execution
- kali-linux-core
- Essential base system
- kali-linux-headless
- Default collection without GUI
- kali-linux-default
- Standard desktop tool selection
- Metapackage
- Dependency bundle
- Zsh
- Became default shell in 2020.4
Hash vs Signature
Hash
- Detect changes to data
- Needs trusted expected digest
Signature
- Check using trusted public key
- Authenticates signed digest list
Integrity vs authenticated origin
Installation Media
- Installer
- Recommended disk installation image
- NetInstaller
- Downloads packages during setup
- Live
- Runs without installation
- Live persistence
- Retains changes across reboots
- Encrypted persistence
- LUKS-protected persistent partition
- Forensic boot
- Disables automount; avoids existing swap
- VM image
- Ready-made virtual machine
- ARM image
- Device-specific architecture build
- SHA256
- Compare download to trusted digest
- GPG signature
- Authenticate signed checksum list
Boot and Storage
- UEFI
- Firmware boot interface
- GRUB
- Bootloader for selecting kernels
- initramfs
- Early RAM-based root filesystem
- systemd
- System and service manager
- LUKS
- Block-device encryption format
- LVM
- Logical volume management
- Default desktop target
- 2 GB RAM; 20 GB disk
- ext4
- Journaling filesystem
- Swap
- Disk-backed memory extension
Octal Permissions
Read four; write two; execute one
Hard vs Symbolic Link
Hard link
- Same inode
- Same filesystem required
Symbolic link
- Pathname reference
- Can cross filesystems
- Can dangle
Inode vs path
Local Help Picker
- Known command syntax→man COMMAND
- Find command by purpose→man -k KEYWORD
- Configuration file syntax→man 5 NAME
- GNU tool tutorial→info COMMAND
- Installed package examples→/usr/share/doc
- Filesystem nearly full→df -h
- Large directory suspected→du -sh DIRECTORY
Filesystem Map
- /
- Filesystem root
- /home
- Regular user home directories
- /root
- Root account home directory
- /etc
- System configuration
- /usr
- Installed software and shared data
- /var
- Variable data
- /var/log
- File-based system logs
- /dev
- Device nodes
- /proc
- Virtual process and kernel information
- /sys
- Kernel device and subsystem interfaces
- /tmp
- Temporary files
- /boot
- Boot-related files
- /run
- Runtime state since boot
Standard Streams
Zero in, one out, two errors
Single vs Double Quotes
Single quotes
- Literal enclosed characters
- Suppress parameter expansion
Double quotes
- Allow parameter expansion
- Suppress word splitting and globbing
Literal vs controlled expansion
Permissions
- r = 4
- Read permission
- w = 2
- Write permission
- x = 1
- Execute; directory traversal
- u g o
- Owner; group; others
- chmod 644
- Owner rw; group and others r
- chmod 750
- Owner rwx; group rx; others none
- umask 022
- Files 0666→0644; dirs 0777→0755
- chown
- Changes file ownership
- chgrp
- Changes file group
- Hard link
- Another name for same inode
- Symbolic link
- Reference to pathname
- Directory write
- With x, modify directory entries
- Directory setgid
- New entries inherit directory group
- Sticky directory
- Deletion: entry owner, directory owner, privilege
- ACL
- Additional user and group permissions
Shell Commands
- pwd
- Print current directory
- ls -la
- Detailed list including dotfiles
- cd
- Change working directory
- cp
- Copy files
- mv
- Move or rename files
- less
- Page through text
- grep
- Match text patterns
- find
- Search directory hierarchy
- wc -l
- Count newline characters
- df -h
- Filesystem capacity and usage
- du -sh
- Summarize directory space usage
Bash Scripting
- #!
- Interpreter directive
- $PATH
- Command search directories
- $HOME
- User home directory
- $1
- First script argument
- $#
- Number of positional arguments
- $?
- Last foreground pipeline exit status
- "$@"
- Preserves separate argument boundaries
- &&
- Next command only after success
- ||
- Next command only after failure
- |
- Connect stdout to next stdin
- >
- Redirect output; overwrite by default
- >>
- Append redirected output
- if
- Conditional branching
- for
- Iterate over values
Processes and Documentation
- PID
- Process identifier
- PPID
- Parent process identifier
- ps
- Process snapshot
- top
- Live process statistics
- man 1
- Executable command manuals
- man 5
- File format manuals
- man 8
- System administration manuals
- man -k
- Search manual descriptions
- info
- Structured GNU documentation
- /usr/share/doc
- Installed package documentation
- uname -r
- Running kernel release
- free -h
- Human-readable memory statistics
Package Removal Memory
Remove retains config; purge clears package config
APT vs dpkg
APT
- Repository-aware interface
- Resolves dependencies
- Calls dpkg for installation
dpkg
- Local package manager
- Uses local package database
- Does not fetch missing dependencies
Dependency resolution vs package handling
Package Picker
- Stale repository metadata→apt update
- Find available package→apt search
- Check package candidate version→apt-cache policy
- Upgrade without removing packages→apt upgrade
- Rolling upgrade needs dependency removals→apt full-upgrade(Review proposed removals)
- List installed package files→dpkg -L PACKAGE
- Find recorded file owner→dpkg -S PATH
- Inspect downloaded archive→dpkg -I FILE
APT Operations
- apt update
- Refresh package indexes
- apt upgrade
- Upgrade without removing installed packages
- apt full-upgrade
- May remove packages for dependencies
- apt install
- Install with dependency resolution
- apt remove
- Remove; generally retain package conffiles
- apt purge
- Also removes package conffiles
- apt autoremove
- Remove unneeded automatic dependencies
- apt search
- Find packages by keywords
- apt show
- Display package details
- apt-cache policy
- Show versions and priorities
- apt-mark hold
- Prevent automatic package version changes
Update vs Upgrade
update
- Downloads package indexes
- No installed package upgrades
upgrade
- Installs available package updates
- Uses existing package indexes
Metadata vs installed software
dpkg Basics
- .deb
- Installable binary package archive
- dpkg -i
- Install local package archive
- dpkg -l
- List package database records
- dpkg -L
- List files recorded for package
- dpkg -S
- Find package owning recorded path
- dpkg -s
- Show package status record
- dpkg -c
- Inspect archive file listing
- dpkg -I
- Inspect archive control information
- dpkg --audit
- Check partial package installations
- dpkg --verify
- Compare available recorded file checksums
Upgrade vs Full Upgrade
upgrade
- Never removes installed packages
- May add required dependencies
full-upgrade
- Can remove installed packages
- Handles changing dependencies
Removal constraint matters
Repository Formats
- kali.sources
- Fresh-install default since Kali 2026.2
- sources.list
- Legacy one-line format; still supported
- /etc/apt/sources.list.d
- Directory containing APT source files
- /etc/apt/sources.list
- Legacy primary APT sources file
- deb822
- Multifield .sources format
- Types
- deb binary; deb-src source
- URIs
- Repository locations
- Suites
- Distribution or branch names
- Components
- Repository package categories
- Signed-By
- Restricts accepted signing keys
- apt-secure
- Verifies signed repository metadata
- APT pinning
- Controls package selection priorities
- Foreign repositories
- Risk incompatible package dependencies
- Default components
- main contrib non-free non-free-firmware
Filter Chain Memory
In to host; out from host; forward through
Start vs Enable
start
- Immediate activation
- No enablement change
enable
- Configures future activation
- Does not start by itself
Current state vs future activation
Troubleshooting Picker
- Local interface lacks address→ip addr show
- Check configured routes→ip route show
- Service fails to start→systemctl status UNIT
- Read specific service errors→journalctl -u UNIT
- New boot problem→journalctl -b
- Kernel device issue→dmesg
- Check boot-time service enablement→systemctl is-enabled UNIT
Networking Basics
- IP address
- Network-layer interface address
- CIDR prefix
- Network prefix length
- Default gateway
- Next hop for default route
- DHCP
- Automatic network configuration
- DNS
- Resolves names to resource records
- TCP
- Reliable ordered byte stream
- UDP
- Connectionless datagram transport
- NetworkManager
- Manages network connections
- ip addr show
- Local interface addresses
- ip route show
- Local routing table
- nmcli
- NetworkManager command interface
Users and Access
- UID
- Numeric user identity
- GID
- Numeric group identity
- id
- Show account and group identifiers
- passwd
- Change account password
- PAM
- Pluggable authentication modules
- NSS
- Name service lookup framework
- Authentication
- Verify claimed identity
- Authorization
- Determine allowed actions
INPUT vs FORWARD
INPUT
- Traffic destined for local sockets
- Host protection rules
FORWARD
- Traffic routed through host
- Transit protection rules
Local destination vs transit
System Services
- systemctl status
- Service state and recent output
- systemctl start
- Activate service now
- systemctl enable
- Configure future activation
- systemctl is-enabled
- Check enablement status
- systemctl daemon-reload
- Reload systemd unit definitions
- systemd timer
- Scheduled unit activation
- journalctl -b
- Current boot journal entries
- journalctl -u UNIT
- Filter journal by unit
- dmesg
- Kernel ring buffer messages
- Network service policy
- External listeners off by default
- SSH
- Encrypted remote administration
- Apache HTTP Server
- Web content serving
- PostgreSQL
- Object-relational database system
Defensive Controls
- Least privilege
- Minimum necessary permissions
- Disk encryption
- Protects data at rest
- Netfilter
- Kernel packet-processing framework
- filter table
- Packet filtering decisions
- INPUT
- Locally destined packets
- OUTPUT
- Locally generated packets
- FORWARD
- Packets routed through host
- ACCEPT
- Permit matching packet
- DROP
- Discard matching packet
- Default chain policy
- Fallback for built-in chain
- Audit logs
- Evidence for incident review
Build Artifact Memory
Source becomes package; packages populate images
Preseed vs Custom ISO
Preseed
- Answers installer prompts
- Reuses installation settings
Custom ISO
- Bundles selected packages
- Contains custom image files
Installer answers vs image contents
Build Picker
- Repeat identical installer answers→Preseed
- Reusable customized live medium→live-build
- Group software dependencies→Metapackage
- Distribute maintained software packages→Signed repository
- Need supported driver feature→Kernel configuration
- Test change before deployment→Disposable VM
Package Builds
- Source package
- Source code and packaging metadata
- Binary package
- Installable compiled or packaged files
- debian/control
- Package metadata and dependencies
- debian/rules
- Package build instructions
- debian/changelog
- Package version and change history
- Build-Depends
- Dependencies needed for building
- dpkg-buildpackage
- Build Debian packages from source
- .buildinfo
- Records build environment details
Image Customization
- live-build
- Builds customized Debian live images
- Package lists
- Select installed image packages
- File overlay
- Adds files to image
- Build hook
- Runs at defined build stage
- Kernel configuration
- Selects kernel features and drivers
- Kernel headers
- Build interface for external modules
- VM snapshot
- Point-in-time virtual machine state
Deployment Basics
- Preseed
- Supplies Debian installer answers
- Unattended install
- Automated installation from settings
- Custom ISO
- Reusable installation or live image
- Signed archive
- Trusted package distribution metadata
- Package mirror
- Replica of package repository
- Version inventory
- Track deployed software versions
- Rollback plan
- Restore known-good configuration
- Staged deployment
- Test before wider rollout
Common Traps
Closed-book exam
Pre-exam review sheet ≠ Permitted exam notes
Certificate vs course
Free PEN-103 training ≠ Free certification attempt
Forensic safety
Automount disabled ≠ Impossible to alter evidence
Space reporting
df reports filesystem usage ≠ du estimates file space
File vs directory execute
Run executable file ≠ Traverse directory
Index refresh
apt update refreshes metadata ≠ apt upgrade installs updates
Package config
apt remove retains package config ≠ apt purge removes package config
Repository evolution
2026.2 fresh install uses kali.sources ≠ All older installs automatically migrated
Trust checks
Matching hash from trusted source ≠ Signature authentication of publisher
Service state
Active service now ≠ Enabled for future activation
Network scope
INPUT local destination ≠ FORWARD through host
Disk layout
LVM manages logical volumes ≠ LUKS encrypts block devices
Last Minute
- 1.KLCP: 80 questions, 90 minutes
- 2.Closed book; leave notes outside
- 3.Passing score not officially published
- 4.Rolling branch updates continuously
- 5.Live persistence retains reboot changes
- 6.Verify downloads against signed checksums
- 7.Octal permissions: r4 w2 x1
- 8.man 5 describes file formats
- 9.Bash zero exit status: success
- 10.APT update refreshes indexes
- 11.Full-upgrade can remove packages
- 12.dpkg -L lists package files
- 13.Since 2026.2 fresh installs use kali.sources
- 14.Start now; enable future activation
- 15.INPUT local; FORWARD transit
- 16.Preseed answers installer prompts
- 17.Authentication identifies; permissions authorize
Explore More OffSec Certifications
Continue into nearby exams from the same family. Each card keeps practice questions, study guides, flashcards, videos, and articles in one place.
