AttributeError: 'NoneType' object has no attribute 'decode' kernel 4.19.0-9-amd64 debian live buster 10.4.0
santosadrian opened this issue · comments
user@debian:~$ defense-matrix --audit
[!] ERROR: This app requires root privilege to run!
user@debian:~$ sudo defense-matrix --audit
[+] INFO: Launching tiger
Tiger UN*X security checking system
Developed by Texas A&M University, 1994
Updated by the Advanced Research Corporation, 1999-2002
Further updated by Javier Fernandez-Sanguino, 2001-2018
Contributions by Francisco Manuel Garcia Claramonte, 2009-2010
Covered by the GNU General Public License (GPL)
Configuring...
Will try to check using config for 'unknown' running Linux 4.19.0-9-amd64...
--CONFIG-- [con005c] Using configuration files for Linux 4.19.0-9-amd64. Using
configuration files for generic Linux 4.
Tiger security scripts *** 3.2.4rc1, 2018.02.10.20.30 ***
11:42> Beginning security report for localhost.
11:42> Starting file systems scans in background...
11:42> Checking password files...
11:42> Checking group files...
11:42> Checking user accounts...
11:42> Checking .rhosts files...
11:42> Checking .netrc files...
11:42> Checking ttytab, securetty, and login configuration files...
11:42> Checking PATH settings...
11:42> Checking anonymous ftp setup...
11:42> Checking mail aliases...
11:42> Checking cron entries...
11:42> Checking 'services' configuration...
11:42> Checking NFS export entries...
11:42> Checking permissions and ownership of system files...
11:42> Checking for indications of break-in...
11:42> Performing rootkit checks...
11:43> Performing system specific checks...
12:17> Performing root directory checks...
12:17> Checking for secure backup devices...
12:17> Checking for the presence of log files...
12:17> Checking for the setting of user's umask...
12:17> Checking for listening processes...
12:17> Checking SSHD's configuration...
12:17> Checking the printers control file...
12:17> Checking ftpusers configuration...
12:17> Checking NTP configuration...
12:17> Waiting for filesystems scans to complete...
12:17> Filesystems scans completed...
12:17> Performing check of embedded pathnames...
12:17> Security report completed for localhost.
Security report is in `/var/log/tiger/security.report.localhost.200616-11:42'.
[!] ERROR: An exception was caught
Traceback (most recent call last):
File "/usr/bin/defense-matrix", line 80, in <module>
audit.run()
File "/usr/share/defense-matrix/bin/security_audit.py", line 27, in run
self._run_tiger()
File "/usr/share/defense-matrix/bin/security_audit.py", line 32, in _run_tiger
Utilities.execute(['tiger'], std_in=sys.stdin, std_out=sys.stdout, std_err=sys.stderr)
File "/usr/share/defense-matrix/bin/utilities.py", line 34, in execute
return process.communicate()[0].decode().split('\n')
AttributeError: 'NoneType' object has no attribute 'decode'
user@debian:~$ uname -r
4.19.0-9-amd64
Not sure why this happening. Development on this project has been stalled since Nov. 2018, and I might not try fixing this issue.
For now, you can launch tiger manually: sudo tiger
.
Okay, no problem. Thank you.