Secure delete (Windows)
在操作系统里,文件删除后,并且从垃圾桶里清空之后,文件所在的页面被标为“可用”(unused),待下次有文件写入需要这个空间的时候,这个页面才会被改写:所以说,这时候这“已删除文件”并没有真正被删除。
sdelete -cz C:
VBoxManage modifyvdi xxxx.vdi --compact
Ben, blogging天道酬勤 Confucius said: He who works hard gets well paid. |
在操作系统里,文件删除后,并且从垃圾桶里清空之后,文件所在的页面被标为“可用”(unused),待下次有文件写入需要这个空间的时候,这个页面才会被改写:所以说,这时候这“已删除文件”并没有真正被删除。
sdelete -cz C:
VBoxManage modifyvdi xxxx.vdi --compact
Labels: security
译者前言:有感于国内正在收紧网络言论的控制,罔顾网民(人民)的隐私/权利,我把2600去年夏天的编辑弁言Not the enemy的一段翻译一下。黑客只是好奇于手册中没有记载的漏洞,热爱追求自由的一群人。他们不是敌人。
In Linux, by default, a common user can read almost all files, but she can only write to:
这个新病毒又名Conficker,感染了几百万电脑。它利用了08年10月发现的一个微软漏洞,只要你执行了Microsoft Update就可以避免。问题是:许多电脑用户,特别是使用盗版的中国用户,都把自动更新关闭了。
Labels: security
Skype.com所出产的Skype软件既是个优秀的实时通信软件,也是个IP电话软件。可以文本聊天、语音、视频对话。以我个人经验,它在语音、视频聊天时比MSN Messenger稳定流畅。
据当地法律法规和政策,部分搜索结果未予显示。

Labels: security
There is a PHP Security Tips series in Zend, and here is the abstract:
1, Keep system up-to-date.
2, Don't output error message.
3, Use third-party security software or services.
4, Don't give critical files and folder default names.
5, Don't trust user. Filter Input, Escape Output.
6, Cast input numbers in SQL query.
7, Use session_regenerate_id(true) instead of session_regenerate_id().
8, Always validate user input. (AGAIN?)
9, Keep sensitive data and code out of your web tree.
10, Do not blindly send mail using information entered into a form to prevent email header injection.
11, Grant permissions to users only to the level needed.
12, Think carefully before using eval() for user input values. (AGAIN!)
13, PHPSecInfo. (TIP 3?)
14, Any data inside of a cookie can be potentially seen by others.(AND IT CAN BE MODIFIED AS WELL!)
15, Don’t forget to purge temporary system diagnostic files/code.
16, Keep Your Framework Up to Date.(TIP 1)
17, PHP Security Guide http://shiflett.org/php-security.pdf, design your application with security in mind.
18, Restrict the file types that you allow to upload, especially php file.
19, Consider your server network connection. For example, put database server behind firewall.
20, Read and learn.
21, Subscribe to the Security Focus newsletter, read and learn.
Labels: security
To create member only pages, I deployed Chad Butler's WP-Members plugin. The original plugin only support Posts, not Pages. And Chad makes it very complicate. So I modified the program and deleted most of his codes to make it simple. Now the code only has 20 lines, while the original one has 1000 lines.
INSTALLATION PROCEDURE:
* Upload memberonly.php to your plugins directory
* Login to the WP admin
* Go to plugins tab and activate the plugin
* Any post or page whith < !-- more -- > tag will be blocked from anonymous visit.

Labels: Programming, security, WordPress
I read Google's paper "The Ghost In The Browser Analysis of Web-based Malware". The fact is astonished: 10% note* of websites have malicious code to (at least try to) exploit visitor's computer, including my website.
This widget used to keep statistics of the number of visitors since 2002 until it was turned into a malware infection vector in 2006... The web counter was benign for over four years and then drastically changed behavior to exploit any user visiting the site. This clearly demonstrates that any delegation of web content should only happen when the third party can be trusted.Now it is deleted from my website.
We analyzed the content of several billion URLs and executed an in-depth analysis of approximately 4.5 million URLs. From that set, we found about 450,000 URLs that (is malicious)
Today one news was about a fire in New Brunswick. It was a small fire; when the fire fighters came, it had been put out by the technicians. But because one cable was on fire, the communication of that city was interrupted: More than 100,000 residential phone were cut, and the 911 was not function either.
In the eWeek, one article is talking about How to Stay in Your Help Desk's Good Graces:
Last Monday, a computer in my lab got infected of virus. The network admin tried several anti-spyware softwares, and tried to delete the virus manually in safe-mode. But after the softwares deleted several virus, one virus was still alive.
Installing a system is quite strait forward. The modern operating systems including Linux and Windows are very easy to be installed. You simply put in the CD and run the installation program, answer several questions. Two hours later, you have a fresh operating system to play with.
But reinstallation is another story. Most computers which are required to reinstall a new system are abused. A lot of programs are installed and a lot of files are saved in those computers. Some files might contain virus. So it is important to save those programs, files, and settings of programs before installing a new operating system.
Reinstall a new system in the same folder as the old one without formatting the drive is not a good practice. The old system is broken because of some reason. Maybe the computer gets virus? Maybe the system files corrupt? At least, there are too many useless files in the system folder. If you install the new system in the same folder to replace old one, the useless files are kept to slow down the new system. So the best option is to format the drive to clean up everything before reinstallation. That’s why we need to save data before formatting.
AdWare Experience
Labels: security
Yahoo has inked an agreement with HP to install Yahoo toolbar in HP's new personal computers. HP users will have Yahoo services automatically. If they don't like Yahoo email, Yahoo messenger, and Yahoo search, they can uninstall the toolbar afterward. How many of them will do so?
Labels: security
Gea-Suan Lin quoted Bruce Schneier's blog which introduced an article talking about how to get System Privilege:
On many machines this can be exploited even with the guest account.And Gea-Suan Lin's blog name is "I love Microsoft". They all think Microsoft is so bad in security.
at 15:15 /interactive "cmd.exe"Then when the task "cmd.exe" is executed, a new DOS window with System privilege is created, and from this DOS window you can execute commands with System privilege.
Labels: security
|
This is not completely false. It uses the at--taskschedule, and it happened I had already turned that off because I didn't see any use of that tool anyway. the tools are in: www.xlogit.com/xtools/ |
StopBadWare.org is setup by Harvard, Oxford, Google, Lenovo, Sun and other companies. It helps Internet users to avoid disaster when browsing the net:
You or someone you know has downloaded something from the internet that seemed harmless enough at the time. Next thing you know, the computer has slowed to a crawl. Pop-up advertising starts to appear out of nowhere. Private information gets sent to some company you've never heard of. And the worst part? Trying to uninstall the software sometimes makes the problem worse.How do this website implement such a big task? When you use google to search information, if the search result contains a malicious website which has "BadWare", and you want to visit that website, Google will bring you to warning page first, let you know the dangeous of visiting this website. If you think it you are confidence to visit that website, sure you can still do whatever you want, but at least, you've been warned.
Warning: The site you are about to visit may harm your computer!I am quite confidence with my computer, because I know every software I installed, and I have up-to-date antivirus software, I disabled unwanted system service, I update my Windows system on time, and I have firewall running. So I clicked the link to visit those websites. But I don't see anything special. I got the serial number I wanted from both website, and none of them send me any BadWare.
Labels: security
Sony distributed spyware with its Music CDs last year. I heard of rumous at that time, but I didn't pay attention to
Labels: security
Microsoft announced today that this is the last patch of Windows 98/ME, which means that these two operating systems are abandoned from the production line.
Labels: security