Monday 17 October 2011

NO-Click Protection for your BM622 - Enhanced & Firewalled!!!


pinagcombine ko lang po 3 ideas and used a tool for automation...

RATIONALE:
caunceran's automated script (by jefbuan) combined with JohnHarold86's idea of running a system scheduler to automate execution and schedule repeated attempts, just in case the modem is not yet ready or set, will ensure that the protection is ON before any attack.

However, the vbs sometimes fail because of keyboard interruption by the user or another program.

ADVANTAGES OF THIS ENHANCEMENT:
1. unlike a vbs, no sendkeys (keyboard emulation) will interfere with whatever you are doing (e.g. typing, editing, keyboard-commands) when the script runs on schedule.
2. split-second execution and completion. Di nyo mapapansin, ok na ok sa mga clients di ba?


REQUISITES:
1. make sure you turn on your PC first (baka kasi madale modem nyo pag nka-on agad at di pa nagrurun ang script).
2. make sure all users in your LAN (if any) implements the same procedure.

TOOLS:
1. Telnet Scripting Tool (attached)
2. ssfree (please go to the posted link)
3. a little common sense



IMPORTANT!!!:

make sure LAN telnet is enabled! so kung may prior protection kayo like disabled LAN telnet in ACL of GUI, or inedit nyo yung config file ng modem particularly sa telnet, please re-enable it.... hindi po makakapasok ang script sa telnet pag naka-off po sa setting ng modem...


(Please set a static IP for your PC para mabilis ang set-up ng LAN...siguro naman kaya nyo na yan, kung hindi, search-search na lang sa google.) or this:
http://www.symbianize.com/showpost.p...&postcount=235


PROCEDURE: (For the simplest implementation just go directly to the Updates Section ...latest: Oct. 2, 2011!!!)
1. i-extract nyo yung bm622_protection.rar to any folder (which contains TST10.exe).
2. i-install nyo ang ssfree.
3. i-run nyo ang ssfree.
4. Sa ssfree (system scheduler), add kayo ng "Run Application" event sa EVENT tab pointing to the app: TST10.exe
5. ilagay nyo as additional parameters: /r:bm622.txt /m
6. state:hidden
7. sa SCHEDULE tab, choose nyo every hour/selected minutes
make sure every hour is listed, sa minutes naman pwede every 3,5 or 10 mins....bahala na kayo tumantya


Hit Thanks na lang po kung nakatulong.

I shared this so we can test thoroughly if there's really a hole in jefbuan's script or human error lang ang mga nakatay using his solution.

ADDITIONAL TIP:
If you just turned on the modem, immediately run the script manually for about 5 times as the modem is booting...then check your ping. You should not be able to ping 192.168.1.1.

For those who doesn't know how to run the script manually: open system scheduler (on the task bar or start menu or desktop shortcut, etc.); right-click on the event; click "Run Now".

^ see update below instead of this!


UPDATES!!!:

[9-8-2011] ?

BM622.TXT in the rar file now includes jefuan's firewall script

(Please set a static IP for your PC...siguro naman kaya nyo na yan, kung hindi, search-search na lang sa google.)


[9-13-2011 2:AM]

For immediate protection, make a batch file (ex. bm622_startup.bat) and put it in the startup folder:
---------------------------------------------------------------

@echo off
:start
ping 192.168.1.1 -n 1
if %errorlevel% == 1 (
goto fail
) else (

d:\bm622_protect\TST10.exe /r:d:\bm622_protect\bm622.txt /m
exit

)

:fail
echo Not connected to network, retrying...
goto start


------------------------------------------------------------------------------
where d:\bm622_protect is the name where telnet scripting tool and bm622.txt file is located

and whenever you have to restart your modem, you have to re-run this batch file from the startup folder...


[9-13-2011 11:45AM]

this is for faster execution of the script in the scheduler only (not that critical...)
make another batch file and name it "protect_me.bat" na ito ang laman naman:
--------------------------------------------------------------------------------------

@echo off
:start
ping 192.168.1.1 -n 1
if %errorlevel% == 1 (
goto labas
) else (
d:\bm622_protect\TST10.exe /r:d:\bm622_protect\bm622.txt /m
)
:labas
exit

--------------------------------------------------------------------------------------
for simplicity's sake, save it in the same folder as TST10.exe.

now instead of the original line in "Application" text box as shown in SS, put this instead:

D:\BM622_protect\protect_me.bat

remove the entry in the "Parameters" text box also


Lightning speed na ngayon ang scheduled script nyo.



[9-15-2011 9:20 PM]
SIMPLIFIED VERSION BUT EVEN MORE EFFECTIVE (Para po dun sa nahihirapan mag-follow dun sa taas):

Forget about SSFree and the screenshots below. just follow these new steps and disregard everything above:

1. extract the contents of attached file BM622_protect.rar (not BM622_protection.rar!) into C:\BM622_protect folder

2. create a a shortcut of BM622_startup.bat (which is inside the C:\BM622_protect folder) and either:

a. put it in windows startup folder (so it will run everytime you log-on before turning on modem) or

b. put it on desktop (but you have to run it manually after logon before turning on modem)

That's it. you're done!

Now! this is very important. The script will keep on running UNTIL YOU CLOSE THE COMMAND PROMPT WINDOW.

I suggest you DON'T, just minimize it and let it stay at the taskbar so you can check from time to time by restoring the window size to normal.

It will keep on pinging the modem trying to establish communication. If it is successful, then that means you're modem is unprotected (ping-able) and will run the embedded protection script which in turn makes your modem "un-ping-able" again. This will run in an infinite loop.

if you close this window and the modem reboots unexpectedly, you will be left with no protection! if that happens then you have to manually run the batch file (BM622_startup.bat) again.


[10-2-2011 3:10 PM]
NEATER...WITH FEEDBACK TO USER...MORE ACCURATE (modem is confirmed connected before applying protection...solusyon to dun sa mga di makanet minsan)

STEPS:
1. extract the contents of attached file BM622_protect_V2.rar into C:\BM622_protect folder

2. create a a shortcut of BM622_startup.bat (which is inside the C:\BM622_protect folder) and put it in windows startup folder (so it will run everytime you log-on before turning on modem)

That's it. you're done!

The script will keep running "INVISIBLY" at the background guarding your modem even if it accidentally resets! protection will run IMMEDIATELY if modem is pingable (not during scheduled times only as with SSFREE)...and user can't accidentally turn it off

A command prompt window will pop-up indicating that protection has been applied to your modem...just press any key and the window will close.

NOTE: if you want to change MAC, press CTRL-ALT-DEL and end the process "cmd.exe" before you turn on the modem...after changing mac, manually run bm622_startup.bat.

JUST HIT THE THANKS BUTTON, YOU LEECH !

0 comments:

Post a Comment

Twitter Delicious Facebook Digg Stumbleupon Favorites More

 
Powered by Blogger