Archive for April, 2007
server/network statistics…

I covered the web proxy statistics in a previous post. Since I am pretty confident in the way most things are set up, I’ve spent time “perfecting” things, and also gathering a lot of data. Part of that involved configuring Nagios and Symon to my liking. The idea is this: now that things are running fairly smoothly, we want to get an idea of “normal” numbers so that we can detect anomalies or learn about how the environment is changing, to keep things running smoothly. Anyway, enough talk, let’s just get to the numbers. Keep in mind these aren’t all exact. Some of them are rounded.

Firewalls

  • Bandwidth: 50Mbps

  • Registered machines: 4655

  • Packets per second: mean: 13,000 | max: 16,500

  • PF states (entries): mean: 72,000 | max: 91,000

  • PF states (searches): mean: 26,000 | max: 33,000

  • PF states (changes/sec): mean: 300 | max: 500

  • CPU usage (interrupt): mean: 40% | max: 51%

  • CPU usage (user): mean: 15% | max: 22%

The interrupt breakdown is pretty interesting, too:

$ uptime
 1:21AM  up 22 days,  7:03, 1 user, load averages: 1.35, 1.37, 1.35
$ vmstat -i
interrupt                       total     rate
irq11/em0                     1274737        0
irq9/em1                  10085187273     5236
irq9/em2                   9136203330     4743
irq5/fxp0                  2787754565     1447

Mailserver (qmailanalog)

Completed messages: 3809
Recipients for completed messages: 7488
Total delivery attempts for completed messages: 7585
Average delivery attempts per completed message: 1.99134
Bytes in completed messages: 20126631
Bytes weighted by success: 31846025
Average message qtime (s): 23.4223

Total delivery attempts: 7786
  success: 7434
  failure: 70
  deferral: 282

Time span (days): 7.9916
Database Server
This MySQL server has been running for 7 days, 13 hours, 0 minutes and 59 seconds.
It started up on Apr 09, 2007 at 12:28 PM.

Query statistics: Since its startup, 12,066,403 queries have been sent to the server.

Maybe I’ll post some more stats tomorrow…

microsoft’s apparent attitude toward vulnerabilities

Microsoft’s attitude toward vulnerabilities in their code disgusts me. It’s difficult to interpret what people say online, but reading the Microsoft Security Response Center Blog seriously raises my blood pressure. One of the latest bugs allows remote code execution due to a buffer overflow in the DNS RPC interface. The security response center says this:

“Microsoft is investigating new public reports of a limited attack exploiting a vulnerability in the Domain Name System (DNS) Server Service…” (link)

Every time I read one of their advisories I roll my eyes because they unnecessarily throw in words like “limited”. I’m not very knowledgable about their whole security notice process, but their website says this:

“Microsoft Security Advisories, a supplement to the Microsoft Security Bulletins, address security changes that may not require a security bulletin but that may still affect customers’ overall security. Microsoft Security Advisories are a way for Microsoft to communicate security information to customers about issues that may not be classified as vulnerabilities and may not require a security bulletin.” (link)

I decided to fetch all of the advisories in their latest advisory RSS feed and see what exactly is in them. There are 46 total, and the oldest one is from 5/10/2005. I’m not surprised by that, because most vulnerabilities in Microsoft products are pretty severe and warrant a bulletin. If that is the case, I’d expect to see very few instances of possible remote code execution under the advisories list, but wait:

kian@algernon:~/microsoft_stats$ ls -al *.mspx | wc -l
46
kian@algernon:~/microsoft_stats$ grep -Hic 'remote code execution' *.mspx | grep -v ':0' | wc -l
23

I was curious about how many of these 23 vulnerabilities contained the exact word “limited”:

kian@algernon:~/microsoft_stats$ for i in `grep -Hic 'remote code execution' *.mspx | grep -v ':0' |
cut -d':' -f 1`; do grep -Hic limited ${i}; done  | grep -v ':0'
917077.mspx:1
925444.mspx:1
925984.mspx:1
926043.mspx:2
933052.mspx:1
935964.mspx:2

I don’t know about you, but I don’t really think of “remote code execution” as “limited.” One example of the use of “limited” is in advisory 933052:

“Microsoft is investigating new public reports of very limited, targeted attacks against Microsoft Word “zero-day” using a vulnerability in Microsoft Office 2000 and Microsoft Office XP. In order for this attack to be carried out, a user must first open a malicious Office file attached to an e-mail or otherwise provided to them by an attacker.”

During the recent drama about the Windows ANI vulnerability, Christopher Budd posted this to the MSRC blog:

“I’m sure one question in people’s minds is how we’re able to release an update for this issue so quickly. I mentioned on Friday that this issue was first brought to us in late December 2006 and we’ve been working on our investigation and a security update since then.” (link)

Brought to their attention in December 2006, and fixed in April 2007? Somehow that doesn’t strike me as “quick”, especially considering the nature of the vulnerability.

Maybe someone who works with them could set me straight on their choice of words, because right now it seems like they’re less concerned with security than they are with image. Does “limited” mean “difficult to exploit” or “not widespread” or “limited damage”? None of them are really satisfactory, so I wonder why Microsoft uses the word in the first place.

UPDATE: I decided to write to Microsoft and ask about the usage of the term “limited.” Here is the response:


Hi Kian,

The word limited is used in context of the number of attacks that Microsoft and its partners have seen.

Here’s the extract from advisory – “limited attack exploiting a vulnerability”.

It really means that we are not seeing widespread attack at this point in time.

Hope that helps to explain the situation.

areao4

My desktop (Athlon 1900+, 1GB RAM) has been running Windows XP for a while now. Currently it dual-boots OpenBSD and Windows XP, with my music stored on a FAT32 partition that takes up most of the disk. Like a lot of people, I still use Windows XP because I play games. I also like it because I work with FreeBSD, Linux, and OpenBSD at work a lot, and my notebook has Linux on it, so sometimes working in Windows is nice (yeah…I said it…)

I’ll probably start working more in OpenBSD when my 4.1 CD set arrives, but until then I decided to pretty up my XP desktop. I’m currently using the areao4 theme.

I’m also trying to learn more about securing Windows, because when it comes to Windows, I’m kind of a newbie. I installed ZoneAlarm to see what it’s all about, and so far, I think it is good. Sure beats the standard Windows Firewall.

areao4 screenshot