dfirhub

TotalCommander

Appsv1.4

Author: Andrew Rathbun, Jessica Venturo and Chuck Whitson

description

Total Commander

paths

7 paths
AppsTotal Commander - .ini File
C:\Users\%user%\AppData\Roaming\GHISLER\wincmd.ini

Locates .ini file associated with Total Commander which stores useful user activity information.

AppsTotal Commander - Log File
C:\totalcmd.log

Locates log file associated with Total Commander. NOTE: this log file is NOT enabled by default and the filename can be modified.

AppsTotal Commander - Temp Files Created During Folder Traversal
C:\Users\%user%\AppData\Local\Temp\FTP*.tmp

Locates .tmp files which are created during the user's folder traversal and provide insight into contents of each folder traversed.

AppsTotal Commander - FTP .ini File
C:\Users\%user%\AppData\Roaming\GHISLER\wcx_ftp.ini

Locates .ini file associated with Total Commander which stores useful FTP information.

AppsTotal Commander - File Tree
C:\Users\%user%\AppData\Local\GHISLER\treeinfo*.wc

Locates a file that contains an exhaustive file tree of a user's file system.

AppsTotal Commander - Frequent Directory Listing
C:\Users\%user%\AppData\Local\GHISLER\tcDirFrq.txt

Locates a file that contains a frequently accessed folder listing.

AppsTotal Commander - FTP Logs
C:\Users\%user%\AppData\Local\Temp\tcftp.log

Locates a file that contains the Total Commander FTP logs.

paths use Windows environment syntax

collection commands

# PowerShell Artifact Collection Script
# Target: TotalCommander
# Run as Administrator

#Requires -RunAsAdministrator

$ErrorActionPreference = "SilentlyContinue"
$DestBase = "D:\Evidence"

# Function to handle directory creation and copying
function Collect-Artifact {
    param (
        [string]$SourcePath,
        [string]$FolderName
    )
    $FullDest = Join-Path -Path $DestBase -ChildPath $FolderName
    if (-not (Test-Path -Path $FullDest)) {
        New-Item -ItemType Directory -Path $FullDest -Force | Out-Null
    }
    Copy-Item -Path $SourcePath -Destination $FullDest -Recurse -Force
}

# 1. Total Commander - .ini File
$UserPath = Join-Path $env:USERPROFILE "AppData\Roaming\GHISLER\"
Collect-Artifact -SourcePath "$UserPath\wincmd.ini" -FolderName "Total_Commander____ini_File"

# 2. Total Commander - Log File
Collect-Artifact -SourcePath "C:\\totalcmd.log" -FolderName "Total_Commander___Log_File"

# 3. Total Commander - Temp Files Created During Folder Traversal
$UserPath = Join-Path $env:USERPROFILE "AppData\Local\Temp\"
Collect-Artifact -SourcePath "$UserPath\FTP*.tmp" -FolderName "Total_Commander___Temp_Files_Created_During_Folder_Traversal"

# 4. Total Commander - FTP .ini File
$UserPath = Join-Path $env:USERPROFILE "AppData\Roaming\GHISLER\"
Collect-Artifact -SourcePath "$UserPath\wcx_ftp.ini" -FolderName "Total_Commander___FTP__ini_File"

# 5. Total Commander - File Tree
$UserPath = Join-Path $env:USERPROFILE "AppData\Local\GHISLER\"
Collect-Artifact -SourcePath "$UserPath\treeinfo*.wc" -FolderName "Total_Commander___File_Tree"

# 6. Total Commander - Frequent Directory Listing
$UserPath = Join-Path $env:USERPROFILE "AppData\Local\GHISLER\"
Collect-Artifact -SourcePath "$UserPath\tcDirFrq.txt" -FolderName "Total_Commander___Frequent_Directory_Listing"

# 7. Total Commander - FTP Logs
$UserPath = Join-Path $env:USERPROFILE "AppData\Local\Temp\"
Collect-Artifact -SourcePath "$UserPath\tcftp.log" -FolderName "Total_Commander___FTP_Logs"

Write-Host "Collection complete!" -ForegroundColor Green

Save as .ps1 and run as Administrator. Use: powershell -ExecutionPolicy Bypass -File script.ps1

references

included in collections