Live data from Hacker News

How to Hack and Not Get Caught

blog.spiderlabs.com

11–19 of 19 posts

Re: How to Hack and Not Get Caught

#13
post #7

For external interfaces I don't see a need to avoid portscans - they're popular enough on the open internet that it's not going to attract attention or deviate much from standard traffic.

  I disagree. Port scanning, even externally, can be messy and still raise flags. Most are done as a single nmap shotgun effect. It is better to obfuscate better than i've seen most do. (eg: I'ts better to do common normal port ranges (and smart variants), distributed network, over a long period time).

 I think it's kind of messy, and firewalls definitely can flag it. And I think over the next year as things like Storm will be more tightly wrapped into log analysis and firewalls for real time processing. (Think smarter honey pots and smarter / real time customized pattern recognition).

Re: How to Hack and Not Get Caught

#14
post #5

I'm don't get paid to do this sort of thing very often, but when I have been paid, the client has always asked for noisy generic scans that can be integrated as part of a periodic review process (for internal or external parties). Explaining that the bad guys won't be so nice as to light up your IDS with an internal portscan or try to brute force some random database was met with complete indifference. I guess as som…

I'm not really surprised at that reaction.

Most people are looking for someone to perform a cover-your-arse paperwork exercise. By paying someone to port-scan their network, they can say "we receive regular security audits".

The fact that they haven't done a proper penetration test is immaterial.

Re: How to Hack and Not Get Caught

#15
A company I worked for got pentested by QinetiQ, both pentesters were thoroughly nice guys and could probably have been blackhatters. They were very efficient, they left zero traces and avoid just going "We exploited X attack vector" and actually dug around the systems to see what they could get. If you hire a pentester get guys like that, as it's the closest you ever want to get to a real world attack.

Re: How to Hack and Not Get Caught

#16
But isn't it ironic that blackhats bent on data theft so rarely cause system outages?

We have no way of knowing this. If a blackhat smashes your system to crap, you won't know what caused it. Maybe things just broke. I once permanently lost a machine to the ping of death (the hard reboot was the straw that broke the camel's back) and only knew about it because the entire dorm got hit by the ping of death. If I had been targeted it would have just been the machine dying on me. Which happens to me anyway. [1]

But if the whitehat scans your system at 4:52AM and your system breaks at 4:52AM, then you will know exactly what happened.

And knowing exactly what ports are open is information that is really valuable to a client. An external audit can find what insiders are too busy to pay attention to.

[1] http://news.ycombinator.com/item?id=4900688

Re: How to Hack and Not Get Caught

#17
post #14
post #5

I'm don't get paid to do this sort of thing very often, but when I have been paid, the client has always asked for noisy generic scans that can be integrated as part of a periodic review process (for internal or external parties). Explaining that the bad guys won't be so nice as to light up your IDS with an internal portscan or try to brute force some random database was met with complete indifference. I guess as som…

I'm not really surprised at that reaction. Most people are looking for someone to perform a cover-your-arse paperwork exercise. By paying someone to port-scan their network, they can say "we receive regular security audits". The fact that they haven't done a proper penetration test is immaterial.

"our site can't be hacked, it has an SSL cert!"

Re: How to Hack and Not Get Caught

#18
Vilification of discovery scans in 2012. Weird.

Yes. Appstack is totally the way to go if you're an app pen guy. Shocking.

Portscanning not too useful in a whitebox pen assessment, sure.

Don't do it at all because blackhats "don't do that"? Not really. Just make sure instrumentation and response exists for both of these cases.

Pen guys don't want to perform an assessment of the environment to gauge targets but instead just break out the same kit for each engage? Sounds fine if it works for them and leaves more things to discover to the next crew that wanders through.

Sounds like more "pentesting isn't compliance" drum beating, which is both good and bad.

Re: How to Hack and Not Get Caught

#19
Assuming you've done the prep-work to ensure you get placed on a well-populated user desktop network

This is a write up of attacking LANs from the inside, privilege elevation stuff. Only relevant for large networks obviously.

Post reply on HN