| 1 |
<?xml version="1.0" encoding="UTF-8"?> |
| 2 |
<refentry id='grokevt-findlogs.1'> |
| 3 |
<!-- $Id: grokevt-findlogs.1.docbook 119 2011-06-20 17:14:14Z tim $ --> |
| 4 |
<refmeta> |
| 5 |
<refentrytitle>grokevt-findlogs</refentrytitle> |
| 6 |
<manvolnum>1</manvolnum> |
| 7 |
<refmiscinfo class="sectdesc">File Conversion Utilities</refmiscinfo> |
| 8 |
</refmeta> |
| 9 |
<refnamediv id='name'> |
| 10 |
<refname>grokevt-findlogs</refname> |
| 11 |
<refpurpose>Attempts to find log file fragments in raw binary files, such as memory dumps and disk images.</refpurpose> |
| 12 |
</refnamediv> |
| 13 |
|
| 14 |
<refsect1 id='synopsis'> |
| 15 |
<title>SYNOPSIS</title> |
| 16 |
<para> |
| 17 |
<command> |
| 18 |
grokevt-findlogs -? |
| 19 |
</command> |
| 20 |
</para> |
| 21 |
<para> |
| 22 |
<command> |
| 23 |
grokevt-findlogs [-v] [-h] [-H] [-o <replaceable>offset</replaceable>] <replaceable>raw-file</replaceable> |
| 24 |
</command> |
| 25 |
</para> |
| 26 |
</refsect1> |
| 27 |
|
| 28 |
<refsect1 id='description'> |
| 29 |
<title>DESCRIPTION</title> |
| 30 |
<para> |
| 31 |
grokevt-findlogs searches a raw binary file for event log records. It produces a |
| 32 |
simple comma-separated values (CSV) output to stdout which includes metadata |
| 33 |
and offsets of any hits. Using the metadata and offset/contiguity information, |
| 34 |
it should be easy to determine if the hits are false positives or not. |
| 35 |
</para> |
| 36 |
</refsect1> |
| 37 |
|
| 38 |
<refsect1 id='arguments'> |
| 39 |
<title>ARGUMENTS</title> |
| 40 |
|
| 41 |
<variablelist remap='IP'> |
| 42 |
<varlistentry> |
| 43 |
<term> |
| 44 |
<option><replaceable>raw-file</replaceable></option> |
| 45 |
</term> |
| 46 |
<listitem> |
| 47 |
<para> |
| 48 |
The binary file to be searched. |
| 49 |
</para> |
| 50 |
</listitem> |
| 51 |
</varlistentry> |
| 52 |
</variablelist> |
| 53 |
</refsect1> |
| 54 |
|
| 55 |
<refsect1 id='options'> |
| 56 |
<title>OPTIONS</title> |
| 57 |
|
| 58 |
<variablelist remap='IP'> |
| 59 |
<varlistentry> |
| 60 |
<term> |
| 61 |
<option>-?</option> |
| 62 |
</term> |
| 63 |
<listitem> |
| 64 |
<para> |
| 65 |
Prints a basic usage statement. |
| 66 |
</para> |
| 67 |
</listitem> |
| 68 |
</varlistentry> |
| 69 |
</variablelist> |
| 70 |
|
| 71 |
<variablelist remap='IP'> |
| 72 |
<varlistentry> |
| 73 |
<term> |
| 74 |
<option>-v</option> |
| 75 |
</term> |
| 76 |
<listitem> |
| 77 |
<para> |
| 78 |
Verbose mode. Prints status messages to stderr, which can be |
| 79 |
helpful for debugging. (Currently does nothing.) |
| 80 |
</para> |
| 81 |
</listitem> |
| 82 |
</varlistentry> |
| 83 |
</variablelist> |
| 84 |
|
| 85 |
<variablelist remap='IP'> |
| 86 |
<varlistentry> |
| 87 |
<term> |
| 88 |
<option>-h</option> |
| 89 |
</term> |
| 90 |
<listitem> |
| 91 |
<para> |
| 92 |
Prints a header row at the top of the CSV output |
| 93 |
containing labels for each column. (This is the default behavior.) |
| 94 |
</para> |
| 95 |
</listitem> |
| 96 |
</varlistentry> |
| 97 |
</variablelist> |
| 98 |
|
| 99 |
<variablelist remap='IP'> |
| 100 |
<varlistentry> |
| 101 |
<term> |
| 102 |
<option>-H</option> |
| 103 |
</term> |
| 104 |
<listitem> |
| 105 |
<para> |
| 106 |
Disables the printing of a header row. This |
| 107 |
is useful when grokevt-findlogs is used in a script. |
| 108 |
</para> |
| 109 |
</listitem> |
| 110 |
</varlistentry> |
| 111 |
</variablelist> |
| 112 |
|
| 113 |
<variablelist remap='IP'> |
| 114 |
<varlistentry> |
| 115 |
<term> |
| 116 |
<option>-o <replaceable>offset</replaceable></option> |
| 117 |
</term> |
| 118 |
<listitem> |
| 119 |
<para> |
| 120 |
Begin search at this byte offset within the binary file. |
| 121 |
</para> |
| 122 |
</listitem> |
| 123 |
</varlistentry> |
| 124 |
</variablelist> |
| 125 |
</refsect1> |
| 126 |
|
| 127 |
<refsect1 id='bugs'> |
| 128 |
<title>BUGS</title> |
| 129 |
<para> |
| 130 |
Probably a few. This script has not been extensively tested with some guest platforms. |
| 131 |
</para> |
| 132 |
<para> |
| 133 |
There are likely some speed improvements that could be made. |
| 134 |
</para> |
| 135 |
</refsect1> |
| 136 |
|
| 137 |
<refsect1 id='credits'> |
| 138 |
<title>CREDITS</title> |
| 139 |
<para> |
| 140 |
Written by Timothy D. Morgan |
| 141 |
</para> |
| 142 |
</refsect1> |
| 143 |
|
| 144 |
<refsect1 id='license'> |
| 145 |
<title>LICENSE</title> |
| 146 |
<para> |
| 147 |
Please see the file "LICENSE" included with this software |
| 148 |
distribution. |
| 149 |
</para> |
| 150 |
<para> |
| 151 |
This program is distributed in the hope that it will be useful, |
| 152 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 153 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 154 |
GNU General Public License version 3 for more details. |
| 155 |
</para> |
| 156 |
</refsect1> |
| 157 |
|
| 158 |
<refsect1 id='seealso'> |
| 159 |
<title>SEE ALSO</title> |
| 160 |
<para> |
| 161 |
grokevt(7) grokevt-addlog(1) grokevt-builddb(1) grokevt-dumpmsgs(1) grokevt-parselog(1) grokevt-ripdll(1) |
| 162 |
</para> |
| 163 |
</refsect1> |
| 164 |
</refentry> |