Explotaciones de Linux

Hola, Khabrovites. En vísperas del inicio del curso “Administrador Linux. Profesional ” nuestro experto - Alexander Kolesnikov ha preparado un artículo interesante, que estamos felices de compartir con usted.



También invitamos a los futuros estudiantes ya todos los que quieran visitar la lección abierta sobre el tema
"Métodos y posibilidades para depurar scripts de shell Bash".










Linux Open Source — .  Linux ,   . , : , 20 . , , . , . , .





.





, , — , , — . — , . . 





. . 2 , . , . .





, (Kernel Space), , , . — (User Space): , .





, , , . 





, , , , . . , , , . .





  Linux Debian, SUSE, Ubuntu, Arch Linux 4- .





. , , , . , .





, :





  1. :





    1)





    2)





    3)





  2.   .





  3. :





    1)





    2)





    3)





, , . , - , Linux. , CVE :





CVE-2020-8835





CVE-2020-27194





CVE-2020-8835 Linux 5.5.0. ebpf



.   , . . , , : . , 32 , .





, .





.





394 — , ebpf



. 400 , 32 . , , bpf



. .





, — , 423 441. — , , (heap) . , , . Linux taskstruct



.





, root



. Linux — cred



, taskstruct



. cred



.





struct cred



472,473,474



. uid, gid, sgid



. , root



. , Windows.





, : sudo sysctl kernel.unprivilegedbpfdisabled=1







CVE-2020-27194ebpf



. 5.8.*. , bpf



— JavaScript . . JIT, , . , . - , 64 . , .





, , , , CVE-2020-8835. :





  1.   64





  2.   ebpf







    1.   taskstruct







  3.   uid,gid,sgid



    .





. . .





: sudo sysctl kernel.unprivilegedbpf_disabled=1







?

, , , Linux — , , . (shellcode) , . , .






«Administrator Linux. Professional».





« Bash».





:








All Articles