@@ -154,10 +154,11 @@ Vuls is a tool created to solve the problems listed above. It has the following
154
154
- Fast scan and Deep scan
155
155
- Fast Scan
156
156
- Scan without root privilege
157
- - Scan with No internet access. (RedHat, CentOS, OracleLinux, Ubuntu, Debian)
157
+ - Scan with No internet access. (RedHat, CentOS, OracleLinux, Ubuntu and Debian)
158
158
- Almost no load on the scan target server
159
159
- Deep Scan
160
160
- Scan with root privilege
161
+ - Detect processes affected by update using yum-ps (RedHat, CentOS, OracleLinux and Amazon Linux)
161
162
- Parses the Changelog
162
163
Changelog has a history of version changes. When a security issue is fixed, the relevant CVE ID is listed.
163
164
By parsing the changelog and analysing the updates between the installed version of software on the server and the newest version of that software
@@ -587,35 +588,36 @@ On the aggregation server, you can refer to the scanning result of each scan tar
587
588
- Scan without Root Privilege
588
589
- Scan with No internet access on some OS.
589
590
590
- | Distribution| Scan Speed | Need Root Privilege | OVAL | Need Internet Access <br >on scan tareget|
591
- | :------------| :--------------------------------------:| :------------------- :| :----------:| :---------------------------------------:|
592
- | CentOS | Fast | No | Supported | No |
593
- | RHEL | Fast | No | Supported | No |
594
- | Oracle | Fast | No | Supported | No |
595
- | Ubuntu | Fast | No | Supported | No |
596
- | Debian | Fast | No | Supported | No |
597
- | Raspbian | 1st time: Slow <br > From 2nd time: Fast | Need | No | Need |
598
- | FreeBSD | Fast | No | No | Need |
599
- | Amazon | Fast | No | No | Need |
591
+ | Distribution| Scan Speed | Need Root | OVAL | Need Internet Access <br >on scan tareget|
592
+ | :------------| :--------------------------------------:| :---------:| :----------:| :---------------------------------------:|
593
+ | CentOS | Fast | No | Supported | No |
594
+ | RHEL | Fast | No | Supported | No |
595
+ | Oracle | Fast | No | Supported | No |
596
+ | Ubuntu | Fast | No | Supported | No |
597
+ | Debian | Fast | No | Supported | No |
598
+ | Raspbian | 1st time: Slow <br > From 2nd time: Fast | Need | No | Need |
599
+ | FreeBSD | Fast | No | No | Need |
600
+ | Amazon | Fast | No | No | Need |
600
601
601
602
602
603
---------
603
604
604
605
### Deep Scan
605
606
![ Vuls-Scan-Flow] ( img/vuls-scan-flow.png )
606
607
607
- | Distribution| Scan Speed | Need Root Privilege | OVAL | Need Internet Access <br >on scan tareget|
608
- | :------------| :-------------------------------------:| :------------------------- :| :---------:| :---------------------------------------:|
609
- | CentOS | Slow | No | Supported | Need |
610
- | RHEL | Slow | Need | Supported | Need |
611
- | Oracle | Slow | Need | Supported | Need |
612
- | Ubuntu | 1st time: Slow <br > From 2nd time: Fast| Need | Supported | Need |
613
- | Debian | 1st time: Slow <br > From 2nd time: Fast| Need | Supported | Need |
614
- | Raspbian | 1st time: Slow <br > From 2nd time: Fast| Need | No | Need |
615
- | FreeBSD | Fast | No | No | Need |
616
- | Amazon | Slow | No | No | Need |
608
+ | Distribution| Scan Speed | Need Root | OVAL | Need Internet Access <br >on scan tareget|
609
+ | :------------| :-------------------------------------:| :---------:| :---------:| :---------------------------------------:|
610
+ | CentOS | Slow | No | Supported | Need |
611
+ | RHEL | Slow | Need | Supported | Need |
612
+ | Oracle | Slow | Need | Supported | Need |
613
+ | Ubuntu | 1st time: Slow <br > From 2nd time: Fast| Need | Supported | Need |
614
+ | Debian | 1st time: Slow <br > From 2nd time: Fast| Need | Supported | Need |
615
+ | Raspbian | 1st time: Slow <br > From 2nd time: Fast| Need | No | Need |
616
+ | FreeBSD | Fast | No | No | Need |
617
+ | Amazon | Slow | No | No | Need |
617
618
618
619
620
+ #### Changelog
619
621
- On Ubuntu, Debian and Raspbian
620
622
Vuls issues ` apt-get changelog ` for each upgradable packages and parse the changelog.
621
623
` apt-get changelog ` is slow and resource usage is heavy when there are many updatable packages on target server.
@@ -627,6 +629,10 @@ Vuls issues `yum changelog` to get changelogs of upgradable packages at once and
627
629
- On RHEL, Oracle, Amazon and FreeBSD
628
630
Detect CVE IDs by using package manager.
629
631
632
+ #### Detect processes affected by update using yum-ps
633
+ - RedHat, CentOS, OracleLinux and Amazon Linux
634
+ It is possible to know processes affecting software update in advance.
635
+
630
636
----
631
637
632
638
# Use Cases
@@ -912,12 +918,12 @@ In order to scan with deep scan mode, the following dependencies are required, s
912
918
|:-------------|-------------------:|:-------------|
913
919
| Ubuntu | 12, 14, 16| - |
914
920
| Debian | 7, 8, 9| aptitude, reboot-notifier |
915
- | CentOS | 6, 7| yum-plugin-changelog, yum-utils |
916
- | Amazon | All | yum-plugin-changelog, yum-utils |
921
+ | CentOS | 6, 7| yum-plugin-changelog, yum-utils, yum-plugin-ps |
922
+ | Amazon | All | yum-plugin-changelog, yum-utils, yum-plugin-ps |
917
923
| RHEL | 5 | yum-utils, yum-security, yum-changelog |
918
- | RHEL | 6, 7 | yum-utils, yum-plugin-changelog |
924
+ | RHEL | 6, 7 | yum-utils, yum-plugin-changelog, yum-plugin-ps |
919
925
| Oracle Linux | 5 | yum-utils, yum-security, yum-changelog |
920
- | Oracle Linux | 6, 7 | yum-utils, yum-plugin-changelog |
926
+ | Oracle Linux | 6, 7 | yum-utils, yum-plugin-changelog, yum-plugin-ps |
921
927
| FreeBSD | 10 | - |
922
928
| Raspbian | Wheezy, Jessie | - |
923
929
@@ -937,7 +943,13 @@ Defaults:vuls env_keep="http_proxy https_proxy HTTP_PROXY HTTPS_PROXY"
937
943
938
944
- RHEL 6, 7 / Oracle Linux 6, 7
939
945
```
940
- vuls ALL=(ALL) NOPASSWD:/usr/bin/yum --color=never repolist, /usr/bin/yum --color=never --security updateinfo list updates, /usr/bin/yum --color=never --security updateinfo updates, /usr/bin/repoquery
946
+ vuls ALL=(ALL) NOPASSWD:/usr/bin/yum --color=never repolist, /usr/bin/yum --color=never --security updateinfo list updates, /usr/bin/yum --color=never --security updateinfo updates, /usr/bin/repoquery, /usr/bin/yum --color=never -q ps all
947
+ Defaults: vuls env_keep="http_proxy https_proxy HTTP_PROXY HTTPS_PROXY"
948
+ ```
949
+
950
+ - Amazon Linux, CentOS
951
+ ```
952
+ vuls ALL=(ALL) NOPASSWD:/usr/bin/yum --color=never -q ps all
941
953
Defaults: vuls env_keep="http_proxy https_proxy HTTP_PROXY HTTPS_PROXY"
942
954
```
943
955
@@ -947,7 +959,7 @@ vuls ALL=(ALL) NOPASSWD: /usr/bin/apt-get update
947
959
Defaults: vuls env_keep="http_proxy https_proxy HTTP_PROXY HTTPS_PROXY"
948
960
```
949
961
950
- - On CentOS, Amazon Linux, FreeBSD, it is possible to scan without root privilege for now.
962
+ - On FreeBSD, it is possible to scan without root privilege for now.
951
963
952
964
----
953
965
0 commit comments