none
Random Number Generator (Entropy Injection) RRS feed

  • Question

  • I would like to know how to go about adding a True Random Number Generator to Windows 10 Pro. I have the hardware device, I just can't figure out how to add the entropy to the system. I looked at the function to get random numbers which said the you could add entropy to the buffer you supply for output, but digging deeper all it does is add it to the numbers that's already generated by the function. It doesn't add it to the system(ie. it only changes that call, not other calls). As I have the hardware I would like it to be used. Yes, I can move to linux and do it fairly easily there. but I want to use it with Windows. Thanks for any help that anyone can give me.
    Wednesday, May 8, 2019 8:58 PM

Answers

  • You need to write a CNG provider that talks to your hardware and exports random numbers. See the CNG docs for more info

     -Brian


    Azius Developer Training www.azius.com Windows device driver, internals, security, & forensics training and consulting. Blog at www.azius.com/blog

    Wednesday, May 8, 2019 9:48 PM
    Moderator

All replies

  • You need to write a CNG provider that talks to your hardware and exports random numbers. See the CNG docs for more info

     -Brian


    Azius Developer Training www.azius.com Windows device driver, internals, security, & forensics training and consulting. Blog at www.azius.com/blog

    Wednesday, May 8, 2019 9:48 PM
    Moderator
  • You need to write a CNG provider that talks to your hardware and exports random numbers. See the CNG docs for more info

     -Brian


    Azius Developer Training www.azius.com Windows device driver, internals, security, & forensics training and consulting. Blog at www.azius.com/blog

    Thanks! Looked thru it and found one thing that might be a problem for me. The CNG Provider, if my assumption is correct, is basically a kernel driver. That would mean to use it in Win 10 Pro that it would need to be signed. Is that right? If so, I am not a business nor do I have a code signing certificate and that is definitely a problem.
    • Edited by K Benson Thursday, May 9, 2019 3:43 AM
    Wednesday, May 8, 2019 10:22 PM