Skip to main content

Recently Updated Pages

Zeek: Add GeoIP Data to Logs

Packet Capture

Virtual Environments sudo apt install -y pipx pipx install zkg echo 'export PATH=$PATH:/opt/ze...

Updated 9 months ago by 0xBEN

Installing Wine and Wine Dependencies

Kali Optimizations

Considerations I urge you to consider taking a snapshot of your Kali instance at its current sta...

Updated 10 months ago by 0xBEN

Cookie Theft

Web Cross Site Scripting (XSS)

Stored / Hosted XSS If there is a vulnerability where you can store or submit HTML and have it r...

Updated 10 months ago by 0xBEN

Installing Native WinRM Client

Kali Optimizations

Linux Host Connecting to Windows Host Users may be able to get WSMan remoting to work using th...

Updated 10 months ago by 0xBEN

Pass the Certificate

Active Directory Post Exploitation: Attacks

Cracking PFX Archives A .pfx archive is a way to bundle the certificate, key, and metadata in on...

Updated 10 months ago by 0xBEN

Automating with AWS Secrets Manager

Ansible Automation with Ansible

Use Case In this scenario the following is true: You have an Ansible server in AWS You have ...

Updated 10 months ago by 0xBEN

PowerShell: Find File Owned by User

Windows Administration PowerShell

$searchPath = 'C:\Program Files' $userName = 'john.doe' Get-ChildItem -ErrorAction 'SilentlyCon...

Updated 10 months ago by 0xBEN

Spawn Processes as Other Users

Active Directory Post Exploitation: Attacks

RunasCs.exe Project GitHub https://github.com/antonioCoco/RunasCs/releases Example Usage Spaw...

Updated 10 months ago by 0xBEN

Dumping Passwords from Windows Credential Manager

Active Directory Post Exploitation: Attacks

Credential Enumeration cmdkey /list In reverse shells, I have noticed that it's impossible to s...

Updated 10 months ago by 0xBEN

IPv6 DNS Spoofing

Active Directory Initial Attack Vectors: Local Area Network

Note: Network Environment This spoofing attack works by sending a router announcement to multica...

Updated 11 months ago by 0xBEN

Common Bash Pitfalls

Linux

https://mywiki.wooledge.org/BashPitfalls/ also on Archive.org Command execution via unquoted v...

Updated 11 months ago by 0xBEN

paste

Linux Administration Command Line Tricks

apple banana pear mango grapes fruit.txt cat fruit.txt | paste -s -d ',' - Using piped i...

Updated 11 months ago by 0xBEN

Data Exfiltration

Web Cross Site Scripting (XSS)

Stored / Hosted XSS If the target page has a loose content security policy / cross-origin policy...

Updated 11 months ago by 0xBEN

Pass the Hash

Active Directory Post Exploitation: Attacks

Overview Dumped the SAM or LSA and now have hashes for domain or a local users. Use the hash and...

Updated 11 months ago by 0xBEN

NetExec

Active Directory Post Exploitation: Enumeration

When to Use Useful post-compromise if you've dumped hashes from SAM or LSASS or obtained clearte...

Updated 1 year ago by 0xBEN

xargs

Linux Administration Command Line Tricks

Pipe HEREDOC to xargs When creating a HEREDOC, you can use any keyword to denote the start and e...

Updated 1 year ago by 0xBEN

Pass the Password

Active Directory Post Exploitation: Attacks

Overview Cracked a hash or discovered a password for a domain user. Use the password and nxc to ...

Updated 1 year ago by 0xBEN

SMB

File Transfers and Data Exfiltration File Transfer Techniques

SMB Server on Attack Box For this, we can use Impacket's smbserver.py script to run an ad-hoc SM...

Updated 1 year ago by 0xBEN

Dumping Hashes without Mimikatz

Active Directory Post Exploitation: Attacks

Post-Compromise on Target Lsass Process Dump Sysinternals ProcDump Download ProcDump here # D...

Updated 1 year ago by 0xBEN

Manual Enumeration

Active Directory Post Exploitation: Enumeration

Linux LdapSearch ldapsearch -x -H ldap://DC01.ad.lab -D 'john.doe@ad.lab' -W -b 'DC=ad,DC=lab' ...

Updated 1 year ago by 0xBEN