debian/0000755000000000000000000000000012230002320007146 5ustar debian/docs0000644000000000000000000000000712145143510010032 0ustar README debian/rules0000755000000000000000000000015612230002171010234 0ustar #!/usr/bin/make -f # export DH_VERBOSE=1 %: dh $@ --parallel override_dh_auto_build: make linux_notstatic debian/changelog0000644000000000000000000000062412230002320011022 0ustar mac-robber (1.02-2) unstable; urgency=low * debian/control: fixed the Vcs-Browser field. * debian/rules: disabled the DH_VERBOSE option. -- Joao Eriberto Mota Filho Thu, 17 Oct 2013 15:34:27 +0000 mac-robber (1.02-1) unstable; urgency=low * Initial release (Closes: #708528) -- Joao Eriberto Mota Filho Thu, 16 May 2013 08:47:18 -0300 debian/install0000644000000000000000000000007612145160022010553 0ustar mac-robber usr/bin debian/man/mac-robber.1 usr/share/man/man1 debian/copyright0000644000000000000000000000216512145146573011135 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: mac-robber Source: http://sf.net/projects/mac-robber Files: * Copyright: 2002-2010 Brian Carrier 2002 @stake Inc. License: GPL-2.0+ Files: debian/* Copyright: 2013 Joao Eriberto Mota Filho License: GPL-2.0+ License: GPL-2.0+ This package is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this program. If not, see . On Debian systems, the complete text of the GNU General Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". debian/control0000644000000000000000000000324312230001571010562 0ustar Source: mac-robber Section: utils Priority: optional Maintainer: Debian Forensics Uploaders: Joao Eriberto Mota Filho Build-Depends: debhelper (>= 9) Standards-Version: 3.9.4 Homepage: http://www.sleuthkit.org/mac-robber Vcs-Browser: http://anonscm.debian.org/gitweb/?p=forensics/mac-robber.git Vcs-Git: git://anonscm.debian.org/forensics/mac-robber.git Package: mac-robber Architecture: any Suggests: netcat, sleuthkit Enhances: sleuthkit Depends: ${shlibs:Depends}, ${misc:Depends} Description: collects data about allocated files in mounted filesystems mac-robber is a digital investigation tool (digital forensics) that collects metadata from allocated files in a mounted filesystem. This is useful during incident response when analyzing a live system or when analyzing a dead system in a lab. The data can be used by the mactime tool in The Sleuth Kit (TSK or SleuthKit only) to make a timeline of file activity. The mac-robber tool is based on the grave-robber tool from TCT (The Coroners Toolkit). . mac-robber requires that the filesystem be mounted by the operating system, unlike the tools in The Sleuth Kit that process the filesystem themselves. Therefore, mac-robber will not collect data from deleted files or files that have been hidden by rootkits. mac-robber will also modify the Access times on directories that are mounted with write permissions. . mac-robber is useful when dealing with a filesystem that is not supported by The Sleuth Kit or other filesystem analysis tools. You can run mac-robber on an obscure, suspect UNIX filesystem that has been mounted read-only on a trusted system. debian/patches/0000755000000000000000000000000012145154437010623 5ustar debian/patches/Makefile.patch0000644000000000000000000000071212145154437013361 0ustar Description: Add GCC hardening. Author: Joao Eriberto Mota Filho Last-Update: 20130516 --- a/Makefile +++ b/Makefile @@ -14,7 +14,7 @@ $(CC) $(GCC_CFLAGS) -D_FILE_OFFSET_BITS=64 -o mac-robber mac-robber.c linux_notstatic: - $(CC) -D_FILE_OFFSET_BITS=64 -o mac-robber mac-robber.c + $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -D_FILE_OFFSET_BITS=64 -o mac-robber mac-robber.c sun: cc $(SUN_CFLAGS) -o mac-robber mac-robber.c debian/patches/series0000644000000000000000000000001712145154200012022 0ustar Makefile.patch debian/compat0000644000000000000000000000000212145143731010365 0ustar 9 debian/watch0000644000000000000000000000007412145146775010234 0ustar version=3 http://sf.net/mac-robber/mac-robber-(.*)\.tar\.gz debian/source/0000755000000000000000000000000012145143510010462 5ustar debian/source/format0000644000000000000000000000001412145143510011670 0ustar 3.0 (quilt) debian/man/0000755000000000000000000000000012145160654007745 5ustar debian/man/mac-robber.10000644000000000000000000000443712145160654012050 0ustar .\"Text automatically generated by txt2man .TH mac-robber "1" "May 2013" "MAC-ROBBER 1.02" "collects data about allocated files in mounted filesystems" .SH NAME \fBmac-robber \fP- collects data about allocated files in mounted filesystems .SH SYNOPSIS .nf .fam C \fBmac-robber\fP [\fIOPTION\fP] \fBmac-robber\fP .fam T .fi .fam T .fi .SH DESCRIPTION \fBmac-robber\fP is a digital investigation tool (digital forensics) that collects metadata from allocated files in a mounted filesystem. This is useful during incident response when analyzing a live system or when analyzing a dead system in a lab. The data can be used by the mactime tool in The Sleuth Kit (TSK or SleuthKit only) to make a timeline of file activity. The \fBmac-robber\fP tool is based on the grave-robber tool from TCT (The Coroners Toolkit). .PP \fBmac-robber\fP requires that the filesystem be mounted by the operating system, unlike the tools in The Sleuth Kit that process the filesystem themselves. Therefore, \fBmac-robber\fP will not collect data from deleted files or files that have been hidden by rootkits. .PP \fBmac-robber\fP will also modify the Access times on directories that are mounted with write permissions. When in forensics analysis you should mount the target partition as read-only. .PP \fBmac-robber\fP is useful when dealing with a filesystem that is not supported by The Sleuth Kit or other filesystem analysis tools. You can run \fBmac-robber\fP on an obscure, suspect UNIX filesystem that has been mounted read-only on a trusted system. .SH OPTIONS .TP .B \fB-h\fP Print help. .TP .B \fB-V\fP Show the version. .SH EXAMPLE To see metadata from all files in a directory (recursively): .PP .nf .fam C $ mac-robber /home/user/directory .fam T .fi To make a timeline using mactime command from The Sleuth Kit (TSK) and setting Brazilian timezone: .PP .nf .fam C $ mac-robber /home/user/directory | mactime \-z BRT .fam T .fi An alternative is write the results into a file and read it using mactime: .PP .nf .fam C $ mac-robber /home/user/directory > /tmp/files.mr $ mactime \-b /tmp/files.mr \-z BRT .fam T .fi .SH AUTHOR Brian Carrier . .PP This manual page was written by Joao Eriberto Mota Filho for the Debian project (but may be used by others). debian/man/header.txt0000644000000000000000000000015612145155017011735 0ustar .TH mac-robber "1" "May 2013" "MAC-ROBBER 1.02" "collects data about allocated files in mounted filesystems" debian/man/mac-robber.txt0000644000000000000000000000372512145157667012540 0ustar NAME mac-robber - collects data about allocated files in mounted filesystems SYNOPSIS mac-robber [OPTION] mac-robber DESCRIPTION mac-robber is a digital investigation tool (digital forensics) that collects metadata from allocated files in a mounted filesystem. This is useful during incident response when analyzing a live system or when analyzing a dead system in a lab. The data can be used by the mactime tool in The Sleuth Kit (TSK or SleuthKit only) to make a timeline of file activity. The mac-robber tool is based on the grave-robber tool from TCT (The Coroners Toolkit). mac-robber requires that the filesystem be mounted by the operating system, unlike the tools in The Sleuth Kit that process the filesystem themselves. Therefore, mac-robber will not collect data from deleted files or files that have been hidden by rootkits. mac-robber will also modify the Access times on directories that are mounted with write permissions. When in forensics analysis you should mount the target partition as read-only. mac-robber is useful when dealing with a filesystem that is not supported by The Sleuth Kit or other filesystem analysis tools. You can run mac-robber on an obscure, suspect UNIX filesystem that has been mounted read-only on a trusted system. OPTIONS -h Print help. -V Show the version. EXAMPLE To see metadata from all files in a directory (recursively): $ mac-robber /home/user/directory To make a timeline using mactime command from The Sleuth Kit (TSK) and setting Brazilian timezone: $ mac-robber /home/user/directory | mactime -z BRT An alternative is write the results into a file and read it using mactime: $ mac-robber /home/user/directory > /tmp/files.mr $ mactime -b /tmp/files.mr -z BRT AUTHOR Brian Carrier . This manual page was written by Joao Eriberto Mota Filho for the Debian project (but may be used by others).