Decompress Files with PCDEZIP

Total Page:16

File Type:pdf, Size:1020Kb

Decompress Files with PCDEZIP With PCDEZIP you can confidently download files compressed with PKZIP, Version 2.0. BY BOB FLANDERS AND MICHAEL HOLMES Decompress files with PCDEZIP f you've been using PCUNZIP to PCDEZIP's syntax decompress files, it's time to upgrade to usage: PCDEZIP [switches] zipfile [target\1 [filespec 1...11 I the new PCDEZIP. Phil Katz has released Version 2.0 of his popular switches: -f freshen existing files shareware compression program, PKZIP, extract new and updated files do not prompt on overwrite and the old utility can't decompress the ZIP directory newly zipped files. The new PCDEZIP will -d create directories unzip files zipped with either version of -t test file integrity PKZIP. zipfile .ZIP file Although we have added some valuable new features to PCDEZIP, our attempt has target \ the target directory; trailing backslash required not been to duplicate all the capabilities of the commercial product. PCDEZIP does filenames are files to be extracted; wildcards supported not, for example, permit using wildcard Fig 1: When you enter PCDEZIP with no parameters, it displays its syntax and switches as shown here characters in the .ZIP filename, handle files that span more than one floppy disk, preserve read-only file attributes, or respectively. If you don't supply a compiler it. For example, if SOURCE.ZIP is in your decrypt encrypted files. To get these parameter, C.BAT assumes Borland C++ D :\ PROJECT directory, then the com- facilities — and, of course, to be able to zip 3.1. mand files yourself — you must obtain the full- scale PKZIP, which is available from My PCDEZIP D:\PROJECT\SOURCE Computer Company on (02) 565 1991. Our Using PCDEZIP aim here is simply to provide our readers The full command line syntax for PCDEZIP will expand SOURCE.ZIP and put its files with a no-cost way to .decompress MagDisk is into your current directory. files. You can select a different target direc- You can get a copy of PCDEZIP by PCDEZIP [switches] zipfile tory by using PCDEZIP's target\ option. To downloading PCDEZP.EXE from MagDisk, [target\] [filespec [. .]] specify a target directory, you type in the as explained in the sidebar 'How to obtain directory pathname as the argument direct- a copy of PCDEZIP'. Entered without any of its optional ly following the .ZIP file to be processed. After downloading, you should rename parameters, the command Note that the target argument must end the file PCDEZIP.EXE. To study or change with a backslash, because this is how the source code, download the self-extract- PCDEZIP zipfile PCDEZIP identifies it as a directory. Thus, ing archive file PCDZ.EXE. to put the decompressed contents of the After running PCDZ.EXE, you can use simply decompresses the contents of the SOURCE. ZIP file shown above into E: \JOB, the included C.BAT batch file to compile named .ZIP file and places them into your you would enter the program. The parameter you supply to current directory. You do not need to enter C.BAT specifies the compiler you're using. the .ZIP extension; PCDEZIP assumes it PCDEZIP D:\PROJECT\SOURCE E:\JOS\ To compile with Borland C++ 3.1, Borland unless you specify otherwise. Turbo C++ 3.0, or Microsoft C/C++ 7.0 (or If the .ZIP file is not in your current If the target directory you desire does later), use the parameters C B, C T, or C M, directory, you have to provide the path to not already exist, you can instruct PCDEZIP APC MARCH 1994 PAGE 203 The /0 switch tells PCDEZIP to overwrite any existing same-named files without regard for their date and without prompting for confirmation. Use this switch with care! You can test the integrity of a .ZIP file with the /T (test) switch. When you specify the test switch, PCDEZIP performs a com- plete decompression operation on each re- quested file but creates no output files. If an error is detected, PCDEZIP displays an error message next to the file that contains the error. You can view the contents of a .ZIP file without decompressing it by employing the /V switch. Frequently, your reason for wanting to use this switch is that you wish to unzip only one or two specific files from the .ZIP files. This is done by using PCDEZIP's filespec option. Suppose, for example, that you have a .ZIP file named DATA. ZIP in the root direc- tory and you enter the command PCDEZIP /V \DATA Figure 2 shows the hypothetical contents of this file in the same way that /V displays them. Notice that in this instance, the .ZIP file contains compressed files and direc- tory information too. Specifically, the IN- COME.DAT and INCOME.IDX files are prefaced with directory names, although INDEX.DAT stands alone. If your interest is in decompressing only INDEX.DAT, you would use the filespec argument to specify the file you wanted by entering the com- mand to create one for you, unless the .ZIP file when the switch is placed after zip_file. PCDEZIP \DATA INDEX.DAT already contains its own directory informa- Only the slash can be used if the switch tion. (ZIP files that do contain such infor- parameter follows the name of the file-to be Note that as shown in the syntax line mation are created with the -apr option of decompressed. above, the filespec argument may be used PKZIP and are considered below in the Three of the PCDEZIP switches, /F, /N, to specify more than one file. This option section, 'Restoring directories'). To do this, and /0, allow you to eliminate the utility's also supports the use of wildcards. you make use of the /D switch with the overwrite prompt. Before PCDEZIP target\ option. Assuming that SOURCE.ZIP decompresses a zipped file, it checks to see is an ordinary .ZIP file that contains no whether there is a same-named file in the Restoring directories stored directory information and that you destination directory. If so, PCDEZIP nor- When creating a .ZIP file, PKZIP can op- want to create the \JOB directory on drive mally displays the filename, the DOS direc- tionally store the pathname along with the E:, the command would be tory information for both files, and the filename. In Figure 2, PKZIP used the message, 'Overwrite existing file? directory tree seen in Figure 3 to put all the PCDEZIP /D D:\PROJECT\SOURCE (Y/n/all/stop)'. Press Y to replace the file, files in all of the subdirectories below the E:\JOB\ N to skip that file, A to overwrite both it and \ ACCT directory into \ DATA.ZIP. all subsequent files without further prompt- Preserving the directory structure stored The six optional switches that PCDEZIP ing, and S to stop the utility and return to in a .ZIP file while expanding its files is the supports are listed and briefly explained in DOS. other of the two jobs of PCDEZIP's /D Figure 1. This figure shows the help mes- The /F switch freshens existing files. It switch. To restore the contents and struc- sage that is displayed when you enter decompresses only those files that have an ture of the \ ACCT directory tree, you would PCDEZIP without any arguments. The older, same-named version in the destina- use the commands command line switch may actually be tion directory. When the /F is specified, any placed either before or after the zip_file same-named but earlier-dated files are auto- CD \ACCT entry. Like the command line switches of matically overwritten. The /N (newer) PCDEZIP /D \DATA other APC utilities, the switches for switch unzips the same files as /F but also PCDEZIP are identified by a slash CO. For adds any files that do not have a same- If the /D switch is specified when readers more accustomed to the syntax of named version in the destination directory. PCDEZIP searches through the .ZIP file, it the commercial PKUNZIP, a hyphen (-) Specifying this switch will not overwrite any creates any directories whose names have may be used in place of the slash, except later-dated, same-named files, however. been stored as part of the compressed files. PAGE 204 APC MARCH 1994 Thus, when PCDEZIP encounters 1991 \ IN- PCDEZIP /D \DATA 1992\*.* however, PCDEZIP will create only \DIR2, COME.DAT, it looks first to see whether the since that is what is needed to hold 1991 directory exists in the current ( \ ACCT) If you wanted to unzip all the files in only NOTES.TXT. The \DIR1 directory would directory. If not, PCDEZIP creates such a the 1991, 1992, and 1993 directories, how- not be created because INFO.DAT was not directory before restoring 1991 \ IN- ever, you might be tempted to use the unzipped from the .ZIP file. COME.DAT. command This would seem to preclude the crea- If you don't specify the /D switch, tion of empty directories, since PCDEZIP PCDEZIP will, by default, attempt to put PCDEZIP /D \DATA 199?\*.* never has a need to create them. You can, every file in \ DATA.ZIP into your current however, force PCDEZIP to create empty directory. This could be a problem. For This attempt would fail, however, because directories by using *.* as the filespec. example, if you issued the command you cannot specify a wildcard as part of a Moreover, if you do not specify a filespec subdirectory definition. Since PCDEZIP argument, PCDEZIP uses the s." specifica- PCDEZIP \DATA does not decode wildcards used in the tion by default. path portion of the filename arguments, it PCDEZIP will place INCOME.DAT and IN- will not match 199? with any of the direc- COME.IDX into the current directory by tories.
Recommended publications
  • End-To-End Enterprise Encryption: a Look at Securezip® Technology
    End-to-End Enterprise Encryption: A Look at SecureZIP® Technology TECHNICAL WHITE PAPER WP 700.xxxx End-to-End Enterprise Encryption: A Look at SecureZIP Technology Table of Contents SecureZIP Executive Summary 3 SecureZIP: The Next Generation of ZIP 4 PKZIP: The Foundation for SecureZIP 4 Implementation of ZIP Encryption 5 Hybrid Cryptosystem 6 Crytopgraphic Calculation Sources 7 Digital Signing 7 In Step with the Data Protection Market’s Needs 7 Conclusion 8 WP-SZ-032609 | 2 End-to-End Enterprise Encryption: A Look at SecureZIP Technology End-to-End Enterprise Encryption: A Look at SecureZIP Technology Every day sensitive data is exchanged within your organization, both internally and with external partners. Personal health & insurance data of your employees is shared between your HR department and outside insurance carriers. Customer PII (Personally Identifiable Information) is transferred from your corporate headquarters to various offices around the world. Payment transaction data flows between your store locations and your payments processor. All of these instances involve sensitive data and regulated information that must be exchanged between systems, locations, and partners; a breach of any of them could lead to irreparable damage to your reputation and revenue. Organizations today must adopt a means for mitigating the internal and external risks of data breach and compromise. The required solution must support the exchange of data across operating systems to account for both the diversity of your own infrastructure and the unknown infrastructures of your customers, partners, and vendors. Moreover, that solution must integrate naturally into your existing workflows to keep operational cost and impact to minimum while still protecting data end-to-end.
    [Show full text]
  • The Basic Principles of Data Compression
    The Basic Principles of Data Compression Author: Conrad Chung, 2BrightSparks Introduction Internet users who download or upload files from/to the web, or use email to send or receive attachments will most likely have encountered files in compressed format. In this topic we will cover how compression works, the advantages and disadvantages of compression, as well as types of compression. What is Compression? Compression is the process of encoding data more efficiently to achieve a reduction in file size. One type of compression available is referred to as lossless compression. This means the compressed file will be restored exactly to its original state with no loss of data during the decompression process. This is essential to data compression as the file would be corrupted and unusable should data be lost. Another compression category which will not be covered in this article is “lossy” compression often used in multimedia files for music and images and where data is discarded. Lossless compression algorithms use statistic modeling techniques to reduce repetitive information in a file. Some of the methods may include removal of spacing characters, representing a string of repeated characters with a single character or replacing recurring characters with smaller bit sequences. Advantages/Disadvantages of Compression Compression of files offer many advantages. When compressed, the quantity of bits used to store the information is reduced. Files that are smaller in size will result in shorter transmission times when they are transferred on the Internet. Compressed files also take up less storage space. File compression can zip up several small files into a single file for more convenient email transmission.
    [Show full text]
  • Steganography and Vulnerabilities in Popular Archives Formats.| Nyxengine Nyx.Reversinglabs.Com
    Hiding in the Familiar: Steganography and Vulnerabilities in Popular Archives Formats.| NyxEngine nyx.reversinglabs.com Contents Introduction to NyxEngine ............................................................................................................................ 3 Introduction to ZIP file format ...................................................................................................................... 4 Introduction to steganography in ZIP archives ............................................................................................. 5 Steganography and file malformation security impacts ............................................................................... 8 References and tools .................................................................................................................................... 9 2 Introduction to NyxEngine Steganography1 is the art and science of writing hidden messages in such a way that no one, apart from the sender and intended recipient, suspects the existence of the message, a form of security through obscurity. When it comes to digital steganography no stone should be left unturned in the search for viable hidden data. Although digital steganography is commonly used to hide data inside multimedia files, a similar approach can be used to hide data in archives as well. Steganography imposes the following data hiding rule: Data must be hidden in such a fashion that the user has no clue about the hidden message or file's existence. This can be achieved by
    [Show full text]
  • Archiving.Pdf
    Archiving Zip. Compression. Stuff like that. Written by Dan Gookin Published by Quantum Particle Bottling Co., Coeur d’Alene, ID, 83814 USA Copyright ©2008 by Quantum Particle Bottling Co., Inc. All Rights Reserved. This work cannot be reproduced or distributed without written permission of the copyright holder. Various copyrights and trademarks may or may not appear in this text. It is assumed that the trademark or copyright is owned by whoever owns it, and the use of that material here is in no way considered an infringement or abuse of the copyright or trademark. Further, there is. Oh, wait. Never mind. I’m just making all this up anyway. I’m not a lawyer. I hate lawyers. For additional information on this or other publications from Quantum Particle Bottling Co., please visit http://www. wambooli.com/ Second Edition December, 2008 Table of Contents Archiving .........................................................................................................2 What the Heck is Archiving? ............................................................................4 Historical Nonsense About Compressed Folders and ZIP Files ..........................5 The Bad Old Modem Days .............................................................................6 Packing Multiple Files Into a Single Library ..................................................6 Better than Library Files, Compressed Archives ............................................7 Enter the ARC file format ..............................................................................8
    [Show full text]
  • ES 201 684 V1.1.1 (1999-05) ETSI Standard
    Draft ES 201 684 V1.1.1 (1999-05) ETSI Standard Integrated Services Digital Network (ISDN); File Transfer Profile; B-channel aggregation and synchronous compression 2 ETSI Draft ES 201 684 V1.1.1 (1999-05) Reference DES/DTA-005069 (flc00icp.PDF) Keywords B-channel, FT, ISDN, Terminal ETSI Postal address F-06921 Sophia Antipolis Cedex - FRANCE Office address 650 Route des Lucioles - Sophia Antipolis Valbonne - FRANCE Tel.: +33 4 92 94 42 00 Fax: +33 4 93 65 47 16 Siret N° 348 623 562 00017 - NAF 742 C Association à but non lucratif enregistrée à la Sous-Préfecture de Grasse (06) N° 7803/88 Internet [email protected] Individual copies of this ETSI deliverable can be downloaded from http://www.etsi.org If you find errors in the present document, send your comment to: [email protected] Copyright Notification No part may be reproduced except as authorized by written permission. The copyright and the foregoing restriction extend to reproduction in all media. © European Telecommunications Standards Institute 1999. All rights reserved. ETSI 3 ETSI Draft ES 201 684 V1.1.1 (1999-05) Contents Intellectual Property Rights ............................................................................................................................... 4 Foreword............................................................................................................................................................ 4 1 Scope.......................................................................................................................................................
    [Show full text]
  • PKZIP Stream Cipher 1 PKZIP
    PKZIP PKZIP Stream Cipher 1 PKZIP Phil Katz’s ZIP program Katz invented zip file format o ca 1989 Before that, Katz created PKARC utility o ARC compression was patented by SEA, Inc. o SEA successfully sued Katz Katz then invented zip o ZIP was much better than SEA’s ARC o He started his own company, PKWare Katz died of alcohol abuse at age 37 in 2000 PKZIP Stream Cipher 2 PKZIP PKZIP compresses files using zip Optionally, it encrypts compressed file o Uses a homemade stream cipher o PKZIP cipher due to Roger Schlafly o Schlafly has PhD in math (Berkeley, 1980) PKZIP cipher is susceptible to attack o Attack is nontrivial, has significant work factor, lots of memory required, etc. PKZIP Stream Cipher 3 PKZIP Cipher Generates 1 byte of keystream per step 96 bit internal state o State: 32-bit words, which we label X,Y,Z o Initial state derived from a password Of course, password guessing is possible o We do not consider password guessing here Cipher design seems somewhat ad hoc o No clear design principles o Uses shifts, arithmetic operations, CRC, etc. PKZIP Stream Cipher 4 PKZIP Encryption Given o Current state: X, Y, Z (32-bit words) o p = byte of plaintext to encrypt o Note: upper case for 32-bit words, lower case bytes Then the algorithm is… k = getKeystreamByte(Z) c = p ⊕ k update(X, Y, Z, p) Next, we define getKeystreamByte, update PKZIP Stream Cipher 5 PKZIP getKeystreamByte Let “∨” be binary OR Define 〈X〉i…j as bits i thru j (inclusive) of X o As usual, bits numbered left-to-right from 0 Shift X by n bits to right:
    [Show full text]
  • Virus Bulletin, June 1990
    June 1990 ISSN 0956-9979 THE AUTHORITATIVE INTERNATIONAL PUBLICATION ON COMPUTER VIRUS PREVENTION, RECOGNITION AND REMOVAL Editor: Edward Wilding Technical Editor: Fridrik Skulason, University of Iceland Editorial Advisors: Jim Bates, Bates Associates, UK, Phil Crewe, Fingerprint, UK, Dr. Jon David, USA, David Ferbrache, Heriot-Watt University, UK, Dr. Bertil Fortrie, Data Encryption Technologies, Holland, Hans Gliss, Datenschutz Berater, West Germany, Ross M. Greenberg, Software Concepts Design, USA, Dr. Harold Joseph Highland, Compulit Microcomputer Security Evaluation Laboratory, USA, Dr. Jan Hruska, Sophos, UK, Dr. Keith Jackson, Walsham Contracts, UK, Owen Keane, Barrister, UK, Yisrael Radai, Hebrew University, Israel, John Laws, RSRE, UK, David T. Lindsay, Digital Equipment Corporation, UK, Martin Samociuk, Network Security Management, UK, John Sherwood, Sherwood Associates, UK, Roger Usher, Coopers&Lybrand, UK, Dr. Ken Wong, BIS Applied Systems, UK KNOWN IBM PC VIRUSES CONTENTS (UPDATE) 11 EDITORIAL TOOLS & TECHNIQUES Computer Viruses as Weapon Dynamic Decompression, Systems 2 LZEXE and the Virus Problem 12 PROCEDURES WORM PROGRAMS Training and Awareness 3 The Internet Worm - Action and Reaction 13 FEATURE ARTICLE PRODUCT REVIEW The Bulgarian Computer Viruses - ‘The Virus Factory’ 6 Certus - Tools To Fight Viruses With 18 ANTI-VIRUS SOFTWARE END-NOTES & NEWS 20 FOR IBM PCs 10 VIRUS BULLETIN ©1990 Virus Bulletin Ltd, England./90/$0.00+2.50 This bulletin is available only to qualified subscribers. No part of this publication may be reproduced, stored in a retrieval system, or transmitted by any form or by any means, electronic, magnetic, optical or photocopying, without the prior written permission of the publishers or a licence permitting restricted copying issued by the Copyright Licencing Agency.
    [Show full text]
  • Lossless Compression: State of the Art Many More Variants
    Lossless compression: state of the art Many more variants In our lessons we’ve seen some of the most common algorithms for lossless compression Literature and applications present some other algorithms and many more variants Popular applications have proprietary encoding schemes 2 State of the art (2005) Windows . .zip . .Cab . .RAR . .ACE . .7z (7-Zip) Linux . .gz (gzip) . .bz2 (bzip2) . .Z (Compress) Mac . .zip . .sit (Stuffit) 3 zip format - I The ZIP file format was originally created by Phil Katz, founder of PKWARE Katz publicly released technical documentation on the ZIP file format, along with the first version of his PKZIP archiver, in January 1989. Katz had converted compression routines of a previously available archival program, ARC, from C to optimized assembler code He has been processed for for copyright infringement and condemned 4 zip format - II Then he created his own file format, and the .zip format he designed was a much more efficient compression format than .ARC In the mid 1990s, as more new computers included graphical user interfaces, some authors proposed shareware compression programs with a GUI The most famous, in Windows environment, is Winzip (www.winzip.com) zip format uses a a combination of the LZ77 algorithm and Huffman coding 5 zip format - III In the late 1990s, various file manager software started integrating support for the zip format into the file manager user interface Windows Explorer (Windows Me, Windows XP) Finder (Mac OS X) Nautilus file manager used with GNOME Konqueror file
    [Show full text]
  • Serangan Terhadap Skema Enkripsi Winzip Menggunakan Known
    Skema Enkripsi Pada WinZip dan Serangannya Andresta RamadhanSetiawan (13503030) Program Studi Teknik Informatika Sekolah Teknik Elektro dan Informatika, Institut Teknologi Bandung Jl. Ganesha 10 Bandung Email : [email protected] Abstrak Winzip merupakan aplikasi kompresi yang sangat popular pada system operasi Windows. Selain melakukan kompresi, untuk menjaga kerahasiaan arsip, Winzip menyediakan fitur enkripsi. Versi terbaru yang ada di situs resminya yaitu Winzip 10 menggunakan enkripsi AES untuk melindungi arsip rahasia pengguna. Untuk mendukung enkripsi pada versi Winzip yang lama (sebelum versi 9), pada versi terbaru ini juga masih disertakan enkripsi tradisional ZIP 2.0. Pada makalah ini akan dijelaskan bagaimana mengenai format berkas zip, bagaimana skema enkripsi yang digunakan oelh WinZip untuk melindungi berkas-berkas rahasia. Skema Enkripsi WinZip rentan terhadap serangan seperti known- plaintext attack, random seed attack. Serangan menggunakan bruteforce atau dictionary attack juga cukup berbahaya jika password yang digunakan pendek, dalam waktu yang singkat password dapat diperoleh. Hal ini yang biasanya digunakan program password recovery untuk mendapatkan password. Kata Kunci : WinZIP, Known Plaintext Attack, plaintext, chipertext. 1. Pendahuluan menjadi berkas zip telah terkompresi sehingga lebih kecil ukurannya dari berkas aslinya. ZIP format adalah salat satu dari sekian banyak format yang paling banyak digunakan oleh Penghematan ruang penyimpanan. Seperti telah program kompresi dan pengarsipan data pada
    [Show full text]
  • Penrith Valley Seniors Centre Penrith Valley Seniors Centre
    P.O. Box 4063 Penrith N.S.W. 2751 Tel. 47210609 Fax 47215224 Penrith Valley Seniors Centre 86 Station Street Penrith N.S.W.2750 Email [email protected] Editor Tom Lehane October 2006 President: George Bell Tel: 4721 3681 Member: Pat Mitchell Tel: 9623 4358 Vice-President: Alan Lees P e n Treil:t h4 7V36a 5ll5e4y1 Seniors CentreM ember: Anne Roddick Tel: 4721 4343 Secretary: Zillah Warner Tel: 4732 4248 Member: John Windle Tel 4731 2149 Treasurer: Bert Foster Tel: 4754 3008 Webmaster: Tom Lehane Tel: 4721 5375 Social Committee: Pat Mitchell, Zillah Warner, Anne Roddick Visit the clubs web page for training courses ....... www.users.on.net/pvscc/training.htm Weekly Schedule for Computer Courses Mondays 9.30am to 11am Beginners & Do your own thing. Tuesdays 9.30am to 11am Beginners & Do your own thing 11.00 am to 12.30 pm Graphics. 11.00 am to 12.30 pm Graphics (Digital Editing). Tutor: Zillah Warner Tutor Bert Foster Wednesdays 9.30am to 11am Using the Software. Thursdays: 9.30am to 11am Beginners, Card Making and Tutor: Tom Lehane Do your own thing. 1pm to 2.30pm Beginners, Internet/Email, and Genealogy Tutors Pat Mitchell & Zillah Warner Tutor: George Bell and John Windle Fridays: 9.30am to 11am Beginners & Do your own thing. ‘Do your own thing’ means learn Word, Publisher, Excel or Tutor Alan Lees and John Windle play on the Internet. Please note: Wednesday afternoon classes on the 2nd Wednesday of each month are closed. Local News. Seniors Centre will be closing from 8th December 2006 and will reopen 15th January 2007.
    [Show full text]
  • Digital Forensics Formats: Seeking a Digital Preservation Storage Container Format for Web Archiving
    doi:10.2218/ijdc.v7i2.227 Digital Forensics Formats 21 The International Journal of Digital Curation Volume 7, Issue 2 | 2012 Digital Forensics Formats: Seeking a Digital Preservation Storage Container Format for Web Archiving Yunhyong Kim, Humanities Advanced Technology and Information Institute, University of Glasgow Seamus Ross, Faculty of Information, University of Toronto, Canada and Humanities Advanced Technology and Information Institute, University of Glasgow Abstract In this paper we discuss archival storage container formats from the point of view of digital curation and preservation, an aspect of preservation overlooked by most other studies. Considering established approaches to data management as our jumping off point, we selected seven container format attributes that are core to the long term accessibility of digital materials. We have labeled these core preservation attributes. These attributes are then used as evaluation criteria to compare storage container formats belonging to five common categories: formats for archiving selected content (e.g. tar, WARC), disk image formats that capture data for recovery or installation (partimage, dd raw image), these two types combined with a selected compression algorithm (e.g. tar+gzip), formats that combine packing and compression (e.g. 7-zip), and forensic file formats for data analysis in criminal investigations (e.g. aff – Advanced Forensic File format). We present a general discussion of the storage container format landscape in terms of the attributes we discuss, and make a direct comparison between the three most promising archival formats: tar, WARC, and aff. We conclude by suggesting the next steps to take the research forward and to validate the observations we have made.
    [Show full text]
  • Study on a Known-Plaintext Attack on ZIP Encryption
    Study on a known-plaintext attack on ZIP encryption Dragos Barosan [email protected] February 8, 2015 Abstract The ZIP file format is one of the most popular compression format and it provides a stream cipher encryption for protecting data. A successful known plaintext attack has been developed since 1994, but there is no open source im- plementation for it. The research has focused on the feasibility of a successful, since the necessary plaintext is considered hard to obtain, and analyzed the al- gorithm. It has been found that, while difficult, plaintext can be found through varied resources. From an implementation point of view the algorithm contains sections that can be run in parallel, improving the execution speed. As future work, a full implementation of the algorithm is planned and it will be released as open source. Contents 1 Introduction 3 2 Research questions 4 3 Related work 5 4 Approach 7 5 Feasibility of obtaining plaintex 8 5.1 ZIP Defaults . 8 5.2 ZIP Encryption . 9 5.3 Difficulty of obtaining plaintext . 9 5.4 Solution . 11 6 Attack Implementation 13 6.1 Overview . 13 6.2 Locate Data . 14 6.3 First stage of the attack . 16 6.4 Implementation . 17 6.5 Measurements . 18 7 Conclusions and Future Work 20 8 Appendices 23 2 Chapter 1 Introduction The ZIP archive file format was originally created in 1989 by Phil Katz to sup- port lossless data compression and replace the ARC archiving system. The first version has been has been released in the PKZIP package from the PKWARE software company[1].
    [Show full text]