LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 10-29-2016, 12:43 AM   #16
watchintv
Member
 
Registered: Oct 2016
Posts: 57

Original Poster
Rep: Reputation: Disabled

Quote:
Originally Posted by rtmistler View Post
Uninitialized memory is memory which doesn't have any particular data in it, was not specifically cleared, or set to a particular pattern. Thus the contents are usually random, or also remnants from other prior use.
And where is uninitialized memory referenced? In the binary? I know it may seem like a stupid question but im still trying to figure this whole memory layout correctly.
 
Old 10-29-2016, 01:48 AM   #17
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,882
Blog Entries: 13

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
When a program allocates memory. Hard to know of that when you don't have the source.
 
Old 10-29-2016, 01:53 AM   #18
watchintv
Member
 
Registered: Oct 2016
Posts: 57

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by rtmistler View Post
When a program allocates memory. Hard to know of that when you don't have the source.

"Hard to know of that when you don't have the source." What do you mean? I think I know what you mean, but just for clarification.

Last edited by watchintv; 10-29-2016 at 03:10 AM.
 
Old 10-29-2016, 10:59 AM   #19
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,882
Blog Entries: 13

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
Quote:
Originally Posted by watchintv View Post
"Hard to know of that when you don't have the source." What do you mean? I think I know what you mean, but just for clarification.
Please share what you're thinking is and I'll try to continue explaining it relative to what your experience level seems to be.
 
Old 10-29-2016, 01:21 PM   #20
watchintv
Member
 
Registered: Oct 2016
Posts: 57

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by rtmistler View Post
Please share what you're thinking is and I'll try to continue explaining it relative to what your experience level seems to be.
Because you need the source code to see where memory is allocated. Am I on the right track or no? Please explain.
 
Old 10-29-2016, 08:58 PM   #21
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,882
Blog Entries: 13

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
Yes, you have no idea if it is allocating memory versus has a bad pointer.
 
Old 10-29-2016, 09:50 PM   #22
ntubski
Senior Member
 
Registered: Nov 2005
Distribution: Debian, Arch
Posts: 3,781

Rep: Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081
Not sure that's true actually, even if you don't have the source, you can still see calls to system libraries. I think if you run with something like valgrind that intercepts malloc calls you could catch uninitialized reads even if you don't have the source.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Google “Project Zero” hopes to find zero-day vulnerabilities before the NSA LXer Syndicated Linux News 0 07-16-2014 01:21 PM
Where can I find the debian /bin/ binaries? J_Sherman Debian 3 06-20-2009 07:04 AM
Can't find 2 binaries!!!!! jong357 Slackware 2 03-12-2005 06:27 PM
stripped/non-stripped binaries spuzzzzzzz Linux - General 4 02-13-2004 06:11 AM
Stripped||not stripped Cyth Linux - General 4 11-20-2001 01:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 01:38 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration