Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/CISOfy/lynis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-05-04Only test Compression if sshd version < 7.4Thomas Sjögren
Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com>
2022-01-31Improved log messageMichael Boelen
2021-01-07Preparation for release 3.0.3Michael Boelen
2020-10-22Add translate function for all sectionsStéphane
+ add EN and FR up to date languages files
2020-03-20Updated date/yearMichael Boelen
2020-03-19Merge pull request #845 from maczniak/masterMichael Boelen
[SSH-7408] fix OpenSSH server version check
2020-02-24fix CISOfy/lynis#844maczniak
2020-02-19Remove the test for ssh config VerifyReverseMappingNicolas CARPi
This option is deprecated since 2003. Having it in a config file raises a warning and UseDNS (that is on by default) includes the VerifyReverseMapping check. See https://github.com/openssh/openssh-portable/commit/3a961dc0d36c1f87788b707130f6d07709822d38 See #528
2019-12-18Code style improvement: quote argumentMichael Boelen
2019-09-17Implemented several code style improvementsMichael Boelen
2019-09-12[SSH-7408] added forced-commands-onlyMichael Boelen
2019-07-16Use -n instead of ! -zMichael Boelen
2019-07-14[SSH-7408] changed text in suggestion and reportMichael Boelen
2019-07-14[SSH-7406] instead of just carriage return, strip all control charactersMichael Boelen
2019-07-14Merge branch 'master' into patch_3Michael Boelen
2019-07-09[SSH-7402] detect other SSH daemons like dropbear and split SSH daemon from ↵Michael Boelen
OpenSSH daemon
2019-03-25fix issue #621Capashenn
2019-03-15[SSH-7408] Increased values for MaxAuthRetries as sometimes SSH key-based ↵Michael Boelen
authentication may need it
2019-01-31Changed year and preparing for new releaseMichael Boelen
2018-10-23Added SSH-7406 to detect OpenSSH version + condition based checking in SSH-7408Michael Boelen
2018-07-25[SSH-7408] adjusted classification of root login with keysMichael Boelen
2018-06-22Updated tests_ssh, removed extra ssh in the test (#557)aram535
Seems like in the patch there was an extra 'ssh' added in the command line, which is breaking the ssh tests. Removing the ssh keyword... -T -C ... fixes the problem.
2018-05-14[SSH-7402] when SSH configuration has Match block, allow evaluation of full ↵Michael Boelen
configuration
2018-04-23delayed is a legacy synonym (#531)Thomas Sjögren
Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com>
2018-01-23Added notesMichael Boelen
2018-01-23restore UsePrivilegeSeparation to list of ssh daemon checks (#509)mslifcak
2018-01-11Changed yearMichael Boelen
2017-09-18[SSH-7408] set default 'delayed' compression as a sane valueMichael Boelen
2017-08-16remove test for deprecated sshd option UsePrivilegeSeparation (#432)Lukas Pirl
see also https://www.openssh.com/txt/release-7.5
2017-04-23Code enhancementsMichael Boelen
2017-03-07Lots of cleanups (#366)hlein
* Description fix: SafePerms works on files not dirs. All uses of SafePerms are on files (and indeed, it would reject directories which would have +x set). * Lots of whitespace cleanups. Enforce everywhere(?) the same indentations for if/fi blocks. The standard for the Lynis codebase is 4 spaces. But sometimes it's 1, sometimes 3, sometimes 8. These patches standardize all(?) if blocks but _not_ else's (which are usually indented 2, but sometimes zero); I was too lazy to identify those (see below). This diff is giant, but should not change code behavior at all; diff -w shows no changes apart from whitespace. FWIW I identified instances to check by using: perl -ne 'if ($oldfile ne $ARGV) { $.=1; $oldfile=$ARGV; }; chomp; if ($spaces) { next unless /^( *)([^ ]+)/; $newspaces=length($1); $firsttok = $2; next unless defined($firsttok); $offset = ($firsttok eq "elif" ? 0 : 4); if ($newspaces != $spaces + $offset) { print "$ARGV:$ifline\n$ARGV:$.:$_\n\n" }; $ifline=""; $spaces=""; } if (/^( *)if (?!.*[; ]fi)/) { $ifline = "$.:$_"; $spaces = length($1); }' $(find . -type f -print0 | xargs -0 file | egrep shell | cut -d: -f1) Which produced output like: ./extras/build-lynis.sh:217: if [ ${VERSION_IN_SPECFILE} = "" -o ! "${VERSION_IN_SPECFILE}" = "${LYNIS_VERSION}" ]; then ./extras/build-lynis.sh:218: echo "[X] Version in specfile is outdated" ./plugins/plugin_pam_phase1:69: if [ -d ${PAM_DIRECTORY} ]; then ./plugins/plugin_pam_phase1:70: LogText "Result: /etc/pam.d exists" ...There's probably formal shellscript-beautification tools that I'm oblivious about. * More whitespace standardization. * Fix a syntax error. This looks like an if [ foo -o bar ]; was converted to if .. elif, but incompletely. * Add whitespace before closing ]. Without it, the shell thinks the ] is part of the last string, and emits warnings like: .../lynis/include/tests_authentication: line 1028: [: missing `]'
2017-03-06Various cleanups (#363)hlein
* Typo fix. * Style change: always use $(), never ``. The Lynis code already mostly used $(), but backticks were sprinkled around. Converted all of them. * Lots of minor spelling/typo fixes. FWIW these were found with: find . -type f -print0 | xargs -0 cat | aspell list | sort -u | egrep '^[a-z]+$' | less And then reviewing the list to pick out things that looked like misspelled words as opposed to variables, etc., and then manual inspection of context to determine the intention.
2017-03-01[SSH-7408] Corrected variable and allow a few more retries to prevent issues ↵Michael Boelen
with public key authentication
2017-02-15[SSH-7408] allow filtering for multiple options and new SSH value for ↵Michael Boelen
PermitRootLogin
2017-02-09Changed date and preparing for release2.4.1Michael Boelen
2016-09-08Style improvements and command replacementsMichael Boelen
2016-08-25Use detected binariesMichael Boelen
2016-07-24Rename of categories, introduction of groupsMichael Boelen
2016-07-11added test for AllowAgentForwarding being turned off (#222)Lukas Pirl
for reasons, see links below: https://wiki.mozilla.org/Security/Guidelines/OpenSSH#SSH_agent_forwarding https://heipei.github.io/2015/02/26/SSH-Agent-Forwarding-considered-harmful/
2016-06-18Replaced text strings to allow translationsMichael Boelen
2016-06-11[SSH-7408] Show SSH items as a suggestion on screen, like in the reportMichael Boelen
2016-05-19UseDNS = No is a safer configuration (#204)Eric Light
See Issue #197. References: - https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/424371/comments/11 - https://unix.stackexchange.com/questions/56941/what-is-the-point-of-sshd-usedns-option - https://security.googleblog.com/2016/02/cve-2015-7547-glibc-getaddrinfo-stack.html
2016-05-02Retrieve SSH settings from active configuration and store earlier, test with ↵mboelen
lowercase settings for other tests
2016-04-28Replaced old function names with new onesmboelen
2016-04-20Show skipped items when running in verbose modemboelen
2016-04-20Display skipped atomic tests (#169)Eric Light
Added section to log & display skipped atomic tests.
2016-04-19[SSH-7408] Allow skipping some of the SSH testsmboelen
2016-04-19Use SSH configuration from sshd instead of configuration file, add more ↵mboelen
details to report
2016-04-19Added details and changed suggestion textmboelen
2016-03-30Match sshd process running and/or port 22 listeningmboelen