![]()
| KFSensor ExtraskfSubSevenkfSubSeven is a honeypot emulation of the ever popular SubSeven trojan server. kfSubSeven behaves just like a real thing, but without the unpleasant consequences. kfSubSeven is not part of the KFSensor system, but can be used to add to its capabilities.
ContentsWhat is SubSeven
SubSeven is a trojan. Once installed on a victim's machine the SubSeven server runs undetected and opens a tcp port, or backdoor, which allows a hacker complete control of the victim's machine. The hacker uses the SubSeven client program to control the SubSeven server program from a remote location. Different trojans have different capabilities.
Because of this people who use SubSeven are mostly script kiddies. However, existing SubSeven installations are also used by more advanced hackers as a convenient back door to enable them upload their custom scripts and trojans. SubSeven can listen on any port. Its default port is 27374, which is one of the most scanned ports on the Internet. SubSeven opens other ports for special function. 2774 for the chat feature and 7215 for the Matrix feature. Warning: If you want to try it out for yourself bear in mind the following: How kfSubSeven workskfSubSeven listens on a port and accepts connections from a SubSeven client in the same way that the SubSeven server does. As far as a hacker is concerned there is no difference between controlling kfSubSeven and SubSeven. Because kfSubSeven only simulates SubSeven and most importantly does not allow the hacker to compromise the system it is limited in the extent to which it can emulate SubSeven. This means an intelligent hacker, i.e. not a script kiddie will eventually work out there is something not quite right. Hopefully their intentions will be revealed by this point and a significant amount of their time will have been wasted. For example a hacker may try to upload and execute their piece of malware on the honeypot, or use kfSubSeven to launch a
scan on another machine. This will not work and will indicate that something is wrong. kfSubSeven FeatureskfSubSeven implements all the commands found in the SubSeven protocol page.There are too many features to mention them all here. Here are some of the kfSubSeven highlights:
Have a look at the Screen shots for a few examples. Staying on step aheadIf you managed to find kfSubSeven on the Internet, then you can be sure other less well intentioned people have as well. They will quickly learn what to look out for and develop tests to tell kfSubSeven and SubSeven apart, in other words they will have a kfSubSeven fingerprint. In order to stay one step ahead do the following:
Example attackThe best way to understand how both kfSubSeven works is by example.So we have produced an annotated record of a real life SubSeven attacks on a KFSensor honeypot system, running kfSubSeven. Click on this link to see the Example attack 1. Click on this link to see the Example attack 2. This is the transcript of a matrix chat session between a hacker and kfSubSeven's automated responses. >>>>You can't scare me with this Gestapo crap. I k <<<<i know >>>>now my right <<<<i just wanna talk to you >>>>s.[F6]What?[F6] <<<<are you located in the US >>>>Right.[F6] <<<<oh cool >>>>What?[F6] <<<<do you have an AIM screen name >>>>What the hell?[F6] <<<<sorry for bothering you >>>>Right.[F6] <<<<oh one other thing >>>>What, now?[F6] <<<<have this ever been done to you before? >>>>Follow the white rabbit?[F6] <<<<lolLOLLOL >>>>Oh shit. Oh shit shit shit![F6]Who are you?[F6] <<<<The call me Mobman >>>>what do you want[F6] <<<<nothing >>>>Oh <<<<your computer is weird >>>> shit. Oh shit shit shit![F6]Right.[F6] <<<<listen you have a nice day and we'll keep in touch >>>>How?[F6] <<<<i will find you dont worry >>>>Yeah...yeah...you're two hours late.[F6]You get <<<<you funny >>>>caught using that...[F6]What is the Matrix?[F6] <<<<1101000110 >>>>You can't scare me with this Gestapo crap. I know my rights.[F6] <<<<you know u >>>>I am calling the police[F6] <<<<ok >>>>Yeah...yeah...you're two hours late.[F6] <<<<male or female >>>>what do you want[F6] <<<<male or female >>>>I am calling the police[F6] <<<<this is not a real person >>>>What?[F6] <<<<you repeat the same things over and over >>>>This is insane! Why is this happening to me? What did I do?[F6] Screen shotsThe screen shots are all of the SubSeven client program interacting with kfSubSeven.They give a few examples of how well kfSubSeven can emulation SubSeven.
Installing kfSubSevenThe following instructions relate to installing kfSubSeven onto a KFSensor system.kfSubSeven consists of a single executable and a number of other configuration and honeytoken files. Installation and configuration is a manual process. Step 1Unzip the file kfsubseven.zip in the directory:C:\Program Files\KeyFocus\KFSensor\files Make sure you enable the folders option of your unzip utility, to preserve the directory structure in the zip file. Step 2Create the following blank directory:C:\kfsensor\subsevenuploads You should now have the following tree structure. C: Step 3Edit the file C:\Program Files\KeyFocus\KFSensor\files\kfsubseven\kfsubseven.confYou can change many options here but for now set the Path options as below: UploadPath=C:\kfsensor\subsevenuploads This enables a kfSubSeven to capture and store uploaded files into subsevenuploads and to enable files in sub7downloads to be downloaded Step 4kfSubSeven is now installed, but KFSensor needs to be configured to use it.Go to the Scenario menu and select the Edit Sim Servers... menu item. Use the Add.. button and select Action Type: Sim Std Server, Sim Type: External Console App, from the Add Sim Server dialog box. Fill in the following field and press OK. Note: It is very important that you get the Arguments field right, including the case. Best to just copy and paste the values.This is the main SubSeven server
Now repeat the process for the SubServer Chat port
Now repeat the process for the SubServer Matrix port
Go to the Scenario menu and select the Edit Active Scenario... menu item. Use the Delete button to remove and listen definitions you might have on ports; 27374, 2774 and 7215 Use the Add... button to add three listen definitions for each of the Sim Std Server definitions you have just made. Step 5KFSensor should now be running kfSubSeven.In order to test it you can either;
DownloadWindows Executable - kfsubseven.zip Source code - kfsubsevensrc.zip The current version contains Windows API calls and will not compile under Unix. kfSubSeven is licensed under the GNU General Public License. |