risu 1.7.6 → 1.7.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (67) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +0 -16
  3. data/README.markdown +1 -1
  4. data/Rakefile +10 -3
  5. data/{NEWS.markdown → docs/NEWS.markdown} +10 -0
  6. data/lib/risu/base.rb +1 -0
  7. data/lib/risu/base/graph_template_helper.rb +1 -1
  8. data/lib/risu/base/host_template_helper.rb +1 -1
  9. data/lib/risu/base/malware_template_helper.rb +62 -4
  10. data/lib/risu/base/post_process_manager.rb +1 -1
  11. data/lib/risu/base/scan_helper.rb +77 -0
  12. data/lib/risu/base/schema.rb +1 -3
  13. data/lib/risu/base/shares_template_helper.rb +47 -21
  14. data/lib/risu/base/template_helper.rb +3 -2
  15. data/lib/risu/base/template_manager.rb +3 -5
  16. data/lib/risu/cli/application.rb +2 -2
  17. data/lib/risu/cli/banner.rb +18 -0
  18. data/lib/risu/models/host.rb +58 -64
  19. data/lib/risu/models/item.rb +1 -0
  20. data/lib/risu/models/plugin.rb +7 -1
  21. data/lib/risu/models/report.rb +2 -2
  22. data/lib/risu/parsers/nessus/nessus_document.rb +1 -1
  23. data/lib/risu/parsers/nessus/nessus_sax_listener.rb +4 -2
  24. data/lib/risu/parsers/nessus/postprocess/adobe_acrobat.rb +4 -0
  25. data/lib/risu/parsers/nessus/postprocess/adobe_air.rb +10 -0
  26. data/lib/risu/parsers/nessus/postprocess/adobe_reader.rb +6 -1
  27. data/lib/risu/parsers/nessus/postprocess/apache_tomcat.rb +4 -0
  28. data/lib/risu/parsers/nessus/postprocess/apple_itunes.rb +58 -0
  29. data/lib/risu/parsers/nessus/postprocess/cisco_anyconnect.rb +63 -0
  30. data/lib/risu/parsers/nessus/postprocess/cisco_ios.rb +62 -0
  31. data/lib/risu/parsers/nessus/postprocess/downgrade_plugins.rb +1 -0
  32. data/lib/risu/parsers/nessus/postprocess/firefox.rb +11 -0
  33. data/lib/risu/parsers/nessus/postprocess/flash_player.rb +16 -1
  34. data/lib/risu/parsers/nessus/postprocess/google_chrome.rb +58 -0
  35. data/lib/risu/parsers/nessus/postprocess/hp_system_mgt_homepage.rb +3 -0
  36. data/lib/risu/parsers/nessus/postprocess/irfanview.rb +51 -0
  37. data/lib/risu/parsers/nessus/postprocess/java.rb +7 -0
  38. data/lib/risu/parsers/nessus/postprocess/libreoffice.rb +57 -0
  39. data/lib/risu/parsers/nessus/postprocess/openoffice.rb +56 -0
  40. data/lib/risu/parsers/nessus/postprocess/openssh.rb +10 -0
  41. data/lib/risu/parsers/nessus/postprocess/openssl.rb +2 -0
  42. data/lib/risu/parsers/nessus/postprocess/oracle_database.rb +9 -3
  43. data/lib/risu/parsers/nessus/postprocess/php.rb +8 -0
  44. data/lib/risu/parsers/nessus/postprocess/post_process.rb +2 -2
  45. data/lib/risu/parsers/nessus/postprocess/root_cause.rb +7 -1
  46. data/lib/risu/parsers/nessus/postprocess/shockwave.rb +3 -0
  47. data/lib/risu/parsers/nessus/postprocess/timbuktu.rb +53 -0
  48. data/lib/risu/parsers/nessus/postprocess/vmware_esxi.rb +15 -0
  49. data/lib/risu/parsers/nessus/postprocess/vmware_player.rb +8 -1
  50. data/lib/risu/parsers/nessus/postprocess/vmware_vcenter.rb +11 -0
  51. data/lib/risu/parsers/nessus/postprocess/vmware_vsphere_client.rb +2 -0
  52. data/lib/risu/parsers/nessus/postprocess/windows.rb +140 -3
  53. data/lib/risu/parsers/nessus/postprocess/wireshark.rb +11 -0
  54. data/lib/risu/parsers/nexpose/nexpose_document.rb +1 -1
  55. data/lib/risu/parsers/nexpose/simple_nexpose.rb +0 -3
  56. data/lib/risu/renderers/csvrenderer.rb +2 -1
  57. data/lib/risu/templates/authentication_summary.rb +95 -0
  58. data/lib/risu/templates/findings_summary.rb +7 -3
  59. data/lib/risu/templates/findings_summary_with_pluginid.rb +12 -6
  60. data/lib/risu/templates/host_findings_csv.rb +14 -5
  61. data/lib/risu/templates/malicious_process_detection.rb +1 -5
  62. data/lib/risu/templates/notable_detailed.rb +4 -9
  63. data/lib/risu/templates/technical_findings.rb +3 -3
  64. data/lib/risu/templates/top_25.rb +5 -4
  65. data/lib/risu/version.rb +2 -2
  66. data/risu.gemspec +11 -11
  67. metadata +41 -33
@@ -42,6 +42,10 @@ module Risu
42
42
  81649,
43
43
  12085,
44
44
  35806,
45
+ 81650,
46
+ 83526,
47
+
48
+
45
49
 
46
50
  ]
47
51
  }
@@ -0,0 +1,58 @@
1
+ # Copyright (c) 2010-2016 Arxopia LLC.
2
+ # All rights reserved.
3
+ #
4
+ # Redistribution and use in source and binary forms, with or without
5
+ # modification, are permitted provided that the following conditions are met:
6
+ #
7
+ # * Redistributions of source code must retain the above copyright
8
+ # notice, this list of conditions and the following disclaimer.
9
+ # * Redistributions in binary form must reproduce the above copyright
10
+ # notice, this list of conditions and the following disclaimer in the
11
+ # documentation and/or other materials provided with the distribution.
12
+ # * Neither the name of the Arxopia LLC nor the names of its contributors
13
+ # may be used to endorse or promote products derived from this software
14
+ # without specific prior written permission.
15
+ #
16
+ # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
17
+ # ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
18
+ # WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
19
+ # DISCLAIMED. IN NO EVENT SHALL ARXOPIA LLC BE LIABLE FOR ANY DIRECT, INDIRECT,
20
+ # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
21
+ # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
22
+ # OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
23
+ # LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
24
+ # OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
25
+ # OF THE POSSIBILITY OF SUCH DAMAGE.
26
+
27
+ module Risu
28
+ module Parsers
29
+ module Nessus
30
+ module PostProcess
31
+ class AppleiTunesPatchRollup < Risu::Base::PostProcessBase
32
+
33
+ #
34
+ def initialize
35
+ @info =
36
+ {
37
+ :description => "Apple iTunes Patch Rollup",
38
+ :plugin_id => -99960,
39
+ :plugin_name => "Update to the latest Apple iTunes",
40
+ :item_name => "Update to the latest Apple iTunes",
41
+ :plugin_ids => [
42
+ 84504,
43
+ 86001,
44
+ 86602,
45
+ 91347,
46
+ 87371,
47
+
48
+
49
+
50
+
51
+ ]
52
+ }
53
+ end
54
+ end
55
+ end
56
+ end
57
+ end
58
+ end
@@ -0,0 +1,63 @@
1
+ # Copyright (c) 2010-2016 Arxopia LLC.
2
+ # All rights reserved.
3
+ #
4
+ # Redistribution and use in source and binary forms, with or without
5
+ # modification, are permitted provided that the following conditions are met:
6
+ #
7
+ # * Redistributions of source code must retain the above copyright
8
+ # notice, this list of conditions and the following disclaimer.
9
+ # * Redistributions in binary form must reproduce the above copyright
10
+ # notice, this list of conditions and the following disclaimer in the
11
+ # documentation and/or other materials provided with the distribution.
12
+ # * Neither the name of the Arxopia LLC nor the names of its contributors
13
+ # may be used to endorse or promote products derived from this software
14
+ # without specific prior written permission.
15
+ #
16
+ # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
17
+ # ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
18
+ # WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
19
+ # DISCLAIMED. IN NO EVENT SHALL ARXOPIA LLC BE LIABLE FOR ANY DIRECT, INDIRECT,
20
+ # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
21
+ # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
22
+ # OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
23
+ # LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
24
+ # OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
25
+ # OF THE POSSIBILITY OF SUCH DAMAGE.
26
+
27
+ module Risu
28
+ module Parsers
29
+ module Nessus
30
+ module PostProcess
31
+ class CiscoAnyConnectPatchRollup < Risu::Base::PostProcessBase
32
+
33
+ #
34
+ def initialize
35
+ @info =
36
+ {
37
+ :description => "Cisco AnyConnect Client Patch Rollup",
38
+ :plugin_id => -99961,
39
+ :plugin_name => "Update to the latest Cisco AnyConnect Client",
40
+ :item_name => "Update to the latest Cisco AnyConnect Client",
41
+ :plugin_ids => [
42
+ 76491,
43
+ 81978,
44
+ 86302,
45
+ 78676,
46
+ 81671,
47
+ 82270,
48
+ 85266,
49
+ 85267,
50
+ 85541,
51
+ 87894,
52
+ 88100,
53
+
54
+
55
+
56
+ ]
57
+ }
58
+ end
59
+ end
60
+ end
61
+ end
62
+ end
63
+ end
@@ -0,0 +1,62 @@
1
+ # Copyright (c) 2010-2016 Arxopia LLC.
2
+ # All rights reserved.
3
+ #
4
+ # Redistribution and use in source and binary forms, with or without
5
+ # modification, are permitted provided that the following conditions are met:
6
+ #
7
+ # * Redistributions of source code must retain the above copyright
8
+ # notice, this list of conditions and the following disclaimer.
9
+ # * Redistributions in binary form must reproduce the above copyright
10
+ # notice, this list of conditions and the following disclaimer in the
11
+ # documentation and/or other materials provided with the distribution.
12
+ # * Neither the name of the Arxopia LLC nor the names of its contributors
13
+ # may be used to endorse or promote products derived from this software
14
+ # without specific prior written permission.
15
+ #
16
+ # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
17
+ # ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
18
+ # WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
19
+ # DISCLAIMED. IN NO EVENT SHALL ARXOPIA LLC BE LIABLE FOR ANY DIRECT, INDIRECT,
20
+ # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
21
+ # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
22
+ # OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
23
+ # LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
24
+ # OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
25
+ # OF THE POSSIBILITY OF SUCH DAMAGE.
26
+
27
+ module Risu
28
+ module Parsers
29
+ module Nessus
30
+ module PostProcess
31
+ class CiscoIOSPatchRollup < Risu::Base::PostProcessBase
32
+
33
+ #
34
+ def initialize
35
+ @info =
36
+ {
37
+ :description => "Cisco IOS Patch Rollup",
38
+ :plugin_id => -99965,
39
+ :plugin_name => "Update to the latest Cisco IOS",
40
+ :item_name => "Update to the latest Cisco IOS",
41
+ :plugin_ids => [
42
+ 58568,
43
+ 58570,
44
+ 58572,
45
+ 62372,
46
+ 62373,
47
+ 65891,
48
+ 70316,
49
+ 70322,
50
+ 73345,
51
+ 78035,
52
+ 82571,
53
+
54
+
55
+ ]
56
+ }
57
+ end
58
+ end
59
+ end
60
+ end
61
+ end
62
+ end
@@ -48,6 +48,7 @@ module Risu
48
48
  41028 => 0, #SNMP Agent Default Community Name (public) - 41028
49
49
  10264 => 0, #SNMP Agent Default Community Names - 10264
50
50
  10081 => 0, #FTP Privileged Port Bounce Scan - 10081
51
+ #42411 => 0, #Microsoft Windows SMB Shares Unprivileged Access
51
52
 
52
53
  }
53
54
  end
@@ -71,8 +71,19 @@ module Risu
71
71
  71347,
72
72
  72331,
73
73
  85275,
74
+ 85689,
75
+ 86071,
76
+ 86764,
77
+ 87476,
78
+ 86418,
79
+ 88461,
80
+ 89875,
81
+ 90793,
82
+ 91547,
83
+ 88754,
74
84
 
75
85
 
86
+
76
87
  ]
77
88
  }
78
89
  end
@@ -113,7 +113,22 @@ module Risu
113
113
  84642,
114
114
  84730,
115
115
  31799,
116
- 85326
116
+ 85326,
117
+ 86060,
118
+ 86369,
119
+ 86423,
120
+ 86851,
121
+ 87244,
122
+ 87657,
123
+ 88639,
124
+ 88639,
125
+ 11323,
126
+ 89834,
127
+ 90425,
128
+ 91163,
129
+
130
+
131
+
117
132
 
118
133
 
119
134
  ]
@@ -67,8 +67,66 @@ module Risu
67
67
  84342,
68
68
  77184,
69
69
  85567,
70
+ 85743,
71
+ 86061,
72
+ 86209,
73
+ 86380,
74
+ 86598,
75
+ 86852,
76
+ 87206,
77
+ 87245,
78
+ 87417,
79
+ 88088,
80
+ 88681,
81
+ 90794,
82
+ 88956,
83
+ 89685,
84
+ 89786,
85
+ 90194,
86
+ 90542,
87
+ 73419,
88
+ 74008,
89
+ 70916,
90
+ 70923,
91
+ 72167,
92
+ 72939,
93
+ 66813,
94
+ 62313,
95
+ 62519,
96
+ 63110,
97
+ 63232,
98
+ 63468,
99
+ 63645,
100
+ 73710,
101
+ 74122,
102
+ 71227,
103
+ 71968,
104
+ 72616,
105
+ 72800,
106
+ 73082,
107
+ 67232,
108
+ 69139,
109
+ 69423,
110
+ 70273,
111
+ 70494,
112
+ 66556,
113
+ 66930,
114
+ 91128,
115
+ 91350,
116
+ 91455,
117
+ 61381,
118
+ 61462,
119
+ 61774,
120
+ 62518,
121
+ 62861,
122
+ 63063,
123
+ 64813,
124
+ 65029,
125
+ 65097,
70
126
 
71
127
 
128
+
129
+
72
130
  ]
73
131
  }
74
132
  end
@@ -57,6 +57,9 @@ module Risu
57
57
  85181,
58
58
  84923,
59
59
  73639,
60
+ 90150,
61
+ 90251,
62
+ 91222,
60
63
 
61
64
 
62
65
 
@@ -0,0 +1,51 @@
1
+ # Copyright (c) 2010-2016 Arxopia LLC.
2
+ # All rights reserved.
3
+ #
4
+ # Redistribution and use in source and binary forms, with or without
5
+ # modification, are permitted provided that the following conditions are met:
6
+ #
7
+ # * Redistributions of source code must retain the above copyright
8
+ # notice, this list of conditions and the following disclaimer.
9
+ # * Redistributions in binary form must reproduce the above copyright
10
+ # notice, this list of conditions and the following disclaimer in the
11
+ # documentation and/or other materials provided with the distribution.
12
+ # * Neither the name of the Arxopia LLC nor the names of its contributors
13
+ # may be used to endorse or promote products derived from this software
14
+ # without specific prior written permission.
15
+ #
16
+ # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
17
+ # ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
18
+ # WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
19
+ # DISCLAIMED. IN NO EVENT SHALL ARXOPIA LLC BE LIABLE FOR ANY DIRECT, INDIRECT,
20
+ # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
21
+ # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
22
+ # OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
23
+ # LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
24
+ # OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
25
+ # OF THE POSSIBILITY OF SUCH DAMAGE.
26
+
27
+ module Risu
28
+ module Parsers
29
+ module Nessus
30
+ module PostProcess
31
+ class IrfanViewPatchRollup < Risu::Base::PostProcessBase
32
+
33
+ #
34
+ def initialize
35
+ @info =
36
+ {
37
+ :description => "IrfanView Patch Rollup",
38
+ :plugin_id => -99958,
39
+ :plugin_name => "Update to the latest IrfanView",
40
+ :item_name => "Update to the latest IrfanView",
41
+ :plugin_ids => [
42
+ 68888,
43
+ 72395,
44
+ ]
45
+ }
46
+ end
47
+ end
48
+ end
49
+ end
50
+ end
51
+ end
@@ -88,8 +88,15 @@ module Risu
88
88
  84824,
89
89
  33486,
90
90
  25709,
91
+ 86542,
92
+ 88045,
93
+ 90625,
94
+ 90828,
91
95
 
92
96
 
97
+
98
+
99
+
93
100
  ]
94
101
  }
95
102
  end
@@ -0,0 +1,57 @@
1
+ # Copyright (c) 2010-2016 Arxopia LLC.
2
+ # All rights reserved.
3
+ #
4
+ # Redistribution and use in source and binary forms, with or without
5
+ # modification, are permitted provided that the following conditions are met:
6
+ #
7
+ # * Redistributions of source code must retain the above copyright
8
+ # notice, this list of conditions and the following disclaimer.
9
+ # * Redistributions in binary form must reproduce the above copyright
10
+ # notice, this list of conditions and the following disclaimer in the
11
+ # documentation and/or other materials provided with the distribution.
12
+ # * Neither the name of the Arxopia LLC nor the names of its contributors
13
+ # may be used to endorse or promote products derived from this software
14
+ # without specific prior written permission.
15
+ #
16
+ # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
17
+ # ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
18
+ # WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
19
+ # DISCLAIMED. IN NO EVENT SHALL ARXOPIA LLC BE LIABLE FOR ANY DIRECT, INDIRECT,
20
+ # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
21
+ # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
22
+ # OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
23
+ # LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
24
+ # OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
25
+ # OF THE POSSIBILITY OF SUCH DAMAGE.
26
+
27
+ module Risu
28
+ module Parsers
29
+ module Nessus
30
+ module PostProcess
31
+ class LibreOfficePatchRollup < Risu::Base::PostProcessBase
32
+
33
+ #
34
+ def initialize
35
+ @info =
36
+ {
37
+ :description => "LibreOffice Patch Rollup",
38
+ :plugin_id => -99962,
39
+ :plugin_name => "Update to the latest LibreOffice",
40
+ :item_name => "Update to the latest LibreOffice",
41
+ :plugin_ids => [
42
+ 80078,
43
+ 86900,
44
+ 88983,
45
+ 86901,
46
+ 80832,
47
+ 73336
48
+
49
+
50
+ ]
51
+ }
52
+ end
53
+ end
54
+ end
55
+ end
56
+ end
57
+ end