
#-----------------------------------------------------------------------
# Copyright (C) 2000-2001, Jean-Sebastien Morisset <jsmoriss@mvlan.net>
#-----------------------------------------------------------------------
# $Id: hack-a-tack,v 1.4 2001/08/11 17:01:21 jsmoriss Exp $
#-----------------------------------------------------------------------
# README
#-----------------------------------------------------------------------
#
# These rules were developed based on <http://xforce.iss.net/alerts/
# advise30.php>.
#
# Hack'a'Tack is a backdoor that allows attackers to move and kill 
# windows on your desktop, open an FTP server on your machine, log 
# keystrokes, save passwords you type, shut down the machine, and 
# upload, download, and execute files. Hack'a'Tack only runs on Windows
# 95 and 98.
#
# To install, copy this file to /etc/firewall/modules/public/
# block-remote-ports/hack-a-tack. There's no need to execute rc.firewall 
# with the --update-config parameter.
# 
#-----------------------------------------------------------------------
# START OF MODULE CODE
#-----------------------------------------------------------------------

echo "Reject $INTOPT $IPADDR -> $ANY Hack'a'Tack (logged)"
ipchains -A $OUTCHAIN -j REJECT -p tcp -y -s $IPADDR $UNPRIVPORTS -d $ANY 31785 -l

