Get-keys.bat — !new!
Beyond a pure keylogger, get-keys.bat could be programmed to scan your computer for specific valuable information. Instead of logging general keystrokes, it could:
:: Method 1: Check for BIOS OEM Key (Modern PCs) echo [1] Checking UEFI/BIOS for embedded key... for /f "tokens=*" %%a in ('wmic path SoftwareLicensingService get OA3xOriginalProductKey /value') do call set %%a >nul 2>&1 if defined OA3xOriginalProductKey ( echo [+] BIOS Embedded Key Found: %OA3xOriginalProductKey% echo. ) else ( echo [-] No BIOS embedded key found. echo. ) get-keys.bat
Admins managing dozens of machines use scripts like these to ensure all workstations are running genuine, properly licensed software. Is it Safe? Beyond a pure keylogger, get-keys
Harvesting browser-stored passwords, SSH keys, or session tokens for exfiltration. ) else ( echo [-] No BIOS embedded key found
:: Convert extensions list into a findstr include filter set "EXT_FILTER=" for %%E in (%EXTS:,= %) do ( if defined EXT_FILTER (set "EXT_FILTER=!EXT_FILTER! *.%%E") else set "EXT_FILTER=*.%%E" )
: If you didn't create the script yourself or get it from a highly trusted source (like an official GitHub repo for a tool), do not run it . You can right-click the file and select Edit to view the code in Notepad and see exactly what it’s doing before execution.