top of page

Track & Tackle: Files and Reg Activity (Part 4)

Writer's picture: Cynor SenseCynor Sense

Updated: Mar 1, 2024

Introduction: Discover how to monitor and analyse file and registry activities using powerful VQL queries. Learn to detect and respond to suspicious object notifications in real-time.



How to determine malicious file and registry activity?

  • Monitor File Manipulation

  • Keep Tabs on Registry Activity

  • Keep Tabs on Registry Activity


Tip #1 - Monitor File Manipulation

Keep an eye on various file activities like creation, opening, deletion, modification, and renaming using VQL queries in Velociraptor.

File Creation VQL query:


SELECT * FROM watch_monitor(globs="C:\\Users\\*\\Documents\\*.txt", accessor="ntfs") WHERE Type='created'

File Opened VQL query:


SELECT * FROM watch_monitor(globs="C:\\Users\\*\\Documents\\*.txt", accessor="ntfs") WHERE Type='opened'

File Deletion VQL query:


SELECT * FROM watch_monitor(globs="C:\\Users\\*\\Documents\\*.txt", accessor="ntfs") WHERE Type='deleted'

File Modification VQL query:


SELECT * FROM watch_monitor(globs="C:\\Users\\*\\Documents\\*.txt", accessor="ntfs") WHERE Type='modified'

File Renaming VQL query:


SELECT * FROM watch_monitor(globs="C:\\Users\\*\\Documents\\*.txt", accessor="ntfs") WHERE Type='renamed'



Tip #2 - Keep Tabs on Registry Activity

Stay vigilant about registry activities like key/value creation, modification, and deletion with targeted VQL queries.


Key/Value Creation VQL query:


SELECT * FROM Artifact.Windows.Registry.Events() WHERE EventType='SetValueKey'

Key/Value Modification VQL query:


SELECT * FROM Artifact.Windows.Registry.Events() WHERE EventType='ModifyValueKey'

Key/Value Deletion VQL query:


SELECT * FROM Artifact.Windows.Registry.Events() WHERE EventType='DeleteValueKey'




By utilising these VQL queries, you can effectively monitor file and registry activities in your environment. Keep track of object notifications and respond to suspicious events promptly. Stay one step ahead of potential threats by mastering the art of monitoring object notifications.



Recent Posts

See All

Comments

Rated 0 out of 5 stars.
No ratings yet

Add a rating

Cyber Security Services

           CynorSense Solution Pvt. Ltd. is your dedicated partner in the ever-evolving domain of cybersecurity. We are committed to delivering cutting-edge cybersecurity solutions, tailored to meet the unique needs of each client. Our comprehensive suite of services includes Penetration Testing, SOC & SIEM Services, Incident Response, and Cyber Security Consultation.

Our expertise extends across Secure Code Review, Vulnerability Assessment and Penetration Testing (VAPT) Services, Security Audits, Risk and Threat Assessment, and Vulnerability Scanning. In addition, we offer services in Malware Analysis, Phishing Simulation, Social Engineering Testing, Web Application Testing, Mobile Application Testing, Network Security Testing, Infrastructure Security Testing, Application Security Testing, and Data Security Testing. 

We understand the importance of compliance in today's regulatory environment. Our Compliance Testing services are designed to help your organization navigate the complex landscape of regulations such as ISO 27001, PCI DSS, HIPAA, SOX, GLBA, NERC CIP, FISMA, and the NIST Cybersecurity Framework. 

At CynorSense, we blend innovative technology with a robust understanding of the cybersecurity landscape to provide you with the tools and knowledge needed to safeguard your digital assets. Let us be your trusted guide in the realm of cybersecurity, providing the assurance you need in an increasingly interconnected world.

ISO 27001 and ISO 9001 certified company

TELEPHONE:

 +91 4046007719

 +91 8179245139

 ADDRESS: 

 Cynor Sense Solutions Pvt. Ltd.

 Vijay Krishna Towers,   Nanakramguda, Hyderabad,

 Telangana, India - 500032

© 2023 Cynorsense Pvt. Ltd. All rights reserved.

bottom of page