This commit is contained in:
Carlos Polop
2026-03-15 22:36:55 +01:00
parent a8f6b16016
commit aafdfcdcee
7 changed files with 610 additions and 98 deletions
+1 -2
View File
@@ -128,7 +128,7 @@ Once you have installed and activated it you need to:
- **System Information**
- [x] Basic System info information
- [x] Use embedded WES-NG definitions to flag known exploitable vulnerabilities for the running Windows version (version-based)
- [x] Use embedded definitions to flag known exploitable vulnerabilities for the running Windows version (version-based)
- [x] Enumerate Microsoft updates
- [x] PS, Audit, WEF and LAPS Settings
- [x] LSA protection
@@ -262,7 +262,6 @@ Once you have installed and activated it you need to:
## TODO
- Add more checks
- Maintain updated WES-NG
If you want to help with any of this, you can do it using **[github issues](https://github.com/peass-ng/PEASS-ng/issues)** or you can submit a pull request.
@@ -135,11 +135,11 @@ namespace winPEAS.Checks
if (report.CandidateProducts.Count == 0)
{
Beaprint.InfoPrint("Unable to map this OS to WES-NG product definitions.");
Beaprint.InfoPrint("Unable to map this OS to product definitions.");
return;
}
Beaprint.InfoPrint("WES-NG product candidates: " + string.Join(" | ", report.CandidateProducts));
Beaprint.InfoPrint("Product candidates: " + string.Join(" | ", report.CandidateProducts));
if (!string.IsNullOrEmpty(report.DefinitionsDate))
{
Beaprint.InfoPrint("Definitions date: " + report.DefinitionsDate);
@@ -52,9 +52,6 @@ namespace winPEAS.Info.SystemInfo
public static Dictionary<string, string> GetBasicOSInfo()
{
Dictionary<string, string> results = new Dictionary<string, string>();
// Systeminfo from cmd to be able to use wes-ng
///////////////////////////////////////////////
Process process = new Process();
@@ -90,7 +87,7 @@ namespace winPEAS.Info.SystemInfo
{
results["OS Name"] = value;
}
//I have to find a better way. Maybe use regex from wes-ng
if (Regex.IsMatch(value, osversion, RegexOptions.IgnoreCase))
{
results["OS Version"] = value;
@@ -104,8 +101,6 @@ namespace winPEAS.Info.SystemInfo
}
}
// ENDING Systeminfo from cmd to be able to use wes-ng
///////////////////////////////////////////////
try
{
string ProductName = RegistryHelper.GetRegValue("HKLM", "Software\\Microsoft\\Windows NT\\CurrentVersion", "ProductName");