Forum Moderators: open

Message Too Old, No Replies

DTS Agent

error_log shows 86MB of Warning: Truncating oversized username

         

nancyb

4:35 pm on Sep 29, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



woke up this morning to an error_log that jumped from 1.9 MB to 86MB overnight!

NoteTab Pro let me open this huge file after I downloaded it and I discovered:

Warning: Truncating oversized username
Skipping bad record (1)
...
...
Warning: Truncating oversized username
Skipping bad record (315888)

this is the entry in my access log just before these started occurring:
192.116.134.100 - - [28/Sep/2003:18:54:38 -0400] "GET / HTTP/1.1" 200 27274 "-" "Mozilla/4.0 (compatible; MSIE 5.0; Windows NT; DigExt; DTS Agent"

the damn script or stupid user did this for over an hour from Sep 28 18:54:43 2003 until Sep 28 20:09:26 2003

tech support tells me they can't find any unusual accesses, but I'm wondering if try #315889 might have been successful. I have no open relays and email seems to be ok but I'm still worried.

I've blocked this in htaccess by user agent

RewriteCond %{HTTP_USER_AGENT} DTS\ Agent$ [NC,OR]

should I block by the IP, too?

another hour+ wasted because of obnoxious spam bots *!@@*&%$#@!

BlueSky

2:29 am on Sep 30, 2003 (gmt 0)

10+ Year Member



I would if that happened to me. Looks like DTS Agent is an email extractor [webmasterworld.com...] I think DigExt makes the content available for off-line viewing.

Thanks for posting. I need to add DTS to my ban list too.

coyote

2:45 am on Sep 30, 2003 (gmt 0)

10+ Year Member



Hey Nancy, the rewrite you're planning on using won't work for this one because I tried it myself and still got visits from DTS Agent. I started using the following and have not seen it since.

RewriteCond %{HTTP_USER_AGENT} Mozilla*DTS [OR]

moltar

2:45 am on Sep 30, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



It could be that someone was guessing your username/password based on dictionary.

MarieC

2:49 am on Sep 30, 2003 (gmt 0)

10+ Year Member



Unreal. I never bothered blocking DTS agent because it never grabbed more than the main page and there are no e-mail addresses on my main page. In this case, I think you should block the IP just because whoever it was might be inclined to come back with another user agent. Actually, I'm going to block it right now.

I'm wondering if try #315889 might have been successful

There's no way to be sure, but I bet he just gave up.

BlueSky

3:13 am on Sep 30, 2003 (gmt 0)

10+ Year Member



Hey Nancy, the rewrite you're planning on using won't work for this one because I tried it myself and still got visits from DTS Agent. I started using the following and have not seen it since.

So, he didn't really test this out? I haven't had any luck banning the double word UAs either so I'm going to try wilderness' suggestion of partials which I guess would make it:

RewriteCond %{HTTP_USER_AGENT} ^DTS [OR]

Does anyone know if there is a tool to send fake UA's to a server? I kinda like to test these out on dummy data rather than wait for the real-life bot hitting and find out then it doesn't work.

[edited by: BlueSky at 3:18 am (utc) on Sep. 30, 2003]

pendanticist

3:17 am on Sep 30, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



RewriteCond %{HTTP_USER_AGENT} DTS\ Agent [NC,OR]

Been working for me.

BlueSky

3:25 am on Sep 30, 2003 (gmt 0)

10+ Year Member



Never mind...I found such a site. Mine above didn't work.

coyote

3:51 am on Sep 30, 2003 (gmt 0)

10+ Year Member



Interesting to know that, Pendanticist. It didn't work for me, nor did my simple ban for Grub work until I added the Mozilla* before it.
What kind of server do you use? Maybe it's just Linux RedHat that's weird with .htaccess because using SetEnvIf blows my whole file - site actually - so I have to use RewriteCond. I also haven't had any problems with banning two word UAs, such as Mail Sweeper.

nancyb

3:59 am on Sep 30, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



thanks all!

I'm going to use pendanticist's since it worked with wannabr.....r! I also blocked the IP.

yes, I figured it was someone running a script for username/password and tech support said they probably gave up because if #315889 had worked I probably wouldn't have a site or email.

I checked whosis.geektools for the IP but since I don't really understand it, should I just block the entire IP range?

I don't want to get up tomorrow morning and find another 86MB waiting or, worse, find they succeeded and I have no site :(

inetnum: 192.116.133.0 - 192.116.137.255
netname: GILAT-SATCOM-BLOCK-38-39-41-42-43
descr: SKY2Net ltd
country: GB
admin-c: AH935-RIPE
tech-c: AH935-RIPE
status: ASSIGNED PA
mnt-by: AS3339-MNT
mnt-lower: AS3339-MNT
changed: hank@att.net.il 20030813
source: RIPE

route: 192.116.128.0/18
descr: ATT-ISRAEL-BLOCK5
origin: AS3339
mnt-by: AS3339-MNT
changed: hank@att.net.il 19991212
source: RIPE

person: Amit Hoomash
address: Gilat Satcom
address: 1651 Old Meadow Rd.
address: Mclean,VA 22102 USA
phone: +972 3 9255000
fax-no: +972 3 9255005
e-mail: amith@gilat.net
nic-hdl: AH935-RIPE
mnt-by: AS3339-MNT
changed: hank@att.net.il 20020410
source: RIPE

pendanticist

4:15 am on Sep 30, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



>What kind of server do you use?

Apache.

Pendanticist.

wilderness

1:56 pm on Sep 30, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



try wilderness' suggestion of partials

RewriteCond %{HTTP_USER_AGENT} Agent$ [OR]

Been most effective for me. This usually ends the UA.

bull

5:20 pm on Sep 30, 2003 (gmt 0)

10+ Year Member



RewriteCond %{HTTP_USER_AGENT} ^DTS [OR]

will not work! The "^" is wrong here as the UA string is
Mozilla/4.0 (compatible; MSIE 5.0; Windows NT; DigExt; DTS Agent

pedanticist's one is better, I use it too.

As I already indicated in a earlier thread on the DTS Agent, this is not necessarily a mail harvester. the original c++ code which is still around is a sample simple http class for win32 (I use it too - but changed the UA ;-)

nancyb

5:47 pm on Sep 30, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



the nasty little bugger came back three more times last night, about 3 hours apart each return. pendanticist's code worked! :)

pendanticist

6:02 pm on Sep 30, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Whoaaa Nelly!

Thank jdMorgan. I'm not that smart.

:)

Pendanticist.

wilderness

6:40 pm on Sep 30, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



will not work! The "^" is wrong here as the UA string is Mozilla/4.0 (compatible; MSIE 5.0; Windows NT; DigExt; DTS Agent

Bull
Use of "^" signifies "begins" with, Use of "$" signifies "ends" with.

This UA begins with the word Mozilla and ends with the word Agent.

The method you use apparently is supposed to work regardless of location. I've had it fail though and use it very sparringly.

bull

7:59 pm on Sep 30, 2003 (gmt 0)

10+ Year Member



Bull
Use of "^" signifies "begins" with, Use of "$" signifies "ends" with.

Yes.- Therefore

RewriteCond %{HTTP_USER_AGENT} ^DTS [OR]

will not work for ua string
Mozilla/4.0 (compatible; MSIE 5.0; Windows NT; DigExt; DTS Agent

as this does not start with DTS, as I wrote in my previous post.

Hope I get and got everything right? Tired.

BlueSky

1:25 am on Oct 2, 2003 (gmt 0)

10+ Year Member



Cop me a break bull, all this rewriting stuff is new to me. I'll get it eventually. Heaven knows there's enough bots out there to practice on. pedanticist's and coyote's versions though didn't work either on mine. Until I can get the techs to look at the server settings, I'll stick with wilderness' partials since they do work. Thanks again wilderness -- that one does work for me.

coyote

3:04 am on Oct 3, 2003 (gmt 0)

10+ Year Member



Just noticed that I mis-typed the rewrite I posted before.

C&P'd from my .htaccess:

RewriteCond %{HTTP_USER_AGENT} ^Mozilla.*DTS [OR]