2008年10月28日 星期二
VirtualBox 虛擬電腦,練重灌、測軟體、玩病毒,不怕搞壞電腦!
文章來源:重灌狂人
2008年10月24日 星期五
隨身碟病毒的預防針-EFix
之前從網路上看到人家分享的 EFix 小軟體,可以用來刪除隨身碟病毒,並且作一點預防措施,真的很不錯用!前幾天發現已經有網頁出現了:reinfors - EFix 下載位置及說明。這邊是網頁上面簡單列出的功能:
- 刪除各磁碟存在的Autorun.inf檔以及刪除mountppoint2機碼
- 關閉自動撥放功能,避免隨插即中獎
- 修復隱藏檔無法正常顯示的功能
- 有刪除小量病毒檔案的能力,但不一定刪的掉
- Hosts重置並增加一些惡意網址的黑名單
- 刪除除了預設和白名單以外的所有ShellExecuteHooks和對應ShellExecuteHooks的CLISD機碼
最近幫人家裝機後都要執行一下,順便留一份在電腦裡面。不然隨身碟病毒實在太毒了!
UPDATE 2007/12/23: 不過,要注意的是,目前只支援 Windows XP 喔!
2008年10月21日 星期二
VirtualBox - Spawning Session 解法 in Ubuntu
在安裝完一次的 Kernel 更新之後,VirtualBox 就出現問題了,啟動虛擬機的時候會跑一個視窗,上面寫著 Spawning Session 然後一直卡在進度 0 % 沒有動作,如果用舊版的 Kernel 就可以正常執行,試著找了一下,在官網也沒有找到什麼解答:
http://forums.virtualbox.org/viewtopic.php?p=37897&sid=da7c0a20c648e320c82afb45d58678a5
然後嘗試想用命令啟動 (覺得是 Management UI 的問題),發現這麼一段錯誤訊息:
jty@ubuntu:~$ VBox
WARNING: The vboxdrv kernel module is not loaded. Either there is no module
available for the current kernel (2.6.27-4-generic) or it failed to load.
Please recompile the kernel module and install it by
sudo /etc/init.d/vboxdrv setup
You will not be able to start VMs until this problem is fixed.
Unknown application - VBox
原來是因為 Kernel Module 的版本不對了,所以才出現狀況的,按著上面的指令重新編譯一次 Kernel Module,就可以了…
PS: 注意指令的大小寫是不同意義的! eg: VBox # vbox
2008年10月20日 星期一
無法啟動 Windows 防火牆服務
- 請按一下 [ 開始 ] , 按一下 執行 , 輸入 cmd 然後按一下 [ 確定 ]
- 在命令提示字元, 輸入下列命令列, 並按 ENTER 鍵:
Rundll32 setupapi,InstallHinfSection Ndi-Steelhead 132 %windir%\inf\netrass.inf - 重新啟動 Windows。
- 請按一下 [ 開始 ] , 按一下 執行 , 輸入 cmd 然後按一下 [ 確定 ]
- 在命令提示字元中輸入下列命令,然後按 ENTER:
Netsh firewall reset - 請按一下 [ 開始 ] , 按一下 執行 , 輸入 firewall.cpl 然後按 ENTER 鍵,在 [ Windows 防火牆 ] 對話方塊中, 按一下 [ 開啟 (建議選項) ] 及 [ 確定 ]。
2008年10月15日 星期三
Bridging VirtualBox 1.6.2 on Ubuntu 8.04.1
前言:VirtualBox 安裝完成後,網路的初始設定為 NAT 模式,如此的設定 guest 可上網但無法連線網路芳鄰,host 則無法上網。必須改為 Bridging 模式才可解決此問題,設定如下:
The steps I mentioned here is assumed that the host system is behind a router and the ip addresses are distributed by DHCP from the router.
Step 1 :
Install the required package for the bridged network on the host.
sudo apt-get install uml-utilities bridge-utils
Issue the following command to stop the network interface.
sudo invoke-rc.d networking stop
Edit the /etc/network/interfaces by the below command.
sudo nano /etc/network/interfaces
The content of the file should be like this. That is, append the line of 「auto br0」 and the rest to the end of /etc/network/interfaces. The codes are for bridging eth0 and you can change it as required.
auto loiface lo inet loopback
auto eth0iface eth0 inet manual
auto br0iface br0 inet dhcpbridge_ports eth0bridge_fd 9bridge_hello 2bridge_maxage 12bridge_stp off
Restart the network interface.
sudo /etc/init.d/networking restart
Step 2 :
Still on the host. Issue the following commands.
sudo VBoxAddIF vbox0 `whoami` br0VBoxManage modifyvm "My VM" -hostifdev1 vbox0sudo chmod 0666 /dev/net/tun
* where 「My VM」 is the name of your guest (eg myself is 「WinXP」). The network interface should be Host Interface.
Make sure, at the GUI VirtualBox panel, select 「Network」, Select 「Host Interface」 at 「Attached to」 and fill in the blank to 「vbox0」 at 「Interface Name」.