Skip to main content

All Questions

Filter by
Sorted by
Tagged with
2 votes
1 answer
130 views

How do buffer overflows execute instructions on stack?

I have read a bit about buffer overflows. One thing I don't understand is that normally stack space isn't executable. Then how can code placed in it, be run?
FourierFlux's user avatar
0 votes
0 answers
42 views

Buffer Overflow Discrepancy: Works on Linux VM but Fails on Windows Machine when Implementing Buffer Overflow Example

I am trying to learn about buffer overflows from this book I am reading called "Hacking: The Art of Exploitation" by Jon Erickson. Essentially I am passing more bytes in my command line ...
Tobi Bobb's user avatar
0 votes
0 answers
167 views

Understanding Windows stack layout

I am following this buffer overflow tutorial: https://insecure.org/stf/smashstack.html I want to make this program work in Windows #include <stdio.h> void f(int x, int y) { char buffer1[5]; ...
idk's user avatar
  • 1
0 votes
0 answers
57 views

Changing I/O buffer for a Windows Client

I have a Windows software that maintains a log file while running. However, the update frequency of the log file is very low. However, if we increase the usage of the software, the update frequency of ...
noob_coder's user avatar
0 votes
0 answers
687 views

Can't modify RIP register on Windows with buffer overflow

So as a learning exercise I wanted to write a buffer overflow. However I ran into some problems which seem to be involved with the x64 architecture. I found the following stack overflow post and was ...
Dennis43589y's user avatar
2 votes
0 answers
1k views

Python: Capture stdout of crashed program via subprocess

I have a simple C program that asks for input and echoes it back, so essentially a gets and then a printf. I want to call this program through Python subprocess and capture the output - even when the ...
user1683766's user avatar
-1 votes
1 answer
377 views

Buffer-Overflow exploit code

[Buffer - overflow exploit code][1] Hi so i'm doing an exploit on the windows 2000 server as part of an assignment and needed a little help. I've attached a screenshot of the exploit code thats in the ...
786's user avatar
  • 7
0 votes
0 answers
384 views

curl_easy_perform buffer overflow

My problem is that in one part of my program a double variable gets incorrectly set to 2.71179e-308 on one specific (virtual) computer (not any other). No crashes or anything like that. After much ...
DaedalusAlpha's user avatar
7 votes
2 answers
4k views

What is the difference between STATUS_STACK_BUFFER_OVERRUN and STATUS_STACK_OVERFLOW?

I just found out that there is a STATUS_STACK_BUFFER_OVERRUN and a STATUS_STACK_OVERFLOW. What's the difference between those 2? I just found Stack overflow (stack exhaustion) not the same as stack ...
Tobias Langner's user avatar
0 votes
1 answer
462 views

Is send/receive packet buffer the same preallocated memory

I have a windows app consuming large amounts of incoming udp traffic and sending a small number of udp packets 'keep alive' messages. I'm seeing a small amount of drops on both incoming and outgoing. ...
Hellboy's user avatar
10 votes
4 answers
22k views

How to disable buffer overflow checking in the Visual C++ Runtime?

i, and a few thousand other people, are getting an error being thrown by the Microsoft Visual C++ Runtime: Which for the benefit of search engines, says: Microsoft Visual C++ Runtime Library Buffer ...
Ian Boyd's user avatar
  • 259k
1 vote
3 answers
1k views

Buffer overflow - Windows vs Unix

I'm trying to figure out the security concerns between buffer overflows in Windows vs Unix. As I understand it, the buffer overflow Windows hack cannot be implemented in Unix because each process is ...
Vlad the Impala's user avatar