• Stars
    star
    121
  • Rank 292,465 (Top 6 %)
  • Language Rebol
  • License
    MIT License
  • Created over 9 years ago
  • Updated 3 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Command line access to the Registry

RECmd

Ongoing Projects

  • Kroll Batch File - Development roadmap for the Kroll Batch File. Please feel free to contribute by adding ideas or by finishing tasks in the To Do column. Any help is appreciated!

Command Line Interface

RECmd version 1.6.0.0

Author: Eric Zimmerman ([email protected])
https://github.com/EricZimmerman/RECmd

Note: Enclose all strings containing spaces (and all RegEx) with double quotes

        d               Directory to look for hives (recursively). -f or -d is required.
        f               Hive to search. -f or -d is required.

        q               Quiet mode. When true, hide processing details. Default is FALSE

        kn              Display details for key name. Includes subkeys and values
        vn              Value name. Only this value will be dumped
        bn              Use settings from supplied file to find keys/values. See included sample file for examples
        csv             Directory to save CSV formatted results to. Required when -bn is used.
        csvf            File name to save CSV formatted results to. When present, overrides default name
        saveTo          Saves --vn value data in binary form to file. Expects path to a FILE
        json            Export --kn to directory specified by --json. Ignored when --vn is specified
        jsonf           File name to save JSON formatted results to. When present, overrides default name

        details         Show more details when displaying results. Default is FALSE

        Base64          Find Base64 encoded values with size >= Base64 (specified in bytes)
        MinSize         Find values with data size >= MinSize (specified in bytes)

        sa              Search for <string> in keys, values, data, and slack.
        sk              Search for <string> in key names.
        sv              Search for <string> in value names
        sd              Search for <string> in value record's value data
        ss              Search for <string> in value record's value slack
        literal         If true, --sd and --ss search value will not be interpreted as ASCII or Unicode byte strings
        nd              If true, do not show data when using --sd or --ss. Default is FALSE
        regex           If present, treat <string> in --sk, --sv, --sd, and --ss as a regular expression. Default is FALSE

        dt              The custom date/time format to use when displaying time stamps. Default is: yyyy-MM-dd HH:mm:ss.fffffff
        nl              When true, ignore transaction log files for dirty hives. Default is FALSE
        recover         If true, recover deleted keys/values. Default is TRUE

        vss             Process all Volume Shadow Copies that exist on drive specified by -f or -d . Default is FALSE
        dedupe          Deduplicate -f or -d & VSCs based on SHA-1. First file found wins. Default is TRUE

        sync            If true, the latest batch files from https://github.com/EricZimmerman/RECmd/tree/master/BatchExamples are downloaded and local files updated. Default is FALSE

        debug           Show debug information during processing
        trace           Show trace information during processing

Example: RECmd.exe --f "C:\Temp\UsrClass 1.dat" --sk URL --recover false --nl
         RECmd.exe --f "D:\temp\UsrClass 1.dat" --StartDate "11/13/2014 15:35:01"
         RECmd.exe --f "D:\temp\UsrClass 1.dat" --RegEx --sv "(App|Display)Name"

Documentation

Command line Registry access, including batch mode!

See the manual for more examples.

If you get an error message like "error loading plugin" when running RECmd after downloading the ZIP archive and extracting it using Windows' ZIP tool, use the following PowerShell command to unblock the DLLs:

PS> Unblock-File .\Plugins\*.dll

Batch Files

RECmd uses Batch Files to make your Registry output more actionable. Learn about Batch Files here!

As of September 2021, there is a README specifically for the Kroll_Batch file used by RECmd and KAPE. Find it here!

RLA

Command Line Interface

rla version 1.6.0.0

Author: Eric Zimmerman ([email protected])
https://github.com/EricZimmerman/RECmd

Note: Enclose all strings containing spaces (and all RegEx) with double quotes

        d               Directory to look for hives (recursively). -f or -d is required.
        f               Hive to process. -f or -d is required.

        out             Directory to save updated hives to. Only dirty hives with logs applied will end up in --out directory

        ca              When true, always copy hives to --out directory, even if they aren't dirty. Default is TRUE
        cn              When true, compress names for profile based hives. Default is TRUE

        debug           Show debug information during processing
        trace           Show trace information during processing

Example: rla.exe --f "C:\Temp\UsrClass 1.dat" --out C:\temp
         rla.exe --d "D:\temp\" --out c:\temp

Documentation

RLA is a single purpose tool to replay transaction logs in Registry hives. This is useful when parsing with tools that don't recognize and replay transaction logs on their own.

Download Eric Zimmerman's Tools

All of Eric Zimmerman's tools can be downloaded here. Use the Get-ZimmermanTools PowerShell script to automate the download and updating of the EZ Tools suite. Additionally, you can automate each of these tools using KAPE!

Special Thanks

Open Source Development funding and support provided by the following contributors:

More Repositories

1

KapeFiles

This repository serves as a place for community created Targets and Modules for use with KAPE.
624
star
2

evtx

C# based evtx parser with lots of extras
C#
258
star
3

LECmd

Lnk Explorer Command line edition!!
C#
252
star
4

Registry

Full featured, offline Registry parser in C#
C#
216
star
5

PECmd

Prefetch Explorer Command Line
C#
200
star
6

VoronTools

Various scripts and tools
Shell
187
star
7

MFTECmd

Parses $MFT from NTFS file systems
C#
174
star
8

Get-ZimmermanTools

Get all my software
PowerShell
129
star
9

bstrings

A better strings utility!
C#
118
star
10

AmcacheParser

Parses amcache.hve files, but with a twist!
C#
109
star
11

AppCompatCacheParser

AppCompatCache (shimcache) parser. Supports Windows 7 (x86 and x64), Windows 8.x, and Windows 10
C#
105
star
12

JumpList

C#
103
star
13

Prefetch

Windows Prefetch parser. Supports all known versions from Windows XP to Windows 10.
C#
103
star
14

ericzimmerman.github.io

Software downloads
HTML
87
star
15

Lnk

Lnk file parser
C#
78
star
16

JLECmd

Automatic and Custom Destinations jump list parser with Windows 10 support
C#
71
star
17

RegistryPlugins

C#
60
star
18

MFT

MFT parser
C#
56
star
19

RegistryExplorerBookmarks

Registry Explorer bookmark definitions
43
star
20

KapeDocs

Documentation repository
HTML
41
star
21

SQLECmd

C#
41
star
22

Voron24

Voron 2.4 350 configuration files. LDOkit
Shell
35
star
23

Srum

C#
35
star
24

RBCmd

Recycle bin artifact parser
C#
33
star
25

SDB

Parse Microsoft shim databases
C#
29
star
26

RecentFileCacheParser

Parses RecentFileCacheParser.bcf files
C#
25
star
27

ExtensionBlocks

Extension blocks as found in ShellBags and other places in the Registry
C#
24
star
28

TLEFilePlugins

Plugins for parsing CSV files in Timeline Explorer. This project allows for anyone to add more supported files (i,e. they get a Line #/tag column, layout support, searching, etc.)
C#
23
star
29

USBDevices

Get USB Devices from Registry hives
C#
22
star
30

WxTCmd

C#
20
star
31

OleCf

Library to process OLE compound file format. This is a work in progress and was initially written for jumplist parsing (for which it does fine)
C#
19
star
32

Sum

C#
19
star
33

iisGeolocate

geolocate ip addresses in IIS logs
C#
19
star
34

GuidMapping

C#
15
star
35

VSCMount

Mount VSCs with ease!
C#
15
star
36

EricZimmerman

14
star
37

VoronConfigs

Klipper configuration for an LDO Voron V2.4 350mm with Euclid probe
14
star
38

Voron02

Voron 0.2 configs (v0s1 --> 0.2)
Shell
13
star
39

Issues

This is a repository for reporting any issues in any of my software
10
star
40

MVT

C#
9
star
41

timeapp

Simple time and public IP app, useful for recording the screen while interacting with a computer for later corroboration of artifacts against time
C#
9
star
42

filemgr

File manager with dedupe on import, export existing, export delta, hash list generation, etc.
Python
6
star
43

EmailCounter

C#
3
star