Skip to content

Latest commit

 

History

History
114 lines (90 loc) · 3.47 KB

README.md

File metadata and controls

114 lines (90 loc) · 3.47 KB

CyLR

CyLR — Live Response Collection tool by Alan Orlikoski and Jason Yegge

What is CyLR?

The CyLR tool collects forensic artifacts from hosts with NTFS file systems quickly, securely and minimizes impact to the host.

The main features are:

  • Quick collection (it's really fast)
  • Raw file collection process does not use Windows API
  • Optimized to store the collected artifacts in memory (minimizing or removing entirely the need to write additional artifacts on the host disk)
  • Built in SFTP capability

SYNOPSIS

CyLR.exe [--help] [-od] [-of] [-u] [-p] [-s] [-c] [-zp]

DESCRIPTION

CyLR tool collects forensic artifacts from hosts with NTFS file systems quickly, securely and minimizes impact to the host.

The standard list of collected artifacts are:

Windows Default

  • "C:\Windows\System32\config"
  • "C:\Windows\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup"
  • "C:\Windows\Prefetch"
  • "C:\Windows\Tasks"
  • "C:\Windows\SchedLgU.Txt"
  • "C:\Windows\System32\winevt\logs"
  • "C:\Windows\System32\drivers\etc\hosts"
  • "C:$MFT"

Mac and Linux Default

  • "/var/log",
  • "/private/var/log/",
  • "/.fseventsd",
  • "/etc/hosts.allow",
  • "/etc/hosts.deny",
  • "/etc/hosts",
  • "/System/Library/StartupItems",
  • "/System/Library/LaunchAgents",
  • "/System/Library/LaunchDaemons",
  • "/Library/LaunchAgents",
  • "/Library/LaunchDaemons",
  • "/Library/StartupItems",
  • "/etc/passwd",
  • "/etc/group"
  • All plist files
  • All .bash_history files
  • All .sh_history files

ARGUMENTS

OPTIONS

  • '--help' — Show help message and exit.
  • '-od' — Defines the directory that the zip archive will be created in. Defaults to current working directory. (applies to SFTP and local storage options)
  • '-of' — Defines the name of the zip archive will be created. Defaults to host machine's name.
  • '-zp' — If specified, the resulting zip file will be password protected with this password.
  • SFTP Options
    • '-u' — SFTP username
    • '-p' — SFTP password
    • '-s' — SFTP Server resolvable hostname or IP address and port. If no port is given then 22 is used by default. The format is :. Usage: -s 8.8.8.8:22"
    • '-c' — Optional argument to provide custom list of artifact files and directories (one entry per line). NOTE: Must use full path including drive letter on each line. MFT can be collected by "C:$MFT" or "D:$MFT" and so on. Usage: -c

DEPENDENCIES

in general: some kind of administrative rights on the target (root, sudo, administrator,...).

Windows

  1. NTFS file system
  2. .NET 4.x
  • NOTE: 4.5 works twice as fast as the 4.0 version but may not be supported by older systems

Linux/macOS

mono for macOS or Linux

EXAMPLES

Standard collection CyLR.exe

Linux/macOS collection mono CyLR.exe

Collect artifacts and store data in "C:\Temp\LRData" CyLR.exe -o "C:\Temp\LRData"

Collect artifacts and store data in ".\LRData" CyLR.exe -o LRData

Collect artifacts and send data to SFTP server 8.8.8.8 CyLR.exe -u username -p password -s 8.8.8.8

Collect artifacts, send data to SFTP server 8.8.8.8, and keep all artifacts in memory CyLR.exe -u username -p password -s 8.8.8.8 -m

AUTHORS