microsoft / microsoft/sudo

Sudo tries to leverage the kernel DLLs before loading them

Open
#106 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Issue-Bug Needs-Attention Needs-Triage
Dominant language
Rust
Stars
5.9k
Forks
180
Avg merge
1d 7h
Merged PRs (30d)
2

Description

Sudo for Windows version

1.0.0

Windows build number

10.0.26100.1742

Other Software

N/A

Steps to reproduce

Using Sudo in CMD or w/e.

I found that prior to loading the nll.dll Sudo, is trying to use it as I found in the stack trace:

image
graphic

Expected Behavior

N/A

Actual Behavior

I don't think it's a behavioral issue, but upon debugging and looking at how Sudo works for an upcoming blog I noticed that is probably not the right behavior. The issue goes away once ntdll.dll is loaded

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the reported debugger stack trace and the reproduction steps for Sudo in CMD, focusing on the references to nll.dll and ntdll.dll. The report does not name a source file or test; done should mean the DLL loading behavior has been investigated and the unintended preloading behavior is corrected or explained.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.