Archive for category Tutorials
Linux: Remove Win7/NT Passwords
Posted by TheCorrosiveOne in Tutorials on September 1, 2011
1) Boot backtrack
2) Find the windows drive(partiton)
a) fdisk -l (the larger drive is prob windows, example: /dev/sda2)
3) Create a directory to mount it to
a) mkdir /mnt/win (makes a folder under /mnt/win, windows will be there)
4) Mount the windows drive to your new directory
a) mount -t ntfs-3g /dev/sda2 /mnt/win -o force (this mounts /dev/sda2 to /mnt/win) (if your doing this on a disto other than backtrack and this command doesn’t work do “apt-get update” then “apt-get install ntfs-3g”
5) Goto the location of the sam file, CASE specific, run ls after every cd change
a) location is: /mnt/sda2/windows/system32/config
6 ) Run CHNTPW
a: chntpw -l SAM SYSTEM (Case of sam and system is important)
b: This lists the users, so pick your user
7) chntpw -u USERNAMEHERE SAM SYSTEM
SAY NO TO DISABLE SYSKEY!
9) Now just run your command to either unlock the acct or blank password
10) Safe HIVE and reboot.
11) Shutdown via command
a: shutdown -h now
Install Firesheep On Ubuntu 10.04 LTS
Posted by TheCorrosiveOne in Tutorials on September 1, 2011
Here are the steps you’ll need to take to install firesheep in ubuntu 10.10
sudo su root
apt-get update
apt-get install git
apt-get install git-coregit clone [url]https://github.com/codebutler/firesheep.git[/url]
cd firesheep
git submodule update –init
Now enable all repositories by either uncommenting them in sources.list or by adding them in the package manager
here is the line to do it in terminal
nano /etc/apt/sources.list
Install required packages
apt-get install autoconf libtool libpcap-dev libboost-all-dev libhal-dev xulrunner-1.9.2-dev
Next you’ll need to remove a line from the source code, you can edit it to something else, but many times
it retuns and error, I find that deleting line 48 works best
Find
throw ex;
in on line 48, note that line 72 also shows throw ex; do NOT edit that line.. only line 48
nano backend/src/linux_platfrom.cpp
Time to compile
./autogen.sh && make
Run a few more commands
apt-get install hal
hald
To add to firefox in the url bar goto
/home/username/firesheep/build
then run the firesheep.xpi file
ok you’ve completed that, but now you have to install ettercap and its gui
apt-get install ettercap
apt-get install ettercap-gtk
run ettercap in gui (case sensitive)
ettercap -G
on ettercap do
Sniffing
Unified sniffing
Hosts
Scan hosts
Host List
Target 1 should be router
usually 192.168.1.1
Target 2 is either a specific target or if you want to target all, do not set target two
then goto
MITM
select arp
[x] remote connections
then goto start
click start
Now in firefox goto
View
Firesheep
Hit the configure gear at the bottom,
select your interface
hit start…
Then enjoy… it should work from there..
Enjoy, and dont do anything stupid
Thanks out to hak5 team and…
google
https://github.com/codebutler/firesheep/issues#issue/8
http://ubuntu-tutorials.com/2010/11/26/install-firesheep-on-ubuntu-10-04-or-10-10
Video : http://www.youtube.com/watch?v=PJ6UZWLQmRg
Download Completed Plugin Here: http://deauththis.com/forum2/?did=6
Please note: You must run this command BEFORE you install the plugin
apt-get install hal
hald
Ubuntu: Change Your Login Wallpaper
Posted by TheCorrosiveOne in Tutorials on September 1, 2011
I had been looking for a way to change the background wallpaper on my linux login screen and realized it was much easier than I thought it would’ve been..
Open terminal and run
sudo cp /usr/share/applications/gnome-appearance-properties.desktop /usr/share/gdm/autostart/LoginWindow
Then log out
You’ll see the preferences open, just customize it!
After you log back in be sure to get rid of that!
sudo unlink /usr/share/gdm/autostart/LoginWindow/gnome-appearance-properties.desktop
Full credit out to
HowToGeek
Source: http://www.howtogeek.com/howto/45315/how-to-change-the-ubuntu-linux-login-screen/
SSH Into The Nokia N810
Posted by TheCorrosiveOne in Tutorials on September 1, 2011
The Nokia N810 is an Internet tablet, If you would like to be able to ssh into it and control it using your full keyboard on your pc this is the tutorial for you…
The nokia N810 does not have packet injection, and although you can add a wifi adapter to it, that requires a powered usb hub and a modded usb cable as well as using some hacked up drivers..
There are two problems with this, one.. Thats a lot of work from something that’ll scare someone, and two even more importantly its suspicious, I mean what would you do if you owned a starbucks and a guy came in with some weird looking thing with black tape wires batteries and antennas on it?
So how do we fix this problem?
Thats easy… use ssh..
You can use what you want, but in my arsenal I have
Nokia N810 Rooted
Asus 1005HA Custom linux + self compiled drivers
The above combination with some software allows for some easy unsuspecting packet injection and other such attacks…
On your Nokia N810 goto http://http://www.gronmayer.com/it
Search for “rootsh” and add the repository that has it..
Then in your applications section hit find, and type in “rootsh” and install it..
YAY! Now you have root!
do an
apt-get install openssh
(if that doesn’t work go back to gronmayer and get the repo that has it via search)
on the pc do
apt-get install openssh
IF you find that its not working try this instead
apt-get install openssh-server openssh-client
on both the n810 and your pc…..
Open the browser on your n810 and goto
http://deauththis.com/n810/deb/bt-pan_arm.deb
and install it
for the terminal users do
wget http://deauththis.com/n810/deb/bt-pan_arm.deb && dpkg -i bt-pan_arm.deb
REBOOT N810
Open your control panel on the N810 and goto bluetooth, make sure its visible… on your pc pair it with your N810
Now on your N810 goto connections you’ll see either “Bluetooth-PAN” or for some reason as mine did “dummy”
Connect to it…
YAY, your now connected by bluetooth, now you need ip addresses….
on the N810 do
ifconfig bnep0 up 10.10.0.2
on the PC do
ifconfig bnep0 up 10.10.0.3
Ensure the ip addresses are different and more importantly on a different subnet than the wifi which is usually 192.168.*.*
Your good to go.. lets do a test
on your pc do
ping 10.10.0.2
should be getting a connection… sweet 
Now try
ssh 10.10.0.2
it should give you crap about a key, just say yes… and put in your pass and your good to go
Fix Your Grub Boot Loader
Posted by TheCorrosiveOne in Tutorials on September 1, 2011
If you’ve installed linux and have noticed windows is not listed here is an easy way to update grub and fix your boot loader.
Open terminal
sudo su
type password (toor)
update-grub