GithubHelp home page GithubHelp logo

Comments (5)

fcharlie avatar fcharlie commented on September 7, 2024

此需求应该修改 应用程序清单 设置权限,但与Linux 权限策略仍然有区别

from privexec.

wy16W2pIilK1xgqN avatar wy16W2pIilK1xgqN commented on September 7, 2024

谢谢回复!
网上爬文后,大概得知方法了。
首先提取exe 中的manifest文件。
然后修改 requestedExecutionLevel 项的值。
但设定项只要三个:asInvoker highestAvailable requireAdministrator。
实际上就是决定是否提权,而不是降权。
请问是我没搞懂吗?

from privexec.

fcharlie avatar fcharlie commented on September 7, 2024

这个是提权的 但在 Windows 系统上降权的话比较麻烦,利用清单降权基本没有办法.

from privexec.

MouriNaruto avatar MouriNaruto commented on September 7, 2024

我记得曾经我看微软的博文谈到了通过icacls来指定一个exe强制以某个完整性级别运行的功能
那个例子貌似是让某目录的计算器程序以始终以IL Low运行

from privexec.

wy16W2pIilK1xgqN avatar wy16W2pIilK1xgqN commented on September 7, 2024

我记得曾经我看微软的博文谈到了通过icacls来指定一个exe强制以某个完整性级别运行的功能
那个例子貌似是让某目录的计算器程序以始终以IL Low运行

必须在指定路径?
这样也行,请问有连接吗?

from privexec.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.