For techie tips and tricks, tools and sites of (dis)interest

Showing posts with label networking. Show all posts
Showing posts with label networking. Show all posts

Computer Forensics

| Sunday, November 22, 2009
Wietse Venema, creator of the Postfix mail system.Image via Wikipedia
If you're a Unix administrator who has no choice other than to be interested in security, or you're just an enthusiast who likes to poke around deep in the file system searching for the fingerprints of malware, Dan Farmer of Elemental and Wietse Venema of IBM (picured right) have the book for you.

It may be getting a bit long in the tooth now, published over four years ago, and things in the security world move pretty fast, so you might be wondering why you would buy such an old book. The thing is - the world of Unix security doesn't really move all that fast. Just have a read through this online version of the book, and you'll see that pretty much all of it is still just as relevant today. They discuss SATAN, which is 14 years old and counting from the date this post was published, but when you take a look at what it did, you can see that this would still be useful today. The file system basics they cover in good detail will probably always be relevant - this hasn't changed much since the dawn of Unix. Even the principles of malware analysis will stay relevant, although you will need to keep adding to your knowledge of them. After all, we've seen new viruses and trojans emerge that fool the latest scanners by employing by now age-old techniques that had been forgotten about.

This is a solid book, and a solid online resource. As the authors request - if you are thinking of printing the book out from their website, maybe you should just buy the book instead. At $32/£24, it won't break the bank, and these guys deserve your cash. It's well worth it, as it's about as condensed as such a book can be, and provides a perfect introduction to security for students - I'm astonished it wasn't on our security course reading list, so I'll certainly be recommending it to my former lecturers.

There are a few other resources listed on their site, such as the TCT, the leading toolkit for forensics analysis on *nix systems - even available as a Gentoo package, which is where I first ran into it, adding it to my short-lived Gentoo installation.

I hope you'll find this useful, interesting or both. The return on the investment of time (and possibly money) for the chapter on file system basics alone makes the effort worthwhile.

 Resources:

Reblog this post [with Zemanta]

Network Security for work and play - time to upgrade to NMap 5.0

| Friday, August 28, 2009
If you haven't used NMap before, here's what it does in a nutshell:

NMap is short for "Network Mapper", and it is used to determine what hosts (computers and other network-enabled devices) are on the network, what services they offer (apps), firewall and AV or filtering they have installed, plus OS type and version.

It's obvious to see the benefit if you're a network administrator. Just start it sniffing on the company network and it will report back all this information, allowing you to do inventory, security compliance audits and vulnerability testing.

Of course, the more subversive of you out there will probably think other uses. Whether your hat is white or black, you can have a lot of fun with this. Sniffing for hosts to attack, or just to play about with is easy and rewarding. However, I wouldn't run it on a tightly-controlled, corporate network unless you're really tired of your job ;-)

The latest version is NMap 5.0. It came out in July, and unfortunately no-one told me until now :(

I upgraded my not-so-old 4.75 version on my Win XP machine, but I haven't done the same for my Ubuntu box. Zenmap, the front-end, looks slightly tweaked, and overall (I might be imagining things, it's not as if I benchmarked it) it seems to run faster.

If you haven't tried it, maybe now is a better time than ever. Considering what it does, and how powerful it is, it really isn't much of a hassle to install and configure. It has a really great tutorial, and the NMap site it a treasure trove of tools, tutorials and ideas. It's well laid out too.


Reblog this post [with Zemanta]

Improving Firefox Performance

| Tuesday, March 31, 2009
You may or may not have noticed, but since the heady days of late FF2, Firefox has apparently gotten slower on some websites with deeply nested links. I don't know why this is, but it just seems to hang for (sometimes) several seconds on such sites. Friends and work colleagues have complained of exactly the same thing, on exactly the same sites.

This bugs me. There's not much I can do about it (except wait) and I've moved to FF3 now, like most people, so I'm not too enamoured with downgrading. IE7 and 8 are simply awful, Chrome is... I'm not really sure yet, and SeaMonkey, Flock and the rest are not at all bad, but not great.

I suppose what I'm saying is that I'm an add-on junky, and I'm not going to go cold turkey no matter how slow it gets.

FF3 is also woefully slow to start up. So what to do about it?

For the slow startup:
  • Add /Prefetch:1 to your the end of your FF3 shortcut target, e.g. right click on the shortcut, click properties, add /Prefetch:1 after the target (put a space between them)
For the general slowness:

Open a new tab, type about:config in the address bar. You can either change the following values (if they exist) or change them:
  • Enable pipelining to get pages to load faster - it might not work well for you, so if changing away from the default settings, be sure to take note of them so you can revert to them later if needed:
  1. network.http.pipelining : true
  2. network.http.proxy.pipelining : true
  3. network.http.pipelining.maxrequests : 8
  • Change the initial paint delay to get the page to render faster:
  1. nglayout.initialpaint.delay : 0
Now, if any of these parameters don't exist, you'll have to create them. Simply right click and select the relevant parameter type, e.g. 'boolean' for a parameter that can have a true or false value, and 'integer' for a parameter that takes a numerical value. Much less common is 'string'.

Finally, I recommend this add-on:

Tweak Network

You'll see FasterFox in the search results too, but I don't really recommend it, since with the manual tweaks and Tweak Network you have it covered, and I thought it messed with FF3 a bit too much, seemingly making things worse on some occasions. Tweak Network also gives you some extra benefits when a page doesn't load, bringing up some diagnostic tools on the offending page. Try it out, it's pretty smart.

Discover Your Network with NScan

| Wednesday, February 11, 2009
There are plenty of portscanners out there, but not so many great ones designed exclusively for Windows. Of course, you can (and probably do) use the likes of Winpcap, Wireshark and Aircrack to sniff and read packets and crack wired and wireless networks, but I think even taking those great tools into account, NScan still has something to offer. I especially like the way you can put it on the network and let it crawl, discovering hosts and ports and presenting what it finds in a simple way. It even includes subtly improved tools - traceroute, whois and DIG (which was a new one on me).

Auto selection of channel on Thomson Speedtouch 585 v7 causes connectivity issues

| Wednesday, January 14, 2009
This morning I switched on the laptop and couldn't connect to the internet. After rebooting the laptop, rebooting the router and checking if my PC could connect (it couldn't) I tried to bring up my router's web interface on http://{ip_of_default_gateway}, but I couldn't get to that either. My wireless connection icon in the system tray was showing a speed of just 1Mbps.

I grabbed a network cable and headed downstairs to see what was wrong, hooking up the laptop to it directly. After having a quick poke around the configuration menus, it was pretty apparent what had happened.

The Speedtouch 585 v7 is administration menu is a fairly simple affair. There's not much you can do here really, most of the really interesting stuff has to be done through telnet commands. Without many options to choose from, you really can't go too far wrong.

First, I went to Home Network > Interfaces > WLAN: Thomson. The quick way there is shown in the screenshot below.

Next, I entered the configuration menu by clicking the 'Configure' hyperlink in the top right of the screen:
In the configuration menu I could see that the router was set to automatically select the wireless channel, and that it was currently using channel 6:

Finally, I expanded the combo-box for 'Channel Selection' and selected 'Automatic', this unlocked the 'Channel', and I selected channel 11, which is a more commonly used wireless channel and one I didn't expect to give me problems:

Once I clicked 'Apply' that was it - the router required a restart to apply the new settings and once it came back up I was in e-business. It's been connected at 54 Mbps ever since.

Cookie Monster Eats Web 2.0

| Thursday, January 31, 2008
Intrigued? Don't be.
But do read on...

http://blogs.zdnet.com/security/?p=842&tag=nl.e622

1TB of Network Attached Storage, yours for only $350

| Monday, October 15, 2007

Spiceworks - how can they offer this for free?

| Wednesday, September 26, 2007
Spiceworks is an IT inventory management system that will let you keep track of every system on your network. You can generate reports and troubleshoot problems on multiple systems from one control center. The only downside is that while you can monitor Unix and Linux systems, you can't install and run Spiceworks from them. Still, the trump card is the price - there isn't one.

Get it here

Network Magic (might be worth a try)

| Friday, August 10, 2007
Just found a promising looking program called network magic. Read about it here.
I'll report back when I've given it a test run.

PingPlotter

| Monday, April 02, 2007
More useful SW flagged by the guys at TechRepublic:

http://www.pingplotter.com/

Screenshot:


Download:
Two versions - Standard or Pro (neither is free)
http://www.pingplotter.com/download.html