成人午夜激情影院,小视频免费在线观看,国产精品夜夜嗨,欧美日韩精品一区二区在线播放

當前位置:首頁>>軟件教程>>新聞內容  
破解Word2003文件密碼保護的簡單方法
作者:不停歇的腳步 發布時間:2004-1-14 17:13:03 | 【字體:

  在使用Word進行文件保護時,我們經常會使用到窗體保護(工具->保護文檔),用窗體保護最為徹底,用戶無法編輯,也無法進行Copy&Paste操作,前幾天發布的Word文檔的漏洞可以讓你用很簡單的方法去掉這個密碼。

  我們自己來測試一下:

  首先創建一個word文檔,使用窗體保護的方式保護文檔,工具->保護文檔->Check“僅允許在文檔中進行此類編輯”->Choose“填寫窗體”,此時會彈出一個密碼框,輸入2次密碼(我這里選擇123作為word文件密碼),這樣,該文檔就已經被保護起來了。

  然后我們來破解它,打開剛才創建的word文檔,文件->另存為->選擇HTML格式,存為一個HTML文檔,用記事本打開該HTML文件,搜索"<w:UnprotectPassword>",你會看到5BCECF7A的字樣(如果你的密碼是用的123的話)。
  接著我們用UltraEdit或其他類似的工具打開最初受保護的Word文檔,搜索7ACFCE5B,搜索到后,都用8個0來代替,存盤。
  此時的Word文檔的密碼就被清空了,你就可以自己取消文檔保護了,密碼就不用輸入了,按個回車了事。

  MS還沒有對這個漏洞提供補丁,我覺得短期可能還無法解決這個問題,建議以后的文檔不要用這個東西進行保護了。

提示:經過icech的測試,在Word XP中這種方法不行,在保存成HTML時,會提示什么密碼丟失。

以下是原文:

To:  BugTraq
Subject:  Microsoft Word Protection Bypass
Date:  Jan 2 2004 10:51AM
Author:  Thorsten Delbrouck-Konetzko <Thorsten Delbrouck guardeonic com>
Message-ID:  <OF60A8C9AA.4F52F3E5-ON00256E0F.003B08BA-C1256E0F.003B9AEC@localhost>
Hi all,

Microsoft Word provides an option to protect "forms" by password. This is 
used to ensure that unauthorized users cannot manipulate the contents of 
documents except within specially designed "form" areas. This feature is 
also often used to protect documents which do not even have form areas 
(quotations/offers etc.).

This form protection can easily be removed without any additional tools 
(apart from a hex-editor).

Please find the full advisory attached.

best regards,
/tdk

-- 
 Thorsten Delbrouck
 Chief Information Officer

 Guardeonic Solutions AG
 Rosenheimer Str. 116
 D-81669 Munich
---------------------------------


Guardeonic Solutions AG
   Thorsten Delbrouck <tdk guardeonic com>
   http://www.guardeonic.com/

Security Advisory #01-2004

Advisory Name:          Microsoft Word Form Protection Bypass
Release Date:           2004-01-02
Affected Product:       Microsoft Word
Platform:               Microsoft Windows, probably Apple Mac OS
Version:                tested on 2000, 2002 (XP), 2003,
                        probably other versions vulnerable as well

Severity:               Document ("Form") protection can be easily removed

Author:                 Thorsten Delbrouck <tdk guardeonic com>

Vendor Communication:   2003-11-27, 10:30 UTC Microsoft notified
                        to: secure microsoft com
                        
                        2003-11-27 confirmed receipt
                        from: secure microsoft com
                        
                        2003-12-03 Note from Microsoft, Form 
                        protection "is not intended as a full-proof 
                        protection for tampering or spoofing, this is 
                        merely a functionality to prevent accidental 
                        changes of a document", request additional 
                        time to update Microsoft Knowledge Base 
                        article. Targetting beginning of January 2004 
                        for release of this advisory.
                        from: "Magnus" <secure microsoft com>
                        
                        2003-12-08 Microsoft has already released the 
                        KB article (or added a warning to an existing 
                        article). Read the KB article at
                        http://support.microsoft.com/?id=822924 
                        from: "Magnus" <secure microsoft com>

                        
Overview:
---------

Word provides an option to protect "forms" by password. This is used 
to ensure that unauthorized users can not manipulate the contents of 
documents except within specially designed "form" areas. This feature 
is also often used to protect documents which do not even have form 
areas (quotations/offers etc.).

(Word users will find this option on the "Tools" menu, entry 
"Protection", select "Forms" there and provide a password)

If a Word document is "protected" by this mechanism, users cannot 
select parts of the text or place the cursor within the text --- thus 
they cannot make any changes to the document.

Description:
------------

When saving protected Word-documents as html-files, Word adds a 
"checksum" of the password (enclosed in a proprietary tag) to the 
code. The checksum format looks somewhat like CRC32 but currently 
there are no further details available. The same checksum can be 
found within the original Word document (hexadecimal view). If this 
"checksum" is replaced by 0x00000000 the password equals an empty 
string.

Example:
--------

1.) Open a protected document in MS Word
2.) Save as "Web Page (*.htm; *.html)", close Word
3.) Open html-document in any Text-Editor
4.) Search "<w:UnprotectPassword>" tag, the line reads something like 
    that: <w:UnprotectPassword>ABCDEF01</w:UnprotectPassword>
5.) keep the "password" in mind
6.) Open original document (.doc) with any hex-editor
7.) search for hex-values of the password (reverse order!)
8.) Overwrite all 4 double-bytes with 0x00, Save, Close
9.) Open document with MS Word, Select "Tools / Unprotect Document" 
    (password is blank)

Variation:
----------

If the 8 checksum bytes are replaced with the checksum of a known 
password it should be fairly easy to unprotect the document, make any 
necessary changes, save, close and reset the password to the original 
(unknown!) password by simply restoring the original values. Document 
changed without even knowing the password. Nasty.

(Note: Take care to get file properties (author, organisation, 
date/time etc.) right.)

Solution:
---------

No solution is currently available. Do not rely on the "Protect 
Forms" mechanism to protect a Word document against changes.

Credits:
--------

Magnus from the Microsoft Security Response Center for his fast 
responses and for showing a decent sense of humour. :-)


文章來源:securityfocus
·[圖]用WORD實現統計文本出現的次數
·[圖]讓Word自動給圖片添加序號
·拯救損壞的Word文檔又三招
·[圖]Word也能看CCTV
·用Word保存網頁中的內容
 放生
 愚愛
 夠愛
 觸電
 白狐
 葬愛
 光榮
 畫心
 火花
 稻香
 小酒窩
 下雨天
 右手邊
 安靜了
 魔杰座
 你不像她
 邊做邊愛
 擦肩而過
 我的答鈴
 懷念過去
 等一分鐘
 放手去愛
 冰河時代
 你的承諾
 自由飛翔
 原諒我一次
 吻的太逼真
 左眼皮跳跳
 做你的愛人
 一定要愛你
 飛向別人的床
 愛上別人的人
 感動天感動地
 心在跳情在燒
 玫瑰花的葬禮
 有沒有人告訴你
 即使知道要見面
 愛上你是一個錯
 最后一次的溫柔
 愛上你是我的錯
 怎么會狠心傷害我
 不是因為寂寞才想
 親愛的那不是愛情
 難道愛一個人有錯
 寂寞的時候說愛我
主站蜘蛛池模板: 西平县| 康乐县| 陵川县| 蓬莱市| 宜丰县| 荔波县| 三门峡市| 塔河县| 西乌珠穆沁旗| 安仁县| 西峡县| 婺源县| 游戏| 县级市| 邵武市| 神池县| 水城县| 塔河县| 明溪县| 望江县| 偏关县| 昌乐县| 准格尔旗| 自治县| 邓州市| 乐陵市| 榆社县| 玉龙| 友谊县| 台湾省| 凌源市| 宝丰县| 呼和浩特市| 台湾省| 伊吾县| 循化| 邻水| 桦甸市| 涟水县| 定安县| 石城县|