Fedora Security :: Carrying Out A Simple Buffer Overflow?

Oct 15, 2009

I would like to start learning about the nuts and bolts concerning Linux security. I bought the "Gray Hat Hacking" book by Harris et al. and started working at their example for buffer overflows but hit a bump immediately. Is this the right place to be discussing this sort of thing? If so I give pertinent info below:

Program:
//overflow.c
#include <string.h>
main(){
char str1[10]; //declare a 10 byte string

[Code].....

View 2 Replies


ADVERTISEMENT

Ubuntu Security :: Exploiting A Buffer Overflow?

Jan 26, 2010

I have to give it up for the Ubuntu developers. It is nearly impossible to exploit a simple stack overflow. I'm studying overflows for a project so I need it to work. I set /proc/sys/kernel/randomize_va_space to 0 and when I compiled my program I used -mpreferred-stack-boundary=2 and -fno-stack-protector. But for some reason no matter how much input I enter it won't overwrite the EIP. What is stopping this from working that other linux versions don't have? And does anyone know of a way to bypass it?

View 1 Replies View Related

Fedora :: Get Buffer Overflow When Snmptrapd Calls Traphandle

Jun 8, 2010

However, every time snmptrapd gets a snmp notification, it aborts. In debug mode, it reports a buffer overflow detected. I've tried another core 13 and a core 12, with net-snmp 5.5. On these three systems, snmptrapd behaves the same. Here is my snmptrapd.conf,

disableAuthorization yes traphandle default touch /root/a.txt I triggered snmptrapd with, snmptrap -Ci -v 2c -c public localhost "" "1.3.6.1.4.1.8837.4.1.2.1.2.1.6.4" 1.3.6.1.4.1.8837.4.1.2.1.2.1.6.4 int 500 Same result I got with my firewall snmp traps. Some other different scripts replaced in traphandle default, got the same. A small portion of debug info listed,

[Code]...

View 2 Replies View Related

Fedora Servers :: Get Buffer Overflow When Snmptrapd Calls Traphandle

Jun 25, 2010

I'm using Core13 for zabbix, and trying to make snmptrapd works on it.

However, every time snmptrapd gets a snmp notification, it aborts. In debug mode, it reports a buffer overflow detected. I've tried another core 13 and a core 12, with net-snmp 5.5. On these three systems, snmptrapd behaves the same.

Here is my snmptrapd.conf,

disableAuthorization yes
traphandle default touch /root/a.txt
I triggered snmptrapd with,
snmptrap -Ci -v 2c -c public localhost "" "1.3.6.1.4.1.8837.4.1.2.1.2.1.6.4" 1.3.6.1.4.1.8837.4.1.2.1.2.1.6.4 int 500

[Code]....

View 1 Replies View Related

Server :: Fuzzing - Buffer Overflow - Ability Server - Could Not Connect To FTP Server?

May 29, 2011

i am trying to send malformed string into ability ftp server in order to have some unexpected crashes. i login in into the ability ftp server on my window 7.On my virtual machine,i am working on a backtrack 4, i tried to send some string to have some unexpected crashes, but i couldn't success.here is the code:

PHP Code:
#!/usr/bin/python
import socket

[code]...

View 14 Replies View Related

Ubuntu Security :: Feature Is Segfaulting Stack Overflow?

Sep 22, 2010

I'm working with some basic stack overflows. The following code compiles & runs fine in a non-ubuntu VM that's has no security features installed. On Ubuntu 10.04 it segfaults every time. I'm compiling on Ubuntu with the gcc -fno-stack-protector flag. If someone could point me to the security feature that's causing the segfaults (and how to disable it),

[Code]...

View 1 Replies View Related

CentOS 5 :: Connect To The Ftp Server - Error "buffer Overflow Detected ***: /usr/sbin/vsftpd Terminated Error:Could Not Connect To Server"

Sep 24, 2011

every time I try to connect to the ftp server I setup i am recieving this error Response:*** buffer overflow detected ***: /usr/sbin/vsftpd terminated Error:Could not connect to server

View 1 Replies View Related

Ubuntu Networking :: Have Single Cable Connection To Switch Carrying Two Subnets?

Mar 15, 2011

how i can use VLANs. as i have red on the web, it is possible to have a switch to allocate ports to a single VLAN. thus splitting subnets on a port allocation. since i have a pc running KVM, it is possible to create multiple subnets for DMZ and LAN. thus my question is - is it possible to have a SINGLE cable connection to a switch that carries TWO subnets? so that i can decide how to distribute then on the pc?

View 7 Replies View Related

Security :: UFW Settings For Simple File Server

Dec 20, 2010

I would like to set the firewall in Ubuntu Server 10.10 up to be very secure but perform these tasks:

1. File server to windows 7 and windows xp machines both over ethernet and wireless via a router.
2. Print server for these 2 machines.
3. Auto backup these 2 machines.

So far I have set the server up with a static ip, do the 2 windows machines need static ip's as well? I don't need remote access to the server, only over the lan. I thought this may be all I needed to do:

Code:
$ sudo ufw default deny incoming
$ sudo ufw default allow outgoing
$ sudo ufw allow ssh
$ sudo ufw allow Samba
$ sudo ufw allow rsync
$ sudo ufw enable

But would this block auto updates to the server and auto backup of my files?

View 4 Replies View Related

Fedora Networking :: No Buffer Space Available?

Feb 23, 2009

I am using FC10 and recently there has been an error for ssh or telnet "No buffer space available". I rebooted the machine

View 7 Replies View Related

Red Hat / Fedora :: Buffer IO Error On Device /dev/sdb?

Jul 20, 2010

I have a one problem when i mapped a SAN to the linux box RHEL 5.3 i show the following messeage Buffer IO error on Device /dev/sdband unable to find it in fdisk -l

View 2 Replies View Related

Fedora Networking :: PPPOE Sendmsg - No Buffer Space Available

Jun 8, 2010

I have configured pppoe connection via NetworkManager through key-file plugin. The problem is that after a while i cant load any web page. All connections r up, nothing bad in /var/log/messages. Ping produce mystical error message:
Code:
sendmsg: no buffer space available

View 3 Replies View Related

Programming :: How To Compile / Simple Tutorial For Making Simple Program

Oct 7, 2010

i'm a college student studying pc programing, and i was given today a special work and i have to program using miranda... which i've never used it >.< can anyone give me a hand to where to download, how to compile, and a simple tutorial for making a simple program or something?

View 3 Replies View Related

Slackware :: Walnut Creek Overflow Its Banks And Swallow Up?

Dec 31, 2010

Did Walnut Creek overflow its banks and swallow up theSlackware.com Domain name??Pat Volkerding Danger

View 3 Replies View Related

Fedora :: Kernel: Buffer I/O Error On Device Dm-0, Logical Block 124

Nov 28, 2009

I have 2 hdds, with encrypted / and /home. Besides there are four other (encrypted ext4) partitions I use rarely. In Fedora 11 at boottime I gave the luks passphrase for / and home and the system booted as intended.

Whenever I needed those extra encrypted partitions I mounted them in Nautilus. Now, in Fedora 12 at boottime dracut tries to open all the encrypted partitions, / and /home are mounted fine, but opening all the other partitions gave the following messages in messages.log:

Quote:

dracut: luksOpen /dev/sdb6 luks-02a0e706-a26f-4019-a2a0-88a0366a994d
kernel: Buffer I/O error on device dm-0, logical block 124
kernel: device-mapper: ioctl: unable to remove open device temporary-cryptsetup-304
kernel: Buffer I/O error on device dm-0, logical block 124
kernel: Buffer I/O error on device dm-0, logical block 124

[code]....

...and these messages are repeated with the other partiitions, and the boot time takes very, very long. How can I tell dracut to ignore those extra encrypted partitions at boottime?

View 8 Replies View Related

General :: Printing To A Progress Bar To The Terminal From Java/C++ - Stack Overflow?

Sep 18, 2011

I want to update the percentage progress of my program on the screen. I have a progress bar that I print. I add a * when the progress is more than 10%, but I also want to write the actual percentage correct up to every digit. However, I do not want to write a new number every time, since it will have the following effect:

1
2
3
4

Instead, I would like to just maintain one single figure on the screen that keeps getting updated. How do I do that? (... in Java/C++, but I think it's irrelevant)

View 2 Replies View Related

Fedora Installation :: F10 Live CD Buffer I/O Error On Device Sr0 Logical Block?

Jan 29, 2009

Create symlink /dev/root and then exit this to continue the boot sequence.

Buffer I/O error on device sr0, logical block *******
sr 4:0:0:0 [sr0] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE,SUGGEST_OK
sr 4:0:0:0 [sr0] Sense Key : Medium Error [current]
sr 4:0:0:0 [sr0] ASC=0x10 <<vendor>> ASCQ=0x90
end_request: I/O error, dev sr0, sector 1395920
Clocksource tsc unstable (delta = -499902943 ns)

loops that during install. new hard drive fresh out of box. WD 320GB 7200 Toshiba Qosmio intell core duo i've installed with this same disk before previous hard drive died. installed over windows vista. this time im trying to install solo no windows disk to reinstall with, F10 only. I've tried other distros as well, Mandriva one 2009, Dreamlinux, and this one. i've suspected hard drive controller went out but i can format and partition the drive. also the cd/dvd drive is bad but im booting from cd fine. tried removing the cd drive and booting from an external usb cd rom, same errors.

im about to deploy and need my computer up and running ASAP. 7 months no entertainment is not good. when i use a linux boot disk from Ultimate Boot Disk (UBD) i get an error of - hda status no response and something about invalid heads dreamlinux pushes past the error till i get the error about cant start x server. about my graphics

View 1 Replies View Related

Ubuntu Security :: Migrate - Default "Simple Application" AppArmor Profile

Sep 6, 2010

I'm a Windows user, but now trying to migrate to Ubuntu. I have read AppArmor Docs/FAQs, and very impressed with it's possibilities. But I'm still not sure, can I have a profile which is applied to all applications I run (not listed in other profiles)? That would be great to have a "Simple Application" default profile, with permissions, say, to read/write to app's folder and to display graphics/play sounds!

View 1 Replies View Related

Ubuntu :: MATLAB 7.3 Overflow In R_X86_64_PC32 Relocation - Unable To Run The Editor ,debug Scripts And Functions?

Mar 18, 2010

I have installed ubuntu 9.10 64-bit and MATLAB 7.3 _x86-64.When I run matlab launching script I get this error message and the program freezes:

/usr/local/matlab7.3/bin/glnxa64/MATLAB: Symbol `__kmp_test_then_add_real32' causes overflow in R_X86_64_PC32 relocation
/usr/local/matlab7.3/bin/glnxa64/MATLAB: Symbol `__kmp_test_then_add_real64' causes overflow in R_X86_64_PC32 relocation.

I tried to run "matlab -nojvm" and I get the same error as above but the program starts and seems to work smoothly. The problem is that I cannot run the editor and debug scripts and functions

View 4 Replies View Related

Fedora Installation :: Livecd Cant Burn Correctly / Buffer I/O Error On Device Sr0 Logical Block 352328?

Oct 3, 2009

i've just burned a livecd (fedora 11), but it doesn't work correctly.it says after i hit boot:

BUFFER I/O error on device sr0 logical block 352328

and then something else, which is similar so i didn't write it down.i read on bugzilla, that is should try to append the boot command with pci=nomsi, but it doesn't work for me

View 3 Replies View Related

Fedora :: Get The Rpm's For 13 Of Screenlets And Simple Ccsm?

Aug 12, 2010

Where can I get the rpm's for fedora 13 of screenlets and simple ccsm? Or can I use the fedora 12 ones?

View 1 Replies View Related

Fedora Installation :: Any Simple Way To Downgrade From F15 -> 14?

Jun 11, 2011

I recently upgraded my laptop from Fedora 14 to 15 and would like to go back to 14. What is the simplest way to do this?

View 2 Replies View Related

Fedora :: Simple Video Editing Software For 12?

Jan 2, 2010

I am in need of a video editor that will work in Fedora 12, I just need to do some simple trimming and then add an mp3 to the video.Avidemux has already failed me on this simple task.

View 11 Replies View Related

Fedora :: Make A Simple Startup Script

Apr 27, 2010

make a start up script so that it executes this command: cat /proc/acpi/battery/BAT1/state I managed to execute it writing command to .bashrc, but every time I open terminal it starts like this:

[Code].....

I need this command on start up, so that my battery meter starts working properly. For some reason, if the command is not activated, gnome battery meter is showing that battery is charging even if I am not on AC power. If there is any other way to fix this without making script I would be glad to hear.

View 4 Replies View Related

Fedora :: Get A Simple 'lock Screen' Function?

Jan 15, 2011

Is there a way to get a simple 'lock screen' function and Icon that will allow one to lock the screen etc by simply clicking a button? This used to be available in 'xscreensaver' but I cannot figure out how to get a similar function through 'gnome-screensaver'.

View 5 Replies View Related

Fedora Hardware :: Simple-scan Not Updated In F13

Mar 25, 2011

Simple-scan is not updated in F13 repositorys, why ?

Version is now : 1.0.2-1.fc13
Updated version is : 2.32.0.1
According to hompepage : [URL]

Why is simple-scan not updated to latest version ?

View 2 Replies View Related

Red Hat / Fedora :: Simple Backup HD Including All Files?

Feb 20, 2010

I am somewhat new to Linux and I am looking for a way to back up my HD with all my Linux files. I have a Toshiba laptop running Windows 7. The HD has been partitioned so that the computer can run Red Hat Scientific Linux. Using Grub I can dual boot to either Windows 7 or Linux on start up. I want a simple way of backing up the entire contents of my HD (both partitions - everything) - so that in the event of my laptop being damaged I can reconstruct my set up and data as before with all my files and settings in both Windows 7 and Linux intact. Is there a simple program that will enable me to copy everything to an external HD for back up. Can anyone recommend a package that will do this?

View 5 Replies View Related

Fedora Installation :: Make A Simple Avi File Play?

Sep 21, 2009

I try to play a simple movie in avi format. The codec is called AC-3. I tried several tutorials, now i stuck with a "local file conflict between packages" when i run the auto install with movie player. I try now VLC Player ... With VLC it works! Open from the Administrator panel - Add or Remove Software than search for VLC and tick the main stuff and install.

View 14 Replies View Related

Fedora :: F12 - Getting Sound To Work As A Normal User - A Simple Fix?

Feb 18, 2010

If sound on F12 works as root user but not as a normal user, try this simple fix! I've been struggling to get sound working as a normal (non-root) user since F10. Until now I've had to run X as root user to get any sound out of my machine.

Sound actually works OK now for me as a normal user. Here's how I fixed the problem.

First I uninstalled pulseaudio with:# yum remove pulseaudio Then reboot back to the hardware. You might want to keep pulseaudio, but I have no need for it. PA wasn't running on my system anyway.

Running X as root user, I did the following: As a test I opened a root shell and typed the following:

[root]# alsamixer c0 That started the alsamixer OK, and all the controls were accessible.

[Code]...

View 14 Replies View Related

Fedora Servers :: Simple Apache/PHP Setup For A Start

Feb 26, 2010

I've installed Fedora 12 Desktop in order to develop a simple website, which is going to use some PHP.

I will need:code editor to write html/css/php local apache server running php browser how to get me up and running in no time with least extra configurations.

Bonus: I'm going to run all this in a virtual box on my company computer. I'd love to be able to stay undercover with this, so if one of you can tell me how to configure the apache server not to be too visible to the company network/domain, that'd be excellent.

View 7 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved