Открыто

[Opensecuritytraining.info] Промежуточный курс по x86 [2012]

Тема в разделе "Программирование", создана пользователем Monogatari, 24 июн 2015.

Цена: ----
Взнос: ----

Основной список: 5 участников

Резервный список: 4 участников

  1. 24 июн 2015
    #1
    Monogatari
    Monogatari ЧКЧлен клуба

    [Opensecuritytraining.info] Промежуточный курс по x86 [2012]

    Собираем на перевод курса
    [Opensecuritytraining.info] Промежуточный курс по x86 [2012]


    Авторы: Xeno Kovah
    Лицензия: Creative Commons: Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0)
    Требования к курсу: Ознакомление с курсом "Введение в ".

    Требования к лабораторным работам:
    Требуется система Windows с Visual C ++ Express Edition, Windows DDK или WDK ядра компиляции среды, и WinDbg. Требуется гостевая ОС Windows в VMWare Player или VMware Server, чтобы сделать отладку ядра с WinDbg из хостовой ОС.

    Комментарии автора: Основываясь на курсе "Введение в x86", этот курс идет дальше в глубину, и вводит более сложные темы, чтобы погрузится глубже, как работают на базе систем Intel x86.

    Темы включают в себя, но не ограничиваются ими:

    • Физическая и виртуальная память, как она ограничена объёмом физической памяти, представление в виртуальной памяти через многоуровневую систему подкачки. Мы также поговорим о сегментации памяти.
    • Аппаратная основа для ядра по сравнению с пользовательским пространством разделения, программные переходы между ними. Эта часть отвечает на вопрос почему у x86 4 кольца привилегий.
    • Аппаратные и программные прерывания, и как они являются основой для отладки.
    • Инструкции ввода / вывода и как они позволяют процессору общаться с периферийными устройствами.



    •Using WinDbg to perform kernel debugging on a virtual machine (which is equally applicable for debugging a real machine.)

    •Using a custom WinDbg plugin to examine the Local (memory segment) Descriptor Table (LDT), and Global (memory segment) Descriptor Table (GDT) in order to understand how Windows sets memory segment ranges and permissions for userspace and kernel space.

    •Using WinDbg and the !pte command to understand how Windows organizes its paging structures which map physical memory to virtual memory.

    •Investigating where exactly the XD/NX bit is set in order to make memory as non-executable (which Microsoft calls Data Execution Prevention (DEP)), to prevent some types of exploits from succeeding.

    •Using the Read Timestamp Counter (RDTSC) instruction to profile code execution time. Also, using a profile of code execution time to change a program’s behavior in the presence of a debugger (e.g. executing different code if the code appears to have been stopped at a breakpoint.)

    •Printing information about task state segments, which hold information that is used to find the kernel stack when an interrupt occurs.

    •Watching what does and doesn’t change when a software interrupt is used to transfer control from userspace to kernel.

    •Reading the Interrupt Descriptor Table (IDT) and understanding the security implications of changes to it.

    •Understanding how RedPill uses the IDT in order to detect that a system is virtualized.

    •Having a process read its own memory when a software breakpoint is set, in order to see how a debugger will change memory to set the breakpoint but hide the change from the user.

    •Watch how hardware-based breakpoints manipulate dedicated debug registers.

    •Using port input/output to access the backdoor communications channel that VMWare uses in order to send copy/paste, mouse movement, and other events in and out of a VM.

    •Using port I/O in order to talk directly to the PS2 keyboard controller in order to sniff keystrokes or flash keyboard LEDs.







    Общее время видео: 13:28:40

    [​IMG]
    [​IMG]




    // Как наберется народ, найдется и переводчик и организатор :)
    // Заинтересовались – подписывайтесь!
     
  2. Последние события

    1. skladchik.com
      В складчине участвует 5 человек(а).
      15 мар 2024
    2. skladchik.com
      В складчине участвует 5 человек(а).
      30 янв 2024
    3. skladchik.com
      В складчине участвует 5 человек(а).
      28 янв 2024
    4. gellypreick
      gellypreick участвует.
      29 мар 2023

Поделиться этой страницей