dfirhub

Remcos

Author: CERT CWATCH - ALMOND

description

Remcos RAT

paths

10 paths
ApplicationLogsRemco RAT Default path
C:\Users\*\AppData\Roaming\remcoslogs*.dat*

Remco RAT logs.dat default file - contains debug data and logs relative to the keylogging module

ApplicationLogsRemco RAT custom path - AppData screenshots folder
C:\Users\*\AppData\Roaming\screenshotslogs*.dat*

Remco RAT logs.dat custom path - contains debug data and logs relative to the keylogging module

ApplicationLogsRemco RAT custom path - AppData notess folder
C:\Users\*\AppData\Roaming\notesslogs*.dat*

Remco RAT logs.dat custom path - contains debug data and logs relative to the keylogging module

ApplicationLogsRemco RAT custom path - AppData micrecords folder
C:\Users\*\AppData\Roaming\micrecordslogs*.dat*

Remco RAT logs.dat custom path - contains debug data and logs relative to the keylogging module

ApplicationLogsRemco RAT custom path - AppData hpsupport
C:\Users\*\AppData\Roaming\hpsupportlogs*.dat*

Remco RAT logs.dat custom path - contains debug data and logs relative to the keylogging module

ApplicationLogsRemco RAT custom path
C:\ProgramData\remcoslogs*.dat*

Remco RAT logs.dat custom path - contains debug data and logs relative to the keylogging module

ApplicationLogsRemco RAT custom path - AppData notess
C:\ProgramData\notesslogs*.dat*

Remco RAT logs.dat custom path - contains debug data and logs relative to the keylogging module

ApplicationLogsRemco RAT custom path - AppData screenshots
C:\ProgramData\screenshotslogs*.dat*

Remco RAT logs.dat custom path - contains debug data and logs relative to the keylogging module

ApplicationLogsRemco RAT custom path - AppData micrecords
C:\ProgramData\micrecordslogs*.dat*

Remco RAT logs.dat custom path - contains debug data and logs relative to the keylogging module

ApplicationLogsRemco RAT custom path - AppData hpsupport
C:\ProgramData\hpsupportlogs*.dat*

Remco RAT logs.dat custom path - contains debug data and logs relative to the keylogging module

paths use Windows environment syntax

collection commands

# PowerShell Artifact Collection Script
# Target: Remcos
# 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. Remco RAT Default path
Collect-Artifact -SourcePath "C:\Users\*\AppData\Roaming\remcos\logs*.dat*" -FolderName "Remco_RAT_Default_path"

# 2. Remco RAT custom path - AppData screenshots folder
Collect-Artifact -SourcePath "C:\Users\*\AppData\Roaming\screenshots\logs*.dat*" -FolderName "Remco_RAT_custom_path___AppData_screenshots_folder"

# 3. Remco RAT custom path - AppData notess folder
Collect-Artifact -SourcePath "C:\Users\*\AppData\Roaming\notess\logs*.dat*" -FolderName "Remco_RAT_custom_path___AppData_notess_folder"

# 4. Remco RAT custom path - AppData micrecords folder
Collect-Artifact -SourcePath "C:\Users\*\AppData\Roaming\micrecords\logs*.dat*" -FolderName "Remco_RAT_custom_path___AppData_micrecords_folder"

# 5. Remco RAT custom path - AppData hpsupport
Collect-Artifact -SourcePath "C:\Users\*\AppData\Roaming\hpsupport\logs*.dat*" -FolderName "Remco_RAT_custom_path___AppData_hpsupport"

# 6. Remco RAT custom path
Collect-Artifact -SourcePath "C:\ProgramData\remcos\logs*.dat*" -FolderName "Remco_RAT_custom_path"

# 7. Remco RAT custom path - AppData notess
Collect-Artifact -SourcePath "C:\ProgramData\notess\logs*.dat*" -FolderName "Remco_RAT_custom_path___AppData_notess"

# 8. Remco RAT custom path - AppData screenshots
Collect-Artifact -SourcePath "C:\ProgramData\screenshots\logs*.dat*" -FolderName "Remco_RAT_custom_path___AppData_screenshots"

# 9. Remco RAT custom path  - AppData micrecords
Collect-Artifact -SourcePath "C:\ProgramData\micrecords\logs*.dat*" -FolderName "Remco_RAT_custom_path____AppData_micrecords"

# 10. Remco RAT custom path  - AppData hpsupport
Collect-Artifact -SourcePath "C:\ProgramData\hpsupport\logs*.dat*" -FolderName "Remco_RAT_custom_path____AppData_hpsupport"

Write-Host "Collection complete!" -ForegroundColor Green

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

references

included in collections