Radmind-pc

From radmind

(Difference between revisions)
Jump to: navigation, search
Current revision (15:44, 20 July 2007) (edit) (undo)
(Added updated notes from pc-hack-a-thon)
 
Line 1: Line 1:
 +
{|align=right
 +
  |__TOC__
 +
  |}
A rough guide to getting Radmind-PC installed on default Windows XP SP2 client.
A rough guide to getting Radmind-PC installed on default Windows XP SP2 client.
* This guide assumes you have access to a working radmind server.
* This guide assumes you have access to a working radmind server.
Line 6: Line 9:
# [http://sourceforge.net/project/showfiles.php?group_id=141444&package_id=191033 Download] the most recent release of Radmind-PC from the Radmind SourceForge site.
# [http://sourceforge.net/project/showfiles.php?group_id=141444&package_id=191033 Download] the most recent release of Radmind-PC from the Radmind SourceForge site.
#:This package includes ntfsdiff, regdiff, ktcheck, lapply, lcreate, regapply, regcreate and the needed dll's.
#:This package includes ntfsdiff, regdiff, ktcheck, lapply, lcreate, regapply, regcreate and the needed dll's.
-
# Create the directory c:\radmind
+
# Create the directory C:\radmind
-
# Unzip files c:\radmind
+
# Unzip files C:\radmind
-
# Added c:\radmind to your PATH environment variable
+
# Added C:\radmind to your PATH environment variable
#:setx PATH "%PATH%;C:\radmind"
#:setx PATH "%PATH%;C:\radmind"
-
# Create the directory c:\radmind\client.
+
# Create the directory C:\radmind\client.
#:This directory will hold a client's transcripts.
#:This directory will hold a client's transcripts.
==Create Negative==
==Create Negative==
-
Set up negative transcripts for the file system and the registry and a command file referencing them in c:\radmind\client. Name the command file command.K so that you won't have to specify it repeatedly. Unfortunately there aren't good default negative transcripts available at the moment.
+
Set up negative transcripts for the file system and the registry and a command file referencing them in C:\radmind\client. Name the command file command.K so that you won't have to specify it repeatedly. Unfortunately there aren't good default negative transcripts available at the moment.
-
# Open a command prompt and cd to c:\
+
# Open a command prompt and cd to C:\
# Create the filesystem negative transcript
# Create the filesystem negative transcript
-
#:ntfsdiff -1 "c:\Documents and Settings"#:>> c:\radmind\client\fs-negative.T
+
#:ntfsdiff -1 "C:\Documents and Settings"#:>> C:\radmind\client\fs-negative.T
-
#:ntfsdiff -1 c:\pagefile.sys >> c:\radmind\client\fs-negative.T  
+
#:ntfsdiff -1 C:\pagefile.sys >> C:\radmind\client\fs-negative.T  
-
#:ntfsdiff -1 c:\radmind\client >> c:\radmind\client\fs-negative.T
+
#:ntfsdiff -1 C:\radmind\client >> C:\radmind\client\fs-negative.T
-
#:ntfsdiff -1 c:\Recycler >> c:\radmind\client\fs-negative.T
+
#:ntfsdiff -1 C:\Recycler >> C:\radmind\client\fs-negative.T
-
#:ntfsdiff -1 "c:\System Volume Information" >> c:\radmind\client\fs-negative.T
+
#:: The Recycler appears to not appear until something disappears from the Recycle Bin.
 +
#:ntfsdiff -1 "C:\System Volume Information" >> C:\radmind\client\fs-negative.T
 +
#:ntfsdiff -1 "C:\Windows\Prefetch" >> C:\radmind\clinet\fs-negative.T
 +
#:C:/WINDOWS/system32/CatRoot2/edb.log
 +
#:C:/WINDOWS/system32/CatRoot2/tmp.edb
 +
#:C:/WINDOWS/system32/config/default
 +
#:C:/WINDOWS/system32/config/default.LOG
 +
#:C:/WINDOWS/system32/config/SAM
 +
#:C:/WINDOWS/system32/config/SAM.LOG
 +
#:C:/WINDOWS/system32/config/SECURITY
 +
#:C:/WINDOWS/system32/config/SECURITY.LOG
 +
#:C:/WINDOWS/system32/config/software
 +
#:C:/WINDOWS/system32/config/software.LOG
 +
#:C:/WINDOWS/system32/config/system
 +
#:C:/WINDOWS/system32/config/system.LOG
# Store the filesystem negative transcript to your radmind server with zero length files
# Store the filesystem negative transcript to your radmind server with zero length files
-
#:lcreate -N -h radmind.server.example.com c:/radmind/client/fs-negative.T
+
#:lcreate -N -h radmind.server.example.com C:/radmind/client/fs-negative.T
# Run lcksum.
# Run lcksum.
#:When lcksum is updated to work with Windows transcripts, it would be run here.
#:When lcksum is updated to work with Windows transcripts, it would be run here.
-
#:
 
-
#:
 
==Create command file on server==
==Create command file on server==
Line 41: Line 56:
#:
#:
==Create a Baseload==
==Create a Baseload==
-
# Open a command prompt and cd to c:\radmind\client
+
# Open a command prompt and cd to C:\radmind\client
# Update the client's command file and transcript
# Update the client's command file and transcript
#:ktcheck -h radmind.server.example.com
#:ktcheck -h radmind.server.example.com
# Create the filesystem base transcript
# Create the filesystem base transcript
-
#:ntfsdiff -C -c sha1 -o fs-base.T c:
+
#:ntfsdiff -C -c sha1 -o fs-base.T C:
# Store filesystem base transcript to your radmind server
# Store filesystem base transcript to your radmind server
#:lcreate -h radmind.server.example.com fs-base.T
#:lcreate -h radmind.server.example.com fs-base.T
==Create base registry transcripts==
==Create base registry transcripts==
-
# Open a command prompt and cd to c:\radmind\client
+
# Open a command prompt and cd to C:\radmind\client
# Create the HKEY_LOCAL_MACHINE base registry transcript
# Create the HKEY_LOCAL_MACHINE base registry transcript
#:regdiff -C -c sha1 -o reg-hklm-base.T "HKEY_LOCAL_MACHINE"
#:regdiff -C -c sha1 -o reg-hklm-base.T "HKEY_LOCAL_MACHINE"
Line 64: Line 79:
#:f <path> <attributes> O:<owner sid> G:<group sid> D:<dacl><high mtime> <low mtime> <high file size> <low file size> <checksum>
#:f <path> <attributes> O:<owner sid> G:<group sid> D:<dacl><high mtime> <low mtime> <high file size> <low file size> <checksum>
-
 
-
 
Directories:
Directories:

Current revision

Contents

A rough guide to getting Radmind-PC installed on default Windows XP SP2 client.

  • This guide assumes you have access to a working radmind server.
  • There is no Radmind server for windows at this time.

[edit] Setup

  1. Download the most recent release of Radmind-PC from the Radmind SourceForge site.
    This package includes ntfsdiff, regdiff, ktcheck, lapply, lcreate, regapply, regcreate and the needed dll's.
  2. Create the directory C:\radmind
  3. Unzip files C:\radmind
  4. Added C:\radmind to your PATH environment variable
    setx PATH "%PATH%;C:\radmind"
  5. Create the directory C:\radmind\client.
    This directory will hold a client's transcripts.

[edit] Create Negative

Set up negative transcripts for the file system and the registry and a command file referencing them in C:\radmind\client. Name the command file command.K so that you won't have to specify it repeatedly. Unfortunately there aren't good default negative transcripts available at the moment.

  1. Open a command prompt and cd to C:\
  2. Create the filesystem negative transcript
    ntfsdiff -1 "C:\Documents and Settings"#:>> C:\radmind\client\fs-negative.T
    ntfsdiff -1 C:\pagefile.sys >> C:\radmind\client\fs-negative.T
    ntfsdiff -1 C:\radmind\client >> C:\radmind\client\fs-negative.T
    ntfsdiff -1 C:\Recycler >> C:\radmind\client\fs-negative.T
    The Recycler appears to not appear until something disappears from the Recycle Bin.
    ntfsdiff -1 "C:\System Volume Information" >> C:\radmind\client\fs-negative.T
    ntfsdiff -1 "C:\Windows\Prefetch" >> C:\radmind\clinet\fs-negative.T
    C:/WINDOWS/system32/CatRoot2/edb.log
    C:/WINDOWS/system32/CatRoot2/tmp.edb
    C:/WINDOWS/system32/config/default
    C:/WINDOWS/system32/config/default.LOG
    C:/WINDOWS/system32/config/SAM
    C:/WINDOWS/system32/config/SAM.LOG
    C:/WINDOWS/system32/config/SECURITY
    C:/WINDOWS/system32/config/SECURITY.LOG
    C:/WINDOWS/system32/config/software
    C:/WINDOWS/system32/config/software.LOG
    C:/WINDOWS/system32/config/system
    C:/WINDOWS/system32/config/system.LOG
  3. Store the filesystem negative transcript to your radmind server with zero length files
    lcreate -N -h radmind.server.example.com C:/radmind/client/fs-negative.T
  4. Run lcksum.
    When lcksum is updated to work with Windows transcripts, it would be run here.

[edit] Create command file on server

  1. Move transcript
    mv /var/radmind/tmp/transcript/fs-negative.T /var/radmind/transcript
    mv /var/radmind/tmp/file/fs-negative.T /var/radmind/file
  2. Create a command file for your client
    echo "n fs-negative.T" > /var/radmind/command/WinXPSP2.K
  3. Added the host or IP of your client to the server's config file and assign it the new command file
    echo "windows.client.example.com#:WinXPSP2.K" >> /var/radmind/config

[edit] Create a Baseload

  1. Open a command prompt and cd to C:\radmind\client
  2. Update the client's command file and transcript
    ktcheck -h radmind.server.example.com
  3. Create the filesystem base transcript
    ntfsdiff -C -c sha1 -o fs-base.T C:
  4. Store filesystem base transcript to your radmind server
    lcreate -h radmind.server.example.com fs-base.T

[edit] Create base registry transcripts

  1. Open a command prompt and cd to C:\radmind\client
  2. Create the HKEY_LOCAL_MACHINE base registry transcript
    regdiff -C -c sha1 -o reg-hklm-base.T "HKEY_LOCAL_MACHINE"
  3. Store HKEY_LOCAL_MACHINE base registry transcript to your radmind server
    regcreate -h radmind.server.example.com reg-hklm-base.T
  4. Create the HKEY_USERS base registry transcript
    regdiff -C -c sha1 -o reg-hku-base.T "HKEY_USERS"
  5. Store HKEY_USERS base registry transcript to your radmind server
    regcreate -h radmind.server.example.com reg-hku-base.T

[edit] PC Transcript Format

Files:

  1. f <path> <attributes> O:<owner sid> G:<group sid> D:<dacl><high mtime> <low mtime> <high file size> <low file size> <checksum>

Directories:

  1. d <path> <attributes> O:<owner sid> G:<group sid> D:<dacl>

[edit] Known Issues

  • The tools may not be able to open some files that are open by other processes.
  1. This can occur when ntfsdiff is trying to checksum a file or lcreate is storing a file on the server.
    One example of a file that has been known to cause problems is XXX.
    To get around this problem with lcreate you can remove the offending file from your transcript.
  • C:\WIndows\Debug has a bunch of logs files.
  1. Should probably make a negative transcript for this.
Personal tools