Forums: Alternate Way To Execute Binaries With Nobody User - Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Alternate Way To Execute Binaries With Nobody User

#1 User is offline   boshcash 

  • Master Sergeant
  • Icon
  • Group: Specialist
  • Posts: 461
  • Joined: 09-October 03

Posted 01 April 2005 - 10:09 AM

guys have u ever had this problem which is almost on all 2.6.x systems , when you get command execution with nobody user u sadly cant run any executables except the system ones , gives u permission denied error so any alternate way or solution to this ??
0

#2 User is offline   AgentOrange 

  • Staff Sergeant
  • Icon
  • Group: Members
  • Posts: 284
  • Joined: 25-February 04

Posted 03 April 2005 - 12:25 AM

This is one of the most powerful security features I know of. Limiting what resources an application has accesses to during run time is wildly successful at keeping out attackers. Its really one of the defining factors that makes Linux more secure than windows.

This concept is more prevalent in OpenBSD, and its the reason why OpenBSD is the most secure OS in the world (this is not open for discussion, it is fact... Windows 2003 is useless by default, if you actually want to do anything with it, it is less secure [period]). The NSA wrote Selinux which uses these same features. Fedora borrows a lot of code from Selinux.

There are two packages for Linux where you can implement security, i can't remember the names at this time.

This security model is wildly successful. However it has one downfall, its difficult to implement. If you have a POSIX god that knows what he is doing you are SOL. Your main hope is a privilege escalation attack. In most cases you should have access to /tmp so you have a place to dump files. The problem is you might not have access to gcc, or like you said the ability to execute non-system apps. If someone is on the ball with there access rights they will do stuff like disallow /bin/bash...

If you have access to the /etc/passwd file you could try bruting the account names... I know its lame but you really don't have many options.

Windows was never meant to be a multi-user work station, thus there are some serious weaknesses if you have some kind of access to the machine its pretty easy to get full access. In Posix for the most part you are SOL.

paece
0

#3 User is offline   hks3207 

  • Private First Class
  • Icon
  • Group: Members
  • Posts: 58
  • Joined: 21-October 05

Posted 27 October 2005 - 11:39 AM

Yup, he's right... the only method it could come to my head would be bruteforcing the /etc/passwd file to try to get another user with the wanted rights or try searching for the services that this machine is running and try to get a remote-exploit or sumthing like that so that you could get root-access or another user which could really do something other than system tasks....


PS. > Security was implemented in most 2.6x kernels to prevent future attacks.
0

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users

  • Share



Our Sponsors:


SwiftLayer Affiliate Web Hosting