vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   vBFirewall v1.0 (https://vborg.vbsupport.ru/showthread.php?t=196791)

StarFire 02-23-2009 07:29 PM

On my board it blocks some users from managing their subscriptions. Will have a look to the source of the mod to fix this. But maybe someone has already an idea?

sf

rul3z 02-24-2009 12:11 PM

Hi,

is it better than using cback for such attacks ?

Thanks in advance for your efforts.

inciarco 02-25-2009 06:18 PM

Would be Nice to Have an Option to Use a Silent Report But Not Blocking Action and another to have Silent Report and Action to Block the Intrussion.

I Hope the Bugs on this Mod can be Fixed, I think is Important to Identify Agressions and Block Intrusions with this Mod and also to Block IPs with a Mod like "Miserable Users" to Block those Users from even Accessing the Forum.

My Best Regards.

:)

Biker_GA 02-25-2009 06:34 PM

Until this can differentiate a legitimate request from my users and an actual hostile attack, I'm going to have to refrain from installing again. Sorry, not quite ready for prime time.

inciarco 02-25-2009 06:52 PM

Can there be Added an Option to Somehow Specify the Structures of Valid Requests so that the Firewall can Check that List and Not to Block any Valid Request Specified there? :confused:

This Way the Problem with the Subscriptions and other Requests can be Solved by Adding that Correct Structure to the List and the Firewall Not to Block it Again.

This Way Also Admins that Identify a Valid Structure that was Blocked by the Firewall by Mistake, can Post the Valid Structure here for other Admins to Use the Valid Code on their Boards.

Is Just an Idea, I Hope is Possible to Apply it. ;)

My Best Regards.

:)

inciarco 02-25-2009 07:13 PM

Idea: I'd be Nice to Add the Date and Time of the Attack on the "logfile_worms.txt" File.

For it Not to Block the Pages but Work on Silent Mode, the Following 2 Lines Should be Commented (Adding the //):

Code:

// echo $ctr_logfile;
Code:

//    die("Access Denied, you have been logged.");
Edit: I Think is Better to Keep at least the First Code Line Disabled, because It Displays Important Data of the Board to the Hacker. (Careful with That).

Code:

// echo $ctr_logfile;
Edit: Also Careful with the Second Line, because it'll Block Google Bots so your Board wont be Properly Indexed. (Many Log Results are from Google Bots "||||Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)
").

Code:

//    die("Access Denied, you have been logged.");
My Best Regards.

:)

inciarco 02-25-2009 08:02 PM

Idea: I'd be Nice to be Able to See via Admin Control Panel the content of the File "logfile_worms.txt" File.

Recommendation: Change the Name of the File "logfile_worms.txt" on the following Code of the FireWall Plugin, so that No Sensible Information can be Viewed by Anyone. Careful with this, some AdminCP Addresses are Saved on that File).

Code:

        $file = "./logfile_worms.txt";
Name it Anyway You'd Like, so that Only You Know About It.

Also, in the First Log there's an Error Code that Will Appear at the Top of the Page; make sure your Board is Disabled because on that Error Message appears the Name of the File; also on the second Log and later No Error Message will Appear, (only on the first one).

This Mod is Very Useful, Thank You For Sharing It, I Managed to Locate some IPs that I think were causing Problem and I Blocked Them with Miserable Users Hack with the IP and Setting the Options of that Mod to the Maximum (Completely Blocking those IPs). :up::up::up:

This Mod and the Miserable Users Hack, will make Miserable the Life of Board Hackers. ;)

My Best Regards.

:)

Notorious Jay 02-26-2009 01:23 AM

^ if you wanted to have it integrated into the admin cp I think that it would be more effecient to rewrite the mod to create a new table called worms or something and then just to write a code to display the contents of the file the way you see fit.

inciarco 02-26-2009 01:44 AM

I Noticed Today that the File that Contains the Log Self Delete it's Content, I guess every time it reaches ??? Kb, so there is No way in the Current Stage of the Mod to Save the History of it, and as it Detects some Actios of the Google Bots as Hack Attempts the E-mail Notification Fills the E-mail with Junk. :(

I guess there's more Work to do in the Plugin to be More Accurate in the Hacking Detection and Not Activities that are Not Harmful to the Board. ;)

My Best Regards.

:)

Wicked One 612 02-27-2009 12:02 AM

Hey, I'm having a problem with vBFirewall.

If it's enabled and I go to Usergroups > Administrator Permissions > View Control Panel Log it gives me this error "1||1235699733||||||||Error Opening Logfile." (Semi-random numbers each time). If I disable vBFirewall this doesn't happen. It happens in other random places too, same error. It also emails me saying that vBFirewall has prevented an attack whenever I view the page.

Any ideas?

gmerin 02-27-2009 01:48 AM

Quote:

Originally Posted by Wicked One 612 (Post 1755649)
Hey, I'm having a problem with vBFirewall.

If it's enabled and I go to Usergroups > Administrator Permissions > View Control Panel Log it gives me this error "1||1235699733||||||||Error Opening Logfile." (Semi-random numbers each time). If I disable vBFirewall this doesn't happen. It happens in other random places too, same error. It also emails me saying that vBFirewall has prevented an attack whenever I view the page.

Any ideas?

I had the same thing. the logfile did not have the correct permissions set. 0666 is sufficient to make the file writable.

Wicked One 612 02-27-2009 04:29 AM

Quote:

Originally Posted by gmerin (Post 1755701)
I had the same thing. the logfile did not have the correct permissions set. 0666 is sufficient to make the file writable.

Which logfile?

Wicked One 612 02-27-2009 08:49 PM

Quote:

Originally Posted by gmerin (Post 1755701)
I had the same thing. the logfile did not have the correct permissions set. 0666 is sufficient to make the file writable.

Alright, I set the vBFirewall log file to 666 permissions (had to create it first). Now when I visit those areas I get "1||1235774558||||||||Access Denied, you have been logged.".

Any ideas?

as7apcool 02-27-2009 11:37 PM

is this protect from spam

Frondy 03-02-2009 10:09 AM

It works, tryed to hack own page, thank you

hmuchmo1 03-02-2009 11:57 AM

Installed it and the logs were showing some things but no details, and it also blocked me from modifying my cookies and http header options.
So i disabled it for now.

GonE 03-03-2009 09:50 AM

I have a few recommedations for this

Firewall which automatically checks links against a blacklist database (Custom scripted database in the Admin CP) if its there, it blocks connection/linking to it.

Upload logs and details.
In the firewall when a member/user uploads a file it automatically Logs the IP, file name, description and what it contains.

--DOWNLOADED--

Adromir 03-06-2009 09:25 AM

Doesnt work with vBAdvanced in the AdminCP. If you want to open vBAdvanced settings in AdminCP you get a security notice

Lahoria 03-07-2009 03:02 PM

thanks

angeldevil 03-14-2009 05:56 PM

i used it, but have some error.
examples: i click more..very fast into a link in forum...have a errors
Quote:

Forbidden

You don't have permission to access /forum/showthread.php on this server.
---> it's protect from hackers?

and i use mysqldumper for backup, but also have errors this.

i try again by disable this hack mod, but still errors, i cant backup database...

remember history? when disable this hack mod?

plz..help me!

killerkitten 03-15-2009 01:04 AM

This sounds like a great idea, but the last few pages sound like there's too many bugs at the moment. Please keep up the good work though, I'm sure EVERYONE will want to use this if you can get it working smoothly without the problems people have mentioned here :)

Orakk 03-15-2009 01:31 AM

Developer Last Online: Dec 2008

Looks like we're on our own with this one.

jb_008 03-15-2009 03:56 AM

Quote:

Originally Posted by desirulez (Post 1751900)
1||1235352914||||||||
1||1235353109||||||||
1||1235353127||||||||


what is this means

Its a unix time stamp. You need to convert it using this.

http://www.onlineconversion.com/unix_time.htm

Kolbi 03-19-2009 04:38 PM

Why can´t i do everything in the admincp anymore?

In the Vb options i can´t edit cookies for example...

saadessa 03-19-2009 05:07 PM

Thanks For This Job
I Will Download And Tes :)

angeldevil 03-20-2009 06:35 AM

this hack mod...not good, plz help me.
Quote:

i used it, but have some error.
examples: i click more..very fast into a link in forum...have a errors

Forbidden

You don't have permission to access /forum/showthread.php on this server.

i cant' uninstall this hack mod, i cant delete cookie's :((

pzet 03-21-2009 01:12 AM

I am also having problems with the subsriptions, any news about it?
Thanks

durbah 03-22-2009 04:58 PM

Quote:

Hello!

Hack Attempt has been successfully prevented for your vBulletin forums at:
------

Report:
============================

1||1237575072||64.181.115.194||t=http://eatmyfood.hostinginfive.com/pizza.htm?||||Mozilla/4.0
(compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)


What does that mean,


Does it impact on the search spiders or her?


and thanks



:confused:

maddoghalo1 03-23-2009 02:17 AM

Very nice, it caught someone hacking today.

Quote:

Hello!

Hack Attempt has been successfully prevented for your vBulletin forums at:
FlightSimHD Live!

Report:
============================

1||1237776533||68.32.235.206||do=viewsubscription& folderid=all||http://www.fshdlive.com/usercp.php||Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.0.7) Gecko/2009021910 Firefox/3.0.7
Hopefully it was a real attack haha.

relaxiha 03-25-2009 12:27 PM

i think need update this.
plz update 2009

shrian.al7b 04-29-2009 11:42 AM

thnxxxx alot bro

www.2oman.net

tspaetten 04-30-2009 09:26 AM

Hey this is a great plugin, and it is working perfectly on my forum. Last weekend the firewall prevented 3 hack attemps. Så thanks m8

Biker_GA 04-30-2009 02:17 PM

Are you sure?

The problem I see with this plugin is it does NOT differentiate between valid requests from the membership and real attempts to hijack the board. It reminds me a little bit of the early versions of Zone Alarm that popped an "Oh My Lord" message every time a packet hit the PC. The uninformed would then panic and scream bloody blue murder that someone was trying to attack their PC, when in fact, all it that happened was a query packet was received from the DNS.

Until this plugin can tell what's valid and what isn't, people should not put much faith in what it reports as an attack.

WebCraker 04-30-2009 08:32 PM

Thank you for the hard work
keep it up dude ;)

tspaetten 05-03-2009 03:54 PM

Quote:

Originally Posted by Biker_GA (Post 1801823)
Are you sure?

The problem I see with this plugin is it does NOT differentiate between valid requests from the membership and real attempts to hijack the board. It reminds me a little bit of the early versions of Zone Alarm that popped an "Oh My Lord" message every time a packet hit the PC. The uninformed would then panic and scream bloody blue murder that someone was trying to attack their PC, when in fact, all it that happened was a query packet was received from the DNS.

Until this plugin can tell what's valid and what isn't, people should not put much faith in what it reports as an attack.

Hey m8, yes i am sure, so i am happy for this hack.

Kayden 05-29-2009 08:54 PM

Too many holes.

Uninstalling.

berrada 06-04-2009 11:40 AM

Thank you very much

accludetuner 06-13-2009 11:05 PM

Quote:

Originally Posted by MrEyes (Post 1670137)
Good mod, fantastic idea, however the subscription issue is something of a show stopper. So I decided to look into it.

The reason the "firewall" kicks in on the subscription page is that one of the security rules is 'script', and quiet rightly so. However due to the checking method used, the firewall kicks in when it sees:

do=viewsubscription

Notice the bold/underlined part

The good news is that this can be resolved, but it is a hack to the mod. The following instructions explain what needs to be done, if you want to implement it then I strongly recommend first testing it on an test server. Hopefully this will help the mod dev makes this mod one of the best available here:

Right, you need to goto:

ACP -> Plugins & Products -> Plugin Manager

Once there look for the entries for "Product : vBFirewall", this should only have one plugin called 'vBFirewall' which uses the 'init_startup' plugin. Click edit

Copy all the text in 'Plugin PHP Code' into notepad.

Now follow these steps:
  • Find the line that reads:

    Code:

    'st=-', 'cat%20', 'include', '_path=');
  • On a new line immediately after this paste in:

    Code:

    $securityexclusions = array(
            'do=viewsubscription'
    );

  • Find the line that reads:

    Code:

    $cracker = strtolower($cracker);
  • On a new line immediately after this paste in:

    Code:

    $cracker= str_replace($securityexclusions, '', $cracker);

Once done, copy all the edited text in notepad back into the 'Plugin PHP Code' in ACP, then click save

What this is actually doing is creating an extendible security rule exclusion list, so if any other VB queries string invoke the vbFirewall you can add another exclusion.

IMPORTANT : I have only run this on a basic test server I have, do not try this unless you are absolutely comfortable with plugins/php etc.

A here are some suggestions for the next version:
  • Rather than add the logs to a flat file on the server store this in the DB and then create an ACP page to view/search/manage logs
  • Add option to send a PM or Email or both
  • If a specific IP invokes the firewall more than X times in Y seconds/minutes auto place this IP on the vBulletin ban list.
  • If a specific IP can be associated to an actual forum user account auto ban that user.

One other teeny weeny little thing, you need to mention that this is based on the GPL licensed code found here : http://www.cback.de/cback_software/standalonect.php ;)

EDIT: Later in this thread I have posted an additional fix for vbAnonymizer users

Thank you for that work around. Here's the list of everything in my array that got the subscription/unsubscribe features to work properly. It took all of them for it work properly:
Code:

$securityexclusions = array(
        'do=viewsubscription','do=removesubscription', 'do=addsubscription', 'do=doaddsubscription'
);

Awesome mod!!!

SuperTaz 06-14-2009 12:05 AM

Waiting till the Gold version still.

akanevsky 06-14-2009 12:15 AM

Sounds interesting. But what exactly does it prevent?


All times are GMT. The time now is 12:47 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01373 seconds
  • Memory Usage 1,837KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (10)bbcode_code_printable
  • (10)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete