dfirhub

Dropbox_Metadata

Appsv1.5

Author: Chad Tilbury and Andrew Rathbun

description

Dropbox Cloud Storage Metadata

paths

6 paths
AppsDropbox Metadata
C:\Users\%user%\AppData\Local\Dropbox\info.json

Getting individual files because folder may contain very large extraneous files. Info.json contains user's Dropbox folder location

AppsDropbox Metadata
C:\Users\%user%\AppData\Local\Dropbox\host.db

SQLite database which contains the local path of the user's Dropbox folder encoded in BASE64.

AppsDropbox Metadata
C:\Users\%user%\AppData\Local\Dropbox\machine_storagetray-thumbnails.db

SQLite database containing references to image files at one time present in a user’s Dropbox instance.

AppsDropbox Metadata
C:\Users\%user%\AppData\Local\Dropbox\host.dbx

SQLite database which contains the local path of the user's Dropbox folder encoded in BASE64. Decode each line separately, not together.

FileSystemWindows Protect Folder
C:\Users\%user%\AppData\Roaming\Microsoft\Protect\*\

Required for offline decryption of Dropbox databases

AppsDropbox Metadata
C:\Users\%user%\AppData\Local\Dropbox\instance*\

instance folder holds multiple SQLite databases related to Dropbox activity and contents

paths use Windows environment syntax

collection commands

# PowerShell Artifact Collection Script
# Target: Dropbox_Metadata
# 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. Dropbox Metadata
$UserPath = Join-Path $env:USERPROFILE "AppData\Local\Dropbox\"
Collect-Artifact -SourcePath "$UserPath\info.json" -FolderName "Dropbox_Metadata"

# 2. Dropbox Metadata
$UserPath = Join-Path $env:USERPROFILE "AppData\Local\Dropbox\"
Collect-Artifact -SourcePath "$UserPath\host.db" -FolderName "Dropbox_Metadata"

# 3. Dropbox Metadata
$UserPath = Join-Path $env:USERPROFILE "AppData\Local\Dropbox\machine_storage"
Collect-Artifact -SourcePath "$UserPath\tray-thumbnails.db" -FolderName "Dropbox_Metadata"

# 4. Dropbox Metadata
$UserPath = Join-Path $env:USERPROFILE "AppData\Local\Dropbox\"
Collect-Artifact -SourcePath "$UserPath\host.dbx" -FolderName "Dropbox_Metadata"

# 5. Windows Protect Folder
$UserPath = Join-Path $env:USERPROFILE "AppData\Roaming\Microsoft\Protect\*\"
Collect-Artifact -SourcePath "$UserPath\*" -FolderName "Windows_Protect_Folder"

# 6. Dropbox Metadata
$UserPath = Join-Path $env:USERPROFILE "AppData\Local\Dropbox\instance*\"
Collect-Artifact -SourcePath "$UserPath\*" -FolderName "Dropbox_Metadata"

Write-Host "Collection complete!" -ForegroundColor Green

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

references

included in collections