How to Identify File Deletion in Windows | APPSeCONNECT (2024)

How to Identify File Deletion in Windows | APPSeCONNECT (1)

  • Abhishek Sur

Files are important for any software application. In the case of APPSeCONNECT, there might be a situation where the application starts performing weirdly because some files are deleted accidentally or by some anti-malware applications. In this article we will see, how we can audit file changes in a folder such that we can ensure the folders are accessed only by authorized application only.

Important locations?

In the case of APPSeCONNECT, there are mainly 3 locations to watch. The locations are marked as per priority.

  1. Program Files(x86)\APPSeCONNECT and its subfolders.
  2. ProgramData\APPSeCONNECT and its subfolders.
  3. User’s AppData\Local\APPSeCONNECT.

The first part contains files that should not be changed after all the processes are deployed and the project is in maintenance. These files are the basic installation files, which additionally add the Adapters based on the applications you are using.

The second file path is the location where all the important data is getting stored. This folder generally updates at regular intervals, because of the continuous execution of sync processes, but the number of files should not change over time during the maintenance phase.

The third folder is mainly the logs folder where all the logs are getting stored. These files are mostly unimportant but hold important logs to find out an issue. Here files will be created regularly, but we need to ensure the deletion does not take place unnecessarily.

How to know who deleted the file?

There are 3 steps that you need to follow to enable the auditing feature in Windows. Mainly we are concerned about the deletion of files, so in the example, we are going to show you how to quickly enable auditing for the deletion of files. Here are the overall steps :

  1. Enable File Auditing feature.
  2. Configure the folder to add File Auditing
  3. Verify the audit logs to find the culprit.

You need administrator permission to perform these operations, so if you see you are unable to do any of the operations, consult with your system admin.

How to enable File Auditing?

File auditing features are by default disabled in windows. To enable the feature, you need to set up certain group policies to ensure the feature is available. Here are the steps :

  1. Open Start -> Run, type “gpedit.msc” and press OK.
  2. The command will open Group Policy Editor.
  3. Select “Local Computer Policy” -> Windows Settings -> Advanced Audit Policy Configuration -> Object Access.
    How to Identify File Deletion in Windows | APPSeCONNECT (2)
  4. Open Audit File System from the list of subcategories.
  5. In the audit file system properties window, Check to Configure the following audit events, and select both Success and Failure.
    How to Identify File Deletion in Windows | APPSeCONNECT (3)
  6. Select Apply and Ok, then close the window.

After this step, the feature is enabled in your server.

How to Configure a folder to Start Auditing

After you have enabled the feature of auditing on a folder, it is time to start adding the rule. Based on our folder structure, let us consider putting it in the first folder.

  1. Open My Computer -> Go to Drive and Select Program Files (x86).
  2. Right-click on the APPSeCONNECT folder and select properties.
    How to Identify File Deletion in Windows | APPSeCONNECT (4)
  3. In the properties window, select Security and then select Advanced.
    How to Identify File Deletion in Windows | APPSeCONNECT (5)
  4. In the “Advanced Security Settings” folder, select Auditing Tab and click Continue.
    How to Identify File Deletion in Windows | APPSeCONNECT (6)
  5. Select “Add” to add a new policy.
  6. Select Principle and type in “Everyone” in the window. After you type in Everyone, do click on “Check Name” button to ensure it is properly picked.
  7. Once picked, click on “Show Advanced Option” and select “Delete subfolders and files” and “Delete” option.
    How to Identify File Deletion in Windows | APPSeCONNECT (7)
  8. Once you picked up these two options, you can press OK and apply the changes. Your folder will now be audited for any deletion.

Note, you can also add other audit policies in a similar way.

How to check logs?

The best part of this exercise is how you can check the logs.

  1. Open Start -> Run, select “EventVwr” and click Ok.
  2. Open Windows Logs -> Security.
  3. You will see “Audit Success” Entries.
    How to Identify File Deletion in Windows | APPSeCONNECT (8)
  4. You can filter out FileSystem Category with EventId 4663 using the filter menu to identify the entries which are deleted.
  5. Here in the entry, you will see which object is deleted, and also which executable deleted it. If you see “explorer.exe”, that means someone manually deleted the file.
  6. You can also identify the logged-in user which deleted the file.

Conclusion

This is an important consideration that you can configure to ensure you see the logs of any files getting deleted. APPSeCONNECT requires the files and folders to work properly, and any malpractice on the same will lead to fatal behavior, and to address such a scenario, you must understand which service is deleting files. This article helps you configure the system to generate logs when something suspicious happens on the file system.

Hope this will help you.

How to Identify File Deletion in Windows | APPSeCONNECT (9)

Abhishek Sur

Abhishek Sur is the VP of Product in APPSeCONNECT. He is an architect of the product and a developer by passion.

Search

Free Trial / Demo

Try the APPSeCONNECT Integration Platform for 30 Days or request a free demo.

How to Identify File Deletion in Windows | APPSeCONNECT (2024)
Top Articles
About Us - MOT Charter School
550 Credit Score: Is 550 a good credit score? - Upstart Learn
Netronline Taxes
Www.1Tamilmv.cafe
Cumberland Maryland Craigslist
Melfme
Optimal Perks Rs3
Unraveling The Mystery: Does Breckie Hill Have A Boyfriend?
Ecers-3 Cheat Sheet Free
My.doculivery.com/Crowncork
ATV Blue Book - Values & Used Prices
zopiclon | Apotheek.nl
No Strings Attached 123Movies
Ivegore Machete Mutolation
Insidekp.kp.org Hrconnect
Premier Reward Token Rs3
Fool’s Paradise movie review (2023) | Roger Ebert
Wisconsin Women's Volleyball Team Leaked Pictures
Velocity. The Revolutionary Way to Measure in Scrum
The Exorcist: Believer (2023) Showtimes
E22 Ultipro Desktop Version
Why Should We Hire You? - Professional Answers for 2024
Quest: Broken Home | Sal's Realm of RuneScape
Rufus Benton "Bent" Moulds Jr. Obituary 2024 - Webb & Stephens Funeral Homes
Pasco Telestaff
Terry Bradshaw | Biography, Stats, & Facts
Okc Body Rub
Wkow Weather Radar
Chamberlain College of Nursing | Tuition & Acceptance Rates 2024
Boise Craigslist Cars And Trucks - By Owner
Finding Safety Data Sheets
Booknet.com Contract Marriage 2
Random Bibleizer
Craigslist Auburn Al
Craigslist Boerne Tx
Bernie Platt, former Cherry Hill mayor and funeral home magnate, has died at 90
Blackstone Launchpad Ucf
Los Garroberros Menu
Winco Money Order Hours
Mid America Clinical Labs Appointments
Noaa Duluth Mn
Cl Bellingham
Trivago Sf
Joey Gentile Lpsg
Shell Gas Stations Prices
Ups Authorized Shipping Provider Price Photos
Missed Connections Dayton Ohio
Used Auto Parts in Houston 77013 | LKQ Pick Your Part
Jesus Calling Oct 6
ats: MODIFIED PETERBILT 389 [1.31.X] v update auf 1.48 Trucks Mod für American Truck Simulator
Cataz.net Android Movies Apk
Supervisor-Managing Your Teams Risk – 3455 questions with correct answers
Latest Posts
Article information

Author: Kieth Sipes

Last Updated:

Views: 6084

Rating: 4.7 / 5 (47 voted)

Reviews: 94% of readers found this page helpful

Author information

Name: Kieth Sipes

Birthday: 2001-04-14

Address: Suite 492 62479 Champlin Loop, South Catrice, MS 57271

Phone: +9663362133320

Job: District Sales Analyst

Hobby: Digital arts, Dance, Ghost hunting, Worldbuilding, Kayaking, Table tennis, 3D printing

Introduction: My name is Kieth Sipes, I am a zany, rich, courageous, powerful, faithful, jolly, excited person who loves writing and wants to share my knowledge and understanding with you.