0000430: OpenVAS GreenBone Security Assistant (webUI) - MantisBT: "texlive-latex-extra"
Had problems getting Greenbone Security Assistant OpenVAS in BackLinux v3.13 producing reports in PDF format.
Found a Kali Linux bug indicating that the package texlive-latex-extra had to be installed in order to produce PDF reports.
It's an extra 650MB+ of stuff to install but it did fix the PDF report issue.
'via Blog this'
I'm just a simple techie who sometimes forgets things. I use this as a notepad to remember things by. I hope it helps you too. I post as myself, not as any organisation.
Sunday, 13 April 2014
How to change the port and IP for Greenbone OpenVAS on BackLinux
By default, Greenbone OpenVAS on BackLinux v3.13 listens on port 9293 on the loopback address (127.0.0.1).
To change this, edit the /etc/default/greenbone-security-assistant and change the GSA_ADDRESS and GSA_PORT lines.
Changing these to 0.0.0.0 and 443 respectively, will make the GUI available on the standard HTTPS port. You'll only be able to do this as long as your have nothing else listening on that port.
You can confirm what ports are in use by using netstat -ant.
To change this, edit the /etc/default/greenbone-security-assistant and change the GSA_ADDRESS and GSA_PORT lines.
Changing these to 0.0.0.0 and 443 respectively, will make the GUI available on the standard HTTPS port. You'll only be able to do this as long as your have nothing else listening on that port.
You can confirm what ports are in use by using netstat -ant.
Wednesday, 9 April 2014
BASH script to wrap around Heartbleed scanner
The following script wraps around the Heartbleed scanner talked about in the previous post to scan all IP addresses within a file and output the results to a log.
I know it's basic, but it works - I'd be very happy if someone could come up with a script that would accept a subnet in CIDR format and scan all IP's with that subnet. Something like "hbscan 172.16.1.0/24"
Step-by-step:
That script was frankenstiened from:
http://www.commondork.com/2013/07/06/bash-script-to-scan-subnets-with-nmap/
I know it's basic, but it works - I'd be very happy if someone could come up with a script that would accept a subnet in CIDR format and scan all IP's with that subnet. Something like "hbscan 172.16.1.0/24"
Step-by-step:
- Create a ~/heartbleed
- Copy the Heartbleed binary into the folder created at (1)
- Copy the script below into the ~/heartbleed direcotry and call it something like hbscan
- Make hbscan runnable (chmod 755 hbscan)
- Copy file(s) containing the IP addresses you wish to scan into ~/heartbleed
- Create a ~/heartbleed/scans directory
- Scan the networks using './hbscan filewithips'
Here's the script I used:
#!/bin/bash
E_BADARGS=65
logs=~/heartbleed/scans
today=`date +%F`
if [ -z "$1" ]; then
echo " Usage: `basename $0` list"
exit $E_BADARGS
fi
if [ ! -d $logs/$today ]; then
echo "[*] Creating $logs/$today"
mkdir $logs/$today
fi
hosts=$1
touch $logs/$today/$hosts
while read -r host
do
echo "[*] Scanning $host..."
~/heartbleed/Heartbleed $host 2>> $logs/$today/$hosts
done < $hosts
echo "[*] Scans completed."
That script was frankenstiened from:
http://www.commondork.com/2013/07/06/bash-script-to-scan-subnets-with-nmap/
Heartbleed scanner on Ubuntu
This works for Ubuntu.
1.Install Bazaar and Go v1.0 (required for godeb):
sudo apt-get install bzr
sudo apt-get install bzr
sudo apt-get install golang
2. Install godeb (required for Go 1.2):
mkdir ~/gopath
GOPATH=~/gopath
export GOPATH
cd $GOPATH
go get launchpad.net/godeb
sudo apt-get remove golang
sudo apt-get autoremove
sudo apt-get autoremove
3. Install godeb (required forGo 1.2)
sudo bin/godeb install
3. Get and compile Heartbleed:
go get github.com/FiloSottile/Heartbleed
go install github.com/FiloSottile/Heartbleed
4. Run it:
bin/Heartbleed serverip[:port]
Here is a BASH script you can use to scan a list of IP addresses instead of a single one:
http://blog.thefoleyhouse.co.uk/2014/04/bash-script-to-wrap-around-heartbleed.html
Here is a BASH script you can use to scan a list of IP addresses instead of a single one:
http://blog.thefoleyhouse.co.uk/2014/04/bash-script-to-wrap-around-heartbleed.html
Friday, 4 April 2014
Quick Fixed VHD Creation Tool - Ben Armstrong - Site Home - MSDN Blogs
Quick Fixed VHD Creation Tool - Ben Armstrong - Site Home - MSDN Blogs:
Allows for the creation of non-zeroed Hyper-V fixed size disks.
'via Blog this'
Allows for the creation of non-zeroed Hyper-V fixed size disks.
'via Blog this'
Friday, 28 March 2014
Thursday, 27 March 2014
Saturday, 22 March 2014
Thieves Reaching for Linux—"Hand of Thief" Trojan Targets Linux #INTH3WILD » Speaking of Security - The RSA Blog and Podcast
Thieves Reaching for Linux—"Hand of Thief" Trojan Targets Linux #INTH3WILD » Speaking of Security - The RSA Blog and Podcast:
So, not as safe on Linux as was thought?
'via Blog this'
So, not as safe on Linux as was thought?
'via Blog this'
Thursday, 20 March 2014
Upgrade Bitcoin to v0.9.0
Bitcoin v0.9.0 is out, now with an x64 version for Windows. You should probably upgrade if you don't want to lose your billions in Bitcoins?
https://github.com/bitcoin/bitcoin/blob/master/doc/release-notes/release-notes-0.9.0.md
https://github.com/bitcoin/bitcoin/blob/master/doc/release-notes/release-notes-0.9.0.md
Monday, 24 February 2014
Brightness control from Linux using grub parameter
Brightness on my HP Probook 4740s requires a Grub parameter to work properly.
Edit /etc/defaults/grub to add "acpi_backlight=vendor acpi_osi=Linux" to the GRUB_CMDLINE_LINUX_DEFAULT line.
Then run "grub-update".
Thanks:
http://forums.opensuse.org/showthread.php/485869-OpenSUSE-brightness-control-problem-on-HP-ProBook-4740s
Edit /etc/defaults/grub to add "acpi_backlight=vendor acpi_osi=Linux" to the GRUB_CMDLINE_LINUX_DEFAULT line.
Then run "grub-update".
Thanks:
http://forums.opensuse.org/showthread.php/485869-OpenSUSE-brightness-control-problem-on-HP-ProBook-4740s
Thursday, 6 February 2014
Securing SQL Server connections with a certificate
I had an issue trying to get a SQL server to use a certificate to secure a connection with SSL.
The certificate was selected in SQL configuration manager but when the SQL service was restarted, it would fail with an EventID 26104 indicating it couldn't read find the certificate.
After a bit of googling, I found this:
http://nickstips.wordpress.com/2010/09/08/sql-ssl-and-sql-server-2008-service-doesnt-start-error-code-2146885628/
Turns out, if you run your SQL server under a non-privileged account as per best practice, the account can't read the private key of the certificate.
Altering the certificate permissions to allow your SQL server to read the certificate private key allows the SQL server to start.
The certificate was selected in SQL configuration manager but when the SQL service was restarted, it would fail with an EventID 26104 indicating it couldn't read find the certificate.
After a bit of googling, I found this:
http://nickstips.wordpress.com/2010/09/08/sql-ssl-and-sql-server-2008-service-doesnt-start-error-code-2146885628/
Turns out, if you run your SQL server under a non-privileged account as per best practice, the account can't read the private key of the certificate.
Altering the certificate permissions to allow your SQL server to read the certificate private key allows the SQL server to start.
Friday, 31 January 2014
Sharing or collaborating with government documents | Standards Hub
UK Goverment proposes open standard for sharing information: ODT, ODS, TXT, CSV, PDF, HTML.
Sharing or collaborating with government documents | Standards Hub:
'via Blog this'
Sharing or collaborating with government documents | Standards Hub:
'via Blog this'
Sunday, 26 January 2014
Citrix Receiver 13 on Linux
Seems to be quite broken on any form of Ubuntu, but I have managed to install on Fedora 20 i686 (Mate) with some success:
sudo yum install libpng12 xerces-c
sudo rpm -Uvh ICAClient-13-0.0.256735-0.i386.rpm ctxusb-2.4.256735-1.i386.rpm
cd /opt/Citrix/ICAClient
./selfservice
Saturday, 25 January 2014
Backup or move your Google data
https://www.google.com/takeout allows you to backup or move your Google data. Visit the site, sign-in and then choose what to archive and in what format.
I was surprised to learn that I've got 8GB, but that is all my emails, attachments, videos etc.
The data will be available as a downloadable archive, but you can visit the site again in the future as required.
I was surprised to learn that I've got 8GB, but that is all my emails, attachments, videos etc.
The data will be available as a downloadable archive, but you can visit the site again in the future as required.
Java 7 update 51 blocks Citrix receiver for Java
Reports of users being unable to use the Java client for Citrix from Citrix Access Gateway (CAG) are caused by a security update Oracle have applied to Java.
Information available from the Citrix forums here:
http://discussions.citrix.com/topic/346128-java-7-update-51-due-for-release-in-january-2014-will-block-receiver-for-java-101/
Citrix have release a patched version (v10.1.007) which is available here:
http://www.citrix.com/downloads/citrix-receiver/other-platforms/receiver-for-java-101.html
Information available from the Citrix forums here:
http://discussions.citrix.com/topic/346128-java-7-update-51-due-for-release-in-january-2014-will-block-receiver-for-java-101/
Citrix have release a patched version (v10.1.007) which is available here:
http://www.citrix.com/downloads/citrix-receiver/other-platforms/receiver-for-java-101.html
Friday, 27 December 2013
Kasperky AV support for Server 2012 R2 and Windows 8.1
This is now supported in Kaspersky Endpoint Security 10 Maintenance Release 1.
More info (and download) here:
http://support.kaspersky.co.uk/10578
More info (and download) here:
http://support.kaspersky.co.uk/10578
Word KB2837593 patch causing 100% CPU useage
Updating an image for a VMWare View VDI Desktop, I applied all of the recent Microsoft Office 2010 patches. However, when the desktops were refreshed, all started three copies of Winword.exe running under the System account. One of these copies of Word was using 100% which created mayhem on the VDI platform.
I've removed KB2837593 from the VMWare View VDI desktop image and the platform seems to have stabilised. We aren't seeing this on our Citrix XenDesktop platform, but this also doesn't have the KB2837593 patch applied yet.
Has anyone else seen this? Please feedback if you have.
I've removed KB2837593 from the VMWare View VDI desktop image and the platform seems to have stabilised. We aren't seeing this on our Citrix XenDesktop platform, but this also doesn't have the KB2837593 patch applied yet.
Has anyone else seen this? Please feedback if you have.
Saturday, 2 November 2013
Unity Tweak now available for Ubuntu
Running the following commands will install Unity Tweak into Ubuntu for you:
Thanks to OMG Ubuntu for the instructions:
Thanks to PupptLinuxWorld for the heads up:
sudo add-apt-repository ppa:freyja-dev/unity-tweak-tool-daily
sudo apt-get update && sudo apt-get install unity-tweak-tool
Thanks to OMG Ubuntu for the instructions:
http://www.omgubuntu.co.uk/2013/02/introducing-unity-tweak-tool
Thanks to PupptLinuxWorld for the heads up:
https://www.youtube.com/watch?v=7SWM4YFO2gA
Tuesday, 1 October 2013
Matching users from a CSV against Active Directory using PowerShell
I am trying to match users I have in a CSV with two columns (givenName and sn) against active directory.
The following script produces no output at all, not even an error:
Import-Csv input.csv | foreach {Get-ADUser -LDAPFilter "(&(givenName=$_.givenName)(sn=$_.sn))"}
The components work individually:
I've also verified that there are no extra characters in the csv using:
Import-Csv input.csv | foreach {write-host $_.givenName,$_.givenName.length,$_.sn,$_.sn.length}
What am I doing wrong please?
The following script produces no output at all, not even an error:
Import-Csv input.csv | foreach {Get-ADUser -LDAPFilter "(&(givenName=$_.givenName)(sn=$_.sn))"}
The components work individually:
- Import-Csv input.csv
- Get-ADUser -LDAPFilter "(&(givenName=karl)(sn=foley))"
- Import-Csv input.csv | foreach {write-host $_.givenName,$_.sn}
I've also verified that there are no extra characters in the csv using:
Import-Csv input.csv | foreach {write-host $_.givenName,$_.givenName.length,$_.sn,$_.sn.length}
What am I doing wrong please?
Subscribe to:
Posts (Atom)