[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Hacked .htaccess redirect to htttp://reltime2012.ru/frunleh?9



On Wed, 22 Aug 2012, Dr Beco wrote:
> Does anyone knows how to protect against unauthorized change of .htaccess?

If you have root access, try to use chattr to mark that file as
immutable (chattr +i).

But really, if they keep changing your .htaccess, it means they have
compromised the box, and will remain compromising it until you clean the
box (probably rebuild from scratch) AND close the security holes.

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh


Reply to: