前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >干货 | Windows取证分析基础知识大全,赶快收藏!

干货 | Windows取证分析基础知识大全,赶快收藏!

作者头像
HACK学习
发布2020-03-27 14:23:57
4K0
发布2020-03-27 14:23:57
举报
文章被收录于专栏:HACK学习HACK学习

想要做好取证分析工作,工具和技术只是辅助,思路才是核心和重点。本文将详细分享Microsoft Windows操作系统的基础数字取证知识,了解数据的存放位置和对应部件,便于快速确定关键证据,内容包括windows时间规则、文件下载、程序执行、文件删除/文件信息、浏览器资源、外部设备/USB使用、账户使用情况、文件/文件夹打开、网络活动/物理位置

◆◆

文章精华大合集

◆◆

01

windows 时间规则

1

标准信息

创建文件:文件修改、文件访问、文件metadata时间改变

访问文件:文件访问时间改变(NTFS win7+不变)

文件修改:文件修改,文件metadata时间改变

文件重命名:文件metadata时间改变

拷贝文件:文件修改时间继承自原始,文件访问,文件metadata,文件创建时间改变

文件移动:

1)同卷移动文件:文件metadata时间改变

2)跨卷移动文件

• 通过系统命令:修改时间来自原始文件,文件访问,文件metadata,文件创建时间改变

• 通过复制粘贴:文件修改,文件metadata,文件创建都来自原始文件,访问时间为复制粘贴时间

02

文件下载

1

打开/保存传输单元

XP:NTUSER.DAT\Software\Microsoft\Windows\CurrentVersion\Explorer\ComDlg32\OpenSaveMRU

Win7/8/10:

NTUSER.DAT\Software\Microsoft\Windows\CurrentVersion\Explorer\ComDlg32\OpenSavePIDlMRU

2

电子邮件附件:outlook

XP:

%USERPROFILE%\LocalSettings\ApplicationData\Microsoft\Outlook

Win7/8/10:

%USERPROFILE%\AppData\Local\Microsoft\Outlook

OLK:

HKEY_CURRENT_USER\Software\Microsoft\Office\对应版本\Outlook\Security

3

微信桌面版

C:\Users\<username>\Documents\WeChat Files\微信号\Files

4

QQ电脑版

C:\Users\<username>\Documents\Tencent Files\QQ号\FileRecv

5

skype历史

XP:

C:\Documents and Settings\<username>\Application\Skype\<skype-name>

Win7/8/10:

C:\%USERPROFILE%\AppData\Roaming\Skype\<skype-name>

6

浏览器

1)internet explorer

IE8-9:

%USERPROFILE%\AppData\Roaming\Microsoft\Windows\IEDownloadHistory\index.dat

IE10-11:

%USERPROFILE%\AppData\Local\Microsoft\Windows\WebCache\WebCacheV*.dat

2)firefox

v3-25:

%userprofile%\AppData\Roaming\Mozilla\ Firefox\Profiles\<random text>.default\downloads.sqlite

v26+:

%userprofile%\AppData\Roaming\Mozilla\ Firefox\Profiles\<random text>.default\places.sqlite Table:moz_annos

3)chrome

Win7/8/10:

%USERPROFILE%\AppData\Local\Google\Chrome\User Data\Default\History

7

下载(firefox,internet Explorer)管理器

1)firefox

XP:

%userprofile%\Application Data\Mozilla\ Firefox\Profiles\<random text>.default\downloads.sqlite

Win7/8/10:

%userprofile%\AppData\Roaming\Mozilla\ Firefox\Profiles\<random text>.default\downloads.sqlite

2)Internet Explorer

IE8-9:

%USERPROFILE%\AppData\Roaming\Microsoft\Windows\ IEDownloadHistory\

IE10-11:

%USERPROFILE%\AppData\Local\Microsoft\Windows\WebCache\ WebCacheV*.dat

8

ADS Zone.Identifier(备用数据流)

从XP SP2开始,当文件通过浏览器从“Internet区域”下载到NTFS卷时,会向文件中添加备用数据流。

03

程序执行

1

UserAssist

NTUSER.DAT HIVE

NTUSER.DAT\Software\Microsoft\Windows\Currentversion\Explorer\UserAssist\ {GUID}\Count

2

Windows10 时间轴

C:\Users\<profile>\AppData\Local\ConnectedDevicesPlatform\L.<profile>\ActivitiesCache.db

3

最近应用

NTUSER.DAT\Software\Microsoft\Windows\Current Version\Search\RecentApps

4

shimcache

XP:

SYSTEM\CurrentControlSet\Control\SessionManager\AppCompatibility

Win7/8/10:

SYSTEM\CurrentControlSet\Control\Session Manager\AppCompatCache

5

快速访问

Win7/8/10:

C:\%USERPROFILE%\AppData\Roaming\Microsoft\Windows\Recent\ AutomaticDestinations

6

Amcache.hve(ProgramDataUpdater)

Win7/8/10:

C:\Windows\AppCompat\Programs\Amcache.hve

7

系统资源利用率管理器(SRUM)(数据库)

SOFTWARE\Microsoft\WindowsNT\CurrentVersion\SRUM\Extensions {d10ca2fe-6fcf4f6d-848e-b2e99266fa89} = Application Resource Usage Provider C:\Windows\ System32\SRU\

8

BAM/DAM

SYSTEM\CurrentControlSet\Services\bam\UserSettings\{SID}

SYSTEM\CurrentControlSet\Services\dam\UserSettings\{SID}

9

最新访问的MRU

XP:

NTUSER.DAT\Software\Microsoft\Windows\CurrentVersion\Explorer\ComDlg32\ LastVisitedMRU

Win7/8/10:

NTUSER.DAT\Software\Microsoft\Windows\CurrentVersion\Explorer\ComDlg32\ LastVisitedPidlMRU

10

prefetch

WinXP/7/8/10:

C:\Windows\Prefetch

04

文件删除/文件信息

1

xp 查询-ACMRU

NTUSER.DAT HIVE NTUSER.DAT\Software\Microsoft\Search Assistant\ACMru\####

2

缩略图(Thumbcache)

C:\%USERPROFILE%\AppData\Local\Microsoft\Windows\Explorer

3

Thumbs.db

WinXP/Win8|8.1:

在启用了家庭组的任何地方自动创建。

Win7/8/10:

在任何地方自动创建并通过UNC路径(本地或远程)访问。

4

IE|Edge file://

Internet Explorer

IE6-7:

%USERPROFILE%\LocalSettings\History\History.IE5

IE8-9:

%USERPROFILE%\AppData\Local\Microsoft\WindowsHistory\History.IE5

IE10-11:

%USERPROFILE%\AppData\Local\Microsoft\Windows\WebCache\WebCacheV*.dat

5

轮词查询

Win7/8/10 NTUSER.DAT Hive:

NTUSER.DAT\Software\Microsoft\Windows\CurrentVersion\Explorer\WordWheelQuery

6

win7/8/10回收站

隐藏的系统文件夹

C:\$Recycle.bin

7

XP回收站

隐藏的系统文件夹

C:\RECYCLER" 2000/NT/XP/2003

05

浏览器资源

1

历史信息

1)Internet Explorer

IE6-7:

%USERPROFILE%\Local Settings\History\History.IE5

IE8-9:

%USERPROFILE%\AppData\Local\Microsoft\Windows\History\ History.IE5

IE10, 11, Edge:

%USERPROFILE%\AppData\Local\Microsoft\Windows\ WebCache\WebCacheV*.dat

2)Firefox

XP:

%USERPROFILE%\Application Data\Mozilla\Firefox\Profiles\<random text>.default\places.sqlite

Win7/8/10:

%USERPROFILE%\AppData\Roaming\Mozilla\Firefox\ Profiles\<random text>.default\places.sqlite

3)Chrome

XP:

%USERPROFILE%\Local Settings\Application Data\Google\Chrome\User Data\Default\History

Win7/8/10:

%USERPROFILE%\AppData\Local\Google\Chrome\User Data\ Default\History

4)QQ浏览器

%USERPROFILE%\AppData\Local\Tencent\QQBrowser\User Data\Default\History

2

书签信息

1)Internet Explorer

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders下Favorites键值

Edge:

%USERPROFILE%\AppData\Local\Packages\microsoft.

microsoftedge_<APPID>\AC\MicrosoftEdge\Cookies

2)Firefox

XP:

%USERPROFILE%\Application Data\Mozilla\Firefox\Profiles\<random text>.default\places.sqlite

Win7/8/10:

%USERPROFILE%\AppData\Roaming\Mozilla\Firefox\ Profiles\<random text>.default\places.sqlite

3)Chrome

XP:

%USERPROFILE%\Local Settings\Application Data\Google\Chrome\User Data\Default\Bookmarks

Win7/8/10:

%USERPROFILE%\AppData\Local\Google\Chrome\User Data\ Default\Bookmarks

4)QQ浏览器

• %USERPROFILE%\AppData\Local\Tencent\QQBrowser\User Data\Default\QQ号\Bookmarks_01

• %USERPROFILE%\AppData\Local\Tencent\QQBrowser\User Data\Default\Bookmarks_01

3

cookies

1)Internet Explorer

IE8-9:

%USERPROFILE%\AppData\Roaming\Microsoft\Windows\Cookies

IE10:

%USERPROFILE%\AppData\Roaming\Microsoft\Windows\Cookies

IE11:

%USERPROFILE%\AppData\Local\Microsoft\Windows\INetCookies

Edge:

%USERPROFILE%\AppData\Local\Packages\microsoft.

microsoftedge_<APPID>\AC\MicrosoftEdge\Cookies

2)Firefox

XP:

%USERPROFILE%\Application Data\Mozilla\Firefox\Profiles\<random

text>.default\cookies.sqlite

Win7/8/10:

%USERPROFILE%\AppData\Roaming\Mozilla\Firefox\

Profiles\<randomtext>.default\cookies.sqlite

3)Chrome

XP:

%USERPROFILE%\Local Settings\Application Data\Google\Chrome\User

Data\Default\Local Storage\

Win7/8/10:

%USERPROFILE%\AppData\Local\Google\Chrome\User Data\

Default\Local Storage\

4)QQ浏览器

%USERPROFILE%\AppData\Local\Tencent\QQBrowser\User Data\Default\Cookies

3

缓存

1)Internet Explorer

IE8-9:

%USERPROFILE%\AppData\Local\Microsoft\Windows\Temporary Internet Files\Content.IE5

IE10:

%USERPROFILE%\AppData\Local\Microsoft\Windows\Temporary Internet Files\Content.IE5

IE11:

%USERPROFILE%\AppData\Local\Microsoft\Windows\INetCache\IE

Edge:

%USERPROFILE%\AppData\Local\Packages\microsoft.microsoftedge_<APPID>\AC\MicrosoftEdge\Cache

2)Firefox

XP:

%USERPROFILE%\Local Settings\ApplicationData\Mozilla\Firefox\ Profiles\<randomtext>.default\Cache

Win7/8/10:

%USERPROFILE%\AppData\Local\Mozilla\Firefox\ Profiles\<randomtext>.default\Cache

3)Chrome

XP:

%USERPROFILE%\Local Settings\Application Data\Google\Chrome\User Data\Default\Cache - data_# and f_######

Win7/8/10:

%USERPROFILE%\AppData\Local\Google\Chrome\User Data\ Default\Cache\ - data_# and f_######

4

flash和超级cookies

Win7/8/10:

%APPDATA%\Roaming\Macromedia\FlashPlayer\#SharedObjects\<randompr ofileid>

5

会话还原

1)Internet Explorer

Win7/8/10:

%USERPROFILE%/AppData/Local/Microsoft/Internet Explorer/ Recovery

2)Firefox

Win7/8/10:

%USERPROFILE%\AppData\Roaming\Mozilla\Firefox\Profiles\<randomtext>.default\sessionstore.js

3)Chrome

Win7/8/10:

%USERPROFILE%\AppData\Local\Google\Chrome\User Data\ Default\

文件=当前会话,当前打开的标签,最后一次会话,最后的标签

06

外部设备/USB使用

1

关键字认证

SYSTEM\CurrentControlSet\Enum\USBSTOR

SYSTEM\CurrentControlSet\Enum\USB

2

插入/拔出时间

1)即插即用日志文件(第一次)

XP:

C:\Windows\setupapi.log

Win7/8/10:

C:\Windows\inf\setupapi.dev.log

2)(第一次,最后一次,拔出)(在Win7/8/10)

System Hive:

\CurrentControlSet\Enum\USBSTOR\Ven_Prod_Version\USBSerial#\Properties\ {83da6326-97a6-4088-9453-a19231573b29}\####

0064 = 第一次安装(Win7-10)

0066 = 最后一次连接 (Win8-10)

0067 = 最后一次拔出 (Win8-10)

3

用户

查找GUID从SYSTEM\MountedDevices

NTUSER.DAT\Software\Microsoft\Windows\CurrentVersion\Explorer\ MountPoints2

4

pnP 事件

Win7/8/10:

%system root%\System32\winevt\logs\System.evtx

5

卷序列号

SOFTWARE\Microsoft\WindowsNT\CurrentVersion\ ENDMgmt

6

驱动器号和卷名

XP:

找到ParentIdPrefix – SYSTEM\CurrentControlSet\Enum\ USBSTOR

Win7/8/10:

SOFTWARE\Microsoft\Windows Portable Devices\Devices

SYSTEM\MountedDevices

7

文件快捷方式(LNK)

XP:

%USERPROFILE%\Recent

Win7/8/10:

%USERPROFILE%\AppData\Roaming\Microsoft\Windows\ Recent

%USERPROFILE%\AppData\Roaming\Microsoft\Office\Recent

07

账户使用情况

1

上次登录

C:\windows\system32\config\SAM

SAM\Domains\Account\Users

2

上次密码修改

C:\windows\system32\config\SAM

SAM\Domains\Account\Users

3

远程桌面使用情况

Win7/8/10:

%SYSTEM ROOT%\System32\winevt\logs\Security.evtx

4

服务事件

所有事件ID对应的系统日志

7034 - 服务意外崩溃

7035 - 服务发送了启动/停止控制

7036 - 服务已启动或已停止

7040 - 启动类型已更改(Boot | On Request | Disabled)

7045 - 系统上安装了一项服务(Win2008R2 +)

4697 - 系统上安装了一项服务(来自安全日志)

5

登录类型

Win7/8/10:

Event ID 4624

6

授权事件

Win7/8/10:

%SYSTEM ROOT%\System32\winevt\logs\Security.evtx

7

成功或失败登录

Win7/8/10:

%system root%\System32\winevt\logs\Security.evtx

08

文件/文件夹打开

1

打开/保存 MRU

XP:

NTUSER.DAT\Software\Microsoft\Windows\CurrentVersion\Explorer\ComDlg32\ OpenSaveMRU

Win7/8/10:

NTUSER.DAT\Software\Microsoft\Windows\CurrentVersion\Explorer\ComDlg32\OpenSavePIDlMRU

2

最近文件

NTUSER.DAT:

NTUSER.DAT\Software\Microsoft\Windows\CurrentVersion\Explorer\RecentDocs

3

快速访问

Win7/8/10:

C:\%USERPROFILE%\AppData\Roaming\Microsoft\Windows\Recent\AutomaticDestinations

4

shell bages

访问Explorer:

USRCLASS.DAT\Local Settings\Software\Microsoft\Windows\Shell\Bags

USRCLASS.DAT\Local Settings\Software\Microsoft\Windows\Shell\BagMRU

访问桌面:

NTUSER.DAT\Software\Microsoft\Windows\Shell\BagMRU

NTUSER.DAT\Software\Microsoft\Windows\Shell\Bags

5

文件快捷方式(LNK)

XP:

C:\%USERPROFILE%\Recent

Win7/8/10:

C:\%USERPROFILE%\AppData\Roaming\Microsoft\Windows\Recent\

C:\%USERPROFILE%\AppData\Roaming\Microsoft\Office\Recent\

6

prefetch

WinXP/7/8/10:

C:\Windows\Prefetch

7

最后访问的MRU

XP:

NTUSER.DAT\Software\Microsoft\Windows\CurrentVersion\Explorer\ComDl32\ LastVisitedMRU

Win7/8/10:

NTUSER.DAT\Software\Microsoft\Windows\CurrentVersion\Explorer\ComDlg32\ LastVisitedPidlMRU

8

IE/Edge file://

Internet Explorer

IE6-7:

%USERPROFILE%\Local Settings\History\ History.IE5

IE8-9:

%USERPROFILE%\AppData\Local\Microsoft\Windows\History\History.IE5

IE10-11

%USERPROFILE%\AppData\Local\Microsoft\Windows\WebCache\WebCacheV*.dat

9

office最近使用文件

NTUSER.DAT\Software\Microsoft\Office\VERSION

• 14.0 = Office 2010

• 11.0 = Office 2003

• 12.0 = Office 2007

• 10.0 = Office XP

NTUSER.DAT\Software\Microsoft\Office\VERSION\UserMRU\LiveID_####\FileMRU

• 15.0 = Office 365

09

网络活动/物理位置

1

时区

SYSTEM Hive:

SYSTEM\CurrentControlSet\Control\TimeZoneInformation

2

cookies

1)Internet Explorer

IE6-8:

%USERPROFILE%\AppData\Roaming\Microsoft\Windows\Cookies

IE10:

%USERPROFILE%\AppData\Roaming\Microsoft\Windows\Cookies

IE11:

%USERPROFILE%\AppData\Local\Microsoft\Windows\InetCookies

2)Firefox

XP:

%USERPROFILE%\Application Data\Mozilla\Firefox\Profiles\<randomtext>.default\ cookies.sqlite

Win7/8/10:

%USERPROFILE%\AppData\Roaming\Mozilla\Firefox\Profiles\<randomtext>.default\cookies.sqlite

3)Chrome

XP:

%USERPROFILE%\Local Settings\ApplicationData\Google\Chrome\User Data\Default\ Local Storage

Win7/8/10:

%USERPROFILE%\AppData\Local\Google\Chrome\User Data\Default\Local Storage

3

网络历史

Win7/8/10 SOFTWARE HIVE:

SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\Signatures\Unmanaged

SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\Signatures\Managed

SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\Nla\Cache

4

无线局域网事件日志

Microsoft-Windows-WLAN-AutoConfig Operational.evtx

5

浏览器搜索记录

Internet Explorer

IE6-7:

%USERPROFILE%\Local Settings\History\History.IE5

IE8-9:

%USERPROFILE%\AppData\Local\Microsoft\Windows\History\History.IE5

IE10-11:

%USERPROFILE%\AppData\Local\Microsoft\Windows\WebCache\WebCacheV*.dat Firefox

XP:

%userprofile%\Application Data\Mozilla\Firefox\Profiles\<randomtext>.default\places.sqlite

Win7/8/10:

%userprofile%\AppData\Roaming\Mozilla\Firefox\Profiles\<randomtext>.default\places.sqlite

6

系统资源利用率管理器(SRUM)(无线网络)

SOFTWARE\Microsoft\WindowsNT\CurrentVersion\SRUM\Extensions

{973F5D5C-1D90-4944-BE8E-24B94231A174} = Windows Network Data Usage Monitor

{DD6636C4-8929-4683-974E-22C046A43763} = Windows Network Connectivity Usage Monitor

SOFTWARE\Microsoft\WlanSvc\Interfaces\ C:\Windows\System32\SRU\

本文参与 腾讯云自媒体分享计划,分享自微信公众号。
原始发表:2020-03-26,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 HACK学习呀 微信公众号,前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体分享计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档