BSD Ports

security/xorsearch 1.11.1 FreeBSD

Search for a given string in an XOR or ROL encoded binary file

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
PD
Categories
security, textproc
Package size
18.7 KiB, 37.6 KiB installed

Description

XORSearch is a program to search for a given string in an XOR or ROL encoded binary file. An XOR encoded binary file is a file where some (or all) bytes have been XORed with a constant value (the key). A ROL (or ROR) encoded file has it bytes rotated by a certain number of bits (the key). XOR and ROL/ROR encoding is used by malware programmers to obfuscate strings like URLs.

XORSearch will try all XOR keys (0 to 255) and ROL keys (1 to 7) when searching. I programmed XORSearch to include key 0, because this allows to search in an unencoded binary file (X XOR 0 equals X).

If the search string is found, XORSearch will print it until the 0 (byte zero) is encountered or until 50 characters have been printed, which ever comes first. 50 is the default value, it can be changed with option -l. Unprintable characters are replaced by a dot.

In the other systems

SystemPortVersion
FreeBSDsecurity/xorsearch1.11.1
DragonFlysecurity/xorsearch1.11.1

Install

Binary package:

pkg install xorsearch

From the ports tree:

cd /usr/ports/security/xorsearch/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	xorsearch>0:security/xorsearch

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.11.11.11.11.11.11.11.11.11.1
FreeBSD:14:quarterly1.11.11.11.1n/a1.11.11.11.1
FreeBSD:15:latest1.11.11.11.1n/a1.11.11.11.1
FreeBSD:15:quarterly1.11.11.11.1n/an/an/a
FreeBSD:16:latest1.11.11.11.1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

No port depends on this one.

Configuration

No options to configure.

USES
dos2unix zip
Service scripts
none

Files

distinfo 1
FileSizeSHA256
XORSearch_V1_11_1.zip8487815e9aae87e7f25cf7966cdf0f8dfcb2648099585d08ead522737e72c5faca50a
Master sites 1
  • http://www.didierstevens.com/files/software/

Commit history 0

No commits in the history this site was built from.