XP security hole so big a 5 year old could use it


Recommended Posts

I learned of this at another site and thought I would share it here. Turn down your volume if you play the animation at work. I imagine people are working overtime in Redmond right now to make a patch for this.

http://isc.sans.org/diary.php?compare=1&storyid=1542

XP local privilege escalation demonstrated (NEW)

Changes between the current version and version 1 are highlighted.

Published: 2006-08-03,

Last Updated: 2006-08-03 12:59:40 UTC by Arrigo Triulzi (Version: 2)

An excellent Flash animation showing the latest XP local privilege escalation has been published and it clearly demonstrates how trivial it is to "upgrade" from a user with administrative privileges to SYSTEM (the same but for unprivileged users is currently disputed, more at the CVE entry covering the issue and on the Bugtraq archives).

How does it work?

It is actually quite simple: normally a scheduler is used for running non-interactive programs unattended, for example anti-virus updates (in the "baddies" world it is used for scheduling netcat backdoors but this is hardly "normal usage").

In this example the user decides to schedule running "cmd.exe" (the Windows command line prompt) rather than a non-interactive program. When the scheduler triggers it starts cmd.exe which opens a new command-line window.

The problem is that the scheduler runs as the "SYSTEM" user which under Windows is an all-powerful user used for system tasks (the Windows equivalent of "root" under Unix) and, as this video demonstrate, it does not "drop privileges" (that is to say: "take on the privileges of the user requesting the scheduled job") before running the command.

When the command is finally run at the specified time it therefore hands you a command line prompt with SYSTEM privileges.

Is there a fix? Or indeed, why is this a problem? Well, the fix would be to stop the scheduler which breaks lots of other things (e.g. anti-virus updates) but which an adminstrator can easily restart... Now, is it really a problem since an administrator doesn't gain much? Well, it should not be the case that running a scheduled job lands you different privileges by default and, of course, should it turn out that administrative privileges are not needed then it becomes a far bigger issue as any user could gain SYSTEM privileges.

Important note: do not watch this at work with your loudspeakers turned on (bad language disclaimer...). Headphones strongly recommended.

They are full of it:

System error 5 has occurred.

Access is denied.

This is the error you get if the Scheduler service is disabled, because for the guest account and for a limited user, the Scheduler service is locked down (since your not an admin), so you try and start it and get the error above. And of course since the service is not running then you can not add an event to run the cmd processor.

If the Scheduler service is running and you try and add a new event as a limited user or guest you simply get:

Access is denied.

But of course it works with an admin account. But by that point it does not really matter much.

So yeah they are full of ****!!!!!!!!!!

Edited by war

Well, Windows Vista is even more secure:

F:\Users\Will>at 8:06 /interactive "cmd.exe"

Warning: Due to security enhancements, this task will run at the time

expected but not interactively.

Use schtasks.exe utility if interactive task is required ('schtasks /?'

for details).

Added a new job with job ID = 4

And schtasks is more secure than the Scheduler service...

I tried it on my Windows XP SP2 machine:

at 15:38 /interactive "cmd.exe"

(2 minutes after my computer's clock)

It said that the job was added succesfully to the scheduled tasks, but it never ran (cmd.exe window didn't pop up). Maybe they have this fixed in SP2?

Edit: finally the task was ran but no interactively, the same that happens in Windows Vista (look war's post above). It appears that they have fixed it.

Edited by nickg78

1. its old.

2. It only works when the user has administrative privileges

3. It only shows that a user with administrative privileges can easily exploit the privileges to gain full access.

So remember, never give any user administrative privileges.

I tried it on my Windows XP SP2 machine:

at 15:38 /interactive "cmd.exe"

(2 minutes after my computer's clock)

It said that the job was added succesfully to the scheduled tasks, but it never ran (cmd.exe window didn't pop up). Maybe they have this fixed in SP2?

Edit: finally the task was ran but no interactively, the same that happens in Windows Vista (look war's post above). It appears that they have fixed it.

same here

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • GeekBook X16 Pro Intel Core Ultra 9 thin and light laptop gets a 17% discount by Steven Parker GEEKOM is back with a 17% discount on its top-of-the-range X16 Pro laptop. You may remember that we reviewed the X14 Pro back in February, which marked GEEKOM's debut into the ultrathin laptop segment. You can view the full specs below. GEEKOM X16 Pro Model NX14CM Dimensions 322.58 × 213.36 × 5.8 mm (12.7"L x 8.4"W x 0.23"T) Weight 997 g / 2.2 lbs Material Unibody Magnesium Alloy CPU Intel Ultra 5 125H (14C/18T, 24MB L3, 2.3-5.1 GHz, TDP 20W) Intel Ultra 9 185H (16C/22T, 24MB L3, 2.3-4.5 GHz, TDP 35W) Graphics Intel Arc graphics 8 Xe-cores @ 2350MHz 1024 shading units/stream processors (128 CUs), 8 Raytracing Cores, 64 texture mapping units, and 32 ROPs NPU Intel AI Boost, 11 TOPS / Up to 33 TOPS (CPU+NPU+GPU) Memory 32GB Dual-channel LPDDR5x 7467 MT/s Micron SODIMM Storage 1 x M.2 2280 PCIe Gen 4x4, Wodposit 1TB, 2 TB Display 16.0" IPS LCD, 2560 × 1600 (16:10) 100% sRGB, 120Hz Refresh Rate Camera 2MP 1080P 1 × Light sensor in camera module 1 × LED indicator in the camera module Windows Hello Support: No Mic 2 x Digital Mics integrated in the camera module Speakers 2 x 3813 (4Ω×2W) built in body Audio Codec: ALC269QN-VC3-GR Certificate: DTS: X Ultra Operating System Windows 11 Pro 25H2 Bluetooth Bluetooth 5.4 Wireless LAN MediaTek MT7922 M.2 Wi-Fi 6E LAN card Left I/O ports 1 x HDMI 2.0 2 x USB4 (40 Gbps) Right I/O ports 1 x USB 3.2 Gen 1 Type-A (5 Gbps) 1 x 3.5 mm Audio jack 1 x Camera Privacy Shutter Keyboard 78Key 1.2±0.2mm / Height 3.5±0.2mm (with backlight) White LED light in Caps Lock and Fn key Language: Default US Touch Pad Dimension: 120 x 71mm Material: Mylar Position: Middle Interface: I2C, Dualpoint button Dock Input port: 1 x Type-C 2 x USB 3.0, 1 x RJ45 1 x PD 1 x HDMI (Bio) Security Fingerprint sensor (in the power button) SD Card slot No Kensington Lock No Battery 77Wh (Input 20V, 3.25A) Power 65W PD GaN Fast Charge, USB-C to USB-C Warranty 2 years (Early Bird 1+1 Years) Deal price $1119.67 The X16 Pro is powered by the Intel Ultra 9 185H, which was released in Q4 2023 and is a 14th Gen Meteor Lake CPU designed for laptop/mobile using the Intel 4 architecture based on a 7nm process. The Ultra 9 185H features 16 cores and 22 threads running at up to 5.1 GHz. It also includes a dedicated NPU utilizing Intel AI Boost at 11 TOPS. On the graphics front, the 185H includes the still fairly capable ARC Graphics (not to be confused with the newer ARC 140T) integrated GPU with a max GPU frequency of 2350 MHz across 8 Xe-cores. It has been said that the iGPU is equivalent to the NVIDIA GeForce 3050 and GTX 1650 in gaming and synthetic benchmarks. Other highlights include an AMOLED display, LPDDR5x memory at 7467 MT/s, WiFi 6E, Bluetooth 5.4, and a fingerprint sensor built into the power button. AI PC? Although the Intel Core Ultra 9 185H includes a dedicated NPU, it's only 11 TOPS; therefore, it does not qualify as a Copilot+ PC. However, it can reach up to 33 TOPS with a combination of NPU, CPU, and GPU. As I said, although we only reviewed the X14 Pro, the unboxing is the same for the X16 Pro, which I noted in my review. The packaging is quite a nice experience. The outer box houses the X16 Pro box with a small compartment that contains the 5-in-1 Dock ($40 value), which appears to be an "Early Bird" inclusion. Upon removing the box cover, the X16 Pro is revealed sitting in a cardboard compartment with two small booklets of documentation. To the left of the X16 Pro are two cardboard compartments containing the 65W charger and Type-C USB cable. What’s In The Box 1 x GEEKOM X16 Pro Ultra-thin Laptop 1 x Type-C to Type-C cable 1.8M 1 x 65W GaN PD Fast Charger 1 x Warranty Card 1 x Thank You Card 1 x User Guide All products sold by GEEKOM receive a 3-year free Warranty from the date you receive the product. If needed, you can RMA or return locally relative to your region (the U.S. has a U.S. warehouse, mainland E.U. has a German warehouse). GEEKOM X16 Pro at GEEKOM U.S. for $1,119.67 was $1,349 (17% off) Use coupon code NWGBX1617 when checking out. This flash deal expires on July 2. Huge Summer Sale As a reminder, yesterday GEEKOM kicked off their Huge Summer Sale, in which there are deep discounts on a range of other GEEKOM products. From June 15 to June 30, the GEEKOM Official Store will be running its Summer Sale, with discounts starting from 15% off across the entire lineup, up to 50%! This is their biggest promotion of the year so far, offering pricing that is even lower than select Prime Day deals. You can check out the discounts at the dedicated Summer Sale landing pages below. GEEKOM U.S. Summer Sale GEEKOM U.K. Summer Sale While the Summer Sale ends on June 30, this deal will remain active until July 2.
    • We are reached to the point that apple looks affordable and better choice than anything else, in what dystopia are we living in....
    • Ouch. $1600 for 256GB SSD / 16GB? Even Apple, the purported "target" of Surface devices for a long time, has its MacBook Air M5 at 512GB SSD / 16GB RAM for $999 MSRP. Surface will never be reasonably priced with such low volumes.
    • Sadly price is pretty in line with the other new X2 devices so far. RAM/SSD prices have ruined everything.
  • Recent Achievements

    • One Year In
      Console General earned a badge
      One Year In
    • One Year In
      Twozo Technologies earned a badge
      One Year In
    • One Month Later
      Twozo Technologies earned a badge
      One Month Later
    • Week One Done
      Twozo Technologies earned a badge
      Week One Done
    • Veteran
      branfont went up a rank
      Veteran
  • Popular Contributors

    1. 1
      +primortal
      522
    2. 2
      +Edouard
      201
    3. 3
      PsYcHoKiLLa
      110
    4. 4
      Steven P.
      89
    5. 5
      Nick H.
      71
  • Tell a friend

    Love Neowin? Tell a friend!