Windows 7 deprecation
Windows 7 will be removed from tria.ge on 2025-03-31
General
-
Target
https://ydray.com/get/t/16730759831953PjwK67541c3cf7b9yV
-
Sample
230107-h6vvvsda55
Score
10/10
Static task
static1
URLScan task
urlscan1
Behavioral task
behavioral1
Sample
https://ydray.com/get/t/16730759831953PjwK67541c3cf7b9yV
Resource
win10-20220812-es
24 signatures
1800 seconds
Malware Config
Extracted
Path
C:\Program Files\WinRAR\Rar.txt
Ransom Note
User's Manual
~~~~~~~~~~~~~
RAR 6.11 console version
~~~~~~~~~~~~~~~~~~~~~~~~
=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Welcome to the RAR Archiver!
-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Introduction
~~~~~~~~~~~~
RAR is a console application allowing to manage archive files
in command line mode. RAR provides compression, encryption,
data recovery and many other functions described in this manual.
RAR supports only RAR format archives, which have .rar file name
extension by default. ZIP and other formats are not supported.
Even if you specify .zip extension when creating an archive, it will
still be in RAR format. Windows users may install WinRAR, which supports
more archive types including RAR and ZIP formats.
WinRAR provides both graphical user interface and command line mode.
While console RAR and GUI WinRAR have the similar command line syntax,
some differences exist. So it is recommended to use this rar.txt manual
for console RAR (rar.exe in case of Windows version) and winrar.chm
WinRAR help file for GUI WinRAR (winrar.exe).
Configuration file
~~~~~~~~~~~~~~~~~~
RAR and UnRAR for Unix read configuration information from .rarrc file
in a user's home directory (stored in HOME environment variable)
or in /etc directory.
RAR and UnRAR for Windows read configuration information from rar.ini file,
placed in the same directory as the rar.exe file.
This file can contain the following string:
switches=<any RAR switches separated by spaces>
For example:
switches=-m5 -s
It is also possible to specify separate switch sets for individual
RAR commands using the following syntax:
switches_<command>=<any RAR switches separated by spaces>
For example:
switches_a=-m5 -s
switches_x=-o+
Environment variable
~~~~~~~~~~~~~~~~~~~~
Default parameters may be added to the RAR command line by establishing
an environment variable "RAR".
For instance, in Unix following lines may be added to your profile:
RAR='-s -md1024'
export RAR
RAR will use this string as default parameters in the command line and
will create "solid" archives with 1024 MB sliding dictionary size.
RAR handles options with priority as following:
command line switches highest priority
switches in the RAR variable lower priority
switches saved in configuration file lowest priority
Log file
~~~~~~~~
If switch -ilog is specified in the command line or configuration file,
RAR will write informational messages about errors encountered while
processing archives into a log file. Read the switch -ilog description
for more details.
The file order list for solid archiving - rarfiles.lst
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rarfiles.lst contains a user-defined file list, which tells RAR
the order in which to add files to a solid archive. It may contain
file names, wildcards and special entry - $default. The default
entry defines the place in order list for files not matched
with other entries in this file. The comment character is ';'.
In Windows this file should be placed in the same directory as RAR
or in %APPDATA%\WinRAR directory, in Unix - to the user's home directory
or in /etc.
Tips to provide improved compression and speed of operation:
- similar files should be grouped together in the archive;
- frequently accessed files should be placed at the beginning.
Normally masks placed nearer to the top of list have a higher priority,
but there is an exception from this rule. If rarfiles.lst contains such
two masks that all files matched by one mask are also matched by another,
that mask which matches a smaller subset of file names will have higher
priority regardless of its position in the list. For example, if you have
*.cpp and f*.cpp masks, f*.cpp has a higher priority, so the position of
'filename.cpp' will be chosen according to 'f*.cpp', not '*.cpp'.
RAR command line syntax
~~~~~~~~~~~~~~~~~~~~~~~
Syntax
RAR <command> [ -<switches> ] <archive> [ <@listfiles...> ]
[ <files...> ] [ <path_to_extract\> ]
Description
Command is a single character or string specifying an action to be
performed by RAR. Switches are designed to modify the way RAR performs
such action. Other parameters are archive name and files to be archived
or extracted.
Listfiles are plain text files containing names of files to process.
File names must start at the first column. It is possible to
put comments to the listfile after // characters. For example,
you can create backup.lst containing the following strings:
c:\work\doc\*.txt //backup text documents
c:\work\image\*.bmp //backup pictures
c:\work\misc
and then run:
rar a backup @backup.lst
If you wish to read file names from stdin (standard input),
specify the empty listfile name (just @).
By default, console RAR uses the single byte encoding in list files,
but it can be redefined with -sc<charset>l switch.
You can specify both usual file names and list files in the same
command line. If neither files nor listfiles are specified,
then *.* is implied and RAR will process all files.
path_to_extract includes the destination directory name followed by
a path separator character. For example, it can be c:\dest\ in Windows
or data/ in Unix. It specifies the directory to place extracted files
in 'x' and 'e' commands. This directory is created by RAR if it does not
exist yet. Alternatively it can be set with -op<path> switch.
Many RAR commands, such as extraction, test or list, allow to use
wildcards in archive name. If no extension is specified in archive
mask, RAR assumes .rar, so * means all archives with .rar extension.
If you need to process all archives without extension, use *. mask.
*.* mask selects all files. Wildcards in archive name are not allowed
when archiving and deleting.
In Unix you need to enclose RAR command line parameters containing
wildcards in single or double quotes to prevent their expansion
by Unix shell. For example, this command will extract *.asm files
from all *.rar archives in current directory:
rar e '*.rar' '*.asm'
Command could be any of the following:
a Add files to archive.
Examples:
1) add all *.hlp files from the current directory to
the archive help.rar:
rar a help *.hlp
2) archive all files from the current directory and subdirectories
to 362000 bytes size solid, self-extracting volumes
and add the recovery record to each volume:
rar a -r -v362 -s -sfx -rr save
Because no file names are specified, all files (*) are assumed.
3) as a special exception, if directory name is specified as
an argument and if directory name does not include file masks
and trailing path separator, the entire contents of the directory
and all subdirectories will be added to the archive even
if switch -r is not specified.
The following command will add all files from the directory
Bitmaps and its subdirectories to the RAR archive Pictures.rar:
rar a Pictures.rar Bitmaps
4) if directory name includes the trailing path separator,
normal rules apply and you need to specify switch -r to process
its subdirectories.
The following command will add all files from directory Bitmaps,
but not from its subdirectories, because switch -r is not
specified:
rar a Pictures.rar Bitmaps\*
c Add archive comment. Comments are displayed while the archive is
being processed. Comment length is limited to 256 KB.
Examples:
rar c distrib.rar
Also comments may be added from a file using -z[file] switch.
The following command adds a comment from info.txt file:
rar c -zinfo.txt dummy
ch Change archive parameters.
This command can be used with most of archive modification
switches to modify archive parameters. It is especially
convenient for switches like -cl, -cu, -tl, which do not
have a dedicated command.
It is not able to recompress, encrypt or decrypt archive data
and it cannot merge or create volumes. If used without any
switches, 'ch' command just copies the archive data without
modification.
Example:
Set archive time to latest file:
rar ch -tl files.rar
cw Write archive comment to specified file.
Format of output file depends on -sc switch.
If output file name is not specified, comment data will be
sent to stdout.
Examples:
1) rar cw arc comment.txt
2) rar cw -scuc arc unicode.txt
3) rar cw arc
d Delete files from archive. If this command removes all files
from archive, the empty archive is removed.
e Extract files without archived paths.
Extract files excluding their path component, so all files
are created in the same destination directory.
Use 'x' command if you wish to extract full pathnames.
Example:
rar e -or html.rar *.css css\
extract all *.css files from html.rar archive to 'css' directory
excluding archived paths. Rename extracted files automatically
in case several files have the same name.
f Freshen files in archive. Updates archived files older
than files to add. This command will not add new files
to the archive.
i[i|c|h|t]=<string>
Find string in archives.
Supports following optional parameters:
i - case insensitive search (default);
c - case sensitive search;
h - hexadecimal search;
t - use ANSI, UTF-8, UTF-16 and OEM (Windows only)
character tables;
If no parameters are specified, it is possible to use
the simplified command syntax i<string> instead of i=<string>
It is allowed to specify 't' modifier with other parameters,
for example, ict=string performs case sensitive search
using all mentioned above character tables.
Examples:
1) rar "ic=first level" -r c:\*.rar *.txt
Perform case sensitive search of "first level" string
in *.txt files in *.rar archives on the disk c:
2) rar ih=f0e0aeaeab2d83e3a9 -r e:\texts\*.rar
Search for hex string f0 e0 ae ae ab 2d 83 e3 a9
in rar archives in e:\texts directory.
k Lock archive.
RAR cannot modify locked archives, so locking important archives
prevents their accidental modification by RAR. Such protection
might be especially useful in case of RAR commands processing
archives in groups.
This command is not intended or able to prevent modification
by other tools or willful third party. It implements a safety
measure only for accidental data change by RAR.
Example:
rar k final.rar
l[t[a],b]
List archive contents [technical [all], bare].
'l' command lists archived file attributes, size, date,
time and name, one file per line. If file is encrypted,
line starts from '*' character.
'lt' displays the detailed file information in multiline mode.
This information includes file checksum value, host OS,
compression options and other parameters.
'lta' provide the detailed information not only for files,
but also for service headers like NTFS streams
or file security data.
'lb' lists bare file names with path, one per line,
without any additional information.
You can use -v switch to list contents of all volumes
in volume set: rar l -v vol.part1.rar
Commands 'lt', 'lta' and 'lb' are equal to 'vt', 'vta'
and 'vb' correspondingly.
m[f] Move to archive [files only]. Moving files and directories
results in the files and directories being erased upon
successful completion of the packing operation. Directories will
not be removed if 'f' modifier is used and/or '-ed' switch is
applied.
p Print file to stdout.
Send unpacked file data to stdout. Informational messages
are suppressed with this command, so they are not mixed
with file data.
r Repair archive. Archive repairing is performed in two stages.
First, the damaged archive is searched for a recovery record
(see 'rr' command). If archive contains the previously added
recovery record and if damaged data area is continuous
and smaller than error correction code size in recovery record,
chance of successful archive reconstruction is high.
When this stage has been completed, a new archive is created,
named as fixed.arcname.rar, where 'arcname' is the original
(damaged) archive name.
If broken archive does not contain a recovery record or if
archive is not completely recovered due to major damage,
second stage is performed. During this stage only the archive
structure is reconstructed and it is impossible to recover
files which fail checksum validation, it is still possible,
however, to recover undamaged files, which were inaccessible
due to the broken archive structure. Mostly this is useful
for non-solid archives. This stage is never efficient
for archives with encrypted file headers, which can be repaired
only if recovery record is present.
When the second stage is completed, the reconstructed archive
is saved as rebuilt.arcname.rar, where 'arcname' is
the original archive name.
By default, repaired archives are created in the current
directory, but you can append an optional destpath\ parameter
to specify another destination directory.
Example:
rar r buggy.rar c:\fixed\
repair buggy.rar and place the result to 'c:\fixed' directory.
rc Reconstruct missing and damaged volumes using recovery volumes
(.rev files). You need to specify any existing .rar or .rev
volume as the archive name.
Example:
rar rc backup.part03.rar
Read 'rv' command description for information about
recovery volumes.
rn Rename archived files.
The command syntax is:
rar rn <arcname> <srcname1> <destname1> ... <srcnameN> <destnameN>
For example, the following command:
rar rn data.rar readme.txt readme.bak info.txt info.bak
will rename readme.txt to readme.bak and info.txt to info.bak
in the archive data.rar.
It is allowed to use wildcards in the source and destination
names for simple name transformations
Emails
Extracted
Path
C:\Program Files\WinRAR\WhatsNew.txt
Ransom Note
WinRAR - What's new in the latest version
Version 6.11
1. Added support for Gz archives with large archive comments.
Previously the extraction command failed to unpack gz archives
if comment size exceeded 16 KB.
2. Archive comments in gz archives are displayed in the comment window
and recognized by "Show information" command. Large comments are
shown partially.
Previous versions didn't display Gzip comments.
3. Reserved device names followed by file extension, such as aux.txt,
are extracted as is in Windows 11 even without "Allow potentially
incompatible names" option or -oni command line switch.
Unlike previous Windows versions, Windows 11 treats such names
as usual files.
Device names without extension, such as aux, still require these
options to be unpacked as is regardless of Windows version.
4. Switch -mes can be also used to suppress the password prompt
and abort when adding files to encrypted solid archive.
5. Additional measures to prevent extracting insecure links are
implemented.
6. Bugs fixed:
a) if password exceeding 127 characters was entered when unpacking
an encrypted archive with console RAR, text after 127th character
could be erroneously recognized as user's input by different
prompts issued later;
b) wrong archived file time could be displayed in overwrite prompt
when extracting a file from ZIP archive. It happened if such
archive included extended file times and was created in another
time zone. It didn't affect the actual file time, which was set
properly upon extraction.
Version 6.10
1. WinRAR can unpack contents of .zst and .zipx archives utilizing
Zstandard algorithm.
2. Added support of Windows 11 Explorer context menus.
Beginning from Windows 11, an application can add only a single top
level command or submenu to Explorer context menu.
If "Cascaded context menus" in "Integration settings" dialog is on,
this single item is a submenu storing all necessary WinRAR commands.
If this option is off, only one extraction command for archives
and one archiving command for usual files are available.
You can select these commands with "Context menu items..." button
in "Integration settings" dialog.
3. "Legacy context menus" option in "Settings/Integration" dialog
can be used in Windows 11 if WinRAR commands are missing in
"Show more options" Windows legacy context menu or in context menus
of third party file managers. If WinRAR commands are already present
here, keep "Legacy context menus" option turned off to prevent
duplicating them.
This option is not available in Windows 10 and older.
4. Windows XP is not supported anymore. Minimum required operating
system version is Windows Vista.
5. "Close" item is added to "When done" list on "Advanced" page of
archiving dialog. It closes WinRAR window, when archiving is done.
6. "When done" list is added to "Options" page of extraction dialog.
It allows to select an action like turning a computer off
or closing WinRAR after completing extraction.
7. Switch -si can be used when extracting or testing to read archive
data from stdin, such as:
type docs.rar | rar x -si -o+ -pmypwd dummy docs\
Even though the archive name is ignored with this switch,
an arbitrary dummy archive name has to specified in the command line.
Operations requiring backward seeks are unavailable in this mode.
It includes displaying archive comments, testing the recovery record,
utilizing the quick open information, processing multivolume archives.
Prompts requiring user interaction are not allowed.
Use -o[+|-|r], -p<pwd> or -mes switches to suppress such prompts.
8. New -ep4<path> switch excludes the path prefix when archiving
or extracting if this path is found in the beginning of archived name.
Path is compared with names already prepared to store in archive,
without drive letters and leading path separators. For example:
rar a -ep4texts\books archive c:\texts\books\technical
removes "text\books" from archived names, so they start
from 'technical'.
9. New -mes switch skips encrypted files when extracting or testing.
It replaces the former -p- switch.
10. New -op<path> switch sets the destination folder for 'x' and 'e'
extraction commands. Unlike <path_to_extract\> command line parameter,
this switch also accepts paths without trailing path separator
character.
11. If 'p' command is used to print a file to stdout, informational
messages are suppressed automatically to prevent them mixing
with file data.
12. "Generate archive name by mask" option and switch -ag treat only
first two 'M' characters after 'H' as minutes. Previously any
amount of such characters was considered as minutes.
It makes possible to place the time field before the date,
like -agHHMM-DDMMYY. Previous versions considered all 'M'
in this string as minutes.
13. Maximum allowed size of RAR5 recovery record is increased to 1000%
of protected data size. Maximum number of RAR5 recovery volumes
can be 10 times larger than protected RAR volumes.
Previous WinRAR versions are not able to use the recovery record
to repair broken archives if recovery record size exceeds 99%.
Similarly, previous versions cannot use recovery volumes
if their number is equal or larger than number of RAR volumes.
14. Warning is issued if entered password exceeds the allowed limit
of 127 characters and is truncated. Previously such passwords
had been truncated silently.
15. If archive includes reserved device names, the underscore character
is inserted in the beginning of such names when extracting.
For example, aux.txt is converted to _aux.txt. It is done to prevent
compatibility problems with software unable to process such names.
You can use "Allow potentially incompatible names" option
in "Advanced" part of extraction dialog or command line -oni switch
to avoid this conversion.
16. WinRAR attempts to reset the file cache before testing an archive.
It helps to verify actual data written to disk instead of reading
a cached copy.
17. Multiple -v<size> switches specifying different sizes for different
volumes are now allowed also for ZIP archives:
WinRAR a -v100k -v200k -v300k arcname.zip
Previously multiple -v<size> switches were supported only for
RAR archives.
18. Switches -sl<size> and -sm<size> can be used in WinRAR.exe command
line mode when extracting archives in any supported formats,
provided that such archive includes unpacked file sizes.
Previously these switches could filter files by size only in RAR
and ZIP archives.
19. Newer folder selection dialog is invoked when pressing "Browse" button
in WinRAR "Settings/Paths" page, "Repair" and "Convert" commands,
also as in few other similar places. Previously a simpler XP style
folder selection dialog was opened.
20. When restoring from tray after completing an operation,
WinRAR window is positioned under other opened windows,
to not interfere with current user activities.
21. "650 MB CD" is removed and "2 GB volumes" is added to the list of
predefined volume sizes in "Define volume sizes" dialog invoked
from WinRAR "Settings/Compression".
22. "Rename" command selects the file name part up to the final dot.
Previously it selected the entire name.
23. If SFX archive size exceeds 4 GB, an error message is issued
during compression, immediately after exceeding this threshold.
Previously this error was reported only after completing compression.
Executables of such size cannot be started by Windows.
24. Command line -en switch is not supported anymore.
It created RAR4 archives without the end of archive record.
End of archive record permits to gracefully skip external data
like digital signatures.
25. Bugs fixed:
a) when editing a file inside of .rar or .zip archive,
WinRAR created a new SFX archive instead of updating an existing
archive if "Create SFX archive" option was set in the default
compression profile;
b) the total progress could be displayed incorrectly when using
-oi, -f, -u switches or appropriate GUI options;
c) "Find files" command with "Use all tables" option and command line
"it" commands failed to find strings in UTF-16 encoding.
Version 6.02
1. ZIP SFX module refuses to process SFX commands stored in archive
comment if such comment is resided after beginning of Authenticode
digital signature. It is done to prevent possible attacks with
inclusion of ZIP archive into the signature body.
We already prohibited extracting contents of such malformed archives
in WinRAR 6.01.
We are thankful to Jacob Thompson - Mandiant Advantage Labs
for reporting this issue.
2. WinRAR uses https instead of http in the web notifier window,
home page and themes links. It also implements additional checks
within the web notifier. This is done to prevent a malicious web page
from executing existing files on a user's computer. Such attack
is only possible if the intruder has managed to spoof or otherwise
control user's DNS records. Some other factors are also involved
in limiting the practical application of this attack.
We would like to express our gratitude to Igor Sak-Sakovskiy
for bringing this issue to our attention.
3. Where appropriate, SFX archive displays the additional line
with detailed error information provided by operating system.
For example, previously such archive would display "Cannot create file"
message alone. Now this message is followed by a detailed reason
like access denied or file being used by another process.
In the past this extended error information was available in WinRAR,
but not in SFX archives.
4. Switch -idn hides archived names also in 'v' and 'l' commands.
It can be useful if only the archive type or total information
is needed.
5. If -ibck -ri<priority> switches are used together, WinRAR process
sets the priority specified in -ri switch. Previous versions ignored
-ri and set the priority to low in the presence of -ibck switch.
6. When using "File/Change drive" command, WinRAR saves the last folder
of previous drive and restores it if that drive is selected again
later.
7. Name of unpacking file is now included into WinRAR incorrect password
warning for RAR5 archives. It can be helpful when unpacking
a non-solid archive containing files encrypted with different passwords.
8. Bugs fixed:
a) "Convert archives" command issued erroneous "The specified password
is incorrect" message after succesfully converting RAR archive
with encrypted file names if new password was set and archive
was opened in WinRAR shell;
b) if command progress window was resized up and then quickly resized
down to original dimensions, window contents could be positioned
incorrectly.
Version 6.01
1. Ctrl+A keyboard shortcut selects the entire text in WinRAR comment
window.
2. If -idn switch is used together with -t or -df in console RAR
when archiving, it additionally disables "Deleting <filename>"
or "Testing <filename>" messages, normally issued by these switches.
Also -idn disables folder creation messages when extracting
a file to non-existing folder.
3. WinRAR and ZIP SFX module refuse to extract contents of ZIP SFX
archives if ZIP central directory is resided after beginning
of Authenticode digital signature. It is done to prevent possible
attacks with inclusion of ZIP archive into signature body.
4. Bugs fixed:
a) "Convert archives" command could incorrectly convert Unicode
comments in RAR archives.
b) if two archive information windows had been opened from Explorer
context menu, the compression ratio bar in the first window
could erroneously display a value for second archive.
It did not affect the ratio and other text details at the right
of window. Only the vertical bar at the left could be updated
to a wrong value;
c) if "Wait if other WinRAR copies are active" option was enabled
in extraction dialog, "Waiting for another WinRAR copy" title
was not set in command progress window while waiting;
d) when extracting a symbolic link, previous versions did not
overwrite existing symbolic links even if user requested it
in overwrite prompt.
Version 6.00
1. "Ignore" and "Ignore All" options are added to read error prompt.
"Ignore" allows to continue processing with already read file part
only and "Ignore All" does it for all future read errors.
For example, if you archive a file, which portion is locked by another
process, and if "Ignore" is selected in read error prompt,
only a part of file preceding the unreadable region will be saved
into archive.
It can help to avoid interrupting lengthy archiving operations,
though be aware that files archived with "Ignore" are incomplete.
If switch -y is specified, "Ignore" is applied to all files by default.
Previously available "Retry" and "Quit" options are still present
in read error prompt as well.
2. Exit code 12 is returned in the command line mode in case of read errors.
This code is returned for all options in the read error prompt,
including a newly introduced "Ignore" option.
Previously more common fatal error code 2 was returned for read errors.
3. If several archives are selected, "Extract archives to" option group
in "Options" page of extraction dialog can be used to place extracted
files to specified destination folder, to separate subfolders
in destination folder, to separate subfolders in archive folders
and directly to archive folders.
It replaces "Extract archives to subfolders" option and available
only if multiple archives are selected.
4. New -ad2 switch places extracted files directly to archive's own folder.
Unlike -ad1, it does not create a separate subfolder for each unpacked
archive.
5. "Additional switches" option in "Options" page of archiving
and extraction dialogs allows to specify WinRAR command line switches.
It might be useful if there is no option in WinRAR graphical interface
matching a switch.
Use this feature only if you are familiar with WinRAR command line
syntax and clearly understand what specified switches are intended for.
6. Compression parameters in "Benchmark" command are changed to
32 MB dictionary and "Normal" method. They match RAR5 default mode
and more suitable to estimate the typical performance of recent
WinRAR versions than former 4 MB "Best" intended for RAR4 format.
Latest "Benchmark" results cannot be compared with previous versions
directly. New parameters set produces different values, likely lower
because of eight times larger dictionary size.
7. When unpacking a part of files from solid volume set,
WinRAR attempts to skip volumes in the beginning and
URLs
https
http
http://weirdsgn.com
http://icondesignlab.com
https://rarlab.com/themes/WinRAR_Classic_48x36.theme.rar
Targets
-
-
Target
https://ydray.com/get/t/16730759831953PjwK67541c3cf7b9yV
Score10/10-
Modifies system executable filetype association
-
Downloads MZ/PE file
-
Executes dropped EXE
-
Registers COM server for autorun
-
Loads dropped DLL
-
Checks installed software on the system
Looks up Uninstall key entries in the registry to enumerate software on the system.
-
Drops desktop.ini file(s)
-
Enumerates connected drives
Attempts to read the root path of hard drives other than the default C: drive.
-