|
|
#15002 - 07/17/02 04:58 AM
Hax0ring Windows security software
|
Junior Member
Registered: 07/17/02
Posts: 9
|
Hi. As good a place to start as any I think. I'm looking to code apps which circumvent windows security programs. Need ideas, links to these programs which, *maybe* some of you here have bother with..like at school  and home maybe ?.. Well, don't hesitate to reply on any kind of security program that needs bypassing..etc. you can tell i'm bored, ya? But I am serious about this..so let me know. Laters.
|
|
Top
|
|
|
|
Sponsored Links
Sponsor 
|
Sponsor Advertisements help keep UGN Security Online.
Support UGN Security by Purchasing our Sponsors Products.
|
| Top |
|
|
|
#15003 - 07/17/02 08:10 AM
Re: Hax0ring Windows security software
|
DollarDNS Owner
Registered: 03/04/02
Posts: 1273
Loc: OH, USA
|
hrm, well, if you're just look for ideas on what to code, then I'm your man.  I've got lots of ideas. In the area that you're looking for, it would be high advantageous to make a program which can execute another program with SYSTEM permissions on NT/2K. This may require that your program has SYSTEM permissions at boot. A more powerful program would to make some sort of "console" where it has SYSTEM permissions when the computer boots up and you may modify/delete/anything to any file or folder no matter what permissions they have set. good luck señior
|
|
Top
|
|
|
|
#15004 - 07/17/02 09:42 AM
Re: Hax0ring Windows security software
|
Junior Member
Registered: 07/17/02
Posts: 9
|
Well, anything is possible when your program is allowed to run whenever the system boots. Its getting the permissions to modify the system in order to have it run when the system does that.. There are known exploits,I would not want to use known exploits because patches are available for them, and perhaps most Administrators would have service packs installed to fix those problems. It would be cool to have our program work on not just un-patched systems,but all.
If only you discovered a flaw in both NT4/Win2k that nobody knew about,and used this to setup your program..makes sense to anyone who wants to be malicious. I'm not a malicious person by the way.
I think that the potential to exploit LDT in NT4/Win2k is possible,getting Ring-0 access, like on Win9x. I don't see the point in having such a program when you already have Administrator privilages. So,perhaps an exploit would be appropriate first for that idea.
I was thinking more along the lines of Win9x/ME security programs because those systems aren't exactly secure anyway, with or without the programs.
But, I'll keep that one in mind, as NT4/Win2k i'm sure is full of holes because its closed source.
|
|
Top
|
|
|
|
#15006 - 07/18/02 06:38 AM
Re: Hax0ring Windows security software
|
Junior Member
Registered: 07/17/02
Posts: 9
|
There are some legit features in the operating system that would allow you to do things you normally wouldn't with or without Administrator access. You can use the available API's for example which run in Ring-3 mode of the x86 CPU. Its a big operating system Win2k, I mean there are thousands of API's which I'm sure are exploitable,and they just haven't been found yet. Process Tokens are interesting,I was reading an article last night about how to modify a process token of a process handle, to modify memory of another process you wouldn't normally have access to..that was a mouthfull. I was experimenting a little last night with some security API's but haven't been able to create anything useful with them just yet. Need to research a bit more,could be days,weeks even.. Or maybe I'll just give up trying to find a problem. Also,I read a short article about the possibility of jumping to Ring-0 mode on Win2k using the API's which add LDT entries to the kernel. The problem that the author encountered was the kernel validating the LDT entry. But he also found out that depending on the value of the segment registers when calling the API,on some occasions,he would experience different results. When I mentioned security programs for windows, I suppose yes, I was generally talking about software that locked down systems like Win95/98/ME because NT4/Win2k already has security features to allow you to do so. Its a little more tricky, as you know There is a flaw in Win2k before service pack 1+2 which allows anyone to execute commands with SYSTEM privilages. Its a design error to do with NetDDE which is enabled by default after Win2k has been installed. Dildog (Atstake) found this. It would be cool to be able to circumvent win2k security features, who wouldn't want to find problems like that for a such a high profile operating system? But it takes more work than finding these problems on Win9x..etc
|
|
Top
|
|
|
|
#15008 - 07/18/02 09:36 AM
Re: Hax0ring Windows security software
|
Junior Member
Registered: 07/17/02
Posts: 9
|
I don't have a link to the article on Process tokens..and I don't have it here on this computer at the moment so I can't upload it. However, the article about LDT entries can be found here http://z0mbie.host.sk/ldt2k.txt
|
|
Top
|
|
|
|
#15010 - 07/18/02 10:55 AM
Re: Hax0ring Windows security software
|
Member
Registered: 03/05/02
Posts: 524
Loc: Cornfields everywhere...
|
damn, that was way to ej33t for me. Maybe we have finally found another as smart as SR. No, its not possible, cant... be...falling..pain..in..chest...aggggggggghh...
|
|
Top
|
|
|
|
#15012 - 07/19/02 12:36 AM
Re: Hax0ring Windows security software
|
Member
Registered: 03/03/02
Posts: 185
Loc: Vancouver
|
I don't know if this is relavent, but it's a program I've tried to make unsucessfully and never found anywhere, maybe you could make it? I want a remote DOS prompt. That would be sweet. So it would be like you had the DOS prompt of another computer on ur desktop and could do whatever on that computer. I made one but it's HORRIBLE. The problem was I couldn't get VB to send data both ways. I had it so I would send a command to my program on the other computer and then it would execute that command using the Shell() command on the remote computer, but the only way I could figure out how to get the returned data was to send to a text file and then read the text file and send back to the original user. There are SO many bugs in this, the major one being my program would try to read the text file before everything was written to it and all this other junk. So if you could pull this off, that would be dope.
|
|
Top
|
|
|
|
#15013 - 07/19/02 08:44 AM
Re: Hax0ring Windows security software
|
Member
Registered: 06/14/02
Posts: 168
|
What they're talking about is a little more advanced than that. They're talking about the good stuff! At least, SR is. Originally posted by SilentRage: to get around the forbidden message you need to enter the URL and hit enter. The site won't let you link to it. An easy workaround. That doesn't work. At least it doesn't for that site. I just clicked a button  I have the google toolbar, so I just clicked the cached page button. I suppose you'd know how to run a program in another processes' address space? I've read about that technique for hiding the original running process from task monitors. That's something I've been looking into. I want to know about this too. I was told it's been done, but I don't know how yet. Also, are you familiar with running net enabled applications without using sockets so that programs like "netstat" won't detect them? These two techniques have fascinated me. I never thought of that! I think I'll look into that. Where did you read about these things? I haven't come across anything, I've only talked about it with people.
|
|
Top
|
|
|
|
#15018 - 07/22/02 10:11 AM
Re: Hax0ring Windows security software
|
Junior Member
Registered: 07/17/02
Posts: 9
|
For a few hours last night,I was trying to give my process more privileges to see if I could in fact write to other processes in memory. I realised today that I would probably have to use VirtualProtectEx to un-protect atleast 2 pages of protected memory in most of the processes. However,while I was trying to open some system process using OpenProcess for PROCESS_VM_OPERATION,it failed. Using OpenProcessToken and adjusting the privileges didn't seem to make a difference. But it is said to work on others..maybe this was an earlier build of win2k than mine. I don't know how to run code in another process,but yes, its possible to run Threads if you have enough access to the process,you allocate memory using VirtualAlloc on the process you want to use,copy your code to that allocated memory and use CreateRemoteThread. There is a way on Windows 9x to hide any process not only from the Task Manager using RegisterServiceProcess but from the system itself by hooking Process32First/Process32Next API's I don't know how to do the latter,but a coder called Vecna demonstrates it in a program he wrote,I haven't been able to test it. Vecnas site is down at the moment,so I can't provide a link. I was playing with SetWindowsHookEx yesterday to do a global keyboard hook and log to a file. I didn't get it to work yet,I'm still playing with it. There are ways to hide listening sockets from netstat probably on Win9x in the same way you would hiding processes,I haven't really looked into that. I did see an easy way to get files from other computers over the network,like from a www/ftp server using API's from WININET.DLL Disassemble it,or any DLL file for that matter,and you'll see loads of API's Then go to http://msdn.microsoft.com/ and search for them,you might find out how they work,alot easier than using BSD sockets,it you only require www/ftp connection.
|
|
Top
|
|
|
|
#15019 - 07/22/02 10:40 AM
Re: Hax0ring Windows security software
|
DollarDNS Owner
Registered: 03/04/02
Posts: 1273
Loc: OH, USA
|
"There is a way on Windows 9x to hide any process not only from the Task Manager using RegisterServiceProcess but from the system itself by hooking Process32First/Process32Next API's I don't know how to do the latter,but a coder called Vecna demonstrates it in a program he wrote,I haven't been able to test it."
Ah, man, what an awesome idea. I also have no idea how they hooked the API... *pauses a moment to think*... Well, you could simply rename the dll the API is stored in, and insert your own dll which acts as a redirect to the real dll - making sure the process you wish to hide doesn't get returned. I've seen this technique employed with a wsock32.dll clone. What a deceptively simple idea!
"I was playing with SetWindowsHookEx yesterday to do a global keyboard hook and log to a file. I didn't get it to work yet,I'm still playing with it."
Man, hook me up if you get it working. I have made a dll in ANSI-C which does that... everything works if all I wanted was a local hook... *sigh*
"I did see an easy way to get files from other computers over the network,like from a www/ftp server using API's from WININET.DLL"
yep, I've used that before.
"Disassemble it,or any DLL file for that matter,and you'll see loads of API's"
Actually, why disassemble it? Do you have Visual Studio? Use their utility called "Depends". It is really sweet. You can see what API's is exported from a dll and much more.
Reply to Paragon:
BSD sockets (and winsock which was based off of it) was designed as a interface between the network and the application. The operating system managed the sockets, and the application calls API's to make use of those sockets. One of the rules the developer required is that two applications may not listen on the same port.
|
|
Top
|
|
|
|
#15020 - 07/23/02 07:32 AM
Re: Hax0ring Windows security software
|
Junior Member
Registered: 07/17/02
Posts: 9
|
I don't have Visual Studio, and my Win32 API documentation is for Win3.1/Win95/NT4. So,yeah,I know you don't have to disassemble any DLL files if you have updated docs. Somtimes though,you will find undocumented API's inside these files,that you won't or can't get information for on say..the MSDN library CD-ROM's or microsofts site that i mentioned.When I get the the keyboard hook program to work properly,i'll let you know. I have a Visual C++ keyboard hook example,also a mouse hook example for MASM32 if those are any good to you?
|
|
Top
|
|
|
|
#15022 - 07/23/02 05:59 PM
Re: Hax0ring Windows security software
|
Member
Registered: 03/05/02
Posts: 524
Loc: Cornfields everywhere...
|
just curious, what are these global hooks?
|
|
Top
|
|
|
|
#15023 - 07/23/02 06:31 PM
Re: Hax0ring Windows security software
|
DollarDNS Owner
Registered: 03/04/02
Posts: 1273
Loc: OH, USA
|
|
|
Top
|
|
|
|
#15024 - 07/23/02 06:33 PM
Re: Hax0ring Windows security software
|
Member
Registered: 03/05/02
Posts: 524
Loc: Cornfields everywhere...
|
|
|
Top
|
|
|
|
#15026 - 07/30/02 09:24 AM
Re: Hax0ring Windows security software
|
Junior Member
Registered: 07/20/02
Posts: 4
Loc: none
|
you can make security plugins for all windows boxes go to http://www.download.com and download this program called x-setup its a great program for fixing windows crap and security probs and you can also download the plugin maker for it above the download ![[Bust a Cap]](graemlins/cap.gif) <
|
|
Top
|
|
|
|
|
Registered: 03/03/02
Posts: 23
|
|
6889 Members
44 Forums
11030 Topics
45809 Posts
Max Online: 677 @ 06/30/07 10:06 PM
|
|
|
0 registered (),
6
Guests and
7
Spiders online. |
|
Key:
Admin,
Global Mod,
Mod
|
|
|