ข้ามไปยังเนื้อหา

5.5 — Understand Security Testing

🧠 ภาพจำก่อนอ่าน: 👤 Identity → 🔑 Access → 🛡️ Controls
🎨 Visual Guide ของวิชานี้ — ภาพช่วยจำ ไม่แทนคำสั่งและเนื้อหาจริง

← Domain 5

security testing ตรวจว่า controls/defenses ทำงานจริงหรือมี weakness ก่อน attacker ใช้

testing ต้องมี authorization และ scope

defend, monitor, detect, investigate และ respond

authorized adversary simulation เพื่อทดสอบ people/process/technology ตาม scope

red + blue collaboration เพื่อเรียนรู้และปรับ detection/defense เร็วขึ้น

Purple team ไม่จำเป็นต้องเป็นทีมถาวร แก่นคือ collaboration

automated identification of known/suspected weaknesses เช่น outdated software, exposed services หรือ misconfiguration

scan result ต้อง validate/contextualize

scanner finding ≠ confirmed exploitability เสมอ

วิเคราะห์ source/code/binary โดยไม่รัน application

เหมาะกับ finding classes ที่เห็นจาก code structure

ทดสอบ running application จากภายนอกเหมือน interaction จริง

เห็น runtime behavior แต่ visibility ภายใน code ต่ำกว่า SAST

คิดล่วงหน้าว่า:

  • assets คืออะไร
  • trust boundaries อยู่ไหน
  • attacker ทำอะไรได้
  • abuse cases คืออะไร
  • mitigations อะไรจำเป็น

ทำได้ตั้งแต่ design stage จึงช่วยป้องกันก่อน deploy

current objective ยกตัวอย่าง:

ทดสอบว่าคนเปิดเผย credential/click/execute หรือ report อย่างถูกต้องหรือไม่

พยายามตามผู้มีสิทธิ์เข้า restricted area

ปลอมเป็น staff/vendor/authority เพื่อ bypass process

ทุก test ต้อง authorized และมี safety boundary

security test ไม่ควรกลายเป็น incident เพราะไม่มี scope

ก่อน test ต้องรู้:

  • authorization
  • target
  • time window
  • prohibited actions
  • stop condition
  • communication/escalation

AI-integrated application ยังต้อง vulnerability testing, threat modeling และ readiness testing

AI อาจเพิ่ม abuse cases เช่น prompt injection, sensitive-data exposure หรือ excessive agent permissions แต่ fundamentals ของ scope/evidence/authorization ยังเหมือนเดิม

scanner พบ critical CVE บน Internet-facing server

ขั้นต่อไปไม่ใช่ assume compromise แต่ validate asset/version/exposure, prioritize และ remediate ตาม risk

Trap Correct mental model
Red team = vulnerability scanner red team simulates adversary objectives
Purple = third opposing team collaboration of offensive/defensive learning
SAST = running app test SAST analyzes code without execution
DAST = source review DAST tests running app
Scan finding = incident finding needs validation/context
Pen test without written scope unauthorized activity risk
  1. Blue/Red/Purple ต่างกันอย่างไร?
  2. scanning ต่างจาก penetration testing อย่างไร?
  3. SAST/DAST ต่างกันอย่างไร?
  4. threat modeling ควรเริ่มเมื่อไร?
  5. physical penetration testing มีตัวอย่างอะไรบ้าง?

เรียนบทหลักตามลำดับ ส่วนลิงก์ด้านล่างเป็นเนื้อหาเสริมหรือแบบฝึก ไม่จำเป็นต้องทำทั้งหมดก่อนบทถัดไป หากต้องการเจาะลึกหรือลงมือทำ ให้เลือกเปิดเฉพาะสิ่งที่เกี่ยวข้องกับเป้าหมาย

📝 Practice — โจทย์วิเคราะห์สถานการณ์

🎯 คำถามที่ตรงกับบทนี้: Domain 5 · Scenario 21–25

🧠 Review — ทบทวนเฉพาะหัวข้อที่ตอบผิด

🧭 ตารางอ่าน Domain → Scenario → Review

✅ บทที่ 12/13 ในเส้นทางหลัก

เมื่ออ่านและฝึกทบทวนจบแล้ว ทำเครื่องหมายเพื่อบันทึกใน Browser นี้