WinRAR

Last updated
WinRAR
Developer(s)
Initial release22 April 1995;29 years ago (1995-04-22)
Stable release
7.00 [3]   OOjs UI icon edit-ltr-progressive.svg / 28 February 2024
Written in C++
Operating system Windows Vista or later
Platform IA-32, x64
Size 3.4 MB
Available in50+ languages [4]
List of languages
Arabic, Armenian, Azerbaijani, Basque, Belarusian, Bulgarian, Burmese, Catalan, Chinese Simplified, Chinese Traditional, Croatian, Czech, Danish, Dutch, English, Estonian, Finnish, French, Galician, Georgian, German, Greek, Hebrew, Hungarian, Indonesian, Italian, Japanese, Korean, Lithuanian, Mongolian, Norwegian, Persian, Polish, Portuguese, Brazilian Portuguese, Romanian, Russian, Serbian Cyrillic, Slovak, Slovenian, Spanish, Colombian Spanish, Swedish, Thai, Turkish, Ukrainian, Uzbek, Vietnamese
Type File archiver
License Trialware [5]
Website rarlab.com

WinRAR is a trialware file archiver utility for Windows, developed by Eugene Roshal of win.rar GmbH. It can create and view archives in RAR or ZIP file formats, [6] and unpack numerous archive file formats. To enable the user to test the integrity of archives, WinRAR embeds CRC32 or BLAKE2 checksums for each file in each archive. WinRAR supports creating encrypted, multi-part and self-extracting archives.

Contents

WinRAR is a Windows-only program. An Android application called "RAR for Android" is also available. [7] Related programs include the command-line utilities "RAR" and "UNRAR" [8] and versions for macOS, [4] Linux, FreeBSD, Windows CE, and MS-DOS.

Evolution

RAR/DOS started as a mix of x86 assembler and C, with the amount of assembly code decreasing over time and moving to pure C/C++ later on. The first versions of WinRAR were written in C, modern versions are using C++. RAR for Android is written as a mixture of Java and C++.

WinRAR and the RAR file format have evolved over time. Support for the archive format RAR5, using the same RAR file extension as earlier versions, was added in version 5.0; [9] the older RAR file format has since been referred to as RAR4. WinRAR versions before 5.0 do not support RAR5 archives; [10] only older versions of WinRAR run on Windows versions prior to Windows Vista, and cannot open RAR5 archives.

The RAR5 file format - from version 7 on, referred to as "RAR" - increased the maximum dictionary size up to 64 GB, depending on the amount of available memory, with the default in version 5 increased from 4 MB to 32 MB, typically improving compression ratio. For dictionaries larger than 4 GB, the size can be specified if it is unequal to a power of 2. Thus, there are no restrictions to the range 4, 8, 16, 32, 64, allowing 5 GB or 22 GB to be chosen at will. Archives with dictionaries larger than 4 GB can only be extracted by WinRAR 7.0 or newer. AES encryption, when used, is in CBC mode and was increased in strength from 128- to 256-bit. Maximum path length for files in RAR and ZIP archives is increased from 2047 to 65535 characters. [10]

Options added in v5.0 include 256-bit BLAKE2 file-hashing algorithm instead of default 32-bit CRC32, duplicate file detection, NTFS hard and symbolic links, and Quick Open record to allow large archives to be opened faster. [10]

The RAR5 file format removed comments for each file (though archive comment still remains), authenticity verification, and specialized compression algorithms for text and multimedia files. RAR5 also changed the file name for split volumes from "archivename.rNN" to "archivename.partNN.rar". [10]

The RAR7 file format added support for 64GB compression dictionary and improved compression ratio by adding two extra algorithms. RAR7 archives with dictionary sizes up to 4GB can be unpacked by previous versions of WinRAR (5.0 and above) given there's enough RAM.

Features

When creating RAR 7.0 archives:

License

The software is distributed as "try before you buy"; it may be used without charge for 40 days. [2] When the period expires, the non-enterprise functionalities remain available, a move intended to discourage piracy. [5] In China, a free-to-use personal edition has been provided officially since 2015. [16]

Although archiving with the RAR format is proprietary, RARLAB supplies as copyrighted freeware the C++ source code of the current UnRAR unpacker, with a license allowing it to be used in any software, thus enabling others to produce software capable of unpacking, but not creating, RAR archives. [17]

RAR for Android is free of charge. It displays advertisements; for a payment they can be disabled. [7] A license for WinRAR does not provide ad-suppression for RAR for Android.

Security

In February 2019, a major security vulnerability in the unacev2.dll library which is used by WinRAR to decompress ACE archives was discovered. [18] [19] Consequently, WinRAR dropped the support for the ACE format from version 5.70.

Self-extracting archives created with versions before 5.31 (including the executable installer of WinRAR itself) are vulnerable to DLL hijacking: they may load and use DLLs named UXTheme.dll, RichEd32.dll and RichEd20.dll if they are in the same folder as the executable file. [10] [20]

It was widely reported that WinRAR v5.21 and earlier had a remote code execution (RCE) vulnerability which could allow a remote attacker to insert malicious code into a self-extracting executable (SFX) file being created by a user, "putting over 500 million users of the software at risk". [21] However, examination of the claim revealed that, while the vulnerability existed, the result was merely an SFX which delivered its payload when executed; published responses dismissed the threat, one saying "If you can find suckers who will trust a .exe labelled as self-extracting archive ... then you can trick them into running your smuggled JavaScript". [22] [23]

WinRAR 6.23 fixes a critical security vulnerability which allowed the hacker to automatically execute malware distributed in archives under some circumstances. [24]

History

Versions

Operating systems support

More recent versions do not support many older operating systems. Versions supporting older operating systems may still be available, but not maintained:

See also

Related Research Articles

A file archiver is a computer program that combines a number of files together into one archive file, or a series of archive files, for easier transportation or storage. File archivers may employ lossless data compression in their archive formats to reduce the size of the archive.

gzip GNU file compression/decompression tool

gzip is a file format and a software application used for file compression and decompression. The program was created by Jean-loup Gailly and Mark Adler as a free software replacement for the compress program used in early Unix systems, and intended for use by GNU. Version 0.1 was first publicly released on 31 October 1992, and version 1.0 followed in February 1993.

In computing, Deflate is a lossless data compression file format that uses a combination of LZ77 and Huffman coding. It was designed by Phil Katz, for version 2 of his PKZIP archiving tool. Deflate was later specified in RFC 1951 (1996).

ZIP is an archive file format that supports lossless data compression. A ZIP file may contain one or more files or directories that may have been compressed. The ZIP file format permits a number of compression algorithms, though DEFLATE is the most common. This format was originally created in 1989 and was first implemented in PKWARE, Inc.'s PKZIP utility, as a replacement for the previous ARC compression format by Thom Henderson. The ZIP format was then quickly supported by many software utilities other than PKZIP. Microsoft has included built-in ZIP support in versions of Microsoft Windows since 1998 via the "Plus! 98" addon for Windows 98. Native support was added as of the year 2000 in Windows ME. Apple has included built-in ZIP support in Mac OS X 10.3 and later. Most free operating systems have built in support for ZIP in similar manners to Windows and macOS.

compress is a Unix shell compression program based on the LZW compression algorithm. Compared to gzip's fastest setting, compress is slightly slower at compression, slightly faster at decompression, and has a significantly lower compression ratio. 1.8 MiB of memory is used to compress the Hutter Prize data, slightly more than gzip's slowest setting.

Info-ZIP is a set of open-source software to handle ZIP archives. It has been in circulation since 1989. It consists of 4 separately-installable packages: the Zip and UnZip command-line utilities; and WiZ and MacZip, which are graphical user interfaces for archiving programs in Microsoft Windows and classic Mac OS, respectively.

RAR is a proprietary archive file format that supports data compression, error correction and file spanning. It was developed in 1993 by Russian software engineer Eugene Roshal and the software is licensed by win.rar GmbH. The name RAR stands for Roshal Archive.

<span class="mw-page-title-main">7-Zip</span> Open-source file archiver

7-Zip is a free and open-source file archiver, a utility used to place groups of files within compressed containers known as "archives". It is developed by Igor Pavlov and was first released in 1999. 7-Zip has its own archive format called 7z, but can read and write several others.

7z is a compressed archive file format that supports several different data compression, encryption and pre-processing algorithms. The 7z format initially appeared as implemented by the 7-Zip archiver. The 7-Zip program is publicly available under the terms of the GNU Lesser General Public License. The LZMA SDK 4.62 was placed in the public domain in December 2008. The latest stable version of 7-Zip and LZMA SDK is version 23.01.

<span class="mw-page-title-main">StuffIt Expander</span> File decompressor software utility

StuffIt Expander is a proprietary, freeware, closed source, decompression software utility developed by Allume Systems. It runs on the classic Mac OS, macOS, and Microsoft Windows. Prior to 2011, a Linux version had also been available for download.

<span class="mw-page-title-main">LHA (file format)</span>

LHA or LZH is a freeware compression utility and associated file format. It was created in 1988 by Haruyasu Yoshizaki, a doctor and originally named LHarc. A complete rewrite of LHarc, tentatively named LHx, was eventually released as LH. It was then renamed to LHA to avoid conflicting with the then-new MS-DOS 5.0 LH command. The original LHA and its Windows port, LHA32, are no longer in development because Yoshizaki is busy at work.

In computing, ACE is a proprietary data compression archive file format developed by Marcel Lemke, and later bought by e-merge GmbH. The peak of its popularity was 1999–2001, when it provided slightly better compression rates than RAR, which has since become more popular.

The following tables compare general and technical information for a number of file archivers. Please see the individual products' articles for further information. They are neither all-inclusive nor are some entries necessarily up to date. Unless otherwise specified in the footnotes section, comparisons are based on the stable versions—without add-ons, extensions or external programs.

<span class="mw-page-title-main">Self-extracting archive</span> Computer executable program

A self-extracting archive is a computer executable program which combines compressed data in an archive file with machine-executable code to extract the information. Running on a compatible operating system, it does not need a suitable extractor in the target computer to extract the data. The executable part of the file is known as a decompressor stub.

<span class="mw-page-title-main">PeaZip</span> File archive computer program

PeaZip is a free and open-source file manager and file archiver for Microsoft Windows, ReactOS, Linux, MacOS and BSD by Giorgio Tani. It supports its native PEA archive format and other mainstream formats, with special focus on handling open formats. Version 9.4.0 supported 234 file extensions.

XZ Utils is a set of free software command-line lossless data compressors, including the programs lzma and xz, for Unix-like operating systems and, from version 5.0 onwards, Microsoft Windows. For compression/decompression the Lempel–Ziv–Markov chain algorithm (LZMA) is used. XZ Utils started as a Unix port of Igor Pavlov's LZMA-SDK that has been adapted to fit seamlessly into Unix environments and their usual structure and behavior.

FreeArc is a free and open-source high-performance file archiver developed by Bulat Ziganshin. The project is presumably discontinued, since no information has been released by the developers since 2016 and the official website is down.

lzip Data compression utility

lzip is a free, command-line tool for the compression of data; it employs the Lempel–Ziv–Markov chain algorithm (LZMA) with a user interface that is familiar to users of usual Unix compression tools, such as gzip and bzip2.

<span class="mw-page-title-main">BetterZip</span>

BetterZip is a trialware file archiver developed by Robert Rezabek, and first released in May 2006.It is developed solely for the macOS platform. Unlike the built-in Archive Utility from Apple it includes the ability to extract and compress in many archive formats, as well as the ability to view an archive and selectively extract files without automatically extracting the entire contents.

<span class="mw-page-title-main">B1 Free Archiver</span> Multi-platform file archiver and file manager

B1 Free Archiver is a proprietary freeware multi-platform file archiver and file manager. B1 Archiver is available for Microsoft Windows, Linux, macOS, and Android. It has full support for ZIP and its native B1 format. The program decompresses more than 20 popular archive formats. It creates split and encrypted archives.

References

  1. (Russia, Chelyabinsk) WinRAR 3.40 release notes by Eugene Roshal (in Russian)
  2. 1 2 "RAR and WinRAR End User License Agreement (EULA)", rarlab.com, RARLAB, archived from the original on 2014-01-04, retrieved 2019-03-11
  3. "WinRAR archiver, a powerful tool to process RAR and ZIP files".
  4. 1 2 "RAR download page". rarlab.com. RARLAB. Archived from the original on 2020-06-09. Retrieved 2020-06-10.
  5. 1 2 CHM Tech. "WinRAR And The Infinite 40-Day Trial". YouTube. Archived from the original on 2021-12-22.
  6. Manuel Masiero (18 March 2013)"Compression Performance: 7-Zip, MagicRAR, WinRAR, WinZip" Tom's Hardware. Retrieved 27 November 2013.
  7. 1 2 "RAR for Android; RARsoft". Archived from the original on 2014-12-22. Retrieved 2014-11-04.
  8. 1 2 Voloshin, Kirill (2011-03-10). Интервью по переписке [Interview by correspondence] (in Russian). Archived from the original on 2015-08-16. Retrieved 2014-10-27.
  9. Martin Brinkmann (29 April 2013)"WinRAR 5.0 introduces the new RAR 5 format. What you need to know" Archived 2018-09-01 at the Wayback Machine Ghacks. Retrieved 27 November 2013.
  10. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 "Latest changes in WinRAR (cumulative release notes for all versions)". rarlab.com. RARLAB. Archived from the original on 2010-08-06. Retrieved 2018-09-01. Updated with each new beta test or released version. Current page has versions 4.00 and higher; archived page linked here has versions 3.70–3.93; older archived versions go back to 3.00
  11. "Best Archive Tool". DonationCoder.com. 2005-09-05. Archived from the original on 2009-06-02. Retrieved 2009-07-01.
  12. "WinRAR 5 Final Released" Archived 2013-12-02 at the Wayback Machine Techno360.in. Retrieved 27 November 2013.
  13. 1 2 Martin Brinkmann (7 September 2011). "How To Split Large Files Into Multiple Smaller Ones". gHacks Tech News. Archived from the original on 2017-04-16. Retrieved 15 April 2017.
  14. WinRAR Help – GUI SFX modules: setup commands
  15. stevewhims (2021-01-07). "File Times - Win32 apps". learn.microsoft.com. Retrieved 2024-04-07.
  16. "软众信息-WinRAR独家总代理商 最新官方简体中文版下载 支持64位非破解版压缩软件:软件介绍-致用户的一封信". www.winrar.com.cn. Archived from the original on 2016-10-15. Retrieved 2016-10-18.
  17. "WinRAR and RAR archiver addons (downloads, UnRAR for various platforms, and source code)". rarlab.com. RARLAB. Archived from the original on 2018-09-01. Retrieved 2020-06-10. License says "The source code of UnRAR utility is freeware"
  18. "Extracting a 19 Year Old Code Execution from WinRAR". Check Point Research. 2019-02-20. Retrieved 2019-03-13.
  19. "WinRAR Multiple Security Vulnerabilities". www.securityfocus.com. Retrieved 2019-03-13.
  20. Kanthak, Stefan (7 February 2016). "Executable installers are vulnerable^WEVIL (case 25): WinRAR's installer and self-extractors allow arbitrary (remote) code execution and escalation of privilege". SecLists.org. Archived from the original on 2016-02-18. Retrieved 2016-02-20.
  21. Shaikh Rafia (September 2015). "WinRAR Exploit Could Put 500 Million Users at Risk". Wccftech.com. Archived from the original on 2016-10-01. Retrieved 29 September 2016.
  22. Darren Pauli (30 September 2015). "Smuggle mischievous JavaScript into WinRAR archives? Sure, why not". The Register. Archived from the original on 2016-09-27. Retrieved 29 September 2016.
  23. "WinRAR Vulnerability Is Complete Bullshit". Darknet. 1 October 2015. Archived from the original on 2016-10-02. Retrieved 29 September 2016.
  24. Goodin, Dan (2023-08-23). "WinRAR 0-day that uses poisoned JPG and TXT files under exploit since April". Ars Technica. Retrieved 2023-08-23.
  25. "RAR - What's new in the latest version (v3.00 to v3.11)". rarlab.com. Archived from the original on January 17, 2003.
  26. 1 2 "RAR - What's new in the latest version (v3.40 to v3.50)". rarlab.com. Archived from the original on September 7, 2005.
  27. "WinRAR archiver, a powerful tool to process RAR and ZIP files". rarlab.com. RARLAB. Archived from the original on 2009-06-28. Retrieved 2009-07-01.
  28. Nichols, Shaun (2019-02-20). "Behold… a WinRAR security bug that's older than your child's favorite YouTuber. And yes, you should patch this hole". www.theregister.co.uk. Retrieved 2019-02-26.
  29. "RAR 2.50 – Stats, Downloads and Screenshots". WinWorld. Archived from the original on 2017-08-15. Retrieved 14 August 2017.
  30. 1 2 "Downloads for: WinRAR, RAR for Mac OS X, RAR for Linux, RAR for DOS & OS/2, RAR for FreeBSD, with 40 days free trial". Winrar.co.nz. Archived from the original on 2017-08-15. Retrieved 15 August 2017.

Further reading