【THM-题目答案】:Privilege Escalation-Windows Privilege Escalation: Harvesting Passwords from Usual Spots
1. A password for the julia.jones user has been left on the Powershell history. What is the password? -julia.jones用户的密码已留在Powershell历史记录中。密码是什么?
ZuperCkretPa5z
【思路】:根据课程内容,通过命令type %userprofile%\AppData\Roaming\Microsoft\Windows\PowerShell\PSReadline\ConsoleHost_history.txt 在结果中可看到powershell历史命令中存在输入命令记录。

2. A web server is running on the remote host. Find any interesting password on web.config files associated with IIS. What is the password of the db_admin user? -远程主机上正在运行web服务器。在与IIS关联的web.config文件上查找任何有趣的密码。db_admin用户的密码是什么?
098n0x35skjD3
【思路】:根据课程内容,通过命令type type C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config\web.config | findstr connectionString在结果中可看到db_admin的连接信息中存在Password信息。

3. There is a saved password on your Windows credentials. Using cmdkey and runas, spawn a shell for mike.katz and retrieve the flag from his desktop. -您的Windows凭据上保存了密码。使用cmdkey和runas,为mike.katz生成一个shell,并从他的桌面检索标志。
THM{WHAT_IS_MY_PASSWORD}
【思路】:
(1)首先执行命令cmdkey /list,确认存在用户mike.katz;

(2) 执行命令runas /savecred /user:mike.katz cmd.exe ,获取其权限


4. Retrieve the saved password stored in the saved PuTTY session under your profile. What is the password for the thom.smith user? -检索您个人资料下已保存的PuTTY会话中存储的已保存密码。thom.smith用户的密码是什么?
CoolPass2021
【思路】
(1) 执行reg query HKEY_CURRENT_USER\Software\SimonTatham\PuTTY\Sessions\ /f "Proxy" /s,可发现密码信息

更多推荐
所有评论(0)