🎯 គោលបំណង
- ញែក Passive និង Active recon
- អាន HTTP response headers
- រក Path លាក់ និងព័ត៌មានលេចធ្លាយ
curlrobots.txtHTTP headersOSINTInformation disclosure
Recon = ដំណាក់កាលដំបូង។ យើងប្រមូលព័ត៌មានឲ្យបានច្រើន មុននឹងប៉ះប្រព័ន្ធ។
Passive vs Active
- Passive — មិនទាក់ទងគោលដៅផ្ទាល់ (Google, WHOIS, LinkedIn)។
- Active — ផ្ញើ request ទៅគោលដៅ (curl, nmap)។
ឧបករណ៍ក្នុង Lab នេះ
curl -I http://acme-shop.lab/ # មើលតែ headers (server, technology) curl http://acme-shop.lab/robots.txt # path ដែលម្ចាស់មិនចង់ឲ្យ index curl http://acme-shop.lab/ | grep -i -E "todo|password|admin" # HTML comments curl http://acme-shop.lab/.well-known/security.txt
អ្វីដែលត្រូវរក
- Server / X-Powered-By headers — ប្រាប់ version software (អាចមាន CVE)
- robots.txt — ជួនកាលចង្អុល path សម្ងាត់ (/admin/, /backup/)
- HTML comments — Developer ភ្លេចលុប password ឬ note
- Email / phone — សម្រាប់ phishing (ក្នុង engagement ស្របច្បាប់)
💡 ព័ត៌មានដែលលេចធ្លាយដោយខ្លួនឯង (version, comment, backup) ហៅថា Information Disclosure — វាជា finding មួយ សូម្បីតែមិនទាន់វាយប្រហារ។