Creating a memory corruption bugs on windows 10

-2

I am new in this community, but I want to have a little help with the task. I am a cybersecurity research student , and I would like to know how can I create an exploitable proof of concept for the following vulnerabilities. I have already created an integer overflow for Linux, but I would like to know how can I make the use of winapi to achieve this?

  • Out-of-bounds Read
  • Integer Overflow or Wraparound
  • Out-of-bounds Write

#include <stdio.h>

int main(void){
        unsigned int num = 0xffffffff;

        printf("num is %d bits long\n", sizeof(num) * 8);
        printf("num = 0x%x\n", num);
        printf("num + 1 = 0x%x\n", num + 1);

        return 0;
}
c++
security
winapi
asked on Stack Overflow Mar 16, 2020 by pwnag3 pwnag3 • edited Mar 16, 2020 by Jabberwocky

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0