You don't always attack the target directly.
Sometimes, the real challenge is finding a path through the network.
That's exactly what I explored while completing the Pivoting, Tunneling & Port Forwarding module from CPTS Path Check comments for notes
While studying Pivoting in CPTS, I created this one-page cheat sheet to summarize the difference between SSH Local Port Forwarding (-L) and Dynamic Port Forwarding (-D), along with SOCKS tunneling and Proxychains usage.
Feedback is welcome!
Tools like Snaffler are great, but crawling SMB shares creates a telemetry nightmare. You instantly light up the SIEM with :
- 5140 / 5145 (Network Share Access)
- 4656 / 4663 (Object & File Access)
So I built Invoke-WindowsSearch to query the native Windows Search DB (OLE DB) directly via WinRM/RPC, It extracts the targets without touching the actual files, completely bypassing the 4663 and 5145 detection footprint.
Trade-offs: Requires the WSearch service (disabled by default on Server OS) and lacks complex regex capabilities. Know your environment before execution.
#RedTeam #ActiveDirectory #OPSEC #ThreatHunting #PowerShell
Dumping the Linux Keyring from the Kernel.
Process injection (ptrace) into sssd/sshd is loud. Modern EDRs catch it instantly but like Symbiote malware tried user-space LD_PRELOAD evasion so I went the opposite route.
Built a fileless CO-RE eBPF implant:
- Hooks sys_enter_add_key
- Masquerades as a benign kworker thread
- Intercepts LUKS/Kerberos secrets in transit (PoC below)
- Smuggles AES-256 encrypted payloads via HTTPS C2
Zero disk I/O. Invisible to user-space telemetry.
h/t Eloy (zer1t0) & @Nightbanes for the foundational ptrace research.
#eBPF #RedTeam #Linux #MalwareDevelopment
Stop burning RDP persistence with 4732 alerts. Bypass the "Remote Desktop Users" group entirely.
GUI access only requires:
- SeRemoteInteractiveLogonRight (Inject SID via secedit)
- RDP-Tcp listener permissions (Modify CIM class)
OPSEC: Trades 4732 for 4704. Most SOCs don't tune 4704 with the same aggression.
h/t @Cptjesus for the concept.
Deep dive into the Linux Authentication Process and credential handling mechanisms.
Points which Covered:
PAM Architecture
passwd vs shadow
Hash algorithms
Password policies
Credential cracking workflow
#Linux#CyberSecurity#PAM#HTB#CPTS