The UNIX System
The UNIX System: Making Computers More Productive, 1982, Bell Laboratories
The UNIX System: Making Computers More Productive, 1982, Bell Laboratories
SixSpotting, a funny little game where you collect points by logging in from as many IPv6 enabled providers as possible.
Lately the requests trying to exploit the Shellshock vulnerability are getting annoying.
Of course my hosts are patched — even before the first such request arrived — and they are using Dash as /bin/sh anyway.
But this does not stop attackers from sending those requests.
Some even seem to have programmed a loop which sends request after request even though their exploit is not working.
Since most of the requests are for valid URLs, the webserver just replies with a 200 status code and serves the content. As this gives no indication to the attacker whether his exploit worked or not, he has no reason to remove the host from his target-list and thus continues to send requests.
To break this pattern and signal that the host is not vulnerable to Shellshock, I came up with the nginx config snippet below. It recognizes Shellshock patterns in a request and replies with a '403 Forbidden' status code, thus indicating to an attacker that his request was blocked.
if ( $http_referer ~ ^\s*\(\s*\)\s*\{ ) { return 403 "Blocked by Shellshock protection (https://blog.x-way.org/Show-Shellshock-the-door)."; } if ( $http_user_agent ~ ^\s*\(\s*\)\s*\{ ) { return 403 "Blocked by Shellshock protection (https://blog.x-way.org/Show-Shellshock-the-door)."; } if ( $http_cookie ~ ^\s*\(\s*\)\s*\{ ) { return 403 "Blocked by Shellshock protection (https://blog.x-way.org/Show-Shellshock-the-door)."; } if ( $http_host ~ ^\s*\(\s*\)\s*\{ ) { return 403 "Blocked by Shellshock protection (https://blog.x-way.org/Show-Shellshock-the-door)."; } if ( $args ~ ^\s*\(\s*\)\s*\{ ) { return 403 "Blocked by Shellshock protection (https://blog.x-way.org/Show-Shellshock-the-door)."; } if ( $content_type ~ ^\s*\(\s*\)\s*\{ ) { return 403 "Blocked by Shellshock protection (https://blog.x-way.org/Show-Shellshock-the-door)."; } if ( $remote_user ~ ^\s*\(\s*\)\s*\{ ) { return 403 "Blocked by Shellshock protection (https://blog.x-way.org/Show-Shellshock-the-door)."; } if ( $request ~ ^\s*\(\s*\)\s*\{ ) { return 403 "Blocked by Shellshock protection (https://blog.x-way.org/Show-Shellshock-the-door)."; } if ( $request_body ~ ^\s*\(\s*\)\s*\{ ) { return 403 "Blocked by Shellshock protection (https://blog.x-way.org/Show-Shellshock-the-door)."; }
Before sending a CSR off to your CA, it is worth checking that all parameters are correct.
Especially you should make sure that the requested signature algorithm is SHA256 and not the deprecated SHA1.
This can be done with the following OpenSSL command:
openssl req -noout -text -in <your_CSR_file>
Spot-on representation of every IKEA store's layout:
SEASONS of NORWAY - A Time-Lapse Adventure from Rustad Media on Vimeo. (via)
The Cisco SMB SLM2008 Smart Switch does normally not support SNMP and there is also no setting in the configuration interface which would enable SNMP.
But nevertheless the firmware does actually contain a SNMP daemon. Thus it is not surprising that a smart guy on to the Cisco support forum found out how to manipulate the proprietary config file such that it enables the SNMP daemon:
# perl enable_snmp.pl <IP of your switch>
As this is a non-official hack, there are some limitations:
The Cyborgs is a two man 'elektrock' boogie band.
Thank you Sat Rocks for showing me their music :-)
Today I did some cleanup of my legacy infrastructure. The repositories formerly located at cvs.x-way.org and svn.x-way.org have been converted to Git and are now available at git.x-way.org.
Also is git.x-way.org now no longer served by the old gitweb.cgi but by the fantastic GitBucket (a lightweight, self-contained GitHub clone written in Scala).
Since last week Netflix is also available in Switzerland. The future has arrived one could say.
Not only gives this easy access to TV shows and movies but also is this access provided via IPv6.
As you can see on the graph below, this brings IPv6 out of slumber and into primetime :-)
Swiss providers are probably seeing quite an increase in IPv6 traffic this month.