Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(scanner/windows): support Windows 11 24H2 #2051

Merged
merged 1 commit into from
Oct 20, 2024
Merged

Conversation

MaineK00n
Copy link
Collaborator

@MaineK00n MaineK00n commented Oct 18, 2024

What did you implement:

add Windows 11 24H2

Type of change

  • New feature (non-breaking change which adds functionality)

How Has This Been Tested?

setup

:100644 100644 869ab61 0000000 M	windows/11/Vagrantfile

diff --git a/windows/11/Vagrantfile b/windows/11/Vagrantfile
index 869ab61..696f179 100644
--- a/windows/11/Vagrantfile
+++ b/windows/11/Vagrantfile
@@ -12,8 +12,8 @@ Vagrant.configure("2") do |config|
 
   # Every Vagrant development environment requires a box. You can search for
   # boxes at https://vagrantcloud.com/search.
-  config.vm.box = "gusztavvargadr/windows-11"
-  config.vm.box_version = "2302.0.2312"
+  config.vm.box = "gusztavvargadr/windows-11-24h2-enterprise"
+  config.vm.box_version = "2402.0.2409"
 
   # Disable automatic box update checking. If you disable this, then
   # boxes will only be checked for updates when the user runs

https://github.com/MaineK00n/vuls-targets/blob/b1f771a589a04edae6ee04d51f6889f3a4001419/windows/11/Vagrantfile

image

before

...
[Oct 18 15:24:52]  INFO [localhost] Validating config...
[Oct 18 15:24:52]  INFO [localhost] Detecting Server/Container OS... 
[Oct 18 15:24:52]  INFO [localhost] Detecting OS of servers... 
[Oct 18 15:24:54]  INFO [localhost] (1/1) Detected: vagrant: windows Windows 11 Version 23H2 for x64-based Systems
[Oct 18 15:24:54]  INFO [localhost] Detecting OS of containers... 
[Oct 18 15:24:54]  INFO [localhost] Checking Scan Modes... 
[Oct 18 15:24:54]  INFO [localhost] Detecting Platforms... 
[Oct 18 15:25:02]  INFO [localhost] (1/1) vagrant is running on other


Scan Summary
================
vagrant	windowsWindows 11 Version 23H2 for x64-based Systems	6 installed, 0 updatable





To view the detail, vuls tui is useful.
To send a report, run vuls report -h.

after

$ vuls scan
...
[Oct 18 15:21:23]  INFO [localhost] Validating config...
[Oct 18 15:21:23]  INFO [localhost] Detecting Server/Container OS... 
[Oct 18 15:21:23]  INFO [localhost] Detecting OS of servers... 
[Oct 18 15:21:31]  INFO [localhost] (1/1) Detected: vagrant: windows Windows 11 Version 24H2 for x64-based Systems
[Oct 18 15:21:31]  INFO [localhost] Detecting OS of containers... 
[Oct 18 15:21:31]  INFO [localhost] Checking Scan Modes... 
[Oct 18 15:21:31]  INFO [localhost] Detecting Platforms... 
[Oct 18 15:21:43]  INFO [localhost] (1/1) vagrant is running on other


Scan Summary
================
vagrant	windowsWindows 11 Version 24H2 for x64-based Systems	5 installed, 0 updatable





To view the detail, vuls tui is useful.
To send a report, run vuls report -h.

$ vuls report
...
[Oct 18 15:23:16]  INFO [localhost] vagrant: 70 CVEs are detected with gost
[Oct 18 15:23:16]  INFO [localhost] vagrant: 0 CVEs are detected with CPE
[Oct 18 15:23:16]  INFO [localhost] vagrant: 0 PoC are detected
[Oct 18 15:23:16]  INFO [localhost] vagrant: 0 exploits are detected
[Oct 18 15:23:16]  INFO [localhost] vagrant: Known Exploited Vulnerabilities are detected for 0 CVEs
[Oct 18 15:23:16]  INFO [localhost] vagrant: Cyber Threat Intelligences are detected for 0 CVEs
[Oct 18 15:23:16]  INFO [localhost] vagrant: total 70 CVEs detected
[Oct 18 15:23:16]  INFO [localhost] vagrant: 0 CVEs filtered by --confidence-over=80
vagrant (windowsWindows 11 Version 24H2 for x64-based Systems)
==============================================================
Total: 70 (Critical:0 High:39 Medium:31 Low:0 ?:0)
70/70 Fixed, 0 poc, 0 exploits, 0 kevs, uscert: 0, jpcert: 0 alerts
5 installed

+----------------+------+--------+-----+-----+-----------+---------+-----------+
|     CVE-ID     | CVSS | ATTACK | POC | KEV |   ALERT   |  FIXED  | PACKAGES  |
+----------------+------+--------+-----+-----+-----------+---------+-----------+
| CVE-2024-43517 |  8.8 |  AV:N  |     |     |           |   fixed | KB5044284 |
+----------------+------+--------+-----+-----+-----------+---------+-----------+
| CVE-2024-43518 |  8.8 |  AV:N  |     |     |           |   fixed | KB5044284 |
+----------------+------+--------+-----+-----+-----------+---------+-----------+
...

Checklist:

You don't have to satisfy all of the following.

  • Write tests
  • Write documentation
  • Check that there aren't other open pull requests for the same issue/feature
  • Format your source code by make fmt
  • Pass the test by make test
  • Provide verification config / commands
  • Enable "Allow edits from maintainers" for this PR
  • Update the messages below

Is this ready for review?: YES

Reference

@MaineK00n MaineK00n self-assigned this Oct 18, 2024
@MaineK00n MaineK00n marked this pull request as ready for review October 18, 2024 06:34
@MaineK00n MaineK00n requested a review from shino October 18, 2024 06:39
Copy link
Collaborator

@shino shino left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎊

@MaineK00n MaineK00n merged commit 030b2e0 into master Oct 20, 2024
7 checks passed
@MaineK00n MaineK00n deleted the MaineK00n/windows branch October 20, 2024 10:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants