Ethical Hacking Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package. | Computer Forensics Training at InfoSec Institute Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors. |

| Subject: | Re: Citrix Pen Test, |
|---|---|
| Date: | Wed, 30 May 2007 19:04:47 +0100 |
I don't think that Rajat explained that very well!
Citrix effectively presents the desktop as a web page. All desktop shortcuts are really just images on that web page. Right click on one of those desktop shortcuts and click on properties (I think it's properties), edit the application to point to C:\Windows\System32\cmd.exe instead of the original program such as word.exe etc. Then when you double click on the original desktop shortcut, cmd.exe will pop up instead.
Fine, but you are still running under the security context of your account. It is recommended that a Citrix administrator reduce their attack surface by only publishing programs that they want their users to have instead of publishing all programs.
You may also be able to open IE and enter the address of: %comspec% to get a command prompt too. But you are still operating under your regular account.
If your account has the persmission to execute the AT command within a command prompt then you may be able to elevate your privileges. The AT command is only, by default assigned to the Admin accounts, but if you can run it, do this: c:\>at HH:MM /interactive "cmd.exe" Where HH:MM is a time just a minute in the future. When the AT command executes, a command prompt shell will pop up that is running at SYSTEM level.
Of course, this is all pointless as only the Admin accounts have access to the AT command by default, but if someone has configured it so that users can execute AT, then game on! Also, it's really handy for shutting down AV software that tends to run at SYSTEM.
lee.
On 5/28/07, IRM <irm@iinet.net.au> wrote: > > On my recent pen-test, I need to deal with an application that sitting > on the remote host. The way its works is that the client need to connect > to the remote server through Citrix and run the application. > > 1) I feel that this is quite challenging pen-test as I do not have full > control to the remote server. This gets me thinking that apart from > analyzing the traffic from the client PC to remote host and input > validation checking. Is there any thing that I could possibly do? > > 2) I noticed that the Citrix Client (Citrix Program Neighborhood 7) used > Basic Level encryption. I couldn't find anything in regards to this > Basic Level Encryption as to which algorithms that Citrix uses. I was > wondering whether this Basic Encryption could be cracked easily. Any > thought around this?
Can you break out of the browser and execute commands on the system. The best way to go about this is to use the browser help. Once you have the help there are certain shortcuts that allow you to execute microsoft office applications. If you can have word / excel you could type in C:\Windows\System32\cmd.exe and it would show up as a hyperlink. Click on it to have remote shell. Then you can use the standard windows privilege escalation procedures to elevate your access privilege.
HTH, -- Rajat Swarup
http://rajatswarup.blogspot.com/
------------------------------------------------------------------------ This List Sponsored by: Cenzic
Are you using SPI, Watchfire or WhiteHat? Consider getting clear vision with Cenzic See HOW Now with our 20/20 program!
http://www.cenzic.com/c/2020 ------------------------------------------------------------------------
-- Lee J Lawson leejlawson@gmail.com
"Give a man a fire, and he'll be warm for a day; set a man on fire, and he'll be warm for the rest of his life."
"Quidquid latine dictum sit, altum sonatur."
------------------------------------------------------------------------ This List Sponsored by: Cenzic
Are you using SPI, Watchfire or WhiteHat? Consider getting clear vision with Cenzic See HOW Now with our 20/20 program!
http://www.cenzic.com/c/2020 ------------------------------------------------------------------------
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Citrix Pen Test,, rajat swarup |
|---|---|
| Next by Date: | Re: Disclosure of vulns and its legal aspects..., Steve Friedl |
| Previous by Thread: | Re: Citrix Pen Test,, rajat swarup |
| Next by Thread: | Re: Citrix Pen Test,, sherwyn . williams |
| Indexes: | [Date] [Thread] [Top] [All Lists] |