Bug 221322 - [NEW PORT] security/libhijack: Runtime process infection made easy
Summary: [NEW PORT] security/libhijack: Runtime process infection made easy
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Yuri Victorovich
URL:
Keywords: feature, needs-qa
Depends on:
Blocks:
 
Reported: 2017-08-07 23:15 UTC by Shawn Webb
Modified: 2017-12-05 19:12 UTC (History)
2 users (show)

See Also:
koobs: maintainer-feedback? (shawn.webb)


Attachments
shar of the new port (1.67 KB, application/x-shar)
2017-08-07 23:15 UTC, Shawn Webb
no flags Details
shar of the new port (1.69 KB, application/x-shar)
2017-08-08 14:30 UTC, Shawn Webb
no flags Details
shar of the new port (1.71 KB, application/x-shar)
2017-08-14 00:09 UTC, Shawn Webb
no flags Details
poudriere build log (18.49 KB, text/x-log)
2017-08-14 00:10 UTC, Shawn Webb
no flags Details
shar of the new port (1.72 KB, application/x-shar)
2017-08-19 23:10 UTC, Shawn Webb
no flags Details
Updated patch (3.26 KB, patch)
2017-11-26 19:28 UTC, Yuri Victorovich
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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