The idea of a firewall of some sort for web applications seems like a good idea, but this particular one seems rather lame. For example, here's the complete code that implements the 'local file inclusion' attack detection: var url = require('url'); exports.check = function (req, res) { if (req.url.indexOf('../') > -1) { fusker.handleAttack('LFI', req, res); } }; https://github.com/wearefractal/fusker/blob/master/lib/…
Fusker - a NodeJS security system that attacks back
31–36 of 36 posts
Re: Fusker - a NodeJS security system that attacks back
#32The solution to this is not to launch a counter attack on the attacker, but to automatically launch automated collaborative investigation where evidence is gathered to try to nudge the attacker into doing something that reveals his location/identity. 1. Software notices inappropriate behavior. 2. Launches a honeypot service with lots of holes in it to give attacker opportunity to get root. 3. Root takes them to a loc…
How exactly is this "recursive trace" going to work? As soon as you get to a computer the attacker controls he can subvert whatever mechanism you're thinking of.
Re: Fusker - a NodeJS security system that attacks back
#33Earlier quoted context omitted.
http://en.wikipedia.org/wiki/TCP_sequence_prediction_attack You spoof the IP address you are sending from and then predict the TCP sequence number so you can make it look as though you are receiving the replies (even though they are going to another machine since you spoofed the IP address). Such an attack was proposed by Hacker News' very own rtm: http://tools.ietf.org/html/rfc1948
Unfortunately for my original point, it looks like my info was waaaay out of date, and most OSs started using cryptographically random ISNs years ago. My bad, sorry for the noise. edit: I suppose this means it's time for me to finally discard my copy of Inside TCP/IP, third edition. :-(
Re: Fusker - a NodeJS security system that attacks back
#34Completely misses the point of XSS and XSRF attacks. In those scenarios the 'attacking' browser is actually the attacker's victim. If you use this module, an attacker can link a victim to you and have your 'defences' arbitrarily attack them, making you part of the problem, not the solution.
Hmm... this never occurred to me. The future of the project is going to be socket.io packet analysis with detectives. The current http request analysis is really weak and not intended to be the main focus If you want to prevent this from happening there will be http-xss and socket-xss detectives in the future, just leave out the http-xss to keep it safe. Optionally you could always set your payloads to logging only
Re: Fusker - a NodeJS security system that attacks back
#35be careful with anything that "attacks back", the legality of that is still being phrased. yes, i know that it doesn't "really" "attack back" but when you phrase it that way you're going to raise some hackles.
I think this project, much like all "offensive security" projects, is fundamentally misguided. At best, this project loudly alerts the hacker every time an attack is detected, providing an easy way to black-box test the service's attack detection criteria. At worst, it provides an easy way for jerks to goatse, Last Measure, etc. third parties using the webmaster's site. While I understand the kind of spiteful thrill that would come from redirecting a (maybe not) attacker to a shocking image, quietly stopping and logging the attack is always the best option.
Re: Fusker - a NodeJS security system that attacks back
#36be careful with anything that "attacks back", the legality of that is still being phrased. yes, i know that it doesn't "really" "attack back" but when you phrase it that way you're going to raise some hackles.
"Attacking back" with shock images may be genuinely legally problematic, given the untested new Tennessee law on the subject. http://arstechnica.com/tech-policy/news/2011/06/tenn-law-ban... . Using the included nimp payload is even more legally problematic since it actually does redirect the user to a site that contains malicious code. I think this project, much like all "offensive security" projects, is fundamentall…