.SFX

Файл SFX

Self-Extracting Archive
Задать вопрос
БЫСТРЫЙ ОТВЕТ

An SFX file is a self-extracting archive - a ZIP, RAR, or 7z bundle with a built-in extractor so it unpacks without any archiver installed. On Windows, double-click to run it, or right-click and open in 7-Zip or WinRAR to inspect the contents first. Because an SFX is an executable, treat one from an unknown sender the same as any unknown .exe.

Разработчик: Various (PKWARE, WinRAR/win.rar GmbH, 7-Zip/Igor Pavlov, WinZip) Категория: Сжатые файлы MIME: application/x-msdownload
ОТКРЫВАЕТСЯ НА Windows macOS Linux
Связанные: .RAR · .ZIP · .Z01 · .7Z

На этой странице

Проиндексировано расширений: 19k+
Последняя проверка: Jul 2, 2026

Не знаете, что это за файл?

Перетащите любой файл в наш идентификатор - мы прочитаем первые байты, чтобы определить формат.

Идентифицировать файл

Что такое формат файла SFX?

.sfx is a self-extracting archive format. .sfx files store compressed data together with the extraction code needed to unpack it, so the archive decompresses itself without any additional software on the target machine. On Windows, the finished self-extractor is a standard PE executable - its first two bytes are MZ, the normal Windows executable header - with the compressed payload appended after the extractor stub. The stub locates the archive data via the embedded archive's own trailing signature.

It is worth noting that no additional files can be added to such an archive once it has been created. The compression algorithm depends on the archiver used to build it: common choices include DEFLATE (.ZIP), RAR (.RAR), or LZMA/LZMA2 (.7Z).

Most archiving and compression tools offer the option to create self-extracting archives. The most popular finished form is an .EXE file; a bare .sfx file typically denotes the WinRAR SFX *module* (the stub used to assemble a self-extractor), rather than the finished archive itself. When a .sfx file cannot be extracted by double-clicking, renaming it to .exe and running it - or opening it directly in 7-Zip or WinRAR without executing it - usually resolves the problem.

.sfx files are typically blocked by mail servers when attached to email messages due to their executable nature. For the same reason, treat any .sfx or self-extracting .exe from an untrusted source exactly as you would any unknown executable. Real archivers such as 7-Zip and WinRAR can open the embedded archive payload without running the file, which is the safest approach with unfamiliar sources.

Безопасность и защита

РИСК: HIGH

An SFX is executable code, which makes it a classic malware delivery method: attackers disguise droppers as harmless self-extracting archives, and some abuse WinRAR SFX scripts to silently run commands after extraction (a known living-off-the-land technique). Rules: never double-click an SFX from an unknown sender; open it read-only in 7-Zip or WinRAR to inspect the payload first; scan with antivirus; and be wary of SFX 'comment'/setup scripts that auto-launch a program. A signed installer from a vendor's official site is fine; an unexpected .exe in an email is not.

Детали формата

в двух словах
ПОЛНОЕ НАЗВАНИЕSelf-Extracting Archiveтакже известен как Self-extracting compressed archive, SFX archive
РАЗРАБОТЧИКVarious (PKWARE, WinRAR/win.rar GmbH, 7-Zip/Igor Pavlov, WinZip)с Early 1990s (DOS-era self-extracting ZIP/ARJ archives)
КАТЕГОРИЯСжатые файлы
MIME-ТИПapplication/x-msdownload
ТИПExecutable wrapper around a compressed archive (binary)
СВЯЗАННЫЕ.rar.zip.z01.7z
Это расширение также используется в…
  • BlackBerry Theme / OTA package fragment - Some BlackBerry and other vendor toolchains used .sfx for self-extracting resource bundles.
  • Game/engine self-extracting data blob - Occasionally an installer or patch tool names its self-extracting payload .sfx instead of .exe.
MAGIC BYTES · СИГНАТУРА ФАЙЛА
СМЕЩЕНИЕ
0001
HEX
4D5A
ASCII
MZ
A self-extracting archive on Windows is a normal PE executable, so it begins with "MZ" (4D 5A) like any .exe; the compressed payload (ZIP/RAR/7z data) is appended after the extractor stub and located via the archive's own trailing signature. The bare ".sfx" extension usually denotes a WinRAR SFX *module* (the stub used to build a self-extractor), not the finished archive - distinguish by context.

Программы, открывающие файлы SFX

Windows4 apps
WinZip Платно Open the self-extractor in WinZip to view/extract entries, or use WinZip Self-Extractor to create them.
WinRAR Платно Right-click > Open with WinRAR to browse and extract the contents; WinRAR also builds SFX archives (Create SFX archive).
7-Zip Открытый код Right-click the SFX > 7-Zip > Open archive to inspect/extract the payload WITHOUT running it. The safe way to open an untrusted SFX.
Windows (run directly) Встроенная If you trust it, double-click to run the extractor and follow the prompt for a destination folder.
macOS2 apps
The Unarchiver Бесплатно Open the Windows SFX as a plain archive (it reads the embedded ZIP/RAR/7z) without running Windows code.
Keka Открытый код Drag the SFX onto Keka to extract the embedded archive safely on macOS.
Linux1 app
7-Zip / p7zip Открытый код Run 7z x file.sfx (or 7z l to list) to extract the payload without executing the Windows stub.

Технические подробности

глубокая спецификация
Format typeExecutable wrapper (PE/COFF stub) around a compressed archive
Magic bytes4D 5A ("MZ") at offset 0 - standard Windows PE executable header
EncodingBinary
Byte orderLittle-endian
CompressionInherited from embedded archive: DEFLATE (ZIP), RAR, LZMA/LZMA2 (7-Zip), ARJ, LZH, and others
EncryptionOptional; embedded archive supports AES-256 (WinRAR, 7-Zip); the extractor stub itself is unencrypted
MIME typeapplication/x-msdownload; also application/octet-stream
Typical file sizeFrom a few hundred KB (stub overhead) up to multiple GB depending on payload
Max archive entriesBounded by the embedded format (ZIP: 65,535 without ZIP64; RAR and 7z: effectively unlimited)
Integrity checkingCRC32 per entry from the embedded archive; RAR/7z add recovery records; Authenticode code-signing optional on the PE wrapper
Password protectionSupported via embedded archive encryption; AES-256 in WinRAR and 7-Zip; password prompt appears at extraction time
Associated platformsWindows (primary); DOS (historic ZIP2EXE/ARJ); Classic Mac OS .sea self-extractors (historic)
StructureNative extractor stub at the start (the .exe entry point), followed by the appended compressed archive data and its trailing directory or end-of-archive signature
Creator ecosystemNo single developer; produced by PKWARE (ZIP2EXE), win.rar GmbH (WinRAR SFX modules), Igor Pavlov (7-Zip 7zSD.sfx), and WinZip/Corel
ВыпущенEarly 1990s (DOS-era self-extracting ZIP/ARJ archives)
Последняя версияN/A (no single spec; defined by the host archiver, e.g. WinRAR SFX module)
Спецификацияwww.win-rar.com

Конвертации SFX

Вопросы и ответы сообщества

спрошено пользователями
Задать быстрый вопрос
Получите помощь от людей, работающих с файлами SFX. Будьте конкретны - укажите вашу систему и версию ПО.
Аккаунт не нужен · ответы обычно в течение дня

Вопросов пока нет - станьте первым, кто спросит о файлах SFX.

Часто задаваемые вопросы

How do I open an SFX file without running it?
Right-click it and choose 7-Zip > Open archive (or open it in WinRAR). Both read the embedded archive directly, so you can inspect and extract the files without executing the program.
Is an SFX file a virus?
Not inherently - it is just an archive that can unpack itself. But because it is an executable, malware is often disguised as one. Treat an SFX from an untrusted source like any unknown .exe: don't run it, inspect it in 7-Zip first, and scan it.
What's the difference between SFX and EXE?
On Windows a self-extracting archive IS an .exe - the .exe just happens to contain compressed files plus an extractor stub. The bare .sfx extension usually means a WinRAR SFX module (the stub), not the finished archive.
Why is my .sfx file not running?
A standalone .sfx file is typically a WinRAR SFX module/stub, not a runnable self-extractor. The actual self-extracting archive is the .exe WinRAR produces. Open the .sfx in WinRAR or 7-Zip to see what it contains.
How do I create a self-extracting archive?
In WinRAR, add files to an archive and tick 'Create SFX archive'; in 7-Zip, add to a .7z then choose 'Create SFX archive' (or use 7zSD.sfx). WinZip Self-Extractor does it too. The result is an .exe that unpacks itself.
Can I extract an SFX on a Mac or Linux?
Yes. The Unarchiver/Keka (macOS) and 7-Zip/p7zip (Linux) read the embedded archive without running the Windows code, so you can extract the contents on any OS.

Ссылки

1WinRAR - Self-extracting archives (SFX) documentationwww.win-rar.com
27-Zip - Self-extracting / SFX module documentationdocumentation.help

Узнать больше

по всей базе данных

Популярные расширения на этой неделе

1.AQQAQQ Instant Messenger File
2.CRDOWNLOADChrome Partial Download File
3.PARTPartial Download File
4.EXEWindows Executable (Portable Executable)
5.BINCD/DVD Disc Image (BIN/CUE)
6.DATProgram Data File (generic)
7.RPMSGRestricted Permission Message
8.MDMarkdown Document
9.TXTPlain Text File
10.NOMEDIAAndroid No-Media Marker File

Похожие расширения

.RARRAR Archive (Roshal ARchive)
.ZIPZIP Archive
.Z01Split ZIP Archive - First Part
.7Z7-Zip Archive
.001Split / multi-volume archive - first part (.001)
.ZIRenamed / Truncated ZIP Archive

Бесплатные инструменты для файлов

Идентификатор файлов и конвертер изображений в браузере - все работает на вашем устройстве.

Открыть инструменты

Обзор расширений файлов A-Z