The Casefile tool is used to draw the network structure diagram. The tool can be used to quickly add and connect, and can be a graphical interface to build a flexible network structure diagram. This section describes the use of Maltego casefile.
Before using the Casefile tool, you need to modify the Java and Javac versions used by the system. Because the Casefile tool was developed in Java, the tool must be run on the Java1.7.0 version. However, in Kali Linux, JDK6 and JDK7 are installed, and Casefile is using JDK6 by default. After you run the Casefile tool, the graphical interface cannot display the menu bar. So you need to change the JDK version, and the way to change the JDK version is as follows.
Use the update-alternatives command to modify the Java command version. The execution commands are as follows:
From the output information you can see that the JDK7 version has been modified and is manual mode. Or, using the Java command to view the current version information, execute the command as follows:
[email protected]:~# java -versionjava version "1.7.0_25"OpenJDK Runtime Environment (IcedTea 2.3.10) (7u25-2.3.10-1~deb7u1)OpenJDK Server VM (build 23.7-b01, mixed mode)
From the above results can be determined that the current system Java command version is 1.7.0.
Use the update-alternatives command to modify the version of the Javac command. The execution commands are as follows:
From the output information you can see that the JDK7 version has been modified and is manual mode. Then, using the Javac command to view the current version information, execute the command as follows:
[email protected]:~# javac -versionjava version "1.7.0_25"
From the results above, you can determine that the Javac command version of the current system is 1.7.0.
"Instance 4-7" uses the Casefile tool to draw a network structure diagram. The following steps are shown below.
(1) Start Casefile. Select "Applications" | Kali linux| " Information collection "|" Intelligence analysis "The |casefile command will display the interface shown in 4.25.
Figure 4.25 Welcome Interface
(2) The interface is a welcome message, here Click the Next button and the interface shown in 4.26 will be displayed.
Figure 4.26 Setup Wizard
(3) The interface selects what will be done. Here you select Open a blank graph and let me play around, then click the Finish button to display the interface shown in 4.27.
Figure 4.27 Initial interface
(4) From this interface you can see no information, because no device is selected by default. The tool, like the Maltego tool, needs to drag each entity into the diagram from the Component palette. In this example, the Drag field entity is selected and the domain property is changed, as shown in 4.28.
Figure 4.28 Domain name entity
(5) In this interface, you can add a comment to the field. Point the mouse to the domain entity, and then double-click the comment icon to display the interface shown in 4.29.
Figure 4.29 Adding a comment
(6) In this interface you can see the added annotation information, which can be modified. You can modify the position of the mouse point to the comment information. The interface can also drag other entities, where another entity domain name is used to record DNS information from the target host, as shown in 4.30.
Figure 4.30 Domain name entity
(7) In this interface you can connect the two entities together. Just drag one line from one entity to another, as shown in 4.31.
Figure 4.31 Connecting two entities
(8) After connecting two entities, the interface shown in 4.32 will be displayed.
Figure 4.32 Line Properties Interface
(9) This interface is used to set the properties of the line. You can modify the thickness, formatting, and color of the line.
(10) Repeat the above steps (5), (6), (7) and (8) to add more information to draw the network diagram. Here is a simple organization diagram of the network structure, shown in 4.33.
Figure 4.33 Organization Network
(11) From this interface you can see an organization network structure diagram. At this point the user can save the diagram and, if necessary, open and edit it later. If you need to reopen a graph window, you can click the upper-left corner or the icon, shown in 4.34.
Figure 4.34 New Graph
Clicking on the New button in the interface will create an additional graph, which will be named new Graph (2) and 4.35.
Figure 4.35 Newly created new graph (2)
Kali-linux plotting the network structure diagram