IWETHEY v. 0.3.0 | TODO
1,095 registered users | 0 active users | 0 LpH | Statistics
Login | Create New User
IWETHEY Banner

Welcome to IWETHEY!

New Outage was during some investigating I needed to do.
Seems that I had 3 daemons runnign I knew nothing about.

They were all running as the web-server. Basically no write access except for /var/tmp period.

I discovered a coupla things in /var/tmp:
-rw-r--r--  1 www-data www-data 11756 Nov 20 20:03 bd2.pl\n-rwxrwxrwx  1 www-data www-data 18712 Nov 20 22:25 bind\n-rwxrwxrwx  1 www-data www-data 19242 Nov 20 02:20 r0nin\n-rw-r--r--  1 www-data www-data 19242 Nov 20 02:22 r0nin.1

bd2.pl its first few lines:
#!/usr/bin/perl\n# Telnet-like Standard Daemon 1.0\n#\n#    Dark_Anjo - dark_anjo666@hotmail.com\n#            - dark_anjo@nucleozero.com.br\n#            - www.xn.rg3.net\n#            - www.red.not.br/xn\n#\n#  For those guys that still like to open ports\n#  and use non-rooted boxes\n#\n#  This has been developed to join in the TocToc\n#  project code, now it's done and I'm distributing\n#  this separated\n#\n#  This one i made without IO::Pty so it uses\n#  only standard modules... enjoy it\n#\n#  tested on linux boxes.. probably will work fine on others\n#  any problem... #expl0its@irc.brasnet.org\n#


bind and r0nin are Binary files... They both do the listen on >1024 ports thinger for shell access.

BUT, since I don't allow-in any ports except ones I know about for each machine... they couldn't be used. Sure helps to be anal about these things.

Now, how did they come to be on the machine you ask?

Through the use of twiki.iwethey.org and PHP. Only because PHP needs to use temporary space. This is widely known and I knew the risks by not using SAFEMODE (or what ever it is called.) Nobody was able to login to knight to try things.


Guess I'll have to enable PHP only for those sites needing it. Oh and force Drew to use SAFE MODE on PHP... :)

Here is the actual source code for the r0nin daemon: [link|http://invaultech.com/files/cat/Hacks/webFileBrowser.php?act=show&subdir=NEWFILES&sortby=name&file=cgi.c|r0nin code]

And here is a rundown of the bind daemon: [link|http://www.securityfocus.com/archive/100/247640|Remote Shell Trojan or RST.b].

Both of these are pretty darn harmless if nobody can connect to the ports. I have done an MD5 check and a some rootkit checks on all critical file-systems... /var/tmp and /tmp (mainly because stuff is there during normal operation) are the only suspicious areas.

Which BTW, the files are gone and I'll be changing PHP's mode. So Drew if your junk fails to work proper. You are gonna need to fix it. If you need the other mode... you are going to have to do some serious convincing.


(edit)There take that DREWK. You are getting a bit pedantic lately or am I just starting to notice it?
--
[link|mailto:greg@gregfolkert.net|greg],
[link|http://www.iwethey.org/ed_curry|REMEMBER ED CURRY!] @ iwethey
No matter how much Microsoft supporters whine about how Linux and other operating systems have just as many bugs as their operating systems do, the bottom line is that the serious, gut-wrenching problems happen on Windows, not on Linux, not on Mac OS. -- [link|http://www.eweek.com/article2/0,1759,1622086,00.asp|source]
Here is an example: [link|http://www.greymagic.com/security/advisories/gm001-ie/|Executing arbitrary commands without Active Scripting or ActiveX when using Windows]
Expand Edited by folkert Nov. 22, 2004, 02:43:26 PM EST
New How am I supposed to do any convinving?
I don't even know what that is.


[Edit] You're just noticing?





Thanks for the heads up. Will be checking/fixing tonight. I don't think I've got anything that'll be affected.
===

Purveyor of Doc Hope's [link|http://DocHope.com|fresh-baked dog biscuits and pet treats].
[link|http://DocHope.com|http://DocHope.com]
Expand Edited by drewk Nov. 22, 2004, 03:30:54 PM EST
New You should be conniving...
...in any attempt at convincing.
New PHP users on knight. I enabled Safe_Mode=On
see if everything still works. I turned on safe_mode in PHP. I included the /usr/share/php/ directory for includes... so things would work for me.

I don't see any problems, but then I am a casual user.

But, we shouldn't see anymore daemons run by www-data... from /tmp or /var/tmp or /dev/shm either... (all have the temp-bit) I am removing /dev/shm... not needed anymore.
--
[link|mailto:greg@gregfolkert.net|greg],
[link|http://www.iwethey.org/ed_curry|REMEMBER ED CURRY!] @ iwethey
No matter how much Microsoft supporters whine about how Linux and other operating systems have just as many bugs as their operating systems do, the bottom line is that the serious, gut-wrenching problems happen on Windows, not on Linux, not on Mac OS. -- [link|http://www.eweek.com/article2/0,1759,1622086,00.asp|source]
Here is an example: [link|http://www.greymagic.com/security/advisories/gm001-ie/|Executing arbitrary commands without Active Scripting or ActiveX when using Windows]
New Are you disallowing image loads from remote servers?
The PayPal cart page loads my logo from knight, and it's not showing up.
===

Purveyor of Doc Hope's [link|http://DocHope.com|fresh-baked dog biscuits and pet treats].
[link|http://DocHope.com|http://DocHope.com]
New Look closely. I see it. And no I am not blocking refs
Take a look at the specific code.
<table align="center" border="0" cellpadding="2" cellspacing="0" class="cowpImage" bgcolor="006699">\n<tr><td><table align="center" border="0" cellpadding="0" cellspacing="0" width="100%"><tr>\n<td align="left" nowrap valign="middle" style="background-image: url(http://dochope.com/images/dochope_logo_paypal.gif);\nbackground-repeat: no-repeat; background-position: left; width: 750px; height: 90px;"> </td>\n<td width="100%"> </td></tr></table></td></tr></table>
What if anything do you see? I see a problem.

here is the css: [link|https://www.paypal.com/css/xpt.css|xpt.css] not that it matters... but to remove its possibility.
--
[link|mailto:greg@gregfolkert.net|greg],
[link|http://www.iwethey.org/ed_curry|REMEMBER ED CURRY!] @ iwethey
No matter how much Microsoft supporters whine about how Linux and other operating systems have just as many bugs as their operating systems do, the bottom line is that the serious, gut-wrenching problems happen on Windows, not on Linux, not on Mac OS. -- [link|http://www.eweek.com/article2/0,1759,1622086,00.asp|source]
Here is an example: [link|http://www.greymagic.com/security/advisories/gm001-ie/|Executing arbitrary commands without Active Scripting or ActiveX when using Windows]
Expand Edited by folkert Nov. 23, 2004, 06:11:21 PM EST
New Yeah, looked at that
And I've tried turning off Privoxy and modifying privacy setting in Firefox. Can't get it. But as long as other people can, I'll accept that I'm doing something overly paranoid with my browser config.
===

Purveyor of Doc Hope's [link|http://DocHope.com|fresh-baked dog biscuits and pet treats].
[link|http://DocHope.com|http://DocHope.com]
New You missed my point.
I can see it there just not under the color "006699",

The background color is over top the back ground image. The CSS is fscked.
--
[link|mailto:greg@gregfolkert.net|greg],
[link|http://www.iwethey.org/ed_curry|REMEMBER ED CURRY!] @ iwethey
No matter how much Microsoft supporters whine about how Linux and other operating systems have just as many bugs as their operating systems do, the bottom line is that the serious, gut-wrenching problems happen on Windows, not on Linux, not on Mac OS. -- [link|http://www.eweek.com/article2/0,1759,1622086,00.asp|source]
Here is an example: [link|http://www.greymagic.com/security/advisories/gm001-ie/|Executing arbitrary commands without Active Scripting or ActiveX when using Windows]
New That *should* work (CSS issue) (new thread)
Created as new thread #184914 titled [link|/forums/render/content/show?contentid=184914|That *should* work (CSS issue)]
===

Purveyor of Doc Hope's [link|http://DocHope.com|fresh-baked dog biscuits and pet treats].
[link|http://DocHope.com|http://DocHope.com]
New That isn't the problem
<table align="center" border="0" cellpadding="0" cellspacing="0" width="100%"><tr>\r\n<td align="left" nowrap valign="middle" style="background-image: url(http://dochope.com/images/dochope_logo_paypal.gif); background-repeat: no-repeat; background-position: left; width: 750px; height: 90px;">&nbsp;</td>\r\n<td width="100%">&nbsp;</td>\r\n</tr></table>
The problem is InternetExplorer interprets the "100%" as 100% of what's left in the container after taking out the 750px for the first cell. Mozilla and Firefox take 100% of the container and truncate the cell that asked for 750px. This looks like a Gecko rendering bug to me. Unless the W3C spec says to take percentages before absolute values, which I doubt.
===\r\n\r\nPurveyor of Doc Hope's [link|http://DocHope.com|fresh-baked dog biscuits and pet treats].\r\nhttp://DocHope.com
New I'd file a bug on it.
--
[link|mailto:greg@gregfolkert.net|greg],
[link|http://www.iwethey.org/ed_curry|REMEMBER ED CURRY!] @ iwethey

[link|http://it.slashdot.org/comments.pl?sid=134485&cid=11233230|"Microsoft Security" is an even better oxymoron than "Miltary Intelligence"]
No matter how much Microsoft supporters whine about how Linux and other operating systems have just as many bugs as their operating systems do, the bottom line is that the serious, gut-wrenching problems happen on Windows, not on Linux, not on Mac OS. -- [link|http://www.eweek.com/article2/0,1759,1622086,00.asp|source]
New Done
[link|https://bugzilla.mozilla.org/show_bug.cgi?id=277232|https://bugzilla.moz...bug.cgi?id=277232]
===

Purveyor of Doc Hope's [link|http://DocHope.com|fresh-baked dog biscuits and pet treats].
[link|http://DocHope.com|http://DocHope.com]
New Got Bernd, I see.
Nice. Heavy dude.

Even when he quoth thee W3C, you qouth back using such his own weapon against him. Nice tactic, he can't deny it.
--
[link|mailto:greg@gregfolkert.net|greg],
[link|http://www.iwethey.org/ed_curry|REMEMBER ED CURRY!] @ iwethey

[link|http://it.slashdot.org/comments.pl?sid=134485&cid=11233230|"Microsoft Security" is an even better oxymoron than "Miltary Intelligence"]
No matter how much Microsoft supporters whine about how Linux and other operating systems have just as many bugs as their operating systems do, the bottom line is that the serious, gut-wrenching problems happen on Windows, not on Linux, not on Mac OS. -- [link|http://www.eweek.com/article2/0,1759,1622086,00.asp|source]
New Hmm, interesting response
I'm looking at my test case side-by-side in Mozilla and Firefox on Linux, and Firefox and Internet Explorer on Windows. One of these things is not like the others. Guess which?
===

Purveyor of Doc Hope's [link|http://DocHope.com|fresh-baked dog biscuits and pet treats].
[link|http://DocHope.com|http://DocHope.com]
New Actually, I can't see a difference.
I pasted the fragment you put in the bug into a file and viewed it via IE6 (XPsp2), FireFox 1.0 and Opera 7.54. They all display it the same way: the first cell in the first table is all squashed up.

Wade.

Is it enough to love
Is it enough to breathe
Somebody rip my heart out
And leave me here to bleed
 
Is it enough to die
Somebody save my life
I'd rather be Anything but Ordinary
Please

-- "Anything but Ordinary" by Avril Lavigne.

New Screenshot (9k gif) (new thread)
Created as new thread #189307 titled [link|/forums/render/content/show?contentid=189307|Screenshot (9k gif)]
===

Purveyor of Doc Hope's [link|http://DocHope.com|fresh-baked dog biscuits and pet treats].
[link|http://DocHope.com|http://DocHope.com]
New One thing that always causes me grief...
...is that I have a lot of tables that go wider than the display size - when you've got possibly a hundred columns in a table, it can be hard to view in the monitor width. Anyway, once the table exceeds the window boundary, the table layout rules should give up trying to squeeze it back in. Similar to the way lists used to operate in the IWE forums where the right shift would eventually mean that you get one word per line.

Not that this has anything to do with you current predicament... But it reminds me that the one column says use 100% while the other is not 0%... I've seen that method used not infrequently, but I still I'm not comfortable with it.

Edit Note: The other thing I wonder is whether specifying the width attribute in the style in the first column but doing it in the td attribute in the other is the problem. Will it work if they are both set in the same manner (i.e. both as width= or both as style='width:").
Expand Edited by ChrisR Jan. 6, 2005, 06:43:20 PM EST
     Outage was during some investigating I needed to do. - (folkert) - (16)
         How am I supposed to do any convinving? - (drewk) - (15)
             You should be conniving... - (ChrisR)
             PHP users on knight. I enabled Safe_Mode=On - (folkert) - (13)
                 Are you disallowing image loads from remote servers? - (drewk) - (12)
                     Look closely. I see it. And no I am not blocking refs - (folkert) - (11)
                         Yeah, looked at that - (drewk) - (10)
                             You missed my point. - (folkert) - (9)
                                 That *should* work (CSS issue) (new thread) - (drewk)
                                 That isn't the problem - (drewk) - (7)
                                     I'd file a bug on it. -NT - (folkert) - (5)
                                         Done - (drewk) - (4)
                                             Got Bernd, I see. - (folkert) - (3)
                                                 Hmm, interesting response - (drewk) - (2)
                                                     Actually, I can't see a difference. - (static) - (1)
                                                         Screenshot (9k gif) (new thread) - (drewk)
                                     One thing that always causes me grief... - (ChrisR)

This is a self-referential LRPDism.
324 ms