🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.privacy.anon-server
Article #275856

Re: Question - breakin attempt

#275856
From: Jeremy Bentham
Date: Tue, 01 Sep 2015 18:57
46 lines
2992 bytes
>> Does anyone know what these www log records are about?  I can't
>> seem to block them with iptables.  It looks like someone is using
>> hex code to try to break in.  I was hopeing that a string match on
>> "x00" would stop this, but the top record has "x00" and got through
>> anyway.
>>
>> "\xE9Gn\x0F\x89\x9A\x1ET\x16\xB8\x91\xF0\x9A\x
>> 1ET\x89\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0
>> 0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\
>> x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0
>> 0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" 400
>> 172 "-" "-"
>>
>> "\x96)\x83\x228\xD5\x92j\x14O\x09\x91\xE6\xC7s=8\xB4\x90T-\xC5-
>> \x16\xE0\x10\xD6\xDF\xF0\xC1'==\x82k\x1B\xA0\xF0\x9A\xEE\xAC\xC
>> 1Q'\xB3P\xBElQ\xEDp\xB1\x18\xEE\xFC\x84}\x95a\xA4\x99M\xC7\x8D\
>> x87\xC5\xE2\xCAk\xF5\xE5\x98\xF7*5\x01$\xD6\xCF\x16nC\xCA\x83\x
>> ED\xBBYS$\xD7\xF0)\x966x\x18@\xEF" 400 172 "-" "-"
>>
>> "\x02%m\xE4V\x89:\x9E\xA1V\xDF\xAB\xFF\x9E\xE9
>> \xC1\xD7;\xE2E\xFA\xDD<\xA7\xE0\x0CC\x8B\xAD\x
>> C3Z\xB4\xBE\x80\x8FU\x87\xEC\x1A\xCA+\x02n\xD5
>> \x9B\xE6\x93\x90\x11\x01\xF4t\xDE\xA6\x07@\x98
>> \x14S\xA8\xDE(\xE3\xB8Z\xCF\x9D\xDA)^\xBF\xC7\
>> xB7\xE3\x9B\xE1\x16*)}z\x9CC\xE1$|\xEAc\xBA\x9
>> 5\xE9a$\xB1g\x83a\xE6uy\x9Ak\xE8\x95%\x9D\x13\
>> xD1\xB1\x09\xFA\x05\x14"
>
> Try this. x00, x16, x89, xF0 seem to be common to some of the
> records.  "--from 21" should keep you out of the TCP header.  If
> this works and you get another hex string in the payload, see if
> x00, x16, x89, and/or xF0 is in the payload.  If one of them is,
> then the DROP string isn't working as planned.  If the hex
> characters are not in the payload, then add one of the hex
> characters from that payload in the iptables.
>
> iptables -A INPUT -p tcp -m multiport --dports 80,443 -m string --
> hex-string "0x00" --algo bm --from 21 --to 300 -j DROP
> iptables -A INPUT -p tcp -m multiport --dports 80,443 -m string --
> hex-string "0x16" --algo bm --from 21 --to 300 -j DROP
> iptables -A INPUT -p tcp -m multiport --dports 80,443 -m string --
> hex-string "0x89" --algo bm --from 21 --to 300 -j DROP
> iptables -A INPUT -p tcp -m multiport --dports 80,443 -m string --
> hex-string "0xF0" --algo bm --from 21 --to 300 -j DROP

  I would up '--from' 21 to '--from 55'.
Technical Details
Message-ID: <54fb341dec1a9703f088e66e894f5670@anemone.mooo.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!news.usenet.farm!..!..!not-for-mail
References: <a82b0ef181ec1f33349e3576647109c0@anemone.mooo.com>

Show Full Headers
Complete Article Headers
Message-ID: <54fb341dec1a9703f088e66e894f5670@anemone.mooo.com>
Subject: Re: Question - breakin attempt
Date: Tue, 01 Sep 2015 18:57:04 +0000
From: Jeremy Bentham <nobody@anemone.mooo.com>
References: <a82b0ef181ec1f33349e3576647109c0@anemone.mooo.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!news.usenet.farm!..!..!not-for-mail
Newsgroups: alt.privacy.anon-server
Organization: dizum.com - The Internet Problem Provider
X-Abuse: abuse@dizum.com
Injection-Info: sewer.dizum.com - 194.109.206.211
Lines: 46