Welcome Guest ( Log In | Register )

10 Pages V  « < 8 9 10  
Reply to this topicStart new topic
Gain SYSTEM/Administrative Access to Windows XP/2000
SomethingToChatW...
post Thu, 29 Jan 2009 19:42:42 +0000
Post #181


Hak.5 Pirate
******

Group: Members
Posts: 383
Joined: Mon, 19 Jan 2009 01:07:11 +0000
From: Arizona
Member No.: 12,618



Offline you basically have complete control. The methods in this thread are attempts at online permission escalation.
Yes, barpe + any password tool that can edit an offline sam database well work...


--------------------
A+/Network+/Security+ Certified Professional
VB.Net Developer
Tech addict that doesnt sleep much...
Go to the top of the page
 
+Quote Post
Iain
post Fri, 30 Jan 2009 07:35:57 +0000
Post #182


Hak.5 Zombie
*****

Group: Members
Posts: 247
Joined: Thu, 11 May 2006 03:57:00 +0000
Member No.: 698



QUOTE (SomethingToChatWith @ Fri, 30 Jan 2009 05:42:42 +0000) *
Offline you basically have complete control. The methods in this thread are attempts at online permission escalation.
Yes, barpe + any password tool that can edit an offline sam database well work...

So, if I run Bart's PE as a live CD, I can add a new account to the local machine and it will show up when rebooted? I've tried the <net user Name /add> trick then added Name to the Administrators localgroup by using a Windows PE live disk and, whilst it says "Task completed successfully" (or similar), the new account isn't there when I booted into Windows.

Can I create a service on the local PC using Bart's PE? Again, I've tried with Windows PE and it failed.
Go to the top of the page
 
+Quote Post
SomethingToChatW...
post Fri, 30 Jan 2009 17:03:35 +0000
Post #183


Hak.5 Pirate
******

Group: Members
Posts: 383
Joined: Mon, 19 Jan 2009 01:07:11 +0000
From: Arizona
Member No.: 12,618



You haft to use a special program that can perform operations on an offline sam file. Using net from the command line won't work because you're operating on the temp. sam file for that instance of PE.


--------------------
A+/Network+/Security+ Certified Professional
VB.Net Developer
Tech addict that doesnt sleep much...
Go to the top of the page
 
+Quote Post
Joerg
post Fri, 30 Jan 2009 17:09:31 +0000
Post #184


Hak.5 Pirate
******

Group: Members
Posts: 305
Joined: Thu, 21 Jun 2007 06:15:07 +0000
From: Germany
Member No.: 7,670



QUOTE (Iain @ Thu, 29 Jan 2009 23:49:16 +0000) *
1. What's the reason for adding the new account to the SpecialAccounts\UserList? I realise that these accounts are built in automatically and aren't ordinary user accounts.
2. Is it possible to add a user whilst offline - for instance using Bart's PE or Windows PE live CD?
3. Is it possible to create a service (again, whilst offline) which runs as System and is running at the time that the logon screen appears?


1. This is done to hide the account on the welcome screen on an ordinary windows xp/vista installation
2. I guess so, but I never did that.
3. see 2.


--------------------
joerg@server:~$ cat /var/www/hak5/signature
cat: /var/www/hak5/signature: No such file or directory
Go to the top of the page
 
+Quote Post
SomethingToChatW...
post Fri, 30 Jan 2009 17:48:51 +0000
Post #185


Hak.5 Pirate
******

Group: Members
Posts: 383
Joined: Mon, 19 Jan 2009 01:07:11 +0000
From: Arizona
Member No.: 12,618



QUOTE (Joerg @ Fri, 30 Jan 2009 15:09:31 +0000) *
1. This is done to hide the account on the welcome screen on an ordinary windows xp/vista installation


You can also get it not to display on the welcome screen by simply making sure the accounts not in the users group. It won't show though it belongs to the administrators group as long as this is so


--------------------
A+/Network+/Security+ Certified Professional
VB.Net Developer
Tech addict that doesnt sleep much...
Go to the top of the page
 
+Quote Post
Iain
post Fri, 30 Jan 2009 17:53:31 +0000
Post #186


Hak.5 Zombie
*****

Group: Members
Posts: 247
Joined: Thu, 11 May 2006 03:57:00 +0000
Member No.: 698



QUOTE (SomethingToChatWith @ Sat, 31 Jan 2009 04:03:35 +0000) *
You haft to use a special program that can perform operations on an offline sam file. Using net from the command line won't work because you're operating on the temp. sam file for that instance of PE.

But I didn't use net.exe from the CD (the "installation" in RAM is designated automatically to x:, i.e. x:\windows\system32\net.exe). I navigated to net.exe on my XPP installation, i.e. c:\windows\system32\net.exe. I thought that, if I navigated to the installed net.exe, it would add the user as I had wanted. I'm interested to know WHY it didn't. Can anyone shed any light on this please?

Do you have any recommendations about an offline SAM manipulation utility? I'll look into it myself but am interested to have any recommendations.

QUOTE (Joerg @ Sat, 31 Jan 2009 04:09:31 +0000) *
1. This is done to hide the account on the welcome screen on an ordinary windows xp/vista installation
2. I guess so, but I never did that.
3. see 2.

OK - thank you.
Go to the top of the page
 
+Quote Post
SomethingToChatW...
post Fri, 30 Jan 2009 18:00:05 +0000
Post #187


Hak.5 Pirate
******

Group: Members
Posts: 383
Joined: Mon, 19 Jan 2009 01:07:11 +0000
From: Arizona
Member No.: 12,618



Even using net.exe from the proper location won't work. Remeber, its operating on the local environment, not the offline sam file. Keyword here: offline. Net operates on online sam files.

Tools? Plenty though I'm not going to start mentioning them. Just get barpe/ubcd4win and you're set...


--------------------
A+/Network+/Security+ Certified Professional
VB.Net Developer
Tech addict that doesnt sleep much...
Go to the top of the page
 
+Quote Post
c0nv1ct
post Tue, 10 Feb 2009 22:57:55 +0000
Post #188


Newbie


Group: Members
Posts: 2
Joined: Thu, 11 Sep 2008 21:19:16 +0000
Member No.: 10,660



I used to do something similair to this, except with a dos floppy or linux usb key or what have you, replace Utilman.exe with command prompt. Tested and working on Windows Vista. Command runs under system too so you can do whatever you want.
Go to the top of the page
 
+Quote Post
haxwithaxe
post Thu, 19 Feb 2009 14:09:13 +0000
Post #189


Hak.5 Fan +
***

Group: Members
Posts: 34
Joined: Fri, 10 Oct 2008 11:04:44 +0000
From: Mo. Co., MD
Member No.: 11,177



I have a workaround for admin rights.
<not mine src="can't remember">
1) find a service that doesn't use quotes in the executable reference and has user writeable directories with a space in the name.
eg C:\Program Files\Dumb Admin Installed Stuff\srvc.exe (program files dir not writable usually but i'm lazy)
2) insert an exe that creates an admin account into C:\Program Files\Dumb.exe
3) reboot
windows handles unquoted spaces by checking for C:\Program >C:\Program Files\Dumb > C:\Program Files\Dumb Admin >C:\Program Files\Dumb Admin Installed >C:\Program Files\Dumb Admin Installed Stuff\srvc.exe
after the file is inserted it will be executed in place of the service when windows looks for C:\Program Files\Dumb
</not mine>

Also, does anyone know of a way to make the user created by "net user" not have a profile path.
My current workaround for this is to make the profile path a hidden & system file, but clean up when i'm done via a autoit script (eventually an exe) that removes all obvious traces of the user and the script/exe fails 'cause the user is still using it and it would be best anyways to not have it there at all in the first place 'cause that's just more footprints for people to find.
Thanks.

hax


--------------------
"Don't worry about people stealing an idea. If it's original, you will have to ram it down their throats." -- Howard Aiken

"A conscience is what hurts when all your other parts feel so good."
Go to the top of the page
 
+Quote Post
BrandonND
post Thu, 30 Apr 2009 22:29:55 +0000
Post #190


Newbie


Group: Members
Posts: 7
Joined: Mon, 30 Mar 2009 00:24:58 +0000
Member No.: 13,456



I wont give away the full details lol, but you could very easily make an auto deploying boot disk so that on next reboot you have 100% control of the system.
Assuming you have even a little coding experience at least
Mine takes about 30 seconds to boot + deploy. With no user input

Ill give you a rundown in english and tell you that I based my boot disk off of a linux live cd.

1) you put in disk and boot up.
2) boot p script loads the very core of a linux distrobution and deploys an executable into the windows folder. It also edits a reg key to make it boot up before user permissions are established. (bash and c++ )
3) On next boot a series of things happen, the program deletes the reg key and makes a ifferent one with the same exploit Confiker uses to make a SYSTEM only reg key. It then gains SYSTEM level access via an exploit in all windows platforms, that is as of yet unpatched. (c++)
4) SO right now we have two things, a reg key and a file, both undeletable by noormal means. The file copies itself deeper into the Windows Tree. Then starts its main code which can be customized completely. ( c++ )

This entire time its acted normally and because it is a legitimatly named program ( I named it like 1 letter off a real MS program lol.) noone will delete it.
Go to the top of the page
 
+Quote Post
haxwithaxe
post Sat, 08 Aug 2009 17:06:27 +0000
Post #191


Hak.5 Fan +
***

Group: Members
Posts: 34
Joined: Fri, 10 Oct 2008 11:04:44 +0000
From: Mo. Co., MD
Member No.: 11,177



I just had a thought. could one put an app vulnerable to a stack overflow on a usb and exploit it on the system one wants to get admin/system on?

EDIT: Never mind. I just learned a little more about buffer overflows and it looks like that won't work. It would be nice to be able to debug the whole os, or at least the parts that would be hard for MS to patch, and find every segfault to check for buffer overflow exploitability.


--------------------
"Don't worry about people stealing an idea. If it's original, you will have to ram it down their throats." -- Howard Aiken

"A conscience is what hurts when all your other parts feel so good."
Go to the top of the page
 
+Quote Post
Myk3
post Thu, 13 Aug 2009 21:31:36 +0000
Post #192


Hak.5 Fan
**

Group: Members
Posts: 19
Joined: Fri, 17 Jul 2009 15:51:36 +0000
Member No.: 14,792



Shouldn't this thread be dead now that Kon-boot is out? Or is the purpose of this to create a new admin account.
Go to the top of the page
 
+Quote Post
SomethingToChatW...
post Thu, 13 Aug 2009 23:20:28 +0000
Post #193


Hak.5 Pirate
******

Group: Members
Posts: 383
Joined: Mon, 19 Jan 2009 01:07:11 +0000
From: Arizona
Member No.: 12,618



Yeah, but its interesting to see what people come up with.


--------------------
A+/Network+/Security+ Certified Professional
VB.Net Developer
Tech addict that doesnt sleep much...
Go to the top of the page
 
+Quote Post
haxwithaxe
post Mon, 17 Aug 2009 00:23:50 +0000
Post #194


Hak.5 Fan +
***

Group: Members
Posts: 34
Joined: Fri, 10 Oct 2008 11:04:44 +0000
From: Mo. Co., MD
Member No.: 11,177



QUOTE (Myk3 @ Thu, 13 Aug 2009 22:31:36 +0000) *
Shouldn't this thread be dead now that Kon-boot is out? Or is the purpose of this to create a new admin account.


The idea is to do it without rebooting. In session priv escalation is the goal here.


--------------------
"Don't worry about people stealing an idea. If it's original, you will have to ram it down their throats." -- Howard Aiken

"A conscience is what hurts when all your other parts feel so good."
Go to the top of the page
 
+Quote Post
brplatz
post Mon, 07 Sep 2009 18:40:00 +0000
Post #195


Newbie


Group: Members
Posts: 1
Joined: Mon, 07 Sep 2009 18:37:50 +0000
Member No.: 15,567



I know this is my first post and possible flame for brining up an old topic, but I had an idea.

Take a look at this guys code, http://www.rohitab.com/discuss/index.php?s...mread&st=40,

Seems he is able to get the Hashes without admin, but i could be wrong,

Anyway,
Brian
Go to the top of the page
 
+Quote Post
catchyanow
post Tue, 03 Nov 2009 16:59:56 +0000
Post #196


Hak.5 Fan ++
****

Group: Members
Posts: 80
Joined: Tue, 30 Dec 2008 18:35:07 +0000
From: Australia
Member No.: 12,383



If you can't be bothered doing all of this coding just re-boot and get into Safe Mode. All admin accounts there. No password. No anti-virus. Plug in your USB Drive. Copy files. Do whatever. Away you go biggrin.gif

This is not as fun though sad.gif


--------------------

Go to the top of the page
 
+Quote Post

10 Pages V  « < 8 9 10
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: Sat, 21 Nov 2009 15:55:56 +0000