LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 12-10-2014, 12:33 AM   #1
NM04
Member
 
Registered: Jan 2011
Distribution: Back Track,Fedora,centos
Posts: 240

Rep: Reputation: 14
network vulnerability scanner


hi all,
I have installed openvas through yum on centos7 and I am working behind a proxy, I can access greeenbone security asst. from web browser-can log in. Now I want to scan my network for vulnerabilities, can anyone provide me a brief guidance on this ?
One of my scan displayed following error message

--Erroneous source interface: xx.xx.xx.xx
--Interface not authorized for scanning

any help is much appreciated.

regards,
nm
 
Old 12-11-2014, 12:08 PM   #2
/dev/random
Member
 
Registered: Aug 2012
Location: Ontario, Canada
Distribution: Slackware 14.2, LFS-current, NetBSD 6.1.3, OpenIndiana
Posts: 319

Rep: Reputation: 112Reputation: 112
Quote:
Originally Posted by NM04 View Post
hi all,
I have installed openvas through yum on centos7 and I am working behind a proxy, I can access greeenbone security asst. from web browser-can log in. Now I want to scan my network for vulnerabilities, can anyone provide me a brief guidance on this ?
One of my scan displayed following error message

--Erroneous source interface: xx.xx.xx.xx
--Interface not authorized for scanning

any help is much appreciated.

regards,
nm
Have you checked the SELINUX permissions? setenforce 1 to set into permissive mode, see if the scanner runs, if it does check selinuxs logs to see what has to change then setenforce 2 to turn it back on.
 
Old 12-11-2014, 11:41 PM   #3
NM04
Member
 
Registered: Jan 2011
Distribution: Back Track,Fedora,centos
Posts: 240

Original Poster
Rep: Reputation: 14
Changing the selinux permission didn't help. Below is the log from openvassd.log file. in each of the test the host was up and running. I can't understand why is it throwing error most of the time.

Code:
Starts a new scan. Target(s) : 10.200.40.115, with max_hosts = 30 and max_checks = 10
[Wed Dec 10 04:16:06 2014][3294] Testing xx.xx.xx.xx (::ffff:xx.xx.xx.xx) [3309]
[Wed Dec 10 04:16:09 2014][3309] The remote host (xx.xx.xx.xx) is dead
[Wed Dec 10 04:16:09 2014][3309] Finished testing xx.xx.xx.xx. Time : 3.67 secs
[Wed Dec 10 04:16:10 2014][3294] Test complete
[Wed Dec 10 04:16:10 2014][3294] Total time to scan all hosts : 14 seconds
[Wed Dec 10 04:16:10 2014][3294] Kept alive connection
[Wed Dec 10 04:16:11 2014][3294] Communication closed by client
[Wed Dec 10 04:16:11 2014][3294] Client not present
[Wed Dec 10 04:16:26 2014][3515] Communication closed by client
[Wed Dec 10 04:16:26 2014][3515] Client not present
[Wed Dec 10 04:16:57 2014][3518] Communication closed by client
Code:
Starts a new scan. Target(s) : xx.xx.xx.xx, with max_hosts = 30 and max_checks = 10
[Wed Dec 10 06:40:07 2014][10258] exclude_hosts: Skipped 0 host(s).
[Wed Dec 10 06:40:08 2014][10258] reverse_lookup_unify: Skipped 0 host(s).
[Wed Dec 10 06:40:08 2014][10258] reverse_lookup_only: Skipped 1 host(s).
[Wed Dec 10 06:40:08 2014][10258] source_iface: Error with xx.xx.xx.xx interface.
[Wed Dec 10 06:40:08 2014][10258] Kept alive connection
[Wed Dec 10 06:40:09 2014][10258] Communication closed by client
[Wed Dec 10 06:40:09 2014][10258] Client not present
[Wed Dec 10 06:40:24 2014][10284] Communication closed by client
Code:
Starts a new scan. Target(s) : xx.xx.xx.xx, with max_hosts = 30 and max_checks = 10
[Wed Dec 10 06:50:01 2014][10463] source_iface: Error with xx.xx.xx.xx interface.
[Wed Dec 10 06:50:01 2014][10463] Kept alive connection
[Wed Dec 10 06:50:02 2014][10463] Communication closed by client
[Wed Dec 10 06:50:02 2014][10463] Client not present
[Wed Dec 10 06:50:18 2014][10485] Communication closed by client
[Wed Dec 10 06:50:18 2014][10485] Client not present
Code:
The remote host (xx.xx.xx.xx) is dead
[Wed Dec 10 07:06:08 2014][11874] Finished testing xx.xx.xx.xx. Time : 2.33 secs
[Wed Dec 10 07:06:08 2014][11862] Test complete
[Wed Dec 10 07:06:08 2014][11862] Total time to scan all hosts : 14 seconds
[Wed Dec 10 07:06:08 2014][11862] Kept alive connection
[Wed Dec 10 07:06:10 2014][11862] Communication closed by client
[Wed Dec 10 07:06:10 2014][11862] Client not present
[Wed Dec 10 07:06:21 2014][12086] Communication closed by client
Any help, advise is much appreciated.

regards,
nm
 
Old 12-13-2014, 06:18 AM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by NM04 View Post
Code:
--Erroneous source interface: xx.xx.xx.xx
--Interface not authorized for scanning
OpenVAS is a set of applications using the server - client paradigm.
Meaning that after installing OpenVAS you need to configure the rights a user has for scanning stuff.
Looks to me like you've misconfigured things.
 
Old 12-15-2014, 01:23 AM   #5
NM04
Member
 
Registered: Jan 2011
Distribution: Back Track,Fedora,centos
Posts: 240

Original Poster
Rep: Reputation: 14
hi,
I opened firefox as user root, and on it started greenbone security assitant, but same result, any other idea!

regards,
nm
 
Old 12-15-2014, 10:04 AM   #6
/dev/random
Member
 
Registered: Aug 2012
Location: Ontario, Canada
Distribution: Slackware 14.2, LFS-current, NetBSD 6.1.3, OpenIndiana
Posts: 319

Rep: Reputation: 112Reputation: 112
Quote:
Originally Posted by NM04 View Post
hi,
I opened firefox as user root, and on it started greenbone security assitant, but same result, any other idea!

regards,
nm
Doesn't matter if your running your browser in ring0, what unSpawn is taking about is the openvas administration and openvas service.
after install did you set it up?

Also you mention a proxy, is /etc/skel setup to export the proxy settings? because if the account instance your running openVAS under doesn't know about the proxy how will it be able to get through it?
 
Old 12-15-2014, 11:02 PM   #7
NM04
Member
 
Registered: Jan 2011
Distribution: Back Track,Fedora,centos
Posts: 240

Original Poster
Rep: Reputation: 14
hi /dev/random/,
Sir, when I installed openvas I did created "only" user "admin" for openvas and I log in to openvas through it only. Second thing, my /etc/skel directory is empty.

regards,
nm
 
Old 12-16-2014, 09:57 AM   #8
/dev/random
Member
 
Registered: Aug 2012
Location: Ontario, Canada
Distribution: Slackware 14.2, LFS-current, NetBSD 6.1.3, OpenIndiana
Posts: 319

Rep: Reputation: 112Reputation: 112
Quote:
Originally Posted by NM04 View Post
hi /dev/random/,
Sir, when I installed openvas I did created "only" user "admin" for openvas and I log in to openvas through it only. Second thing, my /etc/skel directory is empty.

regards,
nm
Do an ls-la in /etc/skel
there should be a .bashrc

you want to set your http_proxy setting here so when a server that starts needs proxy access it knows where the proxy is.
 
Old 12-18-2014, 02:15 AM   #9
NM04
Member
 
Registered: Jan 2011
Distribution: Back Track,Fedora,centos
Posts: 240

Original Poster
Rep: Reputation: 14
modified .bashrc file entered proxy details like this -> (http_proxy=http://username: passwd@domain.com:4343), no change still the same error.

regards,
nm
 
Old 12-18-2014, 09:09 AM   #10
/dev/random
Member
 
Registered: Aug 2012
Location: Ontario, Canada
Distribution: Slackware 14.2, LFS-current, NetBSD 6.1.3, OpenIndiana
Posts: 319

Rep: Reputation: 112Reputation: 112
Show us the output of ps aux

Last edited by /dev/random; 12-18-2014 at 11:09 AM. Reason: spelling
 
Old 12-18-2014, 10:47 PM   #11
NM04
Member
 
Registered: Jan 2011
Distribution: Back Track,Fedora,centos
Posts: 240

Original Poster
Rep: Reputation: 14
o/p ps aux
Code:
root@localhost /]# ps aux
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root         1  0.0  0.2  53052  2380 ?        Ss   23:01   0:01 /usr/lib/systemd/systemd --swit
root         2  0.0  0.0      0     0 ?        S    23:01   0:00 [kthreadd]
root         3  0.0  0.0      0     0 ?        S    23:01   0:00 [ksoftirqd/0]
root         5  0.0  0.0      0     0 ?        S<   23:01   0:00 [kworker/0:0H]
root         7  0.0  0.0      0     0 ?        S    23:01   0:00 [migration/0]
root         8  0.0  0.0      0     0 ?        S    23:01   0:00 [rcu_bh]
root         9  0.0  0.0      0     0 ?        S    23:01   0:00 [rcuob/0]
root        10  0.0  0.0      0     0 ?        S    23:01   0:00 [rcuob/1]
root        11  0.0  0.0      0     0 ?        S    23:01   0:00 [rcuob/2]
root        12  0.0  0.0      0     0 ?        S    23:01   0:00 [rcuob/3]
root        13  0.0  0.0      0     0 ?        S    23:01   0:00 [rcuob/4]
root        14  0.0  0.0      0     0 ?        S    23:01   0:00 [rcuob/5]
root        15  0.0  0.0      0     0 ?        S    23:01   0:00 [rcuob/6]
root        16  0.0  0.0      0     0 ?        S    23:01   0:00 [rcuob/7]
root        17  0.0  0.0      0     0 ?        S    23:01   0:00 [rcuob/8]
root        18  0.0  0.0      0     0 ?        S    23:01   0:00 [rcuob/9]
root        19  0.0  0.0      0     0 ?        S    23:01   0:00 [rcuob/10]
root        20  0.0  0.0      0     0 ?        S    23:01   0:00 [rcuob/11]
root        21  0.0  0.0      0     0 ?        S    23:01   0:00 [rcuob/12]
root        22  0.0  0.0      0     0 ?        S    23:01   0:00 [rcuob/13]
root        23  0.0  0.0      0     0 ?        S    23:01   0:00 [rcuob/14]
root        24  0.0  0.0      0     0 ?        S    23:01   0:00 [rcuob/15]
root        25  0.1  0.0      0     0 ?        S    23:01   0:04 [rcu_sched]
root        26  0.1  0.0      0     0 ?        S    23:01   0:02 [rcuos/0]
root        27  0.2  0.0      0     0 ?        S    23:01   0:06 [rcuos/1]
root        28  0.0  0.0      0     0 ?        S    23:01   0:00 [rcuos/2]
root        29  0.0  0.0      0     0 ?        S    23:01   0:00 [rcuos/3]
root        30  0.0  0.0      0     0 ?        S    23:01   0:00 [rcuos/4]
root        31  0.0  0.0      0     0 ?        S    23:01   0:00 [rcuos/5]
root        32  0.0  0.0      0     0 ?        S    23:01   0:00 [rcuos/6]
root        33  0.0  0.0      0     0 ?        S    23:01   0:00 [rcuos/7]
root        34  0.0  0.0      0     0 ?        S    23:01   0:00 [rcuos/8]
root        35  0.0  0.0      0     0 ?        S    23:01   0:00 [rcuos/9]
root        36  0.0  0.0      0     0 ?        S    23:01   0:00 [rcuos/10]
root        37  0.0  0.0      0     0 ?        S    23:01   0:00 [rcuos/11]
root        38  0.0  0.0      0     0 ?        S    23:01   0:00 [rcuos/12]
root        39  0.0  0.0      0     0 ?        S    23:01   0:00 [rcuos/13]
root        40  0.0  0.0      0     0 ?        S    23:01   0:00 [rcuos/14]
root        41  0.0  0.0      0     0 ?        S    23:01   0:00 [rcuos/15]
root        42  0.0  0.0      0     0 ?        S    23:01   0:00 [watchdog/0]
root        43  0.0  0.0      0     0 ?        S    23:01   0:00 [watchdog/1]
root        44  0.0  0.0      0     0 ?        S    23:01   0:00 [migration/1]
root        45  0.0  0.0      0     0 ?        S    23:01   0:00 [ksoftirqd/1]
root        47  0.0  0.0      0     0 ?        S<   23:01   0:00 [kworker/1:0H]
root        48  0.0  0.0      0     0 ?        S<   23:01   0:00 [khelper]
root        49  0.0  0.0      0     0 ?        S    23:01   0:00 [kdevtmpfs]
root        50  0.0  0.0      0     0 ?        S<   23:01   0:00 [netns]
root        51  0.0  0.0      0     0 ?        S<   23:01   0:00 [writeback]
root        52  0.0  0.0      0     0 ?        S<   23:01   0:00 [kintegrityd]
root        53  0.0  0.0      0     0 ?        S<   23:01   0:00 [bioset]
root        54  0.0  0.0      0     0 ?        S<   23:01   0:00 [kblockd]
root        55  0.0  0.0      0     0 ?        S    23:01   0:00 [khubd]
root        56  0.0  0.0      0     0 ?        S<   23:01   0:00 [md]
root        60  0.0  0.0      0     0 ?        S    23:01   0:01 [kswapd0]
root        61  0.0  0.0      0     0 ?        SN   23:01   0:00 [ksmd]
root        62  0.0  0.0      0     0 ?        SN   23:01   0:00 [khugepaged]
root        63  0.0  0.0      0     0 ?        S    23:01   0:00 [fsnotify_mark]
root        64  0.0  0.0      0     0 ?        S<   23:01   0:00 [crypto]
root        73  0.0  0.0      0     0 ?        S<   23:01   0:00 [kthrotld]
root        76  0.0  0.0      0     0 ?        S<   23:01   0:00 [kmpath_rdacd]
root        77  0.0  0.0      0     0 ?        S<   23:01   0:00 [kpsmoused]
root        78  0.3  0.0      0     0 ?        R    23:01   0:10 [kworker/0:2]
root        97  0.0  0.0      0     0 ?        S<   23:01   0:00 [deferwq]
root       118  0.0  0.0      0     0 ?        S    23:01   0:00 [kauditd]
root       300  0.0  0.0      0     0 ?        S<   23:01   0:00 [ata_sff]
root       315  0.0  0.0      0     0 ?        S    23:01   0:00 [scsi_eh_0]
root       317  0.0  0.0      0     0 ?        S<   23:01   0:00 [scsi_tmf_0]
root       319  0.0  0.0      0     0 ?        S    23:01   0:00 [scsi_eh_1]
root       320  0.0  0.0      0     0 ?        S<   23:01   0:00 [scsi_tmf_1]
root       323  0.0  0.0      0     0 ?        S    23:01   0:00 [scsi_eh_2]
root       325  0.0  0.0      0     0 ?        S<   23:01   0:00 [scsi_tmf_2]
root       327  0.0  0.0      0     0 ?        S    23:01   0:00 [scsi_eh_3]
root       329  0.0  0.0      0     0 ?        S<   23:01   0:00 [scsi_tmf_3]
root       332  0.0  0.0      0     0 ?        S    23:01   0:00 [scsi_eh_4]
root       334  0.0  0.0      0     0 ?        S<   23:01   0:00 [scsi_tmf_4]
root       335  0.0  0.0      0     0 ?        S    23:01   0:00 [scsi_eh_5]
root       337  0.0  0.0      0     0 ?        S<   23:01   0:00 [scsi_tmf_5]
root       344  0.0  0.0      0     0 ?        S    23:01   0:00 [kworker/u32:4]
root       345  0.0  0.0      0     0 ?        S    23:01   0:00 [kworker/u32:5]
root       356  0.0  0.0      0     0 ?        S<   23:01   0:00 [ttm_swap]
root       357  0.0  0.0      0     0 ?        S<   23:01   0:00 [kworker/0:1H]
root       416  0.0  0.0      0     0 ?        S<   23:01   0:00 [kdmflush]
root       417  0.0  0.0      0     0 ?        S<   23:01   0:00 [bioset]
root       424  0.0  0.0      0     0 ?        S<   23:01   0:00 [kdmflush]
root       425  0.0  0.0      0     0 ?        S<   23:01   0:00 [bioset]
root       438  0.0  0.0      0     0 ?        S    23:01   0:00 [jbd2/dm-1-8]
root       439  0.0  0.0      0     0 ?        S<   23:01   0:00 [ext4-dio-unwrit]
root       492  0.0  0.0      0     0 ?        S<   23:01   0:00 [kworker/1:1H]
root       525  0.0  0.1  40884  1588 ?        Ss   23:01   0:00 /usr/lib/systemd/systemd-journa
root       543  0.0  0.0      0     0 ?        S<   23:01   0:00 [rpciod]
root       551  0.0  0.0  45464    68 ?        Ss   23:01   0:00 /usr/lib/systemd/systemd-udevd
root       553  0.0  0.0 106828     0 ?        Ss   23:01   0:00 /usr/sbin/lvmetad -f
root       570  0.0  0.0      0     0 ?        S    23:01   0:00 [irq/43-mei_me]
root       619  0.0  0.0      0     0 ?        S<   23:01   0:00 [kvm-irqfd-clean]
root       626  0.0  0.0      0     0 ?        S<   23:01   0:00 [hd-audio1]
root       627  0.0  0.0      0     0 ?        S<   23:01   0:00 [hd-audio0]
root       648  0.0  0.0      0     0 ?        S    23:01   0:00 [jbd2/sda5-8]
root       649  0.0  0.0      0     0 ?        S<   23:01   0:00 [ext4-dio-unwrit]
root       654  0.0  0.0  51160   204 ?        S<sl 23:01   0:00 /sbin/auditd -n
root       668  0.0  0.0  80220   196 ?        S<sl 23:01   0:00 /sbin/audispd
root       670  0.0  0.0  26188   156 ?        S<   23:01   0:00 /usr/sbin/sedispatch
root       681  0.0  0.0  16748    40 ?        SNs  23:01   0:00 /usr/sbin/alsactl -s -n 19 -c -
root       684  0.0  0.3 327208  3668 ?        Ssl  23:01   0:00 /usr/bin/python -Es /usr/sbin/f
root       688  0.0  0.0 549992   692 ?        Ssl  23:01   0:00 /usr/bin/python -Es /usr/sbin/t
libstor+   689  0.0  0.0   4336     0 ?        Ss   23:01   0:00 /usr/bin/lsmd -d
root       690  0.0  0.0 212096     4 ?        Ss   23:01   0:00 /usr/sbin/abrtd -d -s
root       691  0.0  0.0 209648    72 ?        Ss   23:01   0:00 /usr/bin/abrt-watch-log -F Back
root       694  0.0  0.0 209648   216 ?        Ss   23:01   0:00 /usr/bin/abrt-watch-log -F BUG:
avahi      695  0.0  0.0  30028   472 ?        Ss   23:01   0:00 avahi-daemon: running [linux.lo
root       698  0.0  0.0 326404     0 ?        Ssl  23:01   0:00 /usr/sbin/ModemManager
root       705  0.0  0.2 205888  2744 ?        Ssl  23:01   0:00 /usr/sbin/rsyslogd -n
root       706  0.0  0.0  26508     4 ?        Ss   23:01   0:00 /usr/sbin/smartd -n -q never
root       708  0.0  0.0  19112   388 ?        Ss   23:01   0:00 /usr/sbin/irqbalance --foregrou
root       713  0.0  0.0  34732   512 ?        Ss   23:01   0:00 /usr/lib/systemd/systemd-logind
chrony     715  0.0  0.0  24724   452 ?        S    23:01   0:00 /usr/sbin/chronyd -u chrony
avahi      718  0.0  0.0  30028    68 ?        S    23:01   0:00 avahi-daemon: chroot helper
root       744  0.0  0.0   6484     0 ?        Ss   23:01   0:00 /sbin/iprupdate --daemon
root       745  0.0  0.0   6484     0 ?        Ss   23:01   0:00 /sbin/iprinit --daemon
rtkit      750  0.0  0.0 164620    52 ?        SNsl 23:01   0:00 /usr/libexec/rtkit-daemon
root       751  0.0  0.0 370816   796 ?        Ssl  23:01   0:00 /usr/libexec/accounts-daemon
dbus       752  0.0  0.1  37944  1380 ?        Ssl  23:01   0:00 /bin/dbus-daemon --system --add
root       756  0.0  0.0  25928     4 ?        Ss   23:01   0:00 /usr/sbin/atd -f
root       757  0.0  0.0 126296   364 ?        Ss   23:01   0:00 /usr/sbin/crond -n
root       759  0.0  0.0 299156   452 ?        Ssl  23:01   0:00 /usr/sbin/gdm
root       766  0.0  0.0  39124     8 ?        Ss   23:01   0:00 /sbin/iprdump --daemon
root       778  0.0  0.0 382668    60 ?        Sl   23:01   0:00 /usr/libexec/gdm-simple-slave -
polkitd    780  0.0  0.7 517644  7104 ?        Ssl  23:01   0:00 /usr/lib/polkit-1/polkitd --no-
root       853  0.0  0.1 453640  1480 ?        Ssl  23:01   0:00 /usr/sbin/NetworkManager --no-d
root       910  3.2  3.3 190936 32512 tty1     Ss+  23:01   1:23 /usr/bin/Xorg :0 -background no
root      1331  0.0  0.0  82792    56 ?        Ss   23:01   0:00 /usr/sbin/sshd -D
rpc       2239  0.0  0.0  39900    76 ?        Ss   23:01   0:00 /sbin/rpcbind -w
rpcuser   2250  0.0  0.0  46556    60 ?        Ss   23:01   0:00 /sbin/rpc.statd
root      2335  0.0  0.2 236772  2664 ?        Ssl  23:02   0:00 /usr/libexec/upowerd
colord    2387  0.0  0.0 332864   332 ?        Ssl  23:02   0:00 /usr/libexec/colord
root      2388  0.0  0.0 169404   112 ?        Ssl  23:02   0:00 /usr/sbin/pcscd --foreground --
root      2414  0.0  0.4 670140  4052 ?        Sl   23:02   0:00 /usr/sbin/gsad --listen=0.0.0.0
root      2415  0.0  0.3 254692  3152 ?        SL   23:02   0:00 openvasmd
root      2442  1.0  0.0 181916   684 ?        Ss   23:02   0:27 openvassd: Waiting for incoming
root      2515  0.0  0.0 371588   420 ?        Sl   23:07   0:00 gdm-session-worker [pam/gdm-pas
sysana    2539  0.0  0.0 113120    60 ?        Ss   23:08   0:00 /bin/sh /usr/bin/startkde
sysana    2547  0.0  0.0  13944     0 ?        S    23:08   0:00 dbus-launch --sh-syntax --exit-
sysana    2548  0.0  0.0  38144   952 ?        Ssl  23:08   0:00 /bin/dbus-daemon --fork --print
sysana    2615  0.0  0.0 394756    20 ?        Sl   23:08   0:00 /usr/libexec/imsettings-daemon
sysana    2618  0.0  0.0 304276   320 ?        Sl   23:08   0:00 /usr/libexec/gvfsd
sysana    2660  0.0  0.0  53156   104 ?        Ss   23:08   0:00 /usr/bin/ssh-agent /bin/sh -c e
sysana    2722  0.0  0.0   4164     4 ?        S    23:08   0:00 /usr/libexec/kde4/start_kdeinit
sysana    2723  0.0  0.1 436916  1672 ?        Ss   23:08   0:00 kdeinit4: kdeinit4 Running...
sysana    2724  0.0  0.2 440276  2176 ?        S    23:08   0:00 kdeinit4: klauncher [kdeinit] -
sysana    2726  0.0  0.7 1339996 6824 ?        Sl   23:08   0:00 kdeinit4: kded4 [kdeinit]
sysana    2728  0.0  0.0  11896   192 ?        S    23:08   0:00 /usr/libexec/gam_server
sysana    2733  0.0  0.1 526424  1576 ?        S    23:08   0:00 kdeinit4: kglobalaccel [kdeinit
sysana    2740  0.0  0.1 538944  1848 ?        S    23:08   0:00 kdeinit4: kwalletd [kdeinit]
sysana    2746  0.0  0.1 834972  1000 ?        Sl   23:08   0:00 /usr/bin/kactivitymanagerd
sysana    2747  0.0  0.0   4300     0 ?        S    23:08   0:00 kwrapper4 ksmserver
sysana    2748  0.0  0.4 606960  4784 ?        Sl   23:08   0:00 kdeinit4: ksmserver [kdeinit]
root      2754  0.0  0.3 362388  3216 ?        Ssl  23:08   0:00 /usr/lib/udisks2/udisksd --no-d
sysana    2774  0.0  0.7 634224  7344 ?        D    23:08   0:01 kwin -session 1028c1d320b210000
sysana    2782  0.0  0.3 1184104 3016 ?        Sl   23:08   0:00 /usr/bin/knotify4
sysana    2785  0.2  3.4 1179568 33836 ?       Sl   23:08   0:06 kdeinit4: plasma-desktop [kdein
sysana    2791  0.0  0.0  12004    44 ?        S    23:08   0:00 ksysguardd
sysana    2796  0.0  0.0 420276   524 ?        S    23:08   0:00 /usr/bin/kuiserver
root      2798  0.0  0.0 177876   740 ?        Ss   23:08   0:00 /usr/sbin/cupsd -f
sysana    2802  0.0  0.0 253968   832 ?        Sl   23:08   0:00 /usr/bin/akonadi_control
sysana    2804  0.0  0.0 1187004  556 ?        Sl   23:08   0:00 akonadiserver
sysana    2806  0.0  0.5 1490172 5640 ?        Sl   23:08   0:01 /usr/libexec/mysqld --defaults-
sysana    2837  0.0  0.4 789540  4012 ?        Sl   23:08   0:00 kdeinit4: krunner [kdeinit]
sysana    2839  0.0  0.2 774264  2664 ?        Sl   23:08   0:00 kdeinit4: kmix [kdeinit] -sessi
sysana    2857  0.0  0.0 419196   932 ?        Sl   23:08   0:00 /usr/bin/abrt-applet
sysana    2862  0.0  0.1 566856  1040 ?        S<l  23:08   0:00 /usr/bin/pulseaudio --start
sysana    2867  0.0  0.0 339780   316 ?        Sl   23:08   0:00 /usr/libexec/at-spi-bus-launche
sysana    2875  0.0  0.0  36704    60 ?        Sl   23:08   0:00 /bin/dbus-daemon --config-file=
sysana    2880  0.0  0.0 129492   368 ?        Sl   23:08   0:00 /usr/libexec/at-spi2-registryd 
sysana    2953  0.0  0.0 354088   524 ?        Sl   23:08   0:00 /usr/bin/seapplet
sysana    2954  0.0  0.0 512244   948 ?        Sl   23:08   0:00 /usr/libexec/kde4/polkit-kde-au
sysana    2965  0.0  0.0 144712     0 ?        Sl   23:08   0:00 ./escd --key_Inserted="/usr/bin
sysana    2968  0.0  0.0 270324     0 ?        Sl   23:08   0:00 /usr/bin/xsettings-kde
sysana    2982  0.0  0.0 180500    16 ?        Sl   23:08   0:00 /usr/libexec/dconf-service
sysana    2983  0.0  0.0 443176   956 ?        Sl   23:08   0:00 /usr/bin/akonadi_agent_launcher
sysana    2984  0.0  0.1 436720   996 ?        Sl   23:08   0:00 /usr/bin/akonadi_agent_launcher
sysana    2985  0.0  0.1 439324  1156 ?        Sl   23:08   0:00 /usr/bin/akonadi_agent_launcher
sysana    2986  0.0  0.1 443144   984 ?        Sl   23:08   0:00 /usr/bin/akonadi_agent_launcher
sysana    2987  0.0  0.1 481348  1420 ?        S    23:08   0:00 /usr/bin/akonadi_maildispatcher
root      2988  0.0  0.0  30188   172 ?        Ss   23:08   0:00 /usr/sbin/bluetoothd -n
sysana    2994  0.0  0.1 436876  1396 ?        S    23:08   0:00 /usr/bin/akonadi_nepomuk_feeder
sysana    2998  0.0  0.2 526116  2820 ?        S    23:08   0:00 kdeinit4: klipper [kdeinit]
sysana    3120  0.0  0.0 149628   500 ?        S    23:08   0:00 /usr/libexec/gconfd-2
sysana    3142  0.4  1.7 640772 17348 ?        Rl   23:09   0:09 kdeinit4: konsole [kdeinit] --w
sysana    3144  0.0  0.0 116524    36 pts/1    Ss   23:09   0:00 /bin/bash
root      3180  0.0  0.0 202780    68 pts/1    S    23:09   0:00 su
root      3187  0.0  0.1 116668  1180 pts/1    S    23:09   0:00 bash
sysana    3218  0.0  0.0 116524    60 pts/2    Ss   23:09   0:00 /bin/bash
root      3254  0.0  0.0 202788    68 pts/2    S    23:09   0:00 su
root      3260  0.0  0.1 116536  1172 pts/2    S    23:09   0:00 bash
sysana    3292  0.0  0.0 116524    60 pts/3    Ss   23:09   0:00 /bin/bash
root      3328  0.0  0.0 202780    68 pts/3    S    23:09   0:00 su
root      3335  0.0  0.1 116668  1164 pts/3    S    23:09   0:00 bash
sysana    3366  0.0  0.0 116524    60 pts/4    Ss   23:09   0:00 /bin/bash
root      3402  0.0  0.0 202780    68 pts/4    S    23:09   0:00 su
root      3409  0.0  0.0 116668   324 pts/4    S    23:09   0:00 bash
root      3527  0.0  0.0 107928   256 pts/4    S+   23:16   0:00 tail -f alert
redis     3562  0.1  0.1 142668  1440 ?        Ssl  23:17   0:02 /usr/bin/redis-server 127.0.0.1
root      3593  1.7  2.9 890192 28832 pts/3    Sl+  23:18   0:27 ./ntopng --dont-change-user -m 
sysana    3769 10.3 14.7 1594572 143856 ?      Sl   23:22   2:15 /usr/lib64/firefox/firefox
root      3841  0.5  0.0      0     0 ?        S    23:23   0:06 [kworker/1:2]
root      3895  0.0  0.0      0     0 ?        S    23:30   0:00 [kworker/0:1]
root      3910  0.0  0.0      0     0 ?        S    23:34   0:00 [kworker/1:1]
root      3922  2.3 26.8 621224 261568 pts/1   Sl+  23:37   0:11 ./snort -d -h x.x.x.x/16 -i 
root      3968  0.0  0.0      0     0 ?        S    23:39   0:00 [kworker/1:0]
root      3974  0.0  0.0      0     0 ?        S    23:40   0:00 [kworker/0:0]
root      3975  0.0  0.0      0     0 ?        S    23:40   0:00 [kworker/0:3]
root      4011  8.4  4.7 190208 45804 ?        Ds   23:44   0:02 openvassd: Serving 127.0.0.1
root      4012  4.5  0.9 259552  9428 ?        S    23:44   0:01 openvasmd
root      4019  1.0  0.1 123356  1388 pts/2    R+   23:44   0:00 ps aux
 
Old 12-19-2014, 12:47 AM   #12
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by NM04
I opened firefox as user root (..) when I installed openvas I did created "only" user "admin" for openvas and I log in to openvas through it only.
Simply don't. No shortcuts: use OpenVAS as it's intended. As shown in the documentation.


Quote:
Originally Posted by NM04 View Post
Second thing, my /etc/skel directory is empty.
That is of no concern to OpenVAS as far as I'm aware and it is not a Linux Security question.
That problem should be handled in a separate thread.
 
1 members found this post helpful.
Old 12-19-2014, 02:49 AM   #13
NM04
Member
 
Registered: Jan 2011
Distribution: Back Track,Fedora,centos
Posts: 240

Original Poster
Rep: Reputation: 14
Quote:
Originally Posted by unSpawn View Post
Simply don't. No shortcuts: use OpenVAS as it's intended. As shown in the documentation.
That is of no concern to OpenVAS as far as I'm aware and it is not a Linux Security question.
That problem should be handled in a separate thread.
Dear Sir,
I am using openvas as it is intended (n/w vulnerability scanner), but in the scan it is showing error(post #1), this thread is about that error. I was asked to post the o/p of /etc/skel, /dev/random/ asked that info to diagnose the exact problem with openvas.

regards,nm
 
Old 12-19-2014, 09:21 AM   #14
/dev/random
Member
 
Registered: Aug 2012
Location: Ontario, Canada
Distribution: Slackware 14.2, LFS-current, NetBSD 6.1.3, OpenIndiana
Posts: 319

Rep: Reputation: 112Reputation: 112
Quote:
Originally Posted by NM04 View Post
o/p ps aux
Code:
root@localhost /]# ps aux
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root         1  0.0  0.2  53052  2380 ?        Ss   23:01   0:01 /usr/lib/systemd/systemd --swit
root         2  0.0  0.0      0     0 ?        S    23:01   0:00 [kthreadd]
root         3  0.0  0.0      0     0 ?        S    23:01   0:00 [ksoftirqd/0]
root         5  0.0  0.0      0     0 ?        S<   23:01   0:00 [kworker/0:0H]
root         7  0.0  0.0      0     0 ?        S    23:01   0:00 [migration/0]
root         8  0.0  0.0      0     0 ?        S    23:01   0:00 [rcu_bh]
root         9  0.0  0.0      0     0 ?        S    23:01   0:00 [rcuob/0]
root        10  0.0  0.0      0     0 ?        S    23:01   0:00 [rcuob/1]
root        11  0.0  0.0      0     0 ?        S    23:01   0:00 [rcuob/2]
root        12  0.0  0.0      0     0 ?        S    23:01   0:00 [rcuob/3]
root        13  0.0  0.0      0     0 ?        S    23:01   0:00 [rcuob/4]
root        14  0.0  0.0      0     0 ?        S    23:01   0:00 [rcuob/5]
root        15  0.0  0.0      0     0 ?        S    23:01   0:00 [rcuob/6]
root        16  0.0  0.0      0     0 ?        S    23:01   0:00 [rcuob/7]
root        17  0.0  0.0      0     0 ?        S    23:01   0:00 [rcuob/8]
root        18  0.0  0.0      0     0 ?        S    23:01   0:00 [rcuob/9]
root        19  0.0  0.0      0     0 ?        S    23:01   0:00 [rcuob/10]
root        20  0.0  0.0      0     0 ?        S    23:01   0:00 [rcuob/11]
root        21  0.0  0.0      0     0 ?        S    23:01   0:00 [rcuob/12]
root        22  0.0  0.0      0     0 ?        S    23:01   0:00 [rcuob/13]
root        23  0.0  0.0      0     0 ?        S    23:01   0:00 [rcuob/14]
root        24  0.0  0.0      0     0 ?        S    23:01   0:00 [rcuob/15]
root        25  0.1  0.0      0     0 ?        S    23:01   0:04 [rcu_sched]
root        26  0.1  0.0      0     0 ?        S    23:01   0:02 [rcuos/0]
root        27  0.2  0.0      0     0 ?        S    23:01   0:06 [rcuos/1]
root        28  0.0  0.0      0     0 ?        S    23:01   0:00 [rcuos/2]
root        29  0.0  0.0      0     0 ?        S    23:01   0:00 [rcuos/3]
root        30  0.0  0.0      0     0 ?        S    23:01   0:00 [rcuos/4]
root        31  0.0  0.0      0     0 ?        S    23:01   0:00 [rcuos/5]
root        32  0.0  0.0      0     0 ?        S    23:01   0:00 [rcuos/6]
root        33  0.0  0.0      0     0 ?        S    23:01   0:00 [rcuos/7]
root        34  0.0  0.0      0     0 ?        S    23:01   0:00 [rcuos/8]
root        35  0.0  0.0      0     0 ?        S    23:01   0:00 [rcuos/9]
root        36  0.0  0.0      0     0 ?        S    23:01   0:00 [rcuos/10]
root        37  0.0  0.0      0     0 ?        S    23:01   0:00 [rcuos/11]
root        38  0.0  0.0      0     0 ?        S    23:01   0:00 [rcuos/12]
root        39  0.0  0.0      0     0 ?        S    23:01   0:00 [rcuos/13]
root        40  0.0  0.0      0     0 ?        S    23:01   0:00 [rcuos/14]
root        41  0.0  0.0      0     0 ?        S    23:01   0:00 [rcuos/15]
root        42  0.0  0.0      0     0 ?        S    23:01   0:00 [watchdog/0]
root        43  0.0  0.0      0     0 ?        S    23:01   0:00 [watchdog/1]
root        44  0.0  0.0      0     0 ?        S    23:01   0:00 [migration/1]
root        45  0.0  0.0      0     0 ?        S    23:01   0:00 [ksoftirqd/1]
root        47  0.0  0.0      0     0 ?        S<   23:01   0:00 [kworker/1:0H]
root        48  0.0  0.0      0     0 ?        S<   23:01   0:00 [khelper]
root        49  0.0  0.0      0     0 ?        S    23:01   0:00 [kdevtmpfs]
root        50  0.0  0.0      0     0 ?        S<   23:01   0:00 [netns]
root        51  0.0  0.0      0     0 ?        S<   23:01   0:00 [writeback]
root        52  0.0  0.0      0     0 ?        S<   23:01   0:00 [kintegrityd]
root        53  0.0  0.0      0     0 ?        S<   23:01   0:00 [bioset]
root        54  0.0  0.0      0     0 ?        S<   23:01   0:00 [kblockd]
root        55  0.0  0.0      0     0 ?        S    23:01   0:00 [khubd]
root        56  0.0  0.0      0     0 ?        S<   23:01   0:00 [md]
root        60  0.0  0.0      0     0 ?        S    23:01   0:01 [kswapd0]
root        61  0.0  0.0      0     0 ?        SN   23:01   0:00 [ksmd]
root        62  0.0  0.0      0     0 ?        SN   23:01   0:00 [khugepaged]
root        63  0.0  0.0      0     0 ?        S    23:01   0:00 [fsnotify_mark]
root        64  0.0  0.0      0     0 ?        S<   23:01   0:00 [crypto]
root        73  0.0  0.0      0     0 ?        S<   23:01   0:00 [kthrotld]
root        76  0.0  0.0      0     0 ?        S<   23:01   0:00 [kmpath_rdacd]
root        77  0.0  0.0      0     0 ?        S<   23:01   0:00 [kpsmoused]
root        78  0.3  0.0      0     0 ?        R    23:01   0:10 [kworker/0:2]
root        97  0.0  0.0      0     0 ?        S<   23:01   0:00 [deferwq]
root       118  0.0  0.0      0     0 ?        S    23:01   0:00 [kauditd]
root       300  0.0  0.0      0     0 ?        S<   23:01   0:00 [ata_sff]
root       315  0.0  0.0      0     0 ?        S    23:01   0:00 [scsi_eh_0]
root       317  0.0  0.0      0     0 ?        S<   23:01   0:00 [scsi_tmf_0]
root       319  0.0  0.0      0     0 ?        S    23:01   0:00 [scsi_eh_1]
root       320  0.0  0.0      0     0 ?        S<   23:01   0:00 [scsi_tmf_1]
root       323  0.0  0.0      0     0 ?        S    23:01   0:00 [scsi_eh_2]
root       325  0.0  0.0      0     0 ?        S<   23:01   0:00 [scsi_tmf_2]
root       327  0.0  0.0      0     0 ?        S    23:01   0:00 [scsi_eh_3]
root       329  0.0  0.0      0     0 ?        S<   23:01   0:00 [scsi_tmf_3]
root       332  0.0  0.0      0     0 ?        S    23:01   0:00 [scsi_eh_4]
root       334  0.0  0.0      0     0 ?        S<   23:01   0:00 [scsi_tmf_4]
root       335  0.0  0.0      0     0 ?        S    23:01   0:00 [scsi_eh_5]
root       337  0.0  0.0      0     0 ?        S<   23:01   0:00 [scsi_tmf_5]
root       344  0.0  0.0      0     0 ?        S    23:01   0:00 [kworker/u32:4]
root       345  0.0  0.0      0     0 ?        S    23:01   0:00 [kworker/u32:5]
root       356  0.0  0.0      0     0 ?        S<   23:01   0:00 [ttm_swap]
root       357  0.0  0.0      0     0 ?        S<   23:01   0:00 [kworker/0:1H]
root       416  0.0  0.0      0     0 ?        S<   23:01   0:00 [kdmflush]
root       417  0.0  0.0      0     0 ?        S<   23:01   0:00 [bioset]
root       424  0.0  0.0      0     0 ?        S<   23:01   0:00 [kdmflush]
root       425  0.0  0.0      0     0 ?        S<   23:01   0:00 [bioset]
root       438  0.0  0.0      0     0 ?        S    23:01   0:00 [jbd2/dm-1-8]
root       439  0.0  0.0      0     0 ?        S<   23:01   0:00 [ext4-dio-unwrit]
root       492  0.0  0.0      0     0 ?        S<   23:01   0:00 [kworker/1:1H]
root       525  0.0  0.1  40884  1588 ?        Ss   23:01   0:00 /usr/lib/systemd/systemd-journa
root       543  0.0  0.0      0     0 ?        S<   23:01   0:00 [rpciod]
root       551  0.0  0.0  45464    68 ?        Ss   23:01   0:00 /usr/lib/systemd/systemd-udevd
root       553  0.0  0.0 106828     0 ?        Ss   23:01   0:00 /usr/sbin/lvmetad -f
root       570  0.0  0.0      0     0 ?        S    23:01   0:00 [irq/43-mei_me]
root       619  0.0  0.0      0     0 ?        S<   23:01   0:00 [kvm-irqfd-clean]
root       626  0.0  0.0      0     0 ?        S<   23:01   0:00 [hd-audio1]
root       627  0.0  0.0      0     0 ?        S<   23:01   0:00 [hd-audio0]
root       648  0.0  0.0      0     0 ?        S    23:01   0:00 [jbd2/sda5-8]
root       649  0.0  0.0      0     0 ?        S<   23:01   0:00 [ext4-dio-unwrit]
root       654  0.0  0.0  51160   204 ?        S<sl 23:01   0:00 /sbin/auditd -n
root       668  0.0  0.0  80220   196 ?        S<sl 23:01   0:00 /sbin/audispd
root       670  0.0  0.0  26188   156 ?        S<   23:01   0:00 /usr/sbin/sedispatch
root       681  0.0  0.0  16748    40 ?        SNs  23:01   0:00 /usr/sbin/alsactl -s -n 19 -c -
root       684  0.0  0.3 327208  3668 ?        Ssl  23:01   0:00 /usr/bin/python -Es /usr/sbin/f
root       688  0.0  0.0 549992   692 ?        Ssl  23:01   0:00 /usr/bin/python -Es /usr/sbin/t
libstor+   689  0.0  0.0   4336     0 ?        Ss   23:01   0:00 /usr/bin/lsmd -d
root       690  0.0  0.0 212096     4 ?        Ss   23:01   0:00 /usr/sbin/abrtd -d -s
root       691  0.0  0.0 209648    72 ?        Ss   23:01   0:00 /usr/bin/abrt-watch-log -F Back
root       694  0.0  0.0 209648   216 ?        Ss   23:01   0:00 /usr/bin/abrt-watch-log -F BUG:
avahi      695  0.0  0.0  30028   472 ?        Ss   23:01   0:00 avahi-daemon: running [linux.lo
root       698  0.0  0.0 326404     0 ?        Ssl  23:01   0:00 /usr/sbin/ModemManager
root       705  0.0  0.2 205888  2744 ?        Ssl  23:01   0:00 /usr/sbin/rsyslogd -n
root       706  0.0  0.0  26508     4 ?        Ss   23:01   0:00 /usr/sbin/smartd -n -q never
root       708  0.0  0.0  19112   388 ?        Ss   23:01   0:00 /usr/sbin/irqbalance --foregrou
root       713  0.0  0.0  34732   512 ?        Ss   23:01   0:00 /usr/lib/systemd/systemd-logind
chrony     715  0.0  0.0  24724   452 ?        S    23:01   0:00 /usr/sbin/chronyd -u chrony
avahi      718  0.0  0.0  30028    68 ?        S    23:01   0:00 avahi-daemon: chroot helper
root       744  0.0  0.0   6484     0 ?        Ss   23:01   0:00 /sbin/iprupdate --daemon
root       745  0.0  0.0   6484     0 ?        Ss   23:01   0:00 /sbin/iprinit --daemon
rtkit      750  0.0  0.0 164620    52 ?        SNsl 23:01   0:00 /usr/libexec/rtkit-daemon
root       751  0.0  0.0 370816   796 ?        Ssl  23:01   0:00 /usr/libexec/accounts-daemon
dbus       752  0.0  0.1  37944  1380 ?        Ssl  23:01   0:00 /bin/dbus-daemon --system --add
root       756  0.0  0.0  25928     4 ?        Ss   23:01   0:00 /usr/sbin/atd -f
root       757  0.0  0.0 126296   364 ?        Ss   23:01   0:00 /usr/sbin/crond -n
root       759  0.0  0.0 299156   452 ?        Ssl  23:01   0:00 /usr/sbin/gdm
root       766  0.0  0.0  39124     8 ?        Ss   23:01   0:00 /sbin/iprdump --daemon
root       778  0.0  0.0 382668    60 ?        Sl   23:01   0:00 /usr/libexec/gdm-simple-slave -
polkitd    780  0.0  0.7 517644  7104 ?        Ssl  23:01   0:00 /usr/lib/polkit-1/polkitd --no-
root       853  0.0  0.1 453640  1480 ?        Ssl  23:01   0:00 /usr/sbin/NetworkManager --no-d
root       910  3.2  3.3 190936 32512 tty1     Ss+  23:01   1:23 /usr/bin/Xorg :0 -background no
root      1331  0.0  0.0  82792    56 ?        Ss   23:01   0:00 /usr/sbin/sshd -D
rpc       2239  0.0  0.0  39900    76 ?        Ss   23:01   0:00 /sbin/rpcbind -w
rpcuser   2250  0.0  0.0  46556    60 ?        Ss   23:01   0:00 /sbin/rpc.statd
root      2335  0.0  0.2 236772  2664 ?        Ssl  23:02   0:00 /usr/libexec/upowerd
colord    2387  0.0  0.0 332864   332 ?        Ssl  23:02   0:00 /usr/libexec/colord
root      2388  0.0  0.0 169404   112 ?        Ssl  23:02   0:00 /usr/sbin/pcscd --foreground --
root      2414  0.0  0.4 670140  4052 ?        Sl   23:02   0:00 /usr/sbin/gsad --listen=0.0.0.0
root      2415  0.0  0.3 254692  3152 ?        SL   23:02   0:00 openvasmd
root      2442  1.0  0.0 181916   684 ?        Ss   23:02   0:27 openvassd: Waiting for incoming
root      2515  0.0  0.0 371588   420 ?        Sl   23:07   0:00 gdm-session-worker [pam/gdm-pas
sysana    2539  0.0  0.0 113120    60 ?        Ss   23:08   0:00 /bin/sh /usr/bin/startkde
sysana    2547  0.0  0.0  13944     0 ?        S    23:08   0:00 dbus-launch --sh-syntax --exit-
sysana    2548  0.0  0.0  38144   952 ?        Ssl  23:08   0:00 /bin/dbus-daemon --fork --print
sysana    2615  0.0  0.0 394756    20 ?        Sl   23:08   0:00 /usr/libexec/imsettings-daemon
sysana    2618  0.0  0.0 304276   320 ?        Sl   23:08   0:00 /usr/libexec/gvfsd
sysana    2660  0.0  0.0  53156   104 ?        Ss   23:08   0:00 /usr/bin/ssh-agent /bin/sh -c e
sysana    2722  0.0  0.0   4164     4 ?        S    23:08   0:00 /usr/libexec/kde4/start_kdeinit
sysana    2723  0.0  0.1 436916  1672 ?        Ss   23:08   0:00 kdeinit4: kdeinit4 Running...
sysana    2724  0.0  0.2 440276  2176 ?        S    23:08   0:00 kdeinit4: klauncher [kdeinit] -
sysana    2726  0.0  0.7 1339996 6824 ?        Sl   23:08   0:00 kdeinit4: kded4 [kdeinit]
sysana    2728  0.0  0.0  11896   192 ?        S    23:08   0:00 /usr/libexec/gam_server
sysana    2733  0.0  0.1 526424  1576 ?        S    23:08   0:00 kdeinit4: kglobalaccel [kdeinit
sysana    2740  0.0  0.1 538944  1848 ?        S    23:08   0:00 kdeinit4: kwalletd [kdeinit]
sysana    2746  0.0  0.1 834972  1000 ?        Sl   23:08   0:00 /usr/bin/kactivitymanagerd
sysana    2747  0.0  0.0   4300     0 ?        S    23:08   0:00 kwrapper4 ksmserver
sysana    2748  0.0  0.4 606960  4784 ?        Sl   23:08   0:00 kdeinit4: ksmserver [kdeinit]
root      2754  0.0  0.3 362388  3216 ?        Ssl  23:08   0:00 /usr/lib/udisks2/udisksd --no-d
sysana    2774  0.0  0.7 634224  7344 ?        D    23:08   0:01 kwin -session 1028c1d320b210000
sysana    2782  0.0  0.3 1184104 3016 ?        Sl   23:08   0:00 /usr/bin/knotify4
sysana    2785  0.2  3.4 1179568 33836 ?       Sl   23:08   0:06 kdeinit4: plasma-desktop [kdein
sysana    2791  0.0  0.0  12004    44 ?        S    23:08   0:00 ksysguardd
sysana    2796  0.0  0.0 420276   524 ?        S    23:08   0:00 /usr/bin/kuiserver
root      2798  0.0  0.0 177876   740 ?        Ss   23:08   0:00 /usr/sbin/cupsd -f
sysana    2802  0.0  0.0 253968   832 ?        Sl   23:08   0:00 /usr/bin/akonadi_control
sysana    2804  0.0  0.0 1187004  556 ?        Sl   23:08   0:00 akonadiserver
sysana    2806  0.0  0.5 1490172 5640 ?        Sl   23:08   0:01 /usr/libexec/mysqld --defaults-
sysana    2837  0.0  0.4 789540  4012 ?        Sl   23:08   0:00 kdeinit4: krunner [kdeinit]
sysana    2839  0.0  0.2 774264  2664 ?        Sl   23:08   0:00 kdeinit4: kmix [kdeinit] -sessi
sysana    2857  0.0  0.0 419196   932 ?        Sl   23:08   0:00 /usr/bin/abrt-applet
sysana    2862  0.0  0.1 566856  1040 ?        S<l  23:08   0:00 /usr/bin/pulseaudio --start
sysana    2867  0.0  0.0 339780   316 ?        Sl   23:08   0:00 /usr/libexec/at-spi-bus-launche
sysana    2875  0.0  0.0  36704    60 ?        Sl   23:08   0:00 /bin/dbus-daemon --config-file=
sysana    2880  0.0  0.0 129492   368 ?        Sl   23:08   0:00 /usr/libexec/at-spi2-registryd 
sysana    2953  0.0  0.0 354088   524 ?        Sl   23:08   0:00 /usr/bin/seapplet
sysana    2954  0.0  0.0 512244   948 ?        Sl   23:08   0:00 /usr/libexec/kde4/polkit-kde-au
sysana    2965  0.0  0.0 144712     0 ?        Sl   23:08   0:00 ./escd --key_Inserted="/usr/bin
sysana    2968  0.0  0.0 270324     0 ?        Sl   23:08   0:00 /usr/bin/xsettings-kde
sysana    2982  0.0  0.0 180500    16 ?        Sl   23:08   0:00 /usr/libexec/dconf-service
sysana    2983  0.0  0.0 443176   956 ?        Sl   23:08   0:00 /usr/bin/akonadi_agent_launcher
sysana    2984  0.0  0.1 436720   996 ?        Sl   23:08   0:00 /usr/bin/akonadi_agent_launcher
sysana    2985  0.0  0.1 439324  1156 ?        Sl   23:08   0:00 /usr/bin/akonadi_agent_launcher
sysana    2986  0.0  0.1 443144   984 ?        Sl   23:08   0:00 /usr/bin/akonadi_agent_launcher
sysana    2987  0.0  0.1 481348  1420 ?        S    23:08   0:00 /usr/bin/akonadi_maildispatcher
root      2988  0.0  0.0  30188   172 ?        Ss   23:08   0:00 /usr/sbin/bluetoothd -n
sysana    2994  0.0  0.1 436876  1396 ?        S    23:08   0:00 /usr/bin/akonadi_nepomuk_feeder
sysana    2998  0.0  0.2 526116  2820 ?        S    23:08   0:00 kdeinit4: klipper [kdeinit]
sysana    3120  0.0  0.0 149628   500 ?        S    23:08   0:00 /usr/libexec/gconfd-2
sysana    3142  0.4  1.7 640772 17348 ?        Rl   23:09   0:09 kdeinit4: konsole [kdeinit] --w
sysana    3144  0.0  0.0 116524    36 pts/1    Ss   23:09   0:00 /bin/bash
root      3180  0.0  0.0 202780    68 pts/1    S    23:09   0:00 su
root      3187  0.0  0.1 116668  1180 pts/1    S    23:09   0:00 bash
sysana    3218  0.0  0.0 116524    60 pts/2    Ss   23:09   0:00 /bin/bash
root      3254  0.0  0.0 202788    68 pts/2    S    23:09   0:00 su
root      3260  0.0  0.1 116536  1172 pts/2    S    23:09   0:00 bash
sysana    3292  0.0  0.0 116524    60 pts/3    Ss   23:09   0:00 /bin/bash
root      3328  0.0  0.0 202780    68 pts/3    S    23:09   0:00 su
root      3335  0.0  0.1 116668  1164 pts/3    S    23:09   0:00 bash
sysana    3366  0.0  0.0 116524    60 pts/4    Ss   23:09   0:00 /bin/bash
root      3402  0.0  0.0 202780    68 pts/4    S    23:09   0:00 su
root      3409  0.0  0.0 116668   324 pts/4    S    23:09   0:00 bash
root      3527  0.0  0.0 107928   256 pts/4    S+   23:16   0:00 tail -f alert
redis     3562  0.1  0.1 142668  1440 ?        Ssl  23:17   0:02 /usr/bin/redis-server 127.0.0.1
root      3593  1.7  2.9 890192 28832 pts/3    Sl+  23:18   0:27 ./ntopng --dont-change-user -m 
sysana    3769 10.3 14.7 1594572 143856 ?      Sl   23:22   2:15 /usr/lib64/firefox/firefox
root      3841  0.5  0.0      0     0 ?        S    23:23   0:06 [kworker/1:2]
root      3895  0.0  0.0      0     0 ?        S    23:30   0:00 [kworker/0:1]
root      3910  0.0  0.0      0     0 ?        S    23:34   0:00 [kworker/1:1]
root      3922  2.3 26.8 621224 261568 pts/1   Sl+  23:37   0:11 ./snort -d -h x.x.x.x/16 -i 
root      3968  0.0  0.0      0     0 ?        S    23:39   0:00 [kworker/1:0]
root      3974  0.0  0.0      0     0 ?        S    23:40   0:00 [kworker/0:0]
root      3975  0.0  0.0      0     0 ?        S    23:40   0:00 [kworker/0:3]
root      4011  8.4  4.7 190208 45804 ?        Ds   23:44   0:02 openvassd: Serving 127.0.0.1
root      4012  4.5  0.9 259552  9428 ?        S    23:44   0:01 openvasmd
root      4019  1.0  0.1 123356  1388 pts/2    R+   23:44   0:00 ps aux
Well there's your problem...

Your missing this:
/usr/sbin/gsad --listen=0.0.0.0 --port=9392 --mlisten=127.0.0.1 -

Either one of the scripts is not running, disable SElinux and run the following commands

Code:
service openvas-scanner stop
service openvas-manager stop

service openvas-scanner start
service openvas-manager start

# Generate a cert for it
openvas-mkcert-client -n om -i

# Rebuild the database
openvasmd --rebuild

NM04, unSpawn is correct the web browser doesn't need the run as root, only the service under it does, the UI is client side, the backend does all the heavy lifting.

Last edited by /dev/random; 12-19-2014 at 09:28 AM. Reason: typos and more info.
 
1 members found this post helpful.
Old 12-22-2014, 04:26 AM   #15
NM04
Member
 
Registered: Jan 2011
Distribution: Back Track,Fedora,centos
Posts: 240

Original Poster
Rep: Reputation: 14
Dear Sir,
your suggestion worked, now openvas is scanning one single host( that immediate scan thing)and giving me proper o/p. I am expecting it to scan whole n/w for me and report vulnerabilities if any. Is openvas capable of doing it? If yes how do I do it ? Because whenever I give it n/w address to scan it is throwing me the same error.

Best Regards,
nm
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Need tools name for network security and vulnerability scanner call_krushna Linux - Security 2 01-03-2012 05:38 AM
LXer: OpenVAS - Opensource Vulnerability Assessment Scanner LXer Syndicated Linux News 0 08-24-2008 09:40 PM
LXer: Nessus Vulnerability Scanner in openSUSE LXer Syndicated Linux News 0 08-24-2008 02:10 AM
how to write a vulnerability scanner scanner with Perl? nsfocus Programming 5 05-20-2008 03:23 AM
Vulnerability Scanner? AquamaN Linux - Software 8 07-22-2003 11:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 10:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration