Protect All-In-One
Anti-RE + Anti-Patch รวมชุดเดียวต่อภาษา — โหลด Opaque Pack แล้วเรียก Protect.Boot / Gate / StartPulse
INFO
ดาวน์โหลด: SDK Portal → Opaque Binary Packs · คู่มือผู้ค้า Ship Opaque
Protect AIO คืออะไร
Facade เดียวครอบชั้นกันแกะ / กันแพตช์ ที่เคยแยกเป็น AntiRe + AntiPatch (+ IlSeal บน .NET)
| เรียก | ทำอะไร |
|---|---|
Protect.Boot() | AntiRe.Boot + AntiPatch.Seal (+ IlSeal บน .NET เมื่อ bind type) |
Protect.Gate() | AntiRe.Gate แล้ว AntiPatch.Verify — fail = ปิดเงียบ |
Protect.StartPulse(n) | ตรวจซ้ำทุก n วินาที (RE tool / debugger / .text CRC / IL floor) |
ลูกค้าต้องทำอะไร (สรุป)
- Login Panel → SDK Portal → ดาวน์โหลด Opaque ของภาษาที่ขาย
- เปิด
docs/DROPIN.mdใน zip → ผูกBoot → Gate → StartPulseตามลำดับ - Panel → App Settings → Production Lock → Apply · ใส่ Hash ของไฟล์ที่แจก · ตั้ง Min client build · entitlements
- อย่าแจก PDB / map / อย่าใส่
LA_ANTIRE=0ในเวอร์ชันขาย - ทดสอบ Login/License + ฟีเจอร์ที่ล็อก แล้วค่อยแจกลูกค้าปลายทาง
รายละเอียดทีละขั้น: Ship Opaque
โหลดต่อภาษา
แต่ละการ์ดบน Portal = หนึ่ง zip มีครบ:
bin/— binary ปิด source (DLL / .lib / JAR) เมื่อมีapi/protect/— Protect AIO drop-inapi/antipatch/— AntiPatch + Integrity + Authoritydocs/DROPIN.md— ลำดับผูกแอปexample/— ตัวอย่างสั้น
ภาษาที่รองรับ
| SDK | Protect | หมายเหตุตอนปล่อยขาย |
|---|---|---|
| C# / WPF / VB / Unity | LibreAuth.AntiRE.dll (= Protect.dll) | ใช้ DLL ใน Opaque · ConfuserEx ทั้งแอปถ้าเป็น managed |
| C++ | LibreAuthProtect.h + native lib | strip PDB · SecureLoader L3 ถ้ามีในแพ็ก |
| Java | JAR + Protect.java | ProGuard / R8 ก่อนแจก |
| Python / JS / TS / PHP / Ruby / Perl / Lua | api/protect/* + native DLL | Nuitka / pkg / ionCube ตามสแตก |
| Go | protect.go + ship-go.ps1 | รัน ship-go.ps1 (garble/strip) ก่อนแจก |
| Rust | protect.rs | strip + LTO |
| React / Vue | BFF only | โหลด Opaque ของ runtime ฝั่งเซิร์ฟเวอร์แอปคุณ |
ลำดับบังคับในแอป
Protect.Boot()→Gate()→StartPulse(14)- ใส่
api/antipatch/+api/protect/ SessionGate.Boot(client_build)= Min client build บน PanelInit→License→MarkLicensedRequireFeatureOrDieก่อนฟีเจอร์ที่ขาย- Heartbeat ต่อเนื่อง
WARN
เกตฝั่ง client อย่างเดียวถูกแพตช์ได้ — Panel Hash Check + heartbeat คืออำนาจสุดท้าย อย่าพึ่งแค่ Gate
IDA / debugger / AI RE — สิ่งที่แพ็กทำให้อัตโนมัติ
ลูกค้าไม่ต้องเขียนโค้ดเพิ่ม นอกจากเรียก Boot/Gate/Pulse — ชั้นด้านล่างทำงานใน Opaque DLL/lib
| สถานการณ์ | พฤติกรรมที่ลูกค้าเห็นตอนทดสอบ |
|---|---|
| เปิด exe ใน IDA (static) | รายการฟังก์ชันฝั่งซ้ายมี stub ทึบจำนวนมาก (ชื่ออ่านไม่ออก / sub_*) — ว่างสนิท 100% ไม่ได้ เพราะต้องมีโค้ดรันจริง |
| เปิด debugger / RE tool คู่กับโปรเซส (IDA debug · x64dbg · CE ฯลฯ) | แพ็กสปอว์นฟังก์ชันปลอมต่อเนื่องในหน่วยความจำ executable — หน้าต่าง Functions / modules ฝั่งวิเคราะห์โตไม่หยุด จนโปรเซสถูกตัด |
Go + ship-go.ps1 | สัญลักษณ์ runtime ถูกลบ — เหลือชื่อทั่วไป ไม่โชว์ชื่อภายในชัด |
| ILSpy / dnSpy (.NET) | DLL ปิด + Obfuscar + IlSeal · flood เมธอดแบบ dynamic เมื่อติด debugger |
| AI assist (Cursor / Hermes / Ollama ฯลฯ) | เปิด Panel block_ai ตอนขายจริง · ดู Access Controls |
INFO
เป้าหมายคือดันต้นทุนการแกะ + ให้ Panel ตัด session — ไม่ใช่การันตีว่า “แกะไม่ได้” · อย่าพึ่ง client อย่างเดียว
สวิตช์ Panel ที่เกี่ยวกับ Protect (Enterprise)
| สวิตช์ | ลูกค้าควร |
|---|---|
| Require signed Anti-RE policy | เปิดตอนขายจริง — Init ต้องได้ policy ที่เซ็นแล้ว |
| Anti-RE hard mode | เปิดถ้าต้องการสแกน RE หนักขึ้นก่อน Gate |
| Require Protect Mesh | เปิดเมื่อ client ส่ง mesh จาก Gate แล้ว (แพ็กใหม่) — กันแพตช์ Gate เปล่า |
| Protect profile | standard → hardened / maximum ตามระดับที่ต้องการ |
INFO