当前位置:网站首页>【Try to Hack】AT、SC、PS命令提权
【Try to Hack】AT、SC、PS命令提权
2022-07-28 11:24:00 【华为云】
博客主页:开心星人的博客主页
系列专栏:Try to Hack
欢迎关注点赞收藏️留言
首发时间:2022年7月10日
作者水平很有限,如果发现错误,还望告知,感谢!
@toc
AT提权
适用系统:Windows2000、Windows 2003、Windows XP
前提:获得服务器admin权限,可以使用at命令,由此提权为system权限
at 是一个发布定时任务计划的命令行工具,语法比较简单。通过 at 命令发布的
定时任务计划, Windows 默认以 SYSTEM 权限运行。定时任务计划可以是批处理、可以是一个二进制文件
at 13:38 /interactive cmd.exe #在13:38以system权限打开cmd
现在我们只是获得了一个system的shell,要把系统提权到system权限才行
在得到一个system的cmd之后,使用taskmgr命令调用任务管理器,此时的
任务管理器是system权限,然后kill掉explore进程,再使用任务管理器
新建explore进程,将会得到一个system的桌面环境
SC提权
适用系统:Windows7、Windows8、Windows2008、Windows2012、Windows2016
# 创建一个名叫syscmd的新的交互式的cmd服务C:>sc Create syscmd binPath= “cmd /K start” type= own type= interact #启动服务获取system权限的cmdC:>sc start syscmd 其中syscmd是服务名称,可以随意填写,binpath是启动的命令,type=own是指服务这个服务属于谁,type=interact是指交互式shell
PS提权
PStool下载地址
适用系统:Windows2003 、 Windows2008psexec.exe -accepteula -s -i -d cmd.exe
边栏推荐
- Stored state and running state of program
- Gecko competition 2.0 is new! Come and show your flexible operation skills!
- Upgrading of computing power under the coordination of software and hardware, redefining productivity
- 108. Introduction to the usage of SAP ui5 image display control Avatar
- Several reincarnation stories
- Interpretable ml of Li Hongyi's machine learning model
- A new mode of one-stop fixed asset management
- A natural choice
- WebView详解
- Full resolution of the use of go native plug-ins
猜你喜欢
![[leetcode] 8. binary search · binary search](/img/35/c4ff66c124754c2a9a7d63b8040e4a.png)
[leetcode] 8. binary search · binary search

Consumer installation and configuration

ViewPager2+Fragment

Full analysis of seven classical regression analysis methods

Unitywebrequest is used in unity to load network and local pictures

Unity遇坑记之 ab包卸载失败

Several ways to bind controls --butterknife/viewbinding/databinding

Globalthis is not defined solution

Google Earth engine (GEE) -- problems in the use of coordinate projection and reduceresolution functions in image downscaling

Redis安装
随机推荐
Today's sleep quality record 74 points
Code simplification
[极客大挑战 2019]BabySQL-1|SQL注入
ObjectAnimator使用注意点
[diary of supplementary questions] [2022 Hangdian summer school 2] k-dos card
Business visualization - make your flowchart'run'(4. Actual business scenario test)
STL concept and its application
Modify the running container port mapping
The principle and use of the wrap file of tolua
Image filter from the perspective of convolution
Full analysis of seven classical regression analysis methods
【补题日记】[2022牛客暑期多校2]L-Link with Level Editor I
An idea plug-in helps you transform dto, VO, Bo, Po, do gracefully
Interpretation of the paper: attention mechanism in medical images
Ruiji takeout - day01
Force buckle 7_ 1672. Total assets of the richest customers
安徽京准:北斗卫星同步时钟|北斗同步时钟|NTP网络时钟服务器
Hcip day 1
QT writing IOT management platform 42 data query export print
tolua之wrap文件的原理与使用