Bug 221322

Summary: [NEW PORT] security/libhijack: Runtime process infection made easy
Product: Ports & Packages Reporter: Shawn Webb <shawn.webb>
Component: Individual Port(s)Assignee: Yuri Victorovich <yuri>
Status: Closed FIXED    
Severity: Affects Only Me CC: shawn.webb, yuri
Priority: --- Keywords: feature, needs-qa
Version: LatestFlags: koobs: maintainer-feedback? (shawn.webb)
Hardware: Any   
OS: Any   
Attachments:
Description Flags
shar of the new port
none
shar of the new port
none
shar of the new port
none
poudriere build log
none
shar of the new port
none
Updated patch none

Description Shawn Webb 2017-08-07 23:15:37 UTC
Created attachment 185139 [details]
shar of the new port

libhijack is an offensive security tool, enabling easy injection of arbitrary code into processes at runtime.
Comment 1 Kubilay Kocak freebsd_committer freebsd_triage 2017-08-08 02:28:12 UTC
Thank you for contributing a new port Shawn. Could you please confirm that this port passes QA (portlint/poudriere at a minimum)
Comment 2 Shawn Webb 2017-08-08 14:30:59 UTC
Created attachment 185157 [details]
shar of the new port
Comment 3 Shawn Webb 2017-08-08 14:31:37 UTC
Thanks, koobs, for the quick feedback. I just ran portlint. It showed a couple warnings, which I've just fixed.
Comment 4 Shawn Webb 2017-08-14 00:09:21 UTC
Created attachment 185377 [details]
shar of the new port

Only build libhijack for amd64.
Comment 5 Shawn Webb 2017-08-14 00:10:33 UTC
Created attachment 185378 [details]
poudriere build log

Successful build in the HardenedBSD ports tree.
Comment 6 Shawn Webb 2017-08-19 23:10:06 UTC
Created attachment 185590 [details]
shar of the new port

Updated for version 0.8.0. Enable support for arm64.
Comment 7 Yuri Victorovich freebsd_committer freebsd_triage 2017-11-26 19:28:42 UTC
Created attachment 188299 [details]
Updated patch

Thanks for your contribution!

Attaching an updated patch.
Comment 8 Shawn Webb 2017-11-26 20:49:17 UTC
(In reply to Yuri Victorovich from comment #7)
The updated patch looks good. Thanks!
Comment 9 Yuri Victorovich freebsd_committer freebsd_triage 2017-11-26 21:37:42 UTC
(In reply to Shawn Webb from comment #8)

Thanks!
Comment 10 Yuri Victorovich freebsd_committer freebsd_triage 2017-12-05 19:12:11 UTC
Committed with some changes.

Thank you for your contribution!
Comment 11 commit-hook freebsd_committer freebsd_triage 2017-12-05 19:12:54 UTC
A commit references this bug:

Author: yuri
Date: Tue Dec  5 19:12:09 UTC 2017
New revision: 455607
URL: https://svnweb.freebsd.org/changeset/ports/455607

Log:
  New port: security/libhijack: Runtime process infection made easy

  PR:		221322
  Submitted by:	Shawn Webb <shawn.webb@hardenedbsd.org>
  Approved by:	tcberner (mentor)
  Differential Revision:	https://reviews.freebsd.org/D13256

Changes:
  head/security/Makefile
  head/security/libhijack/
  head/security/libhijack/Makefile
  head/security/libhijack/distinfo
  head/security/libhijack/pkg-descr