Skip to main content

From Digital Forensic perspective TRIM command in SDD is important

 Hard DISK (HD) is an essential source in digital forensics for extracting the evidence of cybercrime, even if the attacker erases the evidence of a crime by deleting the malware for example, in fact, the malware wasn't deleted from the HD, simply OS unlinks any reference to the data block for the malware, this data block is not erased from the HD, it's remaining on the magnetic platters for the HD, at this time you can use forensic tools to retrieve the malware from the HD. Unlike (Solid-state Drive) SDD, which uses a TRIM Command to Clear Unlocated Block to prevent retrieving the data, the use of TRIM can improve the performance of writing and reading data to SSDs and contribute to longer SSD life.


So from a Digital Forensic perspective should Disable TRIM Command to be able to handle the incidents and make SSD retrievable.


How to disable and enable the TRIM command in SDD?
the TRIM command is enabled in SSD by default, but if you like to disable it, open CMD as administrator and enter this command "fsutil behavior set DisableDeleteNotify 1". As shown in the image. if you would like to enable TRIM again replace 1 with 0 . 



Comments

Popular posts from this blog

Anti-Malware Application for the android system

  on Anti-Malware Application for the android system Agenda: 1-the architecture of the anti-malware application 2-detecting malware based on a hash of the application how to detect based on hash How to update the firebase database automatically using Twitter API. With malware hashes that were detected recently. 3-Detecting based on deep learning dataset DL model integrating the DL model with android using FLASK server 4-conclusion Introduction 0xbyte is an anti-malware application that has built on two detection techniques (detecting based on the hash of application- detection based on the permissions of applications, using deep learning ). This project has built by combining two programming languages (Python-Java). this is the link of GitHub for the project: https://github.com/M-khalifa1/Anti-malware-detection-app. 1-the architecture of the anti-malware application ِAs we Showed in The below image, the architecture of the application was built .on two techniques. The first is detectin

Unpacking MZP Ransomware manually using tail jump

  Post author on Unpacking MZP Ransomware manually using tail jump Malware authors use many of tricks to prevent analysis for security researchers and evade Antiviruses. One of the most technique used,it is a packer. What is the packer? It’s a software or tool for compressing programs or malware by obfuscating the content of executable file and generate a new executable file in packed structure. Why is unpacking malware important? Because you cannot analysis malware without unpacking and deobfuscating strings to be readable. How to the unpack happen ? As we see in the image OS create stub code with packed file What is stub code ? Stub code is responsible for unpacking packed sections, when you are running the file ,the address of unpack file exists in the stub code to unpack file. So at the end of the stub code we will see an unconditional jump (tail jump), that is meant after execute the stub code will jump to the address of unpacking file. How to identify type of the packer? There ar

How to Use WMI to extract fruitful features for malware detection based on ML

  If you are interested in R&D in malware detection using AI: you can use WMI API to extract fruitful information about every malware and build a dataset for malware, specifically file-less malware. Windows Management Instrumentation (WMI) API: is used to monitor windows operating systems. For example monitoring process creations, services, and privileges information for every malware, determining if the malware is packed or not. by checking allocation virtual size. Furthermore, threat actors use WMI in malicious intent, such as developing file-less malware You can write a WMI script using C++/C/ python/Powershell. the attachment image is an example from the collected data. source code:  https://lnkd.in/ganSBPai you can extend this code to extract more information using WMI from these links:  https://lnkd.in/gcxwDyf4 https://lnkd.in/g-H2NzqV reference: blackhat python book