YOUR AD GOES HERE

Not-So-Random: LD_PRELOAD to Hijack the rand() Function to Control The Generation of Random Numbers

Published 27, Oct 2020

Secure Ideas


Description:
A look at hijacking functions using LD_PRELOAD in Linux with Travis Phillips. This video is intended to provide a demo for hijacking rand() in a random number guessing game using LD_PRELOAD. It's designed to follow a blog post that will be up on https://blog.secureideas.com shortly.
Code Examples on Github: https://github.com/ProfessionallyEvil/LD_PRELOAD-rand-Hijack-Example

Timestamps:
00:00 - Greetings
00:31 - Overview of Github Files
00:53 - guessing_game.c Code Review
04:49 - rand_hijack.c Code Review
05:46 - Cloning the GitHub Repo
06:25 - Making the Project with the make Command
07:08 - Playing the Game Normally
07:23 - Building & Playing a Debug Version of the Game
08:10 - LD_PRELOAD Man Page
08:58 - Creating the LD_PRELOAD Environment Variable
09:14 - Launching the LD_PRELOAD Attack
10:18 - Restoring the Game Back to Normal
10:43 - Thanks for Watching
11:14 - End

Releted More Videos

  • Sorry!!! Nothing to show

You May Also Like

YOUR AD GOES HERE

YOUR AD GOES HERE