Archive for the 'Security' Category



07
May

(IN)Secure Magazine - Issue 11

(IN)SECURE Magazine - Issue 11

The May 2007 issue of (IN)SECURE Magazine has been released. This issue contains articles about :

  • On the security of e-passports
  • Review: GFI LANguard Network Security Scanner 8
  • Critical steps to secure your virtualized environment
  • Interview with Howard Schmidt, President and CEO R & H Security Consulting
  • Quantitative look at penetration testing
  • Integrating ISO 17799 into your Software Development Lifecycle
  • Public Key Infrastructure (PKI): dead or alive?
  • Interview with Christen Krogh, Opera Software’s Vice President of Engineering
  • Super ninja privacy techniques for web application developers
  • Security economics
  • iptables - an introduction to a robust firewall
  • Black Hat Briefings & Training Europe 2007
  • Enforcing the network security policy with digital certificates

Download the (IN)Secure Magazine Issue 11.

05
May

What you put online, anyone can see

Everybody knows your name - Youtube

Good ad from the National Center for Missing and Exploited Children.

04
May

Two tools to detect rootkits in Linux

Rootkits are security tools used by intruders after compromising a hacked system. Rootkits help the intruders maintain their access to the system while hiding the toolkit, processes, open ports, etc. from the system administrator.

There are several interesting tools to scan for rootkit presence on a system. In this post, I’ll look at the two tools I use: Rootkit Hunter, and chkrootkit.

Rootkit Hunter

http://rkhunter.sourceforge.net/

Rootkit Hunter is a scanning tool that scans for rootkits, backdoors and local exploits. It checks MD5 hashes, default files used by rootkits, strange permissions in binaries, suspect strings in modules, hidden files, etc. It works in most flavours of Linux, BSD (OpenBSD, FreeBSD, MacOS X, but not NetBSD) and some Unix variants (AIX, Solaris, etc.)

Once you download Rootkit Hunter, unpack it, and execute the installer.sh script as root user.

Rootkit Hunter - installing

After installing, just execute it (as root) with the following options:

rkhunter -c

- performs standard check of the system

rkhunter -c –quick

- performs quick scan

rkhunter -c –check-deleted

- performs a “deleted files” check (processes using deleted files)

rkhunter -c –scan-knownbad-files

- performs a “known-bad files” check

rkhunter –update

- updates database of rootkits

Rootkit Hunter - scanning

An interesting option is to use a cron job to schedule periodic update and system check, by using this script (add it to the crontab or /etc/cron.daily directory)

#!/bin/sh

( /usr/local/bin/rkhunter –versioncheck
/usr/local/bin/rkhunter –update
/usr/local/bin/rkhunter –cronjob –report-warnings-only
) | /bin/mail -s ‘rkhunter Daily Run’ root

chkrootkit

http://www.chkrootkit.org/

chkrootkit is another option for our rootkit-detection toolkit. It can be downloaded from: http://www.chkrootkit.org/download/

It doesn’t need to be installed. Just unpack it and run chkrootkit it as root. This is useful if you need to run it from read-only media, such as CD-ROM, to avoid compromise of the rootkit-detection tool itself.

chkrootkit - scanning

chkrootkit has an interesting option, which allows to specify the root directory to be scanned. Although I haven’t tested it yet, it could be used to mount an off-line image of a suspect filesystem, in a typical forensics analysis way, and scan it for rootkit infections.

04
May

Multi-layer cryptography

Interesting and humorous comment by XKCD on “added layers of security”.  How many times you’ve evaluated a security product, and found some of the claims boil down to this?

30
Apr

HotBot’s papers about botnet research available

Hotbots 2007

Ok, maybe this is some days old. The papers for HotBots ‘07 (the First Workshop on Hot Topics in Understanding Botnets) have been made available on their website.

Here you can find download links for several of the most interesting-looking papers:

Some other blogs commented about it first: TaoSecurity, Noticias de Seguridad

21
Apr

Devil’s Security Dictionary

Funny :-)

Change control (n.) A carefully defined and measured process of self-delusion.
Compliance solution (n.) Surveillance and behavior control software.
Delete (v.) To remove from view (and archive).

The Devil’s Security Dictionary 2.0

17
Apr

Nirbot actively exploiting the DNS RPC vulnerability

Did you apply the workaround suggested by Microsoft for the DNS RPC vulnerability? Do you think you’re safe because you don’t allow RPC ports at the perimeter firewall?

Do you  meet these two conditions?

  • I have Active Directory with the usual Windows-based DNS servers
  • I have users

If so, you are in deep trouble. Exploit code for the DNS RPC vulnerability has been incorporated to the Nirbot malware, which is self updating. So, if you were already infected, now your zombie machines can own your Domain Controllers.

Game over.

According to Arbor Networks:

The latest turn in the Nirbot saga is that they’ve gone and incorporated the MS Windows DNS RPC interface exploit into their bot. We started seeing this in ATLAS starting Sunday evening GMT and it appears that this flood of MS DNS RPC exploits was seeded into an existing botnet. It appears that one of the public exploits was rolled into the bot over the weekend.

The malware connects to x.rofflewaffles.us at port tcp/8080. Block that. Also from Arbor: “Signs of infections include connections to hosts with that hostname on that port, scans on TCP port 1025 (and other exploits in the bot include SYMC06-010, MS06-040, and weak passwords)

14
Apr

Home network security

For those who want to take home or small-office network security seriously, there is a good article by Tim Fehlman at “Daily Cup of Tech”. It covers WiFi security, network firewalls, software firewalls, content-filtering web proxy, anti-spam, password management, backups, etc.

10 Ways to protect your home network

What’s missing, in my opinion, is:

  • guidance on “safe browsing” practices
  • basic security patch management
  • basic network-based Intrusion Detection

But in general it’s a good place to start if you want to lock down your domestic infrastructure…

14
Apr

Temporary workaround for Microsoft DNS issue

One of the mitigation actions for the Microsoft DNS vulnerability is the disablement of the RPC Management functionality. Jesper Johansson explains how to do it in a large number of Domain Controllers and DNS servers (thanks Daniel!)

In short, the method consists of generating a text list with all the DNS servers, and then using a short script to remotelly connecto to each one (using Enterprise Admin credentials) to change the registry parameter and restarting the DNS service.

It is recommended to do this until you can patch.

Note about this workaround:

Setting the registry value to 4 will disable remote management and configuration of DNS server functionality using RPC or WMI will be disabled. DNS management tools, will fail to work remotely. Local management and remote management through terminal services can be still used to manage your DNS Server configuration.

You will still be able to use the DNS management MMC Snap-in, DNSCMD.exe, and the DNS WMI provider.

11
Apr

Critical wireless driver bug in Linux

According to Dark Reading, there is a remotely exploitable bug in the madwifi drivers for Linux, discovered by a France Telecom researcher:

A researcher from France Telecom has discovered the first remotely exploitable 802.11 WiFi bug on a Linux machine. The kernel stack-overflow bug, which is in the open-source MadWiFi Linux kernel device driver, lets an attacker run their malicious code remotely on an infected machine — and the infected machine doesn’t even have to be on a WiFi network to get “owned.”

Laurent Butti, senior security expert for France Telecom’s Orange R&D, says all it takes is the client machine’s NIC to be activated and perform its automated scanning feature for WiFi access points in range, and the vulnerability is triggered. The attacker initially must be in wireless range of the victim for the code to execute the exploit, he says.

Read the rest of the article at Dark Reading.