Secure Coding – Not many do it well …….

Posted on March 30th, 2007 by Drazen Drazic

Computerworld US reported on this new initiative the other day:
Are your software programmers coding securely?

How do you criticise a program that tries to address what we see as one of the biggest issues in our field…………….but do we really need another certification?

Don’t get me wrong, developers will learn from this (if they engage), but lets hope organisations don’t get a false sense of security so to speak and continue to neglect important aspects of the SDLC that so lack security consideration/input today. Passing a few exams does not make one a specialist.

On a more positive note, we are seeing a growth in awareness in this field so any steps like this are positive.

Posted in Applications | 1 Comment »

Responsible disclosure and making a buck out of it?

Posted on March 29th, 2007 by Drazen Drazic

Interesting story on CNET: Mozilla: Hackers control bug disclosure.

From the Security-Assessment.com perspective, we don’t sell our research to product vendors. We do it for the security community and aren’t that keen on helping some of these dudes flog their gear.

The 30 days is probably not workable all the time…….but hey, set a benchmark and then assess each scenario on its merits if the deadlines are not met. We’ve had instances of vendors taking many months……but ultimately it needs to be judged in whose interests the disclosures are made.

Posted in Research | No Comments »

Hack a Mac – not possible or depends upon the company you keep?

Posted on March 26th, 2007 by Drazen Drazic

www.securityfocus.com/brief/468

Posted in MAC Security | 3 Comments »

HSBC……big? In what context?

Posted on March 25th, 2007 by Drazen Drazic

www.networksasia.net/ena/article/articleDetail.jsp?id=413681

The Disclosure Law discussion in recent times is hotting up a bit. It will be interesting to see how a “breach” is defined.

Big news this? Rare event? Hmmmmm……

Posted in Disclosure Laws, Dumb Security | No Comments »

PCI Security Standards Council Head Talks……

Posted on March 25th, 2007 by Drazen Drazic

www.technewsworld.com/story/56467.html

Posted in PCI, PCI DSS | No Comments »

Targeted Attacks: F-Secure Latest Video

Posted on March 19th, 2007 by Drazen Drazic

Posted in Research, cyber crime | 2 Comments »

Organising a penetration test for your organisation………

Posted on March 18th, 2007 by Drazen Drazic

Some good points raised in this article:www.it-observer.com/articles.php?id=1308

There’s few good companies out there that do penetration testing well and they’re generally the smaller specialist organisations (yeah, I have to mention Security-assessment.com).

We still see and hear about mobs doing this work for clients and shake our heads at the results / output. There’s still guys out there running basic VA and port scans and delivering stock standard reports out of the likes of a Nessus to clients and calling it a penetration test.

It’s hard for organisations to know what questions to ask and how to compare offerings because it is such a specialised field. This article goes someway to helping.

Posted in Applications, Bad Developers, Forensics, Research, Vulnerability Management, Web Application Security, cyber crime | 4 Comments »

Wow…exciting news…..

Posted on March 18th, 2007 by Drazen Drazic

Running Vista “legally”:

www.computerworld.com/action/article.do?command=viewArticleBasic&articleId=9013258

Posted in Uncategorized | No Comments »

Security Surveys……..

Posted on March 18th, 2007 by Drazen Drazic

Is there one security survey (from the plethora of “surveys” produced each year eg; Big 4, FBI, IDC etc etc) that from the outset states: “the information contained here cannot be verified and in most cases, should not be taken as fact……….because we can’t verify the information and we have no idea on what basis the company we asked has based their response upon?”

Can anyone surprise me and find one?

MTC………………. And they’ll be rolling them out again soon for 2006, telling us how it is.

Posted in Uncategorized | 1 Comment »

IDS / IPS, Firewalls and Perimeter Defences – From the Trenches View.

Posted on March 16th, 2007 by Drazen Drazic

New technologies, some new approaches and a plethora of products (wrapped up in fancy new terms) keep appearing on the market, but, what’s really changing in terms of bottom line protection and security?

www.computerworld.com.au/index.php/id;748050467;fp;4;fpid;16
www.computerworld.com.au/index.php/id;349496118;fp;16;fpid;1

From what we are seeing, a reliance on technology alone is still rife out there. Organisations are still buying IDS / IPS systems and see these systems as the silver bullet to their perimeter and in some cases, internal security needs.

I asked some of the Security-Assessment.com team recently their thoughts on IDS / IPS and firewalls and what impacts we have seen in our ability to perform web application / penetration testing. Here’s a summary of some of the comments. I hope you find this interesting:
———————————
The success of these things as we all know depends on the implementation and skill of the analyst deploying and managing the systems. Even then, to rely on these things as the solution is dicey. In the majority of cases, they just don’t end up doing what they were purchased for. An easy test that most fail is with basic port scans (that almost all are configured to pick up). We assume most are picking up “loud” scans (really fast and obvious scans with no attempt to be sneaky about what we are doing), but few people are pulling us up on this. (Keep in mind, with a majority of our tests, we recommend that clients don’t tell the operations team responsible for monitoring these devices that we are going to test – thereby, we also test the response effectiveness). Where such packets are being dropped, as we expect they would, by slowing down the scans, we generally get the desired result we’re looking for!”

Most of the IDS we come across is Snort. While it is a real-time IDS, people use it as a batch mode audit tool, to review data after the fact. This doesn’t effect our testing. Few non-government client’s perimeter defences actually impact upon our ability to perform our testing work. I can’t remember the last time this happened. We generally only get picked up (and even then, just on basic port scans – nothing clever) when the network team knows there is a test on at the time – otherwise, it’s free reign – standard at the application level.

An IPS only forces the attacker to know their exploits better, and take things slower. For instance, an IPS may drop all packets that have NOP sleds in them (0×909090 etc) which is used in a lot of (kind of sloppy) buffer overflows. It is however possible for an attacker to stop the IPS from seeing this. Eg:

1) remove the NOP sled and calculate the return address in the exploit properly.
2) play with encoding of the data and fragmentation of the packet
3) encrypt the packet.

Point 3 brings me to the major point about IDS / IPS. Network Encryption. Anything of value should be encrypted, and when you stop the bad guys from seeing your traffic, you also stop the good guys. There are ways around this, but the people who engineer the IDS/IPS implementations don’t always think it through. Sometime the mere existence of traffic is enough to cause alarm, without even needing to know what is in it. For instance, an SSH connection from the Internet to an internal host or an unauthorised VPN terminating on a workstation. But not always. HTTPS to web servers is often missed – which is a critical one.

As we know, the way around this (and many many other IDS/IPS bypasses) is proper design and administration. There are only a handful of people in Australia that know how to run an IDS properly….. and fewer companies that are willing to pay for their IPS to be administered to a useful level.. the whole system is just so expensive – with most implementations being a waste of time and good money. I could go on for hours.. but I guess that gives you the idea :-)
————————————–

Personally, I just don’t see application inspection on web traffic. Of all the web jobs I have done in the last 3 years, not one carried a front end ‘box’ with the solution.
—————————–

In some cases, particularly with a certain FW’s application intelligence enabled (about 10% of jobs) our port scans get trapped in an endless loop and cannot properly complete. But even with this enabled, there is nothing to restrict what sort of packets reach web servers because all network firewalls pretty much allow anything through to 80, 443. Still haven’t come across an effective application layer firewall in our testing (or if I have I never noticed since it didn’t impact testing!)

IDS/IPS inside the network… rarely ever are effective because:
- they may remain un-updated with signatures
- no resources for log inspection/correlation/reporting/incident mgmt (unless you are military?)

Also, in many jobs, we find firewall rules are not secure enough. i.e. you can get past certain rules by flipping your source port or other parameters to certain values :-)
—————————————-

In summary, we are seeing a growth in the deployment of perimeter defences but surprisingly, we’re not being impacted in our ability to crack system defences and discover major weaknesses in the network and application environments. So what are these systems doing in most organisations?

www.securityfocus.com/firewalls
www.securityfocus.com/ids

On the flipside, very few organisations are investing in vulnerability assessment and management solutions – go there first I would recommend and proactively fix your vulnerabilities so even if someone or something (eg; worms) get by the FW, IDS and IPS (and they will!), there shouldn’t in most cases (I say most), be anything to do on your hosts and other network devices. Applications are another beast – develop securely and test, test, test – throughout the SDLC and regularly in production!

The Jericho Forum approaches perimeter security from an entirely different vein. If you’re not up to speed with what’s happening here, it’s worth a read.

www.opengroup.org/jericho/

Posted in Firewalls, IDS, IPS | 1 Comment »

Morgan on SANs Security – MIS Magazine ….

Posted on March 13th, 2007 by Drazen Drazic

The hardcopy edition has Morgan’s tips for IT Managers that the link doesn’t but worth a read anyway:
www.misweb.com/magarticle.asp?doc_id=26121&rgid=2&listed_months=-1

Posted in Research, Vulnerability Management | No Comments »

Dec on passwords ……

Posted on March 12th, 2007 by Drazen Drazic

www.security-assessment.com/newsletter/march_2007/passwords/

Posted in Uncategorized | 1 Comment »

Finally…… tougher regulation in Australia?

Posted on March 12th, 2007 by Drazen Drazic

This will be interesting to follow:

www.computerworld.com.au/index.php/id;539294509;fp;16;fpid;1

Posted in Disclosure Laws, governance | No Comments »

Why would anyone be a security manager/admin/analyst in any company?

Posted on March 9th, 2007 by Drazen Drazic

Let me from the start, take consulting dudes (external) out of the picture, because, obviously we / they know everything and recommendations and reports presented by them / us weigh a tonne compared in most cases to what internal dudes say.

Now, to the point of the question – why would any normal person want to be an internal security manager/admin/analyst when:
1. You’re everyone’s mate when you join. You’ve been brought in as the golden child to solve the company’s problems. Every IT dept manager is keen to meet and “brief” you on how life in the organisation is and should be, and within a month or so, as you start to display your talent, you’re no longer a “team player”.
2. Everything you were told before signing the contract about your sway in the business, your ability to effect change and improve things, in reality means: the organisation that pays you, will fight you every step of the way before allowing you to perform what you believe your role to be. In most cases, you won’t be able to.
3. Your fellow IT guys will have no sympathy or empathy for what you do. (You think, how are some of these people working in IT? You see you are the minority)
4. You feel like you’re the sole voice in telling the dudes you work for that they have major problems. Even when you get an audience with “management”, you get lip service only.
5. You battle every step of the way to achieve even small gains.
6. You spend most of your time wondering why TF you are there and life must be better elsewhere.
7. The company engages consultants (See section on “Management Consultants” chapter in Scott Adam’s “Dilbert Principle”) who come in, cost heaps, tell the company what you already told them, their recommendations are taken on board and you are asked why this isn’t happening already.

It’s a rare breed that does this role. My first post on this blog talked about “Irish” – this post covers that again.

Keen on your thoughts.

Posted in WTF, governance | 10 Comments »

Web Applications more secure these days? Not from where we stand!

Posted on March 5th, 2007 by Drazen Drazic

The recent figures posted by Accunetix (see previous post) were an eye opener to many – including long term IT industry guys…….and that is a concern.

The simple facts are that most people do underestimate the problems out there on websites and are comfortable in believing that many in the IT Security business are being alarmist, far more than they should be, and doing no more than trying to keep themselves in business.

The truth is that bad things are happening out there and just because people don’t hear about it, doesn’t mean it isn’t happening. We know, because we see it everyday.

Are web developers getting smarter in regards to secure coding? Based upon our experience, I’d say they’re not. Most haven’t heard of OWASP, have never been taught secure coding practices / skills and rarely work in an environment where security plays a role in the SDLC.

I’m not just talking about internal developers – you can lump in third-party hired guns into that category. It never ceases to amaze me when we review new sites developed for organisations by so-called experts.

A good friend is the CEO of a manufacturing business – offices in Australia, Asia and the UK. While they’ve had a basic web presence and e-business capability for a while, they recently paid for the development of a new B2B and B2C site. Good dollars exchanged hands. Now CEO is no IT guru but when dealing with a supposedly reputable development shop, he does expect a quality product for his dollars. As a favour, we offer to test the site for him. Now where do we start?

- Information leakage throughout
- Access for anyone on the net who wants to track who’s buying and how much from his company
- User-friendly access to admin screens to test password guessing capabilities
- Convenient site back up including all application source code zipped up in preparation for anyone to download
- Detailed error reporting to support our “tests”
- A nice photo of a baby in a bath with its mother (we guess it could be one the developer’s new born baby) – though you’d have to know where to look on the site to find it.
- etc etc etc ….. it goes on and on……and we’ve barely gotten into any real testing as yet.

An exception? No!

If anything, the Accunetix figures could be pumped up another 20% and I reckon you’d be closer to the mark.

DD

Posted in Applications, Bad Developers, Vulnerability Management, Web Application Security | 1 Comment »