{"uuid": "edfc0bff-e4c1-4022-830f-95886cae490c", "vulnerability_lookup_origin": "1a89b78e-f703-45f3-bb86-59eb712668bd", "author": "9f56dd64-161d-43a6-b9c3-555944290a09", "vulnerability": "CVE-2023-42824", "type": "seen", "source": "https://t.me/ProfessorDiscussions/30647", "content": "\u200f- \u0645\u062b\u0627\u0644: \u062a\u062d\u0648\u064a\u0644 if(A &amp;&amp; B) \u0625\u0644\u0649 if(!A) goto end; if(!B) goto end;.\n\n2. Polymorphic Code:\n\u200f- \u064a\u063a\u064a\u0631 \u0627\u0644\u0640 payload decryptor \u0645\u0639 \u0643\u0644 \u0646\u0633\u062e\u0629.\n\u200f- \u0627\u0644\u0640 payload \u0646\u0641\u0633\u0647 \u064a\u0628\u0642\u0649 \u0645\u0634\u0641\u0631\u0627\u064b \u0628\u0640 key \u0645\u062e\u062a\u0644\u0641.\n\u200f- \u0623\u0633\u0647\u0644 \u0641\u064a \u0627\u0644\u062a\u0646\u0641\u064a\u0630 \u0645\u0646 Metamorphic.\n\nIMPLEMENTATION FOR IOS\n\u200f1. JavaScript Obfuscation \u0641\u064a rce_loader.js:\n\u200f- \u0627\u0633\u062a\u062e\u062f\u0627\u0645 VM-based obfuscation (JavaScript executor \u062f\u0627\u062e\u0644 JavaScript).\n\u200f- \u062a\u0634\u0641\u064a\u0631 \u0627\u0644\u0640 payload \u0628\u0640 AES-256 \u0648\u0641\u0643 \u0627\u0644\u062a\u0634\u0641\u064a\u0631 \u0641\u064a runtime.\n\u200f- Dynamic function generation \u0644\u062a\u062c\u0646\u0628 static signatures.\n\n\u200f// VM-based obfuscation \u0627\u0644\u0647\u064a\u0643\u0644\nconst vm_code = atob('YWxlcnQoJ2hlbGxvJyk7');\n\u200fnew Function(vm_code)(); // \u064a\u062a\u0645 \u062a\u0648\u0644\u064a\u062f \u0627\u0644\u0643\u0648\u062f \u062f\u064a\u0646\u0627\u0645\u064a\u0643\u064a\u0627\u064b\n\n\u200f2. Anti-Analysis \u0641\u064a sbx_main.js:\n\u200f- \u0627\u0644\u062a\u062d\u0642\u0642 \u0645\u0646 \u0648\u062c\u0648\u062f debugger \u0642\u0628\u0644 \u0627\u0644\u062a\u0646\u0641\u064a\u0630.\n\u200f- Environment fingerprinting \u0644\u0644\u062a\u062d\u0642\u0642 \u0645\u0646 \u0639\u062f\u0645 \u0648\u062c\u0648\u062f sandbox analysis tools.\n\u200f- Delayed execution \u0644\u0625\u0641\u0634\u0627\u0644 automated analysis.\n\n// Environment fingerprinting\nconst debug_check = new Date().getTime();\n\u200f// \u0625\u0630\u0627 \u0627\u0633\u062a\u063a\u0631\u0642 \u0627\u0644\u062a\u0646\u0641\u064a\u0630 \u0648\u0642\u062a\u0627\u064b \u063a\u064a\u0631 \u0637\u0628\u064a\u0639\u064a = debugger \u0645\u0648\u062c\u0648\u062f\nif (new Date().getTime() - debug_check &gt; 100) {\n\u200f    // \u0633\u0644\u0648\u0643 \u062e\u0627\u0637\u0626 \u0644\u0625\u0631\u0628\u0627\u0643 \u0627\u0644\u062a\u062d\u0644\u064a\u0644\n}\n\n3. Safari-Specific Bypass:\n\u200f- WebContent process \u0641\u064a Safari \u064a\u0639\u0632\u0644 \u0627\u0644\u062a abges.\n\u200f- \u0627\u0633\u062a\u062e\u062f\u0627\u0645 \u0627\u0644\u0640 JIT-compiled regions \u0644\u062a\u062e\u0632\u064a\u0646 payload \u0645\u0624\u0642\u062a\u0627\u064b.\n\u200f- \u0627\u0644\u0640 TCMA (Thread-Code Memory Access) restrictions \u062a\u0645 \u062a\u0637\u0648\u064a\u0631\u0647\u0627 \u0641\u064a iOS 17+.\n\u200f- \u0627\u0644\u062d\u0644: \u0627\u0633\u062a\u063a\u0644\u0627\u0644 \u0627\u0644\u0640 GPU shared memory \u0644\u0644\u0627\u062a\u0635\u0627\u0644 \u0628\u064a\u0646 \u0627\u0644\u0639\u0645\u0644\u064a\u0627\u062a.\n\n---\n\nMITIGATION AND DEFENSIVE INSIGHTS\n\u200f1. \u0644\u0644\u0645\u0637\u0648\u0631\u064a\u0646 \u0627\u0644\u0623\u0645\u0646\u064a\u064a\u0646:\n\u200f- \u062a\u062d\u062f\u064a\u062b XProtect signatures \u0628\u0634\u0643\u0644 \u0645\u062a\u0643\u0631\u0631.\n\u200f- \u0645\u0631\u0627\u0642\u0628\u0629 \u0627\u0644\u0640 JIT allocation patterns.\n- Implement kernel pointer obfuscation.\n\n\u200f2. \u062a\u0642\u0646\u064a\u0627\u062a \u0627\u0644\u0643\u0634\u0641:\n\u200f- Monitoring syscall patterns \u063a\u064a\u0631 \u0627\u0644\u0645\u0639\u062a\u0627\u062f\u0629 \u0645\u0646 WebContent.\n- Detecting JIT regions that contain non-JIT-generated code.\n\u200f- \u0627\u0644\u0640 MTE violations logging \u0644\u062a\u062a\u0628\u0639 \u0645\u062d\u0627\u0648\u0644\u0627\u062a \u0627\u0644\u0627\u0633\u062a\u063a\u0644\u0627\u0644.\n\n---\n\nREAL-WORLD REFERENCE\n\u200f- CVE-2024-23222: IOKit UAF \u2014 \u062a\u0645 \u0625\u0635\u0644\u0627\u062d\u0647 \u0641\u064a iOS 17.4.\n\u200f- CVE-2023-42824: Kernel bypass through XPC \u2014 \u064a\u0624\u062b\u0631 \u062d\u062a\u0649 iOS 17.1.2.\n- PAC bypass techniques: Brunner &amp; Stock, \"PAC it Up: Bypassing Pointer Authentication,\" OffensiveCon 2024.", "creation_timestamp": "2026-08-29T00:00:09.185308Z"}