
SALT - متتبع مخصص SLUB لنواة لينكس
مرحبًا بك في salt، وهي أداة لعكس هندسة إدارة ذاكرة الكومة (heap) في نواة النظام (kernel) وتعلّمها. يمكن أن تكون مفيدة لتطوير استغلال (exploit)، أو لتصحيح أخطاء كود النواة الخاص بك، والأهم من ذلك، للعب مع تخصيصات ذاكرة الكومة في النواة وتعلّم آلياتها الداخلية.
تساعد هذه الأداة في تتبع التخصيصات والحالة الحالية لموزع SLUB في أنوية لينكس الحديثة.
إنها مكتوبة كإضافة لـ gdb، وتتيح لك تتبع وتسجيل تخصيصات الذاكرة وتصفيتها حسب اسم العملية أو حسب ذاكرة التخزين المؤقت (cache). يمكن للأداة أيضًا تفريغ قائمة ذاكرات التخزين المؤقت النشطة وطباعة المعلومات ذات الصلة.
يتضمن هذا المستودع أيضًا وحدة نواة قابلة للتحميل تُسمى playground يمكنها تشغيل عمليات التخصيص وإلغاء التخصيص حسب الرغبة، لتكون بمثابة أداة تصحيح وأداة تعليمية لفهم كيفية عمل الموزع بشكل أفضل.
يمكن العثور على مزيد من المعلومات حول آلية عمل موزع SLUB الداخلية، وكيفية البدء، والتوثيق التفصيلي للإضافة، وملاحظات حول وحدة playground في مجلد المستندات.
إليك القائمة الكاملة للأوامر:
> salt help
Possible commands:
filter -- manage filtering features by adding with one of the following arguments
enable -- enable filtering. Only information about filtered processes will be displayed
disable -- disable filtering. Information about all processes will be displayed.
status -- display current filtering parameters
add process/cache <arg>-- add one or more filtering conditions
remove process/cache <arg>-- remove one or more filtering conditions
set -- specify complex filtering rules. The supported syntax is "salt filter set (cache1 or cache2) and (process1 or process2)".
Some variations might be accepted. Checking with "salt filter status" is recommended. For simpler rules use "salt filter add".
record -- manage recording features by adding with one of the following arguments
on -- enable recording. Information about filtered processes will be added to the history
off -- disable recording.
show -- display the recorded history
clear -- delete the recorded history
trace <proc name> -- reset all filters and configure filtering for a specific process
walk -- navigate all active caches and print relevant information
walk_html -- navigate all caches and generate relevant information in html format
walk_json -- navigate all active caches and generate relevant information in json format
help -- display this message
وها أنت ترى salt أثناء العمل:

تم تطوير هذا المشروع في EURECOM كمشروع فصل دراسي لربيع 2018.
شكر جزيل لمشرفيّ Yanick، وFabio، وEmanuele، وDario، وMarius، وبقية فريق S3 الذين ساعدوني وتابعوني.
كجزء من مشروعي، قدمت أيضًا عرضًا تقديميًا لفريق الأمن في EURECOM. الشرائح متاحة هنا.
Perla E, Oldani M (2010) - A Guide to Kernel Exploitation: Attacking the Core