Wednesday, October 12, 2011

DNS Amplification Attacks - client 85.99.201.249#25345: query: isc.org IN ANY +ED

Today I learned about DNS Dos attack technique called DNS Amplification Attacks

http://www.isotf.org/news/DNS-Amplification-Attacks.pdf

Sunday, October 02, 2011

Changing MAC address on wireless interface windows 7

Run "getmac" in a command prompt window and note the output.  You should do this so you can verify that this procedure actually changes the MAC address of your wireless interface.

Next Open "Control Panel > Network and Internet"
You should see a window that looks like this :






Next click on the "Network and Sharing Center" link.  It might take a while for the window to appear.  When it does appear click on the "Change adapter settings" on the left side of the window.  Then you should see a window like this:


Next right click the "Wireless Network Connection" and choose "Properties" then click the "Configure" button.  Then click on the "Advanced" tab and then highlight the "Network Address" property.  Next click on the 'Value' radio button and enter a value into the text field.  Just type numbers (e.g. 123456789012).

Now back in your command window run the getmac command again and verify that MAC address has in deed changed.  If it didn't change try entering another value for the MAC address.

Monday, September 19, 2011

TODO: patch for #RefRef

http://thehackernews.com/2011/07/refref-denial-of-service-ddos-tool.html

http://www.refref.org/

http://security.stackexchange.com/questions/6756/how-to-patch-against-refrefs-dos-attack

Friday, September 16, 2011

GD is Dead! libgd appears to be unmaintained and left in unbuildable state.

I had tried and given up on install the GD 2.46 Perl module on a "Red Hat Enterprise Linux Server release 6.1 (Santiago)" 64bit. And this is what happens ...


$ perl Makefile.PL
Notice: Type perl Makefile.PL -h for command-line option summary.

**UNRECOVERABLE ERROR**
Could not find gdlib-config in the search path. Please install libgd 2.0.28 or higher.
If you want to try to compile anyway, please rerun this script with the option --ignore_missing_gd.
... but I have libgd installed ...


$ rpm -q gd
gd-2.0.35-10.el6.x86_64
... so when I do as the error message suggest ...
$ perl Makefile.PL --ignore_missing_gd

Where is libgd installed? [/usr/lib]

Please choose the features that match how libgd was built:
Build JPEG support? [y] n
Build PNG support? [y] n
Build FreeType support? [y] n
Build GIF support? [y] n
Build XPM support? [y] n

If you experience compile problems, please check the @INC, @LIBPATH and @LIBS
arrays defined in Makefile.PL and manually adjust, if necessary.

Writing Makefile for GD
Writing MYMETA.yml
... I answered 'n' to all questions to give Makeperl.PL a good chance to execute without error. So now I can run make right ...

.... perl-5.14.1/bin/perl GD/Image.pm.PLS GD/Image.pm
Extracting Image.pm (with variable substitutions)
Skip blib/lib/GD/Polyline.pm (unchanged)
Skip blib/lib/qd.pl (unchanged)
Skip blib/lib/GD/Image.pm (unchanged)
Skip blib/lib/GD.pm (unchanged)
Skip blib/lib/GD/Simple.pm (unchanged)
Skip blib/lib/GD/Polygon.pm (unchanged)
Skip blib/lib/GD/Group.pm (unchanged)
gcc -c  -I/usr/include -I/usr/include/gd -Wformat=0 -O2   -DVERSION=\"2.46\" -DXS_VERSION=\"2.46\" -fPIC "-I/apps/RED/red-perl-5.14.1/lib/5.14.1/x86_64-linux-thread-multi/CORE"   GD.c
GD.xs:7:16: error: gd.h: No such file or directory
GD.xs:8:21: error: gdfontg.h: No such file or directory
GD.xs:9:21: error: gdfontl.h: No such file or directory
GD.xs:10:22: error: gdfontmb.h: No such file or directory
GD.xs:11:21: error: gdfonts.h: No such file or directory
GD.xs:12:21: error: gdfontt.h: No such file or directory
GD.xs:342: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before âGD__Imageâ
GD.xs:343: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before âGD__Fontâ
GD.xs:385: error: expected specifier-qualifier-list before âgdIOCtxâ
GD.xs:393: error: expected â)â before âctxâ
GD.xs:400: error: expected â)â before âctxâ
GD.xs:416: error: expected â)â before âctxâ
GD.xs:424: error: expected â)â before âctxâ
GD.xs:429: error: expected â)â before âctxâ
GD.xs:433: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before â*â token
GD.xs:454: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before âgd_cloneDimâ
GD.xs:478: error: expected â)â before âsrcâ
GD.xs:507: error: expected â)â before âimageâ
GD.c: In function âXS_GD__Image__newâ:
GD.c:682: error: âGD__Imageâ undeclared (first use in this function)
GD.c:682: error: (Each undeclared identifier is reported only once
GD.c:682: error: for each function it appears in.)
 ... I guess I need to gd-devel but I haven't got that in my yum repo :(

Looks like I will have to https://bitbucket.org/pierrejoye/gd-libgd/downloads and attempt to build my own RPM's from source. bleh!