2015年2月10日 星期二

LOAD IMPACT 雲端自動化測試(一)




Load Impact
這套雲端自動化測試工具,在台灣很多公家機關都很喜歡用這套來做測試。這套壓測工具的好處是使用 Amazon 的 EC2 雲端平台,運用分散在世界各地的 Amazon 雲端機房做壓測,可以更有效的模擬分散在地球不同角落的使用者,接下來就來介紹一下這套系統的使用方法。

照舊一樣先來張 "圖解" 說明:

這一節,先來介紹一下沒有註冊帳號 "Run free test" 的方法:

Step 1: Open browser typing "loadimpact.com" 

Step 2: Enter a URL to test at below red column.

Step 3: Enter "Target IP address" in yellow then click "Run free test" (ex. www.hinet.net)

Step 4: Pop out a massage box to ask register, click "No, Start Test!" then show the processing  "Creating test..."


Step 5: The new window shows as below running the test.

Step 6: After a few minute completed the test.

Step 7: Check "Charts" for the VUs in green and the time of users to load show in blue during this test.

Step 8: Check "Pages" only one page for this test scenario.

Step 9: Check "URLs" all successful.

 Step 10: Check "Resource types" for percentage of URL content type & load time.

Step 11: Finally Check "Logs" shows no log for this test.

說明到這裡可以看到,Load Impact 在 "無註冊版" 的使用上非常容易,只需輸入 Target  URL 或 IP 就直接透過雲端測試機做測試,只需靜待測試結果。在分析上也很容易,透過圖表及簡單易懂的說明,就可以清楚的瞭解測試結果。

接下來,我們將繼續說明 "註冊版" 可以使用的測試方法。 

~ See you ~

參考出處:

2015年2月6日 星期五

OpenVAS 續探(二)

Good morning!!! 大家早~

今天就接著上一節,繼續探討該如何做任務 (Task) 設定。

Step 1: Browser link to OpenVAS server then point to "Scan Management". Click "Tasks".

Step 2: Click "Star Button" then can see the page as below.


Step 3: Set a task name. (ex. Test Scan for 192.168.2.86)

Step 4: "Comment (optional)" column for more detail about this task.

Step 5: For "Scan Config" select "Discovery" for default.

Tips: For this drop down menu list let you choose which method set for "Scan Config". (ex. Full and fast) 

Step 6: "Scan Targets" for select the target to do scanning which we set last time. (ex. 192.168.2.86)

Step 7: "Order for target hosts" let you order target to scan when do more than one target scanning.

Tips: 3 ways to scan more than one target. 

Step 8: "Network Source Interface" for setting port number. (ex. 80 or 8080)

Step 9: Finally click "Create Task" then can see a page as below.


當你看到如上圖,恭喜你!!!表示已經成功設定好一個任務了。

至於如何開始掃描 Target,只要按下如下圖的 "綠色 Play 鍵",就會開始掃描了。


到時候我們再來討論掃描後的結果,看看如何分析這份測試報告。

~ See you ~

參考出處:
http://www.openvas.org/

2015年2月2日 星期一

OpenVAS 續探(一)

Hello!!! 大家好 ~

今天要來談一談 OpenVAS 的使用方法。
相信大家經過上節的說明,已經都裝好 OpenVAS 在你的測試主機。以下的圖是要介紹接下來的內容 "圖解":


我們直接切入正題,一般我們開始使用 OpenVAS 弱點掃描時,需要做二個主要的設定。一個是設定被掃描主機 (Target),另一個是設定任務 (Task)。這一節我們就設定 Target 主機開始說明:

Step 1: Link to your OpenVAS then in main page point to "Configuration" in menu bar.

Step 2: Check the scroll down menu bar then click "Targets" will see the page like below.

Step 3: Click the "Star Button" to create a new target.

Step 4: After clicked the star button will see the page like below.

Step 5: Naming your Target machine for New Target.

Step 6: For "Hosts" select "Manual" then fill in your target IP. (ex. 192.168.2.86)

Tips: For option "From file" that can let you fill in more targets IP in a file. 

Step 7: For "Exclude Hosts" means which target IP doesn't want to scan in the list.

Step 8: If "Reverse Lookup" option is set, the OpenVAS server will do a reverse lookup on the IP addresses before it tests them. This may slow down the whole test.

Step 9: Select "Port List" as "OpenVAS Default".

Tips: For "Port List" option select scroll down menu choose which port list want to be scan. Also can add a new "Port List" at Configuration | Port Lists | New Port List 




Step 10: If need to provide the certificated for SSH & SMB optional.

Step 11: For "Alive Test" set as "Scan Config Default"

Tips: For "Alive Test" option can select which method to test the target is alive. 

Step 12: After click "Create Target" button will see the new target has been created as below.


恭喜你!!!
當看到如上圖的畫面,就是表示你已經設定好一台被掃描的 Target。接下來,下一節將介紹如何設定一個掃描任務。

~ See you ~

參考出處:
http://www.openvas.org/