LOL-Binary Copied From System Directory
Last updated on:
In this page
About the rule
Rule Type
Standard
Rule Description
Detects a suspicious copy operation that tries to copy a known LOLBIN from system (System32, SysWOW64, WinSxS) directories to another on disk in order to bypass detections based on locations.
Severity
Trouble
Rule Requirement
Criteria
Action1:
actionname = "Process started" AND ((PROCESSNAME endswith "\cmd.exe" AND COMMANDLINE contains "copy ") OR (PROCESSNAME endswith "\powershell.exe,\pwsh.exe" AND COMMANDLINE contains "copy-item, copy ,cpi , cp ") OR (PROCESSNAME endswith "\robocopy.exe,\xcopy.exe" OR ORIGINALFILENAME = "robocopy.exe,XCOPY.EXE")) AND (COMMANDLINE contains "\System32,\SysWOW64,\WinSxS" AND COMMANDLINE contains "\bitsadmin.exe,\calc.exe,\certutil.exe,\cmdl32.exe,\cscript.exe,\mshta.exe,\rundll32.exe,\wscript.exe")
select Action1.HOSTNAME,Action1.MESSAGE,Action1.COMMANDLINE,Action1.FILE_NAME,Action1.PROCESSNAME,Action1.USERNAME,Action1.PARENTPROCESSNAME,Action1.DOMAIN,Action1.ORIGINALFILENAME,Action1.PARENTPROCESSID,Action1.PROCESSID,Action1.PRODUCT_NAME,Action1.SECURITYID
Detection
Execution Mode
realtime
Log Sources
Windows
Author
Nasreddine Bencherchali (Nextron Systems)


