Sunday, July 12, 2009

FreeCreditReport.com - Oh So Telling


FreeCreditReport.com commercials have been lying to people for a while now - offering a "free credit report" when in fact you have to sign up for a service first... well - after going to the site and seeing this logo... I now understand.



That's right... they're "McAfee Secure".

-no more needs to be said, except...

AVOID THIS FARSE!

Saturday, July 11, 2009

Devastated by a Link-Spam Tool?

If you own a blog, a forums, or are a webmaster of a social-interaction (web 2.0) site... you're going to want to read this.

Hell hath no fury like a blog comment spam engine unleashed upon your site(s). Trust me, I know.

As I was digging through my comment spam which now numbers in excesses of 1,000 spam comments/day on my "Following the White Rabbit" blog I noticed something. In the spam flood I would occasionally get an advertisement for the spam engine that created the mess. Interesting, I though - let's see how bad this thing is. Little did I know that what I was investigating was one of the nastiest, ugliest things I've ever laid eyes on as a "good guy" in information security.

The tool is called "X-Rumer" and it's developed and maintained by a Russian Federation-based organization that is known as "BotMaster Labs" -a fitting name to be sure. X-Rumer is a highly-effective tool which can very quickly over-run even the most hardy blogs, forums or other Web 2.0-style media sites.

What really started to open my eyes wide when I looked at X-Rumer 5.0 "Palladium" is the ability to breeze through CAPTCHAs... it's incredible how many different types of CAPTCHA systems this tool can break using its internal automation. Not only can it breach a CAPTCHA but also many of the more advanced pictocode types of systems (for example, identifying the picture of a non-smoking sign among other signs). Palladium treads the line of SPAM carefully by condering itself as a "correct spam" engine - which is interesting enough in that it generates fake responses, and text for the links that is drops into comments and posts.
X-Rumer is an incredible feat of code development... and sadly it's not used for the good of mankind - but for other nefarious purposes... most commonly link-spam. You don't want to have to square off against a tool like this - because odds are you'll lose. The only effective tool against something like this is reCAPTCHA (but it's rumored that even that will be broken by the tool soon). Not only can this tool auto-register itself on sites where registration is necessary, but it's also content-sensitive! If your blog is about football, there are link-spam comments that are tailored to football, so evading spam-detection engines is almost a certainty.

If the forum has more than one category, the software chooses the one most suitable for the message, otherwise it sends the message to off-top, flame sections or the like, and in case those do not exist - to the most visited category on the forum.
This juggernaut is impressive, for a piece of nasty software that's sole purpose is to spread links and ... spam... to the world of Web 2.0.

Why in the world would I write about it? Because you need to know what you're up against - and why your blogs and forums keep getting spammed even though you have registration turned on and human verification on too... you just can't stop a determined spammer... money continues to drive these people and until we (sheeple) stop clicking their links they'll continue to be at it.

Good luck.

Friday, July 10, 2009

How NOT To Do a "Security Advisory"

http://www.netragard.com/pdfs/research/NETRAGARD-20090506-AIRCELL.txt

If you need to know how to write a completely laughable, published security advisory... look no further. This is basically a 'how to' for not being taken seriously... ever again.

This is an oldie... but still a goodie that will forever hang on my "wall of shame". Those SNOSoft people sure can release some quality stuff huh?

That is all.

Thursday, July 9, 2009

Internet Surveillance... for your Credit/Debit Cards?

I've been using the identity theft and credit protection services offered through my bank for a couple of years now. Recently I noticed a new menu option for Internet Surveillance which caught my attention. Apparently, this service (which comes with the ID theft prevention/insurance) is one that scours the Interwebs trying to find the credit card numbers and associated data that you enter in it.

This got me thinking... 2 things struck me as wrong.

First off... do I
really trust my bank with every credit card number I own? Maybe it's not so bad since I'm just putting in the name on the card and the full card number (no CVV/CVV2, or Expr Date) and even IF someone stole that data - what good would it be to them?

Second, given that Google (whom I presume they'll be using) and most other search engine's queries can be "read" from your history (or from their cache)... I really want my credit card number as a search string floating around somewhere?

How do those two things balance against my need to be free of ID theft ... on the black market? I'm leaning towards putting in a few card numbers just to see how it goes... do any of you have any thoughts on the matter? Pros? Cons? Have you tried this before (do I need to give a link to the service vendor?)

Soliciting your thoughts, either publicly or privately... thanks!

{ Update }
-- As promised, I went to put in a fake American Express card number (see pasted below) which follow the AmEx algorithm. Immediately, a JavaScript snip flagged the card input as "possibly incorrect" but let me continue anyway. Odd behavior, don't you think? After ignoring the warning I went ahead and hit accept, retyped (same error again, in JS) and then voila! my card was added for monitoring. I have pasted it below just to see if the fake
card number gets picked up!

=-=-=-=-=-=-=-=-=-=-=-
--Test--
378511096516050 - Rafal Los - FAKE AmEx card number (not following algorithm!)
--/Test--

Wednesday, July 8, 2009

The Importance of Understanding Flow

It never ceases to amaze me how much InfoSecurity folks depart from conventional wisdom when it comes to "hacking".

A few weeks ago I was sitting in a meeting room waiting for the folks who would be listening to me talk about App Security to come in. As people funneled into the room I overheard 3 QA guys talking about "understanding the application"... to which one of the security guys looked at them funny and said "we do black-box testing, we don't care to know the application".

Whoops, you fail.

It's not just that these security guys were going to be missing a huge chunk of the application- which they likely will - but it's in their ignorance of the actual application logic and flow that they will fail entirely. Thinking about that, and how to fix the problem, brought me back to DFDs and how useful they were to me when I worked on web application security testing back in the day. You know, I just don't think people just don't do enough intelligence gathering before diving into an application security test. Understanding the beast is fundamental to conquering it, and security folks have have a disctinct advantage over "hackers" (usually) because they have access to the actual inner-workings of the web applications they'll be testing. Being able to build, read, and understand a DFD is so fundamental to web application security testing that I'm putting together a new paper which will be released later this month (in collaboration with Richard Baker).

DFDs (Data-Flow-Diagrams) are so fundamental to understanding web applications (and any application or system) that I honestly can't imagine someone sitting down to test a web app without having a DFD in front of them. Of course, let me make sure I put it out there that this is mainly valid for internal testing teams but if you're an external tester and can get your grubby little hands on a proper DFD for the app... you can celebrate a little!

First, in case you're reading this and wondering what a DFD is - here is what the WikiPedia tells us about Data-Flow Diagrams:

A data-flow diagram (DFD) is a graphical representation of the "flow" of data through an information system. DFDs can also be used for the visualization of data processing (structured design).

On a DFD, data items flow from an external data source or an internal data store to an internal data store or an external data sink, via an internal process.

DFDs are particularly valid for penetration testing because you have a black box in front of you which takes in, processes, stores and often returns data. It is in the understanding of that flow-model that you can begin to find potential weaknesses in the application. Testing randomly through the application may get you some results but knowing where to test (where data is processed, stored and returned) will yield crucial nuggets of knowledge for focused testing.

I turned to some industry experts (the analysts) and got a few good quotes - namely this one from Michael Montecillio...
"Data Flow Diagrams (DFD's) are an invaluable aspect of an application security strategy. DFD's allow organizations to target their strategies to properly address high priority aspects of their applications. Furthermore, remediation efforts can be prioritized based on the visibility of different segments of an app. based on the mapped information found in DFD's." ~Michael Montecillo, Principal Analyst, EMA Security and Risk Management
If a DFD is so fundamental then why don't the people who do penetration testing and AppSec use these ingenious devices more? See... Michael's though directly reflects why I think this issue needs more attention - people just don't know/get it.

Can you draw a DFD? Do you know what the various shapes mean? Whether you're a novice, or a self-assessed Certified ASS (Application Security Specialist, ASS for short)... you'll want this knowledge.

Tuesday, July 7, 2009

[RANT] Forget SSNs

Something stranger than usual happened today.
I read a piece in Ars Technica today that would ordinarily make me want to cry, scream, and then run off into the woods. This piece was entitled "New altorithm guesses SSNs using date and place of birth". Well crap in my cereal... that's no good.

The more I thought about this very interesting algorithm that can guess your SSN using information gleamed from your FaceBook profile - the more the problem seemed to widen. Following the rabbit down the hole I realized something when I hit the dead end.

Over the years we've all been racking our brains trying to figure out how to protect our SSNs, encrypt and tunnel and such... but to what avail? What's been the point when even if you somehow manage to get through life without someone snatching your SSN along with your full medical history from a doctor's office dumpster, or the same information from the website of one of the "big three" credit reporting agencies (you know why I say that...)... so what? Someone can now come along and guess your SSN based on the information you're publicly providing to the badguys for ... free.

My favorite paragraph is this one because it puts things into perspective for the reader...

"That may still seem moderately secure if it weren't for some realities of the modern online world. The authors point out that many credit card verification services, recognizing the challenges of data entry from illegible forms, may allow up to two digits of the SSN to be wrong, provided the date and place of birth are accurate. They often allow several failed verification attempts per IP address before blacklisting it. Given these numbers, the authors estimate that even a moderate-sized botnet of 10,000 machines could successfully obtain identity verifications for younger residents of West Virginia at a rate of 47 a minute."
Even a moderately large botnet (and there are many, many more out there larger than 10,000 machines kids) would be able to pick apart a moderately large state in a few days - that should worry the wrinkles right onto your forehead. But wait - there's more...

Writing a "bot" that would go and scrape profile data (place of birth and date of birth) from online profiles isn't rocket science as a colleague of mine (who wishes to remain anonymous, ahem) pointed out. Then feeding that bot's data through this SSN generator could put together a nice package which would effectively be able to open credit accounts all over the damn place with little noise or red flags being set off (more on that another time).

Why am I so calm then? Because this has nothing to do with safeguarding data. Our government in its wisdom (or lack thereof) has chosen to use our SSN as the key to everything financial about us... in fact as far as the US Government is concerned our SSN defines us. If you happen to get your SSN jacked - well then my friend you're out of luck unless you can prove that you are you... and that is seriously problematic for me.

OK, so now we have the background, the problem and I'll crown it with a suggestion for fixing this idiotic self-created mess. First, as painful as it may be, it's time to do away with the SSN as the key to an identity. Second, perhaps our all-knowing new president could sign an executive order or what-not declaring that collection of the "new national identifier" be disallowed and other forms of identification (such as a patient ID??) be used in its stead. I realize this is (a) extremely difficult, costly, and time-consuming and (b) probably not going to happen - but it's worth screaming from the steps of the Lincoln Memorial if someone listens.

This has to stop. Otherwise we may as well go back to putting our SSNs on our drivers licenses and checks because identity theft will simply be another right of passage, like the first apartment, first car, and first credit-card fraud.

Friday, July 3, 2009

Fun PDF Stuffing "Feature"... (hack)

I was sent this link today because I think someone really wanted to start my weekend right. As if there weren't enough ways to make use of the PDF format, now here's a very simple (and quite cool) way to embed files inside a PDF and effectively hide them from the casual passer-by.

Great post from the author, and a neat little python script is posted as well - try it... it's fun!

Makes you wonder, doesn't it? What sorts of things are hidden inside the PDFs you pass around and forward?

Go read: "Embedding and Hiding Files in PDF Documents" and Didier's full blog with other interesting stuff at http://blog.didierstevens.com/.

Thursday, July 2, 2009

"SecurityMetrics" - Another Site Security Certification Seal

You know how much I hate these things...

You also know how much I hate it when these people sell "security" carefully wrapped in bullshit and smoke... under the pretense that their "scan" will actually do anything to achieve some measure of security.


While looking for some new hockey pants (yes, I have destroyed my current ones) on HockeyMonkey.com I saw this interesting seal. Clicking on it made me cringe even more. This is a measure of PCI Compliance? ... and this is supposed to make me feel good about the actual security of the site? Clicking on the damn thing brought up the "Site Certificate" which should be an immediate red light for anyone looking to do business on this site.
First off, this is a quarterly certification... holy crap! The last "Certification Date" is shown as May 14, 2009... which immediately makes me worry since I can't recall the last time I saw an e-commerce site that stayed static for almost 45 days... but let's move past that because after all, compliance is a point-in-time thing... right?

Alright, this next part really gets my blood pumping and feeling like a bull out of the chute... read the first sentence of the text dead center of the Site Certificate carefully...

"On May 14, 2009 www.hockeymonkey.com met the PCI dada security requirements by passing a Securitymetrics Site Certification vulnerability scan"
Come again? Maybe I read that wrong. Nope... read it again and it still sounds just as idiotic.

So, let me get this straight... SecurityMetrics has managed to figure out how to achieve the full spectrum of PCI-DSS Security Requirements via a vulnerability scan? How is that even possible? Since SecurityMetrics is scanning the site from the "outside"... how do they know if the various sections are all met properly? Are desktops being equipped with properly updated anti-malware agents? Are default passwords not used? Something smells like a steaming pile of bullshit.

At least these guys don't make outrageous claims such as that they are "Hacker Proof" or "Hacker Safe"... and instead do say that the scan "significantly reduces the risk that this site will be compromised..." and while I wouldn't give them significantly, I may agree that it does reduce overall risk but only as much as me wearing goloshes in the rain reduces my risk of catching the H1N1 (Swine Flu) bug.

So let's investigate this genius PCI Compliance scanning service that will magically achieve PCI Compliance for their customers a little further, shall we?

From the Site Certification Overview page...
Is Site Certification Easy? It is easy. Site Certification does not require any software installation, software configuration, training or costly maintenance. All your technical support is included and there are no hidden fees. SecurityMetrics does not require confidential system information or access to your systems. You simply enroll and the service is scheduled to run at your convenience.
D'oh! I'm going to ask again... how do they determine any measure of PCI-DSS compliance without access to merchant systems?! Are we doing Scanless PCI again?

Their FAQ Page has a priceless little illustration of the devilish "hacker" exploiting "security holes" in the web server... which is so funny I had to stop a minute to quit laughing. Bulletpoint 3 appears to hint that SecurityMetrics does some measure of web site security testing... to me that means testing for things like SQL Injection, Cross-Site Scripting (XSS), CSRF and other common security vulnerabilities, yet there seems to be no mention of these common vulnerabilities. Instead the site's Product Comparison talks about how many ports they can scan and how many "vulnerabilities" they can identify and scan for.

My absolute *favorite* page on their entire site is the Sample Test Results.I love it! Take a look at this for 5 seconds and tell me this isn't a blatant rip from the Nessus results reports? Take that back... Nessus looks much better these days than this poorly-constructed "report". My guess... they're just Nessus scanning sites and calling them PCI Compliant. [bangs head on keyboard].

One last thing I need to point out, this page which is a List of Vulnerabilities that SecurityMetrics scans for. Out of the total of 5,882 checks (as of today) they break down to 4,486 vulnerabilities, and "if telnet or ftp is enabled the vulnerability assessment engine will test 698 names and passwords common to these services." [mouth wide open... *gasp*]

Let me just say that I read through this list of vulnerabilities and it amounts to nothing more than some basic pattern-checking and typical vulnerability scanner type crap. There are no checks for CSRF (Cross-Site Request Forgery), no checks for XSS (Cross-Site Scripting) that don't involve a vulnerability in a particular application package (i.e. .Net XSS), and no checks for non-specific SQL Injection vulnerabilities... once again - a complete failure of a security service.

The thing I have to wonder is (and I already know the sad answer) why do site owners keep using these services?! For example, JetBlue is apparently one of their customers [not to self: avoid JetBlue website/services at all cost]. SecurityMetrics is not a known brand in security and they have a non-starter product so what draws people to use them? Is it the prospect of having a "PCI Certification" seal somewhere on their website causing them to lose their better judgement?

Logic fails here ladies and gentlemen. Why doesn't someone from the PCI Council do something about companies like this? Isn't it [or shouldn't it be] illegal to claim you can certify someone as PCI Compliant with this rediculous service - when in actuality that's not even close to true?

So... anyone know of any fun XSS vulnerabilities in JetBlue's site, or any of the other SecurityMetrics testimonial customers they'd care to share?

Tuesday, June 30, 2009

[RANT] Call Me a Realist

Call me a cynic, a "doom and gloom" believer, a nay-sayer or what ever else you want - but understand that fundamentally I'm just a realist with a lot of experience in failure.

Hopefully you've had a chance to listen to the OWASP Podcast #27 featuring yours truly and heard my take on App Sec... If you haven't heard the OWASP Podcast yet, Jim Manico does an awesome job identifying, tracking down and interviewing people who have an influential role in web application security - and I for one feel honored that I was picked to be a part of that group. After listening to myself on the podcast I started to see what some of you guys had been telling me about myself - I make one hell of a cynic, don't I?

I sat and thought about it some, as the rains poured down over Progressive Field in Cleveland, OH (and the White Sox pounded the Tribe). Am I really a cynic or do I just know better than to expect something that will likely never come? I think the reality here is that I've worked in companies large and small, with funding and with a shoestring budget, well staffed and with a skeleton crew - and the result has been consistent failure.

Are we just physically incapable of writing good, secure web application code? Yes.

Well, no, take that back. In an imaginary world where we have unlimited time, unlimited tools at our disposal, everyone is well-educated (in security) and has an incomprehensible amount of intelligence for development... yea we'd still fail. You see good security is (like the devil) in the details. Put down the sharp implement and let me explain.

Even in a perfect world there are still things that the individual developer cannot control. In modern applications development it is almost non-existant that a single person writes an entire application without the use of either some code-generating tools, 3rd party objects/modules/includes, or additional support such as a horde of developers. This creates a condition known as "I-have-no-idea-what-they-did-but-it's-not-my-problem-itis" for which there is no known cure. Say, in this perfect land you have a group of developers that understands their tasks well, can secure their code and is smart enough to get support when they need it - but what about all the code they are re-using or integrating with? It's still unpredictable at best and who knows what sorts of security muster it's passed (or not). Someone once told me that we'd have no more code insecurity if we could just get rid of the programmers and replace them with re-usable code. I then reminded that person that someone had to write that re-usable code engine... which leads to the possibility for flaws.

Emerging from our perfect world where security still fails on occasion and returning to the real world we realize that we're under-staffed, over-worked, under-educated and under-budgeted. We've lost the race before the gun goes off. Chasing the big white whale becomes the dream of a madman. In a typical company where risks are a-plenty, and IT is up to its eyeballs in delivery issues it's a little difficult to suddenly step in and talk about security vulnerabilities like they're somehow more important than the 10,000 things that are already on fire. When the whole forest is on fire... which tree do you save first?

Enterprises and SMBs alike are looking to save money, cut corners (whether they want to admit it or not) and unfortunately security sometimes falls off the docket. Whether it's the security team's fault for not properly articulating the issue or the CIO's for simply not understanding the risks... the result is often the same. Somewhere in your business are thousands of lines of insecure, exploitable, and very lucrative code. Worse yet - that stuff has been there for years and now when you review a small snip that's changing and find that the whole thing has to be re-done... no one wants to pony up the money to do the work - right?

If you're not having too hard of a time explaining what it is you really mean by "we're going to be hacked" then you're figuring out how to get budget, or you're attempting to fit the notions of security into the greater SDLC... there's always a problem.

Think of it this way - as technologies become more complex security and development know less and less about each other's art - thus leading to a state where very bad things can happen in a heartbeat. This isn't magically going to get better when you wake up tomorrow. You're also not going to stop outsourcing, off-shoring, and doing development with teams that don't speak your language or understand your culture. Your ancient applications aren't magically going to be sunset in favor of their newer, more secure, versions. Things just aren't getting any better, this has been a trend since the mid-90's.

So... am I a cynic? Yea, I'm a cynic.
Why am I a cynic? I think it's because I know better, and I'm just a realist.

I do hope every day that there is a game-changer just around the corner. A new web development language that inherently disallows the developer to write insecure code, would be a great place to start! Until then ... Skeletor lives.

Monday, June 29, 2009

OWASP Podcast #27 - "Security Skeletor"

A while back Jim Manico (@manicode) of the OWASP Podcast series emailed me and aske me if I'd be willing to do an interview for OWASP.


You readers know I tend to be a bit opinionated, so doing this podcast interview and not offending everyone was front-of-mind. I hope I accomplished my goal... and only a few of you end up thinking I'm nuts after listening.

I hope you enjoy the podcast, I tried to be open, honest, and even informative.


Maybe Jim Manico himself will be kind enough to explain the Skeletor reference...


Listen to the OWASP Podcast series regularly... and go follow @OWASP_podcast on Twitter!

Thursday, June 25, 2009

What ever happened to...

  1. AirCell and American Airlines' "wi-fi in the sky" campaign? So much was made about a year ago and discussions circulated around the security circles... and now no one's said a peep about it months. AirCell's Blog has been quiet since 2007 (shocking!) According to their press release section on their site, they've completed an FAA certification "3 months ahead of schedule" so that must mean it's safe, secure and hacker-proof right?
    "BROOMFIELD, Colo., June 18 /PRNewswire/ -- Aircell, the world's leading provider of airborne communications, announces that it has received full FAA certification (STC and PMA) for its new High Speed Internet system in the business aviation market and that shipments have commenced three months ahead of schedule. The system's first installation has been completed by Midcoast Aviation aboard a Bombardier Challenger 605 operated by a Midwest-based flight department." (linked here)
  2. After beating up on McAfee's "Hacker Safe" (now McAfee Secure) program for a while, the security community seems to have left the folks over at Comodo (see their "Hacker Proof" program) to their own devices... continuing to provide their customers (and the customers of those web sites) the finest false sense of security $2,295.00/yr can buy. What ever happened to crusading against such blatant marketing (notice I didn't say security) stupidity?
  3. Then there was the sage of HoudiniSoft (remember?). They got involved in a massive law suit because they were offering to unlock people's carrier-tethered cell phones (thus breaking those illegal monopolies... wait, did I say illegal?). Where did that go? Their website now touts them as a legal way to re-provision cell phones.. COOL! So I can take my T-Mobile locked phone and "re-provision" it to say...AT&T? (GSM capabilities are currently under development, according to their FAQ, bummer). That sounds pretty cool... I'm sure there are still some legal issues there - but I'm glad to see these guys are still around.
So... there you have it - 3 relevant stories that seemed to have fallen off the grid, silently.

Tuesday, June 23, 2009

Microsoft Security Essentials: Road Test

What better way to test the effectiveness of a malware scanner than to go download random binaries from the dirtiest part of the Internet... the P2P networks. Even worse, to really test Microsoft's Security Essentials I decided I would download, install and run LimeWire... and download binaries (.exe files) that I would normally avoid like the plague.

It's simple to find malware on the 'net these days... pop open LimeWire and search for something like "Photoshop crack" or "{random app here} keygen"... you'll find all the malware testing you could ever want.

As a control to Microsoft's Security Essentials I used VirusTotal.com. If you've never used VirusTotal it's a service that uses the major scanners out there (~40'ish or so) to scan your uploaded file and give you a verdict... pretty neat utility. Since not every Anti-Malware (A/M) program catches all threats it's best to run the binaries I've harvested through this handy-dandy little tool to ensure that I have a good idea of what the competitive products are finding on the binaries I'm working with.

I will admit the results are a little... shocking, even for Microsoft's standards.

Let the games begin!

-----
Testing Method: Download random [suspect] binaries from LimeWire
Keyword Search: "keygen" "crack"
File Types: Windows .exe files
Control: VirusTotal.com
-----

  1. Name: "Office Mac Keygen" | Verdict: Obvious | VirusTotal Link: Here ( 89.47%) | MS SecEssentials: Fail

  2. Name: "All Sony Products KeyGen 1.2" | Verdict: Obvious | VirusTotal Link: Here ( 92.69% ) | MS SecEssentials: Detected - TrojanDownloader:Win32/Tonick.gen (removed)

  3. Name: "ALL_Xilisoft_Products_Keygen_v_1" | Verdict: Obvious | VirusTotal Link: Here ( 90.25% ) | MS SecEssentials: Detected - TrojanDownloader: Win32/Tonick.gen (removed)

  4. Name: "berry white incl keygen by REVENGE" | Verdict: Obvious | VirusTotal Link: Here ( 87.81% ) | MS SecEssentials: Detected - 2 Threats (in 2 files) TrojanDownloader: Win32/Tracur.A & Tracur.B (removed)

  5. *Name: "conficker_including_keymaker_by_T" | Verdict: Average | VirusTotal Link: Here ( 66.67% ) | MS SecEssentials: Detected - TrojanDownloader: Win32/Tracur.A

  6. Name: "solo_le_pido_dios__including_crack" | Verdict: Obvious | VirusTotal Link: Here ( 92.31% ) | MS SecEssentials: Detected - TrojanDownloader: Win32/Tracur.A

  7. Name: "umidimmi_var_KeyGen.All_Versions.zip" | Verdict: Average | VirusTotal Link: Here ( 74.36% ) | MS SecEssentials: Fail

  8. Name: "SRS_Audio_SandBox_1.9.0.4_with_Keygen.zip" | Verdict: Obvious | VirusTotal Link: Here ( 90.25% ) | MS SecEssentials: Detected - TrojanDownloader: Win32/Tonick.gen

  9. Name: "y_hubo_alguin_crack-serial-keygen.zip" | Verdict: Average | VirusTotal Link: Here ( 70.74% ) | MS SecEssentials: Fail

  10. Name: "registry_clearner_from_TSRh_team (cracked).zip" | Verdict: Average | VirusTotal Link: Here ( 60.53% ) | MS SecEssentials: Fail
Looking at the results, one could conclude that Microsoft's SecurityEssentials did not fare well compared to other anti-malware scanning engines. That being said the Security Essentials detection engine broke down on 1 obvious piece of malware (90% detection rate) and then choked on another 3 pieces of malware that had 60%, 70%, and 74% detection rates respectively. Ordinarily that's pretty bad but when you consider that Microsoft Security Essentials is free... one has to wonder.

Overall some things that I noticed is that the engine's real time protection is a little lacking, as it rarely (only once) caught the piece of malware as it was being unzipped, and typically only when I attempted to actually run the file. This obviously isn't optimal, but not an entirely show-stopping failure given that most of the active pieces of malware require you to activate them somehow... such as double-clicking to execute the file.

---
Bottom Line: The verdict, unfortuntaely folks... is that Microsoft's Security Essentials is essentially lacking on the detection front. In a world where Internet-borne threats are polymorphic, stealth, and ever-changing the Security Essentials tool fails to deliver real protection against the nasty things that go bump on the 'net. Even when compared against other freeware detection engines (such as AVG) Microsoft's engine still competes poorly, since every single piece of malware that Security Essentials missed, AVG's scanner caught.

Sorry to say - but I recommend spending the cash for a decent anti-malware scanner boys and girls, "Code-name Morro" (Microsoft Security Essentials) isn't up to the task of protecting your computer.

I would like to stress that this is a test of static file analysis, and not of "invading malware" from a drive-by download or something... I downloaded files and then had MSE (Microsoft Security Essentials) check to see if it could detect malware hidden inside the ZIP files they came in. Your results may vary!

Interestingly enough - Steve Ragan over at The Tech Herald had exactly the opposite results. Odd... not sure what to make of this yet... but rest assured more analysis is happening as you read this. Check out Steve's absolutely comprehensive analysis (complete with video!) here... http://www.thetechherald.com/article.php/200926/3926/Review-Microsoft-Security-Essentials

Microsoft Security Essentials: First Impressions

Hey folks, in case you were living in a cave, Microsoft's Security Essentials (formerly code-named "Morro") is now live and available for download.

As it went live at 11:00am Central Time I couldn't help but snag it the minute it went live... and wanted to throw out my first impressions and continue to update this post as I put the free anti-malware client through its paces in my lab.

Lab Configuration:

  • Host: Linux Ubuntu 9.04 running Sun VirtualBox
  • Host OS: Windows 7 RC build
  • Memory: 2Gb
  • Disk: 20Gb
  • This is the only anti-malware client on this [virtual] machine
After jumping through the hoops to download the BETA, and actually reading the EULA and software agreement (which is pretty standard, by the way... no giving up your first-born), I got the client installed and working just fine. I grabbed the available version (6/21/09, Ver. 1.0.1407.00) and installed it immediately.



First thing I noticed is how utterly tiny this client is, at just over 4.7Mb, that's astounding! Maybe this isn't everything that my monstrous Kaspersky install is on my laptop... but this is pretty impressive if it can deliver. On disk, after installation the Microsoft Security Essentials directory is just 8.67Mb, with 38 files in 6 folders... again, not too bad. As far as system resources are concerned, the msseces.exe process runs in the context of the currently logged-in user (as is expected with Windows 7 controls) using ~0% CPU and just 3.468Kb of memory. With such a small footprint one has to immediately wonder... is this thing even effective? I'm going to find out.

One thing that those of you who are used to complex anti-malware packages will notice is the distinct lack of advanced features... this is, after all, a very simple anti-malware client. Simple being the operative word here... so you can't expect much for free... or can you? There is the option of Real-Time protection which enables itself after the first auto-update and there is an auto-update features, since the goal is to reach those who would never remember to do it manually. Overall first-impressions are... "yea, it's simple".

Looking at the settings one thing did strike me though... the participation in Microsoft SpyNet (which is apparently a carry-over from the Windows Defender tool) has a Basic or Advanced membership. I can't quite tell exactly what the advanced membership buys you (the user) or why it shouldn't be the default... as it appears that it would help the SpyNet folks pin-point the malware more closely. One thing I did notice is that there is this interesting clause, which I can't imagine worrying anyone...
"In some instances, personal information might unintentionally be sent to Microsoft. However, Microsoft will not use this information to identify you, or to contact you."
That unintentional gives away something that I think needs to be further investigated. What types of information is being sent over? How can analyzing malware unintentionally lead to disclosure (or harvesting, accidental or not) of your personal information? I'd venture a guess that as malware collects information on YOU, it may inadvertently pass that information on when it's captured, but I can't say for sure.

Here's how I'm laying out my tests for the coming week or so...
  • Using Security Essentials I'm going to find and download some "questionable content" from the dirty underbelly of the Internet...
  • I plan on comparing SecEssentials performance in detection and raw stopping power against that of my Kaspersky installation protecting another VM...
  • I'm also planning on comparing "Morro" or Security Essentials against some of the other things out there including PrevX (if they ever get back to me)...
Look for more coming soon... so far, so good. Do you have the BETA installed? Have you given it a test-run and found anything interesting? Be the first to comment here... let's hear your reactions if you're willing to share!

Friday, June 19, 2009

ATMs Hacked by Brilliant Trojan Malware

As if we needed another reason to dislike the Microsoft Windows OS... then this happens. Windows-based ATMs in Russia and the Ukraine are apparently being trojaned, quite cleverly may I add, to become silent theives!

"What he has discovered is a devious piece of criminal coding that has been quietly at work in a clutch of cash machines at banks in Russia and Ukraine. It allows a gang member to walk up to an ATM, insert a "trigger" card, and use the machine's receipt printer to produce a list of all the debit card numbers used that day, including their start and expiry dates - and their PINs. Everything needed, in fact, to clone those cards and start emptying bank accounts. In some cases, the malicious software even allows the criminal to eject the machine's banknote storage cassette into the street." (Paul Marks, NewScientist, June 17, 2009)
That's just incredible. What makes this even more crazy-sounding is that it's not like you can walk up to an ATM and insert a USB key, or point to some shady URL... this has to be an inside job. Criminals are getting to the people who engineer and/or services Automated Teller Machines [ATMs] and having them insert these little "digital skimmer" trojans.
"Equally ingenious is how the crooks harvest their stolen data - by using the ATM's receipt printer. Inserting a trigger card into the machine's slot causes the malware to launch a small window on the screen, with a variety of options. The first is to print out a list of all recently used cards. The data on the printout is encrypted, so crime bosses could enlist low-level accomplices to visit ATMs to retrieve the printouts, safe in the knowledge that they cannot use the data to clone cards themselves." (Paul Marks, NewScientist, June 17, 2009)
Crooks have really thought of everything. I know I've agrued for a long while that targeted malware is reaching a point in the evolutionary cycle where "anti-malware" programs as we know them may as well not even be installed. It's crazy to think that these pieces of software are so optimized, so well-hidden, and so well constructed that they can not only hide inside a system undetected - but they can also modify themselves (as this article suggest) in order to further evade detection! What's next... I'm almost afraid to ask!

Here's the real meat of the problem... this isn't a traditional hack job, in the pure sense - it's social engineering (maybe some extortion too) throwin into the mix. This reeks of the crime syndicate methods of old...and new. Getting software onto a computer remotely is one thing; but being brazen enough to get it onto a machine by manually putting it there... that's an entirely new level of commitment. Of course, the amount of money these criminals are able to skim probably justifies this. Think of the organizational heirarchy that has to be in place (or has long been in place, as I suggested previously) to execute these types of attacks.

"The hardest bit for the criminals is installing the malware in the first place, as it requires physical access to the machine. That most likely means an inside job within a bank, or using bribes or threats to encourage shop staff to provide access to a standalone ATM in a shop or mall.

News of the card-data harvester has shocked banks and security analysts. "My reaction to this was: how the hell did they get that software in there?" says Lachlan Gunn, head of EAST. "It must involve insiders." Colin Whittaker, head of security at the UK's Association for Payment Clearing Services (APACs), agrees: "The levels they have gone to to corrupt ATM engineers and install this software is just incredible." "

So now you have an inside job, run by someone with access to incredibly sophisticated programming talents, deep pockets and henchmen who are willing to do the dirty work. Well, if this doesn't immediately scream organized crime to you - you've got to open your ears. We've had more than ample evidence over the last several years that organized crime is more and more interested in computer crime - and this takes it to levels previously unseen. I think, quite honestly, security is now at least 2-3 steps back behind the "bad guys"... sounds like there is quite a problem brewing.

** Huge thanks to Gunter Ollmann for pointing me to this, the original TrustWave report, on Twitter. Gotta love that social medium! Notice the "file creation/install date: July 2007"... wow.

More as this develops...

Thursday, June 18, 2009

Watcher - Web Vulnerabilities Served Up Passively

I'm lazy, and getting lazier these days.


Therefore, it should be no shock that I love tools that don't require me to do much of anything to get great results. How about a Fiddler plug-in that simply watches me browse the site I want to target and stacks up potential vulnerabilities (or areas that require further exploration) in that site or application? Sound good to you?

A tool called Watcher fits right into that category when it comes to web application vulnerability detection. I stumbled upon this tool a while ago while looking through the web for browser-based web site security vulnerability detection (hacking) tools. Chris Weber of Casaba Security came up with the idea while researching browser-based, lightweight tools to complement his penetration testing strategy and other tools in his arsenal. Since he'd already been using Fidder (a plug-in testing assistance tool for Internet Explorer) he figured why not just write a plug-in to Fiddler and do passive site vulnerability analysis. Watcher is the result of that endeavor.

So here's why I think you should make Watcher part of your toolbox if you're doing web application/site secrity analysis or penetration testing....
  • Watcher enables vulnerability hotspot detection which gives you a better idea of where to target your efforts; essentially focusing on where JavaScript and user-controlled HTML are rampant
  • Watcher integrates nicely in Fiddler2 and provides additional functionality in a very low footprint
  • It's useful... and the new version 1.2 (coming very, very soon) has added checks for many things that should interest you as a tester including cookies, headers, user-controlled content space, SSL and other things
  • Has explicit checks for "dubious information disclosure"... which I think a lot of the commercial scanners don't do a good job of defining
  • It's simple and nearly effortless... now that's a feature everyone will love
  • You get results... and with very little effort you can help spot trouble spots in site that require your further testing skillZ
Will Watcher replace your current commercial or open-source web application vulnerability scanner? No, most definitely not. Is it the only tool you need... definitely not. Does it have a super-comprehensive library or checks... and does it never generate false-positives? Nope. So why try it? Simple ... because you have a finite amount of time to test a monstrosity of a site, and you have no idea where some of the lower-hanging fruit might lie... Watcher can help you figure that out while simply browsing the site.

As someone who lives in the web site vulnerability world... I now include this in my toolbox for when I'm looking at a large app with no idea where to start. I simply keep this tool running and just browse... Watcher does the rest.

Kudos to Chris over at Casaba, keep the releases and signature updates coming!