Neil Carpenter's Blog

Forefront products, WSUS, Security Incident Response, and whatever else comes up.

Posts
  • Neil Carpenter's Blog

    SMB/CIFS Performance Over WAN Links

    I often have customers who ask me to wrestle with the performance of SMB (otherwise known as CIFS) across a WAN link. Their experience is usually that file transfers from Windows Explorer or from the command prompt don't meet their expectations of their...
  • Neil Carpenter's Blog

    Anatomy of a SQL Injection Incident, Part 2: Meat

    • 15 Comments
    Intro It would appear that the incident I wrote about yesterday is still ongoing. I've been using a search engine to query for the *.js file that's being injected and it looks something like this: Wednesday: 10K hits (This is Avert's number. I didn't...
  • Neil Carpenter's Blog

    LogParser, Event Logs, and Vista

    • 3 Comments
    LogParser is one of my absolute favorite tools, particularly for doing incident response. I use it a lot to extract and order data into a timeline (hmmm...that's a good topic for a future post). When I moved to Vista, I found one annoyance, though...
  • Neil Carpenter's Blog

    ARP Cache Poisoning Incident

    • 6 Comments
    I recently worked on an interesting incident response with several of my colleagues. The problem, as defined by the customer, is that the following code is being injected into some websites (both external and internal to his environment) that his users...
  • Neil Carpenter's Blog

    SQL Injection Mitigation: Using Parameterized Queries

    • 15 Comments
    Michael Howard wrote an excellent article yesterday on how the SDL addresses SQL injection . He walks through three coding requirements/defenses: Use SQL Parameterized Queries Use Stored Procedures Use SQL Execute-only Permissions As Michael...
  • Neil Carpenter's Blog

    Detecting ARP Spoofing Attacks

    • 3 Comments
    After investigating an ARP spoofing incident recently, I started thinking of how we could easily ferret out this sort of information when responding to a potential incident. In this particular case, there were two important parts of the attack: ARP spoofing...
  • Neil Carpenter's Blog

    Quick Figuring Optimal TCP Window Size

    • 2 Comments
    There generally isn't a single correct way to figure out the optimal TCP window for an interface since you're probably connecting to different hosts across different links at different latencies; however, you can roughly guess what the optimal window...
  • Neil Carpenter's Blog

    Anatomy of a SQL Injection Incident

    • 15 Comments
    A number of people are reporting that 10K+ websites have been hacked via a SQL injection attack that injected a link to a malicious .js file into text fields in their database. For example, here's Avert Labs report . The reports that I've seen talk about...
  • Neil Carpenter's Blog

    Network Sniffing Tools

    • 3 Comments
    Intro Network sniffing is a major part of my life -- I've probably pored over, on average, a trace a day every day for the past seven years. This is an area where having the right tool is of the upmost importance as a good tool can cut hours (or even...
  • Neil Carpenter's Blog

    SQL Injection Mitigation: Using Parameterized Queries part 2 (types and recordsets)

    • 10 Comments
    (Part 1 is here ) Previously, I provided a simple example of using parameterized queries in classic ASP; however, that sample lacked a few things such as explicit typing for the parameters. It also created a read-only ADODB.RecordSet which, obviously...
  • Neil Carpenter's Blog

    Finding Retransmits in Ethereal

    With the full version of Netmon, it's relatively easy to find retransmitted packets with the expert; however, in Ethereal, it's not quite as clear... Ethereal supports analysis of TCP sequence numbers to find retransmits & do other neat things;...
  • Neil Carpenter's Blog

    Categorizing Packet Loss

    • 1 Comments
    I've quite frequently run into situations where I've been asked to diagnose packet loss based only on a network trace. While it is almost impossible to find an exact answer, a network trace can provide some valuable clues about the cause of the packet...
  • Neil Carpenter's Blog

    Input Validation Is Not The Answer

    • 2 Comments
    I just sent a piece of e-mail to my team about input validation and SQL injection and it occurred to me that I've been meaning to get into this here, too: If you're trying to solve a SQL injection problem, input validation is NOT the answer! There, I...
  • Neil Carpenter's Blog

    SQL Injection -- A Comment

    • 1 Comments
    Kumar comments here and I think he has some questions/concerns that are worth addressing.  I'm going to add my own comments (and, please note, the comments I make here are my own and do not necessarily reflect Microsoft's corporate opinions). --...
  • Neil Carpenter's Blog

    Network Sniffing Tools

    Posted on my favorite network sniffing tools .
  • Neil Carpenter's Blog

    SMB Perf articles

    • 1 Comments
    I've been working a lot with file sharing performance, and I'm trying to write a few essays on those experiences. The first, on SMB Performance , is up now. When I have some more time, I'm going to write a bit on the impact of packet loss on SMB connections...
  • Neil Carpenter's Blog

    It's the New Phone

    • 4 Comments
    I finally lost my patience with my old mobile provider last week & decided it was time for a change. While I was changing, I decided that maybe it was time for a Smartphone... Wow. It definitely isn't perfect yet, but this is by far the best mobile...
  • Neil Carpenter's Blog

    Bio

    I recently realized that I spend a lot of time writing about things that I know only a little about (like politics) and very little time writing about the things that I do know something about. This blog is an attempt to balance that, and to let my geeky...
  • Neil Carpenter's Blog

    SQL Injection Hijinks

    • 1 Comments
    or Why I Keep Harping On Blacklisting Summary: An incident reveals attempts to get around blacklisting by manipulating behavior in ASP, illustrating the weakness of blacklist approaches. A new version of UrlScan is shipping today with a change...
  • Neil Carpenter's Blog

    Conversations

    My favorite cartoonist wrote something that started me thinking... “All products are conversations.” I suppose that, in terms of product support, this is self-evident. Every product we ship results in a conversation with support....
  • Neil Carpenter's Blog

    Disclaimer

    These postings are provided "AS IS" with no warranties, and confers no rights. The content of this site are my own personal opinions and do not represent my employer's view in anyway. In addition, my thoughts and opinions often change, and as a weblog...
  • Neil Carpenter's Blog

    Rating Music (iTunes Edition)

    • 0 Comments
    I have a large collection of music, all of which is (finally) in iTunes. I'd like to rate all of it but it's somewhat cumbersome to flip back and forth from whatever app I'm in to iTunes in order to click on the little star icons while I'm listening to...
  • Neil Carpenter's Blog

    Mass SQL Injection -- Get Used To It

    • 0 Comments
    It looks like another wave of the mass SQL injection I talked about last month is going on.  The inserted link is different and, in the one specific incident I've seen, the source IP address is different; however, other than that, the attack looks...
  • Neil Carpenter's Blog

    Forefront Server Security Management Console, Templates, and Revisions

    • 0 Comments
    Sometimes, working in support, you come across a best practice or a bit of knowledge that is well-known to some people...but that bit of knowledge has never actually been documented. Today was one of those days. While working in an environment with...
  • Neil Carpenter's Blog

    Antigen 9.1 Hotfix Rollup 3 and Performance Monitor

    • 0 Comments
    While investigating an issue where mail was queuing in the Exchange Information Store, we discovered an issue that affects customers running Antigen 9.1 Hotfix Rollup 3 when there are performance monitoring tools such as Perfmon, Perfwiz, and the MOM...
Page 1 of 2 (35 items) 12