CHW cybersecurity blog posts
【關於不是大佬考完 OSCE³】
OSCE³ 心得:OSWE、OSEP、OSED 與 OSWA 準備時程、考試感想與學習筆記。
[OSED, EXP-301] Instructional notes
OSED / EXP-301 instructional notes covering x86 architecture and WinDbg debugging, stack buffer overflow exploitation, SEH overflows and SafeSEH, reverse engineering with IDA Pro, egghunters under space restrictions, and hand-written x86 custom shellcode with PEB walking, export table parsing, API hashing, NULL-free position-independent code, and a reverse shell.
[OSED, EXP-301] Instructional notes - Part 4
OSED EXP-301 筆記 Part 4,將 SEH-Based Egghunter 透過修改 TEB StackBase 移植到 Windows 10,接著手寫 x86 Custom Shellcode:以 PEB Method 定位 kernel32.dll、解析 Export Table 並用 Hash 比對找出 API,實作 NULL-Free 與 Position-Independent Shellcode,最後串接 ws2_32.dll 的 WSAStartup、WSASocketA、WSAConnect 與 CreateProcessA 取得 Reverse Shell。
[OSED, EXP-301] Instructional notes - Part 3
OSED EXP-301 筆記 Part 3,聚焦空間受限環境下的 Egghunter 漏洞利用,以 Savant Web Server 3.1(CVE-2002-1120)為例,涵蓋 crash 分析與 Bad Characters 偵測、Partial EIP Overwrite、以 POP EAX; RET 與 Conditional Jump 將執行流程導回並改寫 HTTP Method、Windows Heap Memory Manager 與第二階段 Buffer 配置、使用 Keystone Engine 組譯 Egghunter、透過 NtAccessCheckAndAuditAlarm System Call 掃描記憶體並修正 Windows 10 System Call Number 與 Null Byte 問題、msfvenom Meterpreter payload 取得 Shell,以及改用 SEH-based Egghunter 提升跨版本可攜性等等。
[OSED, EXP-301] Instructional notes - Part 2
OSED EXP-301 筆記 Part 2,整理 SEH Overflow 利用、Structured Exception Handling 機制、TEB、SafeSEH & SEHOP、KiUserExceptionDispatcher & RtlDispatchException、以 narly 定位未啟用 SafeSEH 的模組、POP POP RET & NSEH/SEH 覆寫、short jump & Island-Hopping,以及 IDA Pro 反組譯介面、Graph/Text/Proximity view、Search 與 Cross-Reference、IDA 與 WinDbg 的 Static-Dynamic 同步(Rebase program)、追蹤 Notepad 的 CreateFileW 與 ReadFile 等等。
[OSED, EXP-301] Instructional notes - Part 1
OSED EXP-301 筆記 Part 1,涵蓋 x86 架構與 CPU 暫存器、WinDbg 除錯基礎(記憶體讀寫、符號、Software/Hardware 中斷點、單步執行),以及 Stack Buffer Overflow 利用:以 Sync Breeze 為例控制 EIP、尋找 JMP ESP、檢查 Bad Characters,並用 msfvenom 產生 shellcode 取得 reverse shell。
[OSEP, PEN-300] Instructional notes
OSEP / PEN-300 instructional notes covering antivirus evasion, application whitelisting and AppLocker bypass, process injection and migration, reflective code execution, client-side and Office macro attacks, JScript/C#/PowerShell shellcode runners, AMSI and UAC bypass, and the defensive mechanisms modern Windows environments rely on.
[OSEP, PEN-300] Instructional notes - Part 4
OSEP PEN-300 筆記 Part 4,整理 Advanced Antivirus Evasion、AMSI 掃描機制、Intel x86/x64 組合語言與 WinDbg 操作、Frida hooking、以 Reflection 與 binary patching 繞過 PowerShell AMSI、amsiInitFailed 與 VirtualProtect patch、FodHelper UAC Bypass、JScript 透過 Registry 與 DLL hijacking 繞過 AMSI 等等。
[OSEP, PEN-300] Instructional notes - Part 3
OSWE PEN-300 筆記 Part 3,整理 Process Injection、DLL Injection、Reflective DLL Injection、Process Hollowing、Antivirus Evasion、VBA Macro、PowerShell 與 Windows API 規避技術等等。
[OSEP, PEN-300] Instructional notes - Part 2
OSWE PEN-300 筆記 Part 2,涵蓋 JScript Phishing、DotNetToJScript、C# Shellcode Runner、SharpShooter、PowerShell Reflection、Win32 API 與 Reflective C# Client-Side Attacks 等等。
[OSEP, PEN-300] Instructional notes - Part 1
OSWE PEN-300 筆記 Part 1,涵蓋 Compiled/Interpreted Language 與 .NET 基礎、Win32 API、Office VBA Macro、PowerShell Shellcode Runner、記憶體內執行與 Calendar Phishing 等等。
[OSWE, WEB-300] Instructional notes
OSWE / WEB-300 instructional notes covering source code review, exploit chain analysis, authentication bypass, deserialization, SSTI, XXE, XSS, CSRF, SSRF, prototype pollution, WAF bypass, and real-world web vulnerability research patterns.
[OSWE, WEB-300] Instructional notes - Part 6
OSWE WEB-300 筆記 Part 6,涵蓋 Dangerous Functions、Bypass Security Filter to Trigger Eval、Dolibarr Eval Filter Bypass RCE、PostgreSQL injection、Bypass WAF、oraza WAF、RudderStack SQLi and Coraza WAF Bypass 等等。
[OSWE, WEB-300] Instructional notes - Part 5
OSWE WEB-300 筆記 Part 5,涵蓋 Server-Side Request Forgery、SSRF Port Scanning、SSRF Subnet Scanning、Render API Auth Bypass、Prototype Pollution、EJS Prototype Pollution RCE Exploitation、Handlebars Prototype Pollution RCE Exploitation 等等。
[OSWE, WEB-300] Instructional notes - Part 4
OSWE WEB-300 筆記 Part 4,涵蓋 Websocket client、Concord 身份繞過到 RCE、Same-Origin Policy (SOP)、Cross-Origin Resource Sharing (CORS)、SameSite、CORS+CSRF、DatabaseModule API Leak 等等。
[OSWE, WEB-300] Instructional notes - Part 3
OSWE WEB-300 筆記 Part 3,涵蓋 Password Reset Vulnerability、XML Parsing、XXE Exploit、Web Shells、openCRX 身份繞過與 RCE、openITCOCKPIT XSS、DOM-based XSS 等等。
Info-Tech AUTO-CLAIM utility
Ultra-simple automated expense claim system for Infotech CloudHR. Complete your expense claims with one click.
[OSWE, WEB-300] Instructional notes - Part 2
OSWE WEB-300 筆記 Part 2,涵蓋 XmlSerializer、DotNetNuke Cookie Deserialization RCE 弱點、SSTI攻擊、ERPNext 身份繞過、ERPNext Authentication Bypass and Server Side Template Injection 等等。
[OSWE, WEB-300] Instructional notes - Part 1
OSWE WEB-300 筆記 Part 1,涵蓋 Managed .NET Code、 Decompiling Java Classes 教學、AMUserResourcesSyncServlet SQL Injection 攻擊、PostgreSQL Extensions 等等。
[AI] Penetration Testing Notes: Recon, Web, Privilege Escalation, AD, and Pivoting
Penetration testing notes by CHW covering reconnaissance, enumeration, web exploitation, privilege escalation, Active Directory, tunneling, and practical labs.
[AI] Red Team Notes: OPSEC, Lateral Movement, AD Persistence, and Operator Workflow
Red team notes by CHW covering OPSEC, lateral movement, Active Directory persistence, credential attacks, pivoting, and operator-focused offensive workflows.
[AI] Web Security Notes: Web Recon, XSS, SSTI, SSRF, IDOR, and Exploitation Cases
Web security notes by CHW covering web reconnaissance, XSS, SSTI, SSRF, IDOR, exploitation workflows, and practical offensive security labs.
[OSWA, WEB-200] Instructional notes - Part 2
OSWA WEB-200 筆記 Part 2,聚焦 SSTI、command injection、SSRF、IDOR 與常見 Web 漏洞重點。
[OSWA, WEB-200] Instructional notes - Part 1
OSWA WEB-200 筆記 Part 1,涵蓋 web application recon、Burp Suite、XSS、CSRF、SQLi 與 XML 攻擊。
美國國防部 DOD 5220.22-M 標準 銷毀儲存媒體資料
說明 DOD 5220.22-M 與 NIST 800-88 的儲存媒體抹除與銷毀方法,比較常見處理原則與差異。
[OSCP, PEN-200] Cheat Sheet
OSCP PEN-200 cheat sheet covering reconnaissance, scanning, web attacks, enumeration, and commonly used exam commands.
CYBERSEC 2025 臺灣資安大會 「Operations Security (OPSEC) — 紅隊不被抓到的秘密!」 (Steven Meow)
CYBERSEC 2025 OPSEC 議程筆記,聚焦紅隊隱匿、C2 管理、網路匿名化與降低偵測風險的實戰重點。
DEVCORE CONFERENCE 2024 「牆の調查:致 WAF 前的你」 (Mico)
DEVCORE CONFERENCE 2024 議程筆記,探討 WAF 原理、繞過案例與紅隊實戰中的觀察重點。
Github Visitor Counter 安裝指南 |Cloudflare Workers + KV
使用 Cloudflare Workers + KV 建立 GitHub 訪客計數器的繁中安裝指南,包含 SVG 輸出、快取與部署流程。
Github Visitor Counter Installation Guide|Cloudflare Workers + KV
English setup guide for a GitHub visitor counter using Cloudflare Workers + KV, including SVG output, caching, and deployment notes.
HackTheBox: EscapeTwo [Active Directory]
Hack The Box EscapeTwo Active Directory writeup covering enumeration, credential abuse, lateral movement, and domain compromise.
HackTheBox: Puppy [Active Directory]
Hack The Box Puppy Active Directory writeup covering domain enumeration, credential abuse, privilege escalation, and compromise steps.
HackTheBox: TheFrizz [Active Directory]
Hack The Box TheFrizz Active Directory writeup covering domain enumeration, attack chain development, and escalation.
HackTheBox: Heal
Hack The Box Heal writeup covering reconnaissance, application analysis, exploitation, foothold, and privilege escalation.
HackTheBox: Titanic
Hack The Box Titanic writeup covering reconnaissance, web exploitation, foothold, and privilege escalation steps.
HackTheBox: Dog
Hack The Box Dog writeup covering reconnaissance, exploitation path, foothold, and privilege escalation workflow.
HackTheBox: Code
Hack The Box Code writeup covering enumeration, foothold, exploitation, and post-exploitation notes for the target machine.
HackTheBox: Codify
Hack The Box Codify writeup covering enumeration, initial access, exploitation, and privilege escalation steps.
HackTheBox: LinkVortex
Hack The Box LinkVortex writeup covering enumeration, attack surface analysis, exploitation, and escalation steps.
HackTheBox: UnderPass
Hack The Box UnderPass writeup covering enumeration, foothold, exploitation path, and privilege escalation.
[OSCP, PEN-200] Instructional notes - Part 8
OSCP PEN-200 筆記 Part 8,涵蓋 cloud infrastructure attacks、Gitea、Jenkins 與模擬滲透測試流程。
[OSCP, PEN-200] Instructional notes - Part 7
OSCP PEN-200 筆記 Part 7,涵蓋 lateral movement、PtH/PtT/PtK、AD persistence 與 AWS recon。
[OSCP, PEN-200] Instructional notes - Part 6
OSCP PEN-200 筆記 Part 6,涵蓋 AD enumeration、PowerView、object permissions 與 NTLM、Kerberos 攻擊。
[OSCP, PEN-200] Instructional notes - Part 5
OSCP PEN-200 筆記 Part 5,涵蓋 SSH tunneling、DNS/HTTP tunneling 與 Metasploit Framework 重點。
[OSCP, PEN-200] Instructional notes - Part 4
OSCP PEN-200 筆記 Part 4,聚焦 Linux privilege escalation、port redirection 與 tunneling 技術。
Apache SSL 憑證更換
Apache SSL 憑證更換教學,說明舊憑證替換、新憑證安裝、設定更新與服務重啟的實作流程。
Apache SSL 憑證申請安裝
Apache SSL 憑證申請與安裝筆記,涵蓋私鑰建立、CSR 產生、憑證部署與基本設定流程。
[OSCP, PEN-200] Instructional notes - Part 3
OSCP PEN-200 筆記 Part 3,聚焦 Windows privilege escalation、credential attacks 與相關實作重點。
CYBERSEC 2024 臺灣資安大會 「AD 已經防不完了,怎麼還有個 Azure AD?」(Steven Meow)
CYBERSEC 2024 議程筆記,分析 Active Directory 與 Azure AD(Entra ID)的差異、攻擊面與紅隊觀點。
Elastic stack(ELK) 安裝 on docker [一鍵安裝]
Elastic Stack(ELK)Docker 一鍵安裝筆記,說明 Elasticsearch、Logstash、Kibana 的快速部署流程。
Elastic stack(ELK) 安裝與教學
Elastic Stack(ELK)安裝與教學筆記,介紹元件用途、部署步驟與基本操作觀念。
[OSCP, PEN-200] Instructional notes - Part 2
OSCP PEN-200 筆記 Part 2,說明 exploit 開發、antivirus evasion、password attacks 與 NTLM 攻擊重點。
Calibre CVE: CVE-2024-6782
Calibre CVE-2024-6782 漏洞筆記,說明受影響版本、風險重點、漏洞背景與相關參考資訊。
[OSCP, PEN-200] Instructional notes - Part 1
OSCP PEN-200 筆記 Part 1,涵蓋 recon、enumeration、vulnerability scanning、web attacks 與 client-side exploits。
AIS3 Pre-exam CTF 2024 writeup
AIS3 Pre-exam CTF 2024 writeup covering misc, web, crypto, reverse, and final-stage challenge solutions with concise attack notes.
picoCTF: caas Writeup & Patch
picoCTF caas writeup and patch notes covering the vulnerability, exploitation steps, and remediation approach.
Cyber Apocalypse 2024: Hacker Royale
Cyber Apocalypse 2024: Hacker Royale writeup,記錄比賽過程中的關鍵題目與解題重點。
GDB & Binary Exploitation
GDB 與 Binary Exploitation 筆記,介紹除錯基礎、常見指令與二進位漏洞分析入門觀念。
HackTheBox: RenderQuest
Hack The Box RenderQuest challenge writeup covering enumeration, web exploitation, and key attack steps.
HackTheBox: Neonify
Hack The Box Neonify challenge writeup covering reconnaissance, vulnerability analysis, and exploitation workflow.
HackTheBox: jscalc
Hack The Box jscalc challenge writeup covering code review, vulnerability discovery, and exploitation steps.
HackTheBox: LoveTok
Hack The Box LoveTok challenge writeup covering initial enumeration, vulnerability discovery, and exploitation steps.
HackTheBox: Pilgrimage
Hack The Box Pilgrimage writeup covering enumeration, foothold, file analysis, and privilege escalation notes.
Conflict CTF writeup
Conflict CTF writeup,記錄比賽題目的解題流程、關鍵觀察與利用思路。
Git 介紹 & 常用操作
Git 介紹與常用操作指南,涵蓋版本控制基礎、常見指令與日常協作流程。
picoCTF 2024 writeup
picoCTF 2024 writeup covering general skills, web exploitation, cryptography, forensics, and binary exploitation challenges.
LNMP (Linux + Nginx + MySQL + PHP) 架設伺服器
LNMP 伺服器架設筆記,說明 Linux、Nginx、MySQL 與 PHP 的安裝與基礎設定流程。
HackTheBox: Topology
Hack The Box Topology writeup covering enumeration, exploitation, user access, and root privilege escalation.
HackTheBox: Sau
Hack The Box Sau writeup covering service enumeration, exploitation path, foothold, and privilege escalation.