windows清理时间痕迹

2022/3/2 7:15:19

本文主要是介绍windows清理时间痕迹,对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!

1.伪造文件修改时间

如图所示是文件最后被修改的时间

 

 我们在powershell里输入以下代码对文件的修改时间进行伪造

Function edit_time($path){$date1 =Get-ChildItem |
Select LastWriteTime | Get-Random;$date2 =Get-ChildItem |
Select LastWriteTime | Get-Random;$date3 =Get-ChildItem |
Select LastWriteTime | Get-Random;$(Get-Item $path).lastaccesstime=$date1.LastWriteTime;
$(Get-Item $path).creationtime=$date2.LastWriteTime;
$(Get-Item $path).lastwritetime=$date3.LastWriteTime};
edit_time("D:\test")

 

2.伪造痕迹

 eventcreate -l  system -so administrator  -t  warning -d  "this is a test "  -id   500

 

 成功伪造了痕迹,后期可以写一个小工具,进行大量的生成痕迹,把自己真实痕迹隐藏在大量的伪造痕迹当中

 



这篇关于windows清理时间痕迹的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!


扫一扫关注最新编程教程