Windows 10 Zero-Day Exploit Affecting Task Scheduler Disclosed Online

  •  
  •  
  •  
  • 15
  •  
  •  
  •  
    15
    Shares

Another zero-day bug in Windows 10 surfaced online after the discoverer of the flaw disclosed the exploit publicly. The vulnerability exists in the Task Scheduler. This Windows 10 Zero-Day allows for a local privilege escalation (LPE) vulnerability.

Windows 10 Zero-Day In Task Scheduler

The researcher SandBoxer has allegedly dropped his exploit code online for a Windows 10 zero-day publicly. The flaw exists in Windows 10 Task Scheduler and can allow a potential attacker to gain elevated privileges on the target system.

The researcher has shared the exploit code on GitHub. As revealed, the problem exists in the way Task Scheduler imports .job files. The Task Scheduler imports the .job file with arbitrary DACL (discretionary access control list) permissions. An attacker can run a malicious .job file exploiting the way Task Scheduler modifies DACL permissions for a file. In the absence of DACL, any user can get full access to the file by the system.

According to the description given by SandBoxer,

In the old days (i.e Windows XP) tasks would be placed in c:\\windows\\tasks in the “.job” fileformat. If on windows 10 you want to import a .job file into the task scheduler you have to copy your old .job files into c:\\windows\\tasks and run the following command using “schtasks.exe and schedsvc.dll” copied from the old system.

Executing the two copied commands leads to remote procedure call (RPC) thereby registering the task.

This will result in a call to… RPC “_SchRpcRegisterTask”, which is exposed by the task scheduler service… It starts out by impersonating the current user. But when it hits… function… It starts impersonating itself (NT AUTHORITY\\SYSTEM)! And then calls SetSecurityInfo on a task it created in c:\\windows\\system32\\tasks.

The following video demonstrates how the bug works.

No Patch Available For Now

Vulnerability analyst at CERT/CC, Will Dormann, confirmed in his trail of tweets about the validity of the exploit.

As per his observations, the exploit works well on Windows 10 (standard 1903 build), 64-bit Windows 10, Windows Server 2016, and Windows Server 2019. However, he could not reproduce it on Windows 7 and 8.

For now, no patch is available for this bug from Microsoft. Perhaps, we may expect to see a fix with June’s scheduled updates.

This isn’t the first time that SandBoxer disclosed a zero-day publicly. Rather this practice for Windows 10 bugs dates back to August 2018, when she highlighted an ALPC zero-day in Task Scheduler. Microsoft patched the flaw with September 2018 Patch Tuesday updates. However, before the fix, the bug went under active exploits.

Take your time to comment on this article.

The following two tabs change content below.
Avatar

Abeerah Hashim

Abeerah has been a passionate blogger for several years with a particular interest towards science and technology. She is crazy to know everything about the latest tech developments. Knowing and writing about cybersecurity, hacking, and spying has always enchanted her. When she is not writing, what else can be a better pastime than web surfing and staying updated about the tech world! Reach out to me at: [email protected]
Avatar

Abeerah Hashim

Abeerah has been a passionate blogger for several years with a particular interest towards science and technology. She is crazy to know everything about the latest tech developments. Knowing and writing about cybersecurity, hacking, and spying has always enchanted her. When she is not writing, what else can be a better pastime than web surfing and staying updated about the tech world! Reach out to me at: [email protected]

Do NOT follow this link or you will be banned from the site!

Privacy Preference Center

Necessary

The __cfduid cookie is used to identify individual clients behind a shared IP address and apply security settings on a per-client basis.

cookie_notice_accepted and gdpr[allowed_cookies] are used to identify the choices made from the user regarding cookie consent.

For example, if a visitor is in a coffee shop where there may be several infected machines, but the specific visitor's machine is trusted (for example, because they completed a challenge within your Challenge Passage period), the cookie allows Cloudflare to identify that client and not challenge them again. It does not correspond to any user ID in your web application, and does not store any personally identifiable information.

__cfduid, cookie_notice_accepted, gdpr[allowed_cookies]

Advertising

DoubleClick by Google refers to the DoubleClick Digital Marketing platform which is a separate division within Google. This is Google’s most advanced advertising tools set, which includes five interconnected platform components.

DoubleClick Campaign Manager: the ad-serving platform, called an Ad Server, that delivers ads to your customers and measures all online advertising, even across screens and channels.

DoubleClick Bid Manager – the programmatic bidding platform for bidding on high-quality ad inventory from more than 47 ad marketplaces including Google Display Network.

DoubleClick Ad Exchange: the world’s largest ad marketplace for purchasing display, video, mobile, Search and even Facebook inventory.

DoubleClick Search: is more powerful than AdWords and used for purchasing search ads across Google, Yahoo, and Bing.

DoubleClick Creative Solutions: for designing, delivering and measuring rich media (video) ads, interactive and expandable ads.

doubleclick

Analytics

The _ga is asssociated with Google Universal Analytics - which is a significant update to Google's more commonly used analytics service. This cookie is used to distinguish unique users by assigning a randomly generated number as a client identifier. It is included in each page request in a site and used to calculate visitor, session and campaign data for the sites analytics reports. By default it is set to expire after 2 years, although this is customisable by website owners.

The _gat global object is used to create and retrieve tracker objects, from which all other methods are invoked. Therefore the methods in this list should be run only off a tracker object created using the _gat global variable. All other methods should be called using the _gaq global object for asynchronous tracking.

_gid works as a user navigates between web pages, they can use the gtag.js tagging library to record information about the page the user has seen (for example, the page's URL) in Google Analytics. The gtag.js tagging library uses HTTP Cookies to "remember" the user's previous interactions with the web pages.

_ga, _gat, _gid