Small Mosaic


Categories:

books
career
codinghorrors
comics
events
geekstuff
justdont
languages
languages/bash
linkshot
magazines
meta
misctech
movies
nottech
operatingsystems
operatingsystems/linux
operatingsystems/linux/debian
operatingsystems/solaris
paranoidadmin
perl
programming
python
ruby
security
security/apache
security/tools
serversmells
sites
specifications
sysadmin
tools
tools/commandline
tools/firefox
tools/gui
tools/network
tools/online
tools/online/greasemonkey
unixdaemon

Archives:

January 20095
December 20081
November 20084
October 20085
September 20084
August 200812
July 20089
April 20084
March 20081
February 20081
January 200815
August 20072
June 20079
May 20076
April 20078
March 200731
February 20073
January 200721
December 20061
November 20064
October 20066
September 200632
August 200617
July 200614
June 20069
May 200613
March 200611
February 200616
January 200611
December 20051
November 20056
October 200519
September 200525
August 200516
July 200516
June 200513
May 20052
April 200519
March 200531
February 200520
January 200531
December 200421
November 200430
October 200432
September 200418
August 20047
July 200414
June 20045

Sat, 27 Nov 2004

Land-mining Servers
Heres the shell of an idea I've been mulling over recently, we all know that compilers on server are bad don't we? The common wisdom (and this is often disputed by people who use source based systems) is that people shouldn't be compiling up new versions of software on the production servers. By omitting the compiler suite and required header files you force compilation to occur elsewhere.

The second reason, and I'm not so sure about how current this is, is that you deny an attacker an easy way of hiding their tracks. By leaving applications like GCC off the servers you force them to precompile rootkits and trojans to suit your system. This is where having a diverse operating system ecosystem pays dividends.

So ignoring all the special cases and caveats lets put those two basic facts together:

So lets trojan GCC or something else essential in the tool-chain. Having complete access to tinker with everything is, after all, the defenders main advantage. So what do we actually want it to do? The low hanging fruit would be to send an alert (via pager / mobile phone and syslog) so we know that either the procedure has been broken or the system is under attack.

While being notified is the bare minimum we should strive for we may want to take it even further with some automated defences. To me there are two obvious approaches, firstly we can either kick them off and lock out the connecting IP address, which runs the risk of leaving the server open to either a DoS or that the cracker can re-exploit the same hole they previously used to regain access.

The other approach is to tinker with the tool-chain and ensure that it doesn't generate correct binaries. Maybe forcing it to cross-compile to a Power-PC format instead of X86. What does this gain us? At the least it will stop them compiling and then using their collection of tools to screw the system while letting them think they have working tools; this has the side effect of breaking some autorooters and raising the barrier of entry. If we are lucky they will be unskilled and either leave the server or spend enough time trying to get them working that the response team can catch or kick them.

Lastly, and this one requires the most prior planning, it would be possible using either existing honey-net applications or custom code to send the source to another more secure machine (such as a loghost) for future analysis.

This is more a brain dump than an actual plan of action but I do think it's worth considering. Especially if your production servers are all managed in batches.

Like this post? - Digg Me! | Add to del.icio.us! | reddit this!

Posted: 2004/11/27 14:09 | /security/tools | Permanent link to this entry | This entry + same date


Simple Link Information -- Short Script
I've added a short Perl script called linksinfo to the miniprojects page. When invoked with an absolute URL it will parse through the HTML and pull out links. The text in each href tag will then be displayed. If you use a '-l' then it will also display the target of the link.

Why?: This is the first of a couple of scripts I'm writing to help maintain certain meta-data about a website I'm responsible for.

Like this post? - Digg Me! | Add to del.icio.us! | reddit this!

Posted: 2004/11/27 13:39 | /unixdaemon | Permanent link to this entry | This entry + same date


A Grand Don't Come For Free -- The Streets
I dislike most modern music (I'm 24 and I'm turning into my grandfather!) but a couple of songs from The Streets last album were good so I decided to give their second a chance; very wise choice.

The songs themselves cover a pretty diverse area, from the upbeat backing of "Fit but you know it" to the down trodden lyrics of "Dry Your Eyes" the CD contains a number of little gems. What really hooked me on the album was the fact that all the tracks fit together. If you listen to the album from start to end each song adds to the overall story. It's something I've not heard done before and combined with Mike Skinners sharp and occasionally witty lyrics its managed to worm its way into my very short top albums of the year list.

Like this post? - Digg Me! | Add to del.icio.us! | reddit this!

Posted: 2004/11/27 11:47 | /nottech | Permanent link to this entry | This entry + same date


Preview Google Ads For Your Site
For one of the projects I'm working on I needed to see which type of ads Google would choose to bestow on certain pages. A co-worker pointed me at Try Before You Sell at the (unofficial) Google Weblog. While this is quite handy (and easy to use in a bookmarklet) I did find it a little cumbersome.

So filled with the drive of an early morning and bacon sandwiches I decided to put together a right click extension for IE. But after a quick search it seems Google have beaten me to it with the AdSense Preview Tool. While it's not perfect, no uninstall mechanism beyond editing the registry by hand, it does give a nice window full of information for the current page.

Like this post? - Digg Me! | Add to del.icio.us! | reddit this!

Posted: 2004/11/27 11:25 | /tools/online | Permanent link to this entry | This entry + same date


books career codinghorrors events geekstuff justdont languages/bash linkshot magazines meta misctech movies nottech operatingsystems/linux operatingsystems/linux/debian operatingsystems/solaris perl programming python ruby security security/apache security/tools serversmells sites specifications sysadmin tools/commandline tools/firefox tools/gui tools/network tools/online tools/online/greasemonkey unixdaemon

Copyright © 2000-2005 Dean Wilson XML feed logo