Nvidia binary blob works with PAX / Grsecurity kernel
- Details
- Category: Gentoo / Linux
- Last Updated on Friday, 27 January 2012 21:28
- Published Date
- Written by Stefan Reimer
The current open source OpenGL stack, especially for nvidia hardware, is not really capable of supporting games like EVE Online or SC2 using Wine. This is why myself, like so many others, still have to use the nvidia binary blob.
Since several versions of the nvidia kernel module one has to apply at least one minor patch to get the module compiled against a Pax / grsecuirty kernel. In order to successfully enable the PAX_USERCOPY option a second patch is needed. Initially the patch only allowed using the SLAB memory allocator, but thanks to the Pax team, an updated version now also allows the use of the default SLUB allocator.
See grsecurity forums for details.
I added a nvidia-driver ebuild incl. both patches to my overlay and filed a bug to get them added upstream, see #385837
My overlay is now in offical layman list
- Details
- Category: Gentoo / Linux
- Last Updated on Sunday, 22 January 2012 21:50
- Published Date
- Written by Stefan Reimer
How to use my overlay
As my overlay was recently added to the layman list of overlays you can now easily add it running:
layman -S && layman -a quarks
or you checkout out the repository manually:
git clone git://www.startux.de/quarks.git
git clone http://www.startux.de/git/quarks.git
ebuilds for dnsenum and regripper
- Details
- Category: Gentoo / Linux
- Last Updated on Sunday, 22 January 2012 21:38
- Published Date
- Written by Stefan Reimer
Again I created ebuilds for tools I came across recently:
- net-analyzer/dnsenum
DESCRIPTION="A perl script to enumerate DNS from a server"
HOMEPAGE="http://code.google.com/p/dnsenum/"
Very useful DNS information gathering tool during reconnaissance phase. Also part of the BackTrack distribution.
Both the standard and the big hosts file for brute forcing are provided in /usr/share/dnsenum !
- app-forensics/regripper
DESCRIPTION="Perl scripts to parse Windows registry files"
HOMEPAGE="http://regripper.wordpress.com/program-files/"
Set of perl scripts which take a Windows registry file as input, parse it and output the requested information, e.g:
# regripper -r /tmp/NTUSER.DAT -p printers
They are part of my overlay !
Gentoo ebuilds for Dradis, fierce and theHarvester
- Details
- Category: Gentoo / Linux
- Last Updated on Sunday, 22 January 2012 21:40
- Published Date
- Written by Stefan Reimer
While doing some security consulting I have been updating some ebuilds on the way.
All the ebuilds are based on the ebuilds provided by pentoo.ch !
- net-analyzer/fierce 1.0.3
DESCRIPTION="Fierce is a DNS reconnaissance tool written in perl"
HOMEPAGE="http://ha.ckers.org/fierce/"
- net-analyzer/theHarvester 2.1
DESCRIPTION="The Harvester is a tool designed to collect email accounts of the target domain"
HOMEPAGE="http://www.edge-security.com/theHarvester.php"
- app-misc/dradis
DESCRIPTION="A framework for effective information sharing"
HOMEPAGE="http://dradisframework.org/"
Using the Android SDK on Gentoo
- Details
- Category: Gentoo / Linux
- Last Updated on Monday, 26 December 2011 22:39
- Published Date
- Written by Stefan Reimer
Installation
1. Unmask and install the Android SDK update manager:
emerge dev-util/android-sdk-update-manager
2. Add all users who should be allowed using it to the 'android' group:
gpasswd -a <user> android
3. In case you added yourself relog now, then run:
/opt/android-sdk-update-manager/tools/android
and install at least the platform-tools package
ADB will be at /opt/android-sdk-update-manager/platform-tools/adb
5. Finally edit your .bashrc file to add adb to your PATH:
export PATH="/opt/android-sdk-update-manager/platform-tools/:${PATH}"
Connecting
Add the following udev rules to e.g. /etc/udev/rules.d/80-android.rules:
SUBSYSTEM=="usb", ATTR{idVendor}=="22b8", MODE="0666", GROUP="plugdev"
SUBSYSTEM=="usb", ATTR{idVendor}=="0bb4", MODE="0666", GROUP="plugdev"
SUBSYSTEM=="usb", ATTR{idVendor}=="04e8", MODE="0666", GROUP="plugdev"
SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", MODE="0666", GROUP="plugdev"
Plugin your Android device via usb
Test the connection
adb devices
That should give you a list of connected Android devices
Now what ?
- Install SSH on your Android phone
http://wiki.cyanogenmod.com/wiki/Howto:_Connect_to_Device_with_SSH - ...
- to be continued

