summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--security/hydan/DESCR23
-rw-r--r--security/hydan/Makefile25
-rw-r--r--security/hydan/PLIST7
-rw-r--r--security/hydan/distinfo4
4 files changed, 59 insertions, 0 deletions
diff --git a/security/hydan/DESCR b/security/hydan/DESCR
new file mode 100644
index 00000000000..3603354d9df
--- /dev/null
+++ b/security/hydan/DESCR
@@ -0,0 +1,23 @@
+Hydan steganographically conceals a message into an application. It
+exploits redundancy in the i386 instruction set by defining sets of
+functionally equivalent instructions. It then encodes information in
+machine code by using the appropriate instructions from each set.
+
+Features:
+ - Application filesize remains unchanged
+ - Message is blowfish encrypted with a user-supplied
+ passphrase before being embedded
+ - Encoding rate: 1/110
+
+Primary uses for Hydan:
+ - Covert Communication: embedding data into binaries creates a
+ covert channel that can be used to exchange secret messages.
+ - Signing: a program's cryptographic signature can be embedded
+ into itself. The recipient of the binary can then verify
+ that it has not been tampered with (virus or trojan), and is
+ really from who it claims to be from. This check can be
+ built into the OS for user transparency.
+ - Watermarking: a watermark can be embedded to uniquely
+ identify binaries for copyright purposes, or as part of a DRM
+ scheme. Note: this usage is not recommended as Hydan
+ implements fragile watermarks.
diff --git a/security/hydan/Makefile b/security/hydan/Makefile
new file mode 100644
index 00000000000..ec107089fe2
--- /dev/null
+++ b/security/hydan/Makefile
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/08/13 10:26:03 agc Exp $
+
+DISTNAME= hydan-0.13
+CATEGORIES= security
+MASTER_SITES= http://crazyboy.com/hydan/
+
+MAINTAINER= tech-pkg@NetBSD.org
+HOMEPAGE= http://crazyboy.com/hydan/
+COMMENT= Steganography tool for covert comms, signing and watermarking
+
+ONLY_FOR_PLATFORM= NetBSD-*-i386 FreeBSD-*-i386 Linux-*-i386
+
+WRKSRC= ${WRKDIR}/hydan
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/hydan ${PREFIX}/bin
+ cd ${PREFIX}/bin && \
+ ${RM} -f hydan-decode hydan-stats && \
+ ${LN} -s hydan hydan-decode && \
+ ${LN} -s hydan hydan-stats
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/hydan
+ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/hydan
+ ${INSTALL_DATA} ${WRKSRC}/README.details ${PREFIX}/share/hydan
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/security/hydan/PLIST b/security/hydan/PLIST
new file mode 100644
index 00000000000..75106941b39
--- /dev/null
+++ b/security/hydan/PLIST
@@ -0,0 +1,7 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/08/13 10:26:03 agc Exp $
+bin/hydan
+bin/hydan-decode
+bin/hydan-stats
+share/hydan/README.details
+share/hydan/README
+@dirrm share/hydan
diff --git a/security/hydan/distinfo b/security/hydan/distinfo
new file mode 100644
index 00000000000..9af75f5d880
--- /dev/null
+++ b/security/hydan/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/08/13 10:26:03 agc Exp $
+
+SHA1 (hydan-0.13.tar.gz) = 3c76bf1a1adb36a5124163cbbd55f9aff1afdb6e
+Size (hydan-0.13.tar.gz) = 180409 bytes