File Bloating
Introduction
File bloating works by filling an executable with junk data, typically null bytes. This works because some security solutions (primarily host based) limit the file size their scanning to avoid consuming too much resources.
From Linux
Visual Studio Creating Large Metadata
Create a large file of random data of
FF
bytes usingdd if=/dev/zero bs=1M count=200 | tr '\000' '\377' > file.bin
.Create a
.rc
file in the Visual Studio project.Add
IDR_BINARY_FILE BINARY bloat.bin
to the.rc
file.Compile the solution.
This will create a large file that includes bloat.bin
within the binary.
Last updated