|
1 | 1 | <h2 dir='rtl' align='right'> API10:2019 خلل في طريقة تسجيل الاحداث والمراقبة </h2>
|
2 |
| -============================================ |
| 2 | + |
3 | 3 |
|
4 | 4 | <table dir='rtl' align="right">
|
5 | 5 | <tr>
|
|
36 | 36 | <p dir='rtl' align='right'> تم استهداف أحد منصات مشاركة ملفات الفيديو بهجمات كسر كلمات المرور المسربة مسبقاً من أحد الهجمات السابقة. على الرغم من عدد المحاولات تسجيل الدخول غير الصحيحة لم يتم تفعيل التنبيهات خلال فترة الهجوم، وكردة فعل قام المستخدمين بالشكوى من اغلاق الحسابات الخاصة بهم بسبب عدد المحاولات، وبعد عملية تحليل السجلات الخاصة بواجهات برمجة التطبيقات API تبين ان هناك فعلاً هجوم وكان على الشركة اصدار اعلان لجميع المستخدمين بتغير كلمات المرور الخاصة.
|
37 | 37 |
|
38 | 38 |
|
39 |
| -## How To Prevent |
40 |
| - |
41 |
| -* Log all failed authentication attempts, denied access, and input validation |
42 |
| - errors. |
43 |
| -* Logs should be written using a format suited to be consumed by a log |
44 |
| - management solution, and should include enough detail to identify the |
45 |
| - malicious actor. |
46 |
| -* Logs should be handled as sensitive data, and their integrity should be |
47 |
| - guaranteed at rest and transit. |
48 |
| -* Configure a monitoring system to continuously monitor the infrastructure, |
49 |
| - network, and the API functioning. |
50 |
| -* Use a Security Information and Event Management (SIEM) system to aggregate and |
51 |
| - manage logs from all components of the API stack and hosts. |
52 |
| -* Configure custom dashboards and alerts, enabling suspicious activities to be |
53 |
| - detected and responded to earlier. |
| 39 | +<h4 dir='rtl' align='right'>كيف أمنع هذه الثغرة؟ </h4> |
54 | 40 |
|
55 |
| -## References |
| 41 | +<p dir='rtl' align='right'>▪️ قم بتسجيل جميع محاولات المصادقة الفاشلة او محاولات رفض الوصول للمجلدات او الامتدادات وكذلك جميع المدخلات المحجوبة. |
| 42 | +<p dir='rtl' align='right'>▪️ يجب كتابة السجلات بشكل متناسق لاستخدامه في عمليات إدارة السجلات ويجب ان تتضمن كافة التفاصيل التي تتيح للمحلل معرفة الأنشطة الضارة ومن قام بها. |
| 43 | +<p dir='rtl' align='right'>▪️ يجب التعامل مع السجلات باعتبارها بيانات حساسة ويجب ضمان سلامتها اثناء المرور و التخزين. |
| 44 | +<p dir='rtl' align='right'>▪️ قم بإعداد عمليات المراقبة واجعلها مستمرة ولتشمل البنية التحتية والشبكات و واجهة برمجة التطبيقات API. |
| 45 | +<p dir='rtl' align='right'>▪️ استخدم أنظمة SIEM لإدارة السجلات من جميع المصادر والأنظمة و واجهات برمجة التطبيقات. |
| 46 | +<p dir='rtl' align='right'>▪️ قم بإعداد لوحة مراقبة مخصصة لتنبيهات الأمنية وقم بتفعيل التواقيع الرقمية لرصد الأنشطة المشبوهة لرصدها في مراحلها الأولية. |
56 | 47 |
|
57 |
| -### OWASP |
| 48 | +<h4 dir='rtl' align='right'>المراجع : </h4> |
58 | 49 |
|
59 |
| -* [OWASP Logging Cheat Sheet][2] |
60 |
| -* [OWASP Proactive Controls: Implement Logging and Intrusion Detection][3] |
61 |
| -* [OWASP Application Security Verification Standard: V7: Error Handling and |
62 |
| - Logging Verification Requirements][4] |
| 50 | +[<p dir='rtl' align='right'>▪️ OWASP Logging Cheat Sheet </p>]( https://www.owasp.org/index.php/Logging_Cheat_Sheet) |
| 51 | +[<p dir='rtl' align='right'>▪️ OWASP Proactive Controls: Implement Logging and Intrusion Detection </p>](https://www.owasp.org/index.php/OWASP_Proactive_Controls) |
| 52 | +[<p dir='rtl' align='right'>▪️ OWASP Application Security Verification Standard: V7: Error Handling and |
| 53 | + Logging Verification Requirements </p>](https://github.com/OWASP/ASVS/blob/master/4.0/en/0x15-V7-Error-Logging.md) |
63 | 54 |
|
64 |
| -### External |
| 55 | +<h4 dir='rtl' align='right'>المصادر الخارجية : </h4> |
65 | 56 |
|
66 |
| -* [CWE-223: Omission of Security-relevant Information][5] |
67 |
| -* [CWE-778: Insufficient Logging][6] |
| 57 | +[<p dir='rtl' align='right'>▪️ CWE-223: Omission of Security-relevant Information </p>]( https://cwe.mitre.org/data/definitions/223.html) |
| 58 | +[<p dir='rtl' align='right'>▪️ CWE-778: Insufficient Logging </p>]( https://cwe.mitre.org/data/definitions/778.html) |
68 | 59 |
|
69 | 60 | [1]: https://www.owasp.org/index.php/Log_Injection
|
70 |
| -[2]: https://www.owasp.org/index.php/Logging_Cheat_Sheet |
71 |
| -[3]: https://www.owasp.org/index.php/OWASP_Proactive_Controls |
72 |
| -[4]: https://github.com/OWASP/ASVS/blob/master/4.0/en/0x15-V7-Error-Logging.md |
73 |
| -[5]: https://cwe.mitre.org/data/definitions/223.html |
74 |
| -[6]: https://cwe.mitre.org/data/definitions/778.html |
| 61 | + |
0 commit comments