437 lines
49 KiB
HTML
437 lines
49 KiB
HTML
|
<!doctype html>
|
||
|
<html lang="en">
|
||
|
<center>
|
||
|
<head>
|
||
|
|
||
|
|
||
|
<script src="https://cdn.jsdelivr.net/npm/fuse.js/dist/fuse.js"></script>
|
||
|
<!-- mathjax -->
|
||
|
<script src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
|
||
|
<script type="text/javascript" src="/static/js/auto-complete.js"></script>
|
||
|
<script type="text/javascript" src="/static/js/lunr.min.js"></script>
|
||
|
<script type="text/javascript" src="/static/js/search.js"></script>
|
||
|
<link rel="stylesheet" href="/static/stylesheet.css">
|
||
|
<link rel="stylesheet" href="/static/auto-complete.css">
|
||
|
<br>
|
||
|
<title>In the Open</title>
|
||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||
|
|
||
|
|
||
|
</head>
|
||
|
<body>
|
||
|
<!-- topmenu -->
|
||
|
<div class="menu">
|
||
|
<a href="/" style="text-decoration:none">In the Open</a>
|
||
|
</div>
|
||
|
<div class="search-container">
|
||
|
<label for="search-by"><i class="fas fa-search"></i></label>
|
||
|
<input data-search-input="" id="search-by" type="search" placeholder="Search..." autocomplete="off">
|
||
|
<!--button type="submit"><i class="search"></i>🔍</button>-->
|
||
|
<span data-search-clear=""><i class="fas fa-times"></i></span>
|
||
|
</div>
|
||
|
|
||
|
</div>
|
||
|
<div class="menu">
|
||
|
</div>
|
||
|
<!--br><br-->
|
||
|
</center>
|
||
|
<p></p>
|
||
|
<div class="columns">
|
||
|
<!-- Sidebar -->
|
||
|
<div class="column column-1">
|
||
|
<ul><details id=crypto ontoggle="linkClick(this); return false;" ><summary>Crypto</summary><ul><details id=openssl ontoggle="linkClick(this); return false;" ><summary>Openssl</summary><ul><li><a href="/crypto/openssl/openssl.html">openssl</a></li><li><a href="/crypto/openssl/openssl_engine.html">openssl_engine</a></li></ul></details><li><a href="/crypto/rsa.html">rsa</a></li></ul></details><details id=enumeration ontoggle="linkClick(this); return false;" ><summary>Enumeration</summary><ul><details id=containers ontoggle="linkClick(this); return false;" ><summary>Containers</summary><ul></ul></details><details id=docs ontoggle="linkClick(this); return false;" ><summary>Docs</summary><ul><li><a href="/enumeration/docs/aws.html">aws</a></li><li><a href="/enumeration/docs/cewl.html">cewl</a></li><li><a href="/enumeration/docs/dns.html">dns</a></li><li><a href="/enumeration/docs/docker_enumeration.html">docker_enumeration</a></li><li><a href="/enumeration/docs/ffuf.html">ffuf</a></li><li><a href="/enumeration/docs/gobuster.html">gobuster</a></li><li><a href="/enumeration/docs/kerberoast.html">kerberoast</a></li><li><a href="/enumeration/docs/kubectl.html">kubectl</a></li><li><a href="/enumeration/docs/ldap.html">ldap</a></li><li><a href="/enumeration/docs/linux_basics.html">linux_basics</a></li><li><a href="/enumeration/docs/microk8s.html">microk8s</a></li><li><a href="/enumeration/docs/nfs.html">nfs</a></li><li><a href="/enumeration/docs/nikto.html">nikto</a></li><li><a href="/enumeration/docs/nmap.html">nmap</a></li><li><a href="/enumeration/docs/port_knocking.html">port_knocking</a></li><li><a href="/enumeration/docs/rpcclient.html">rpcclient</a></li><li><a href="/enumeration/docs/rsync.html">rsync</a></li><li><a href="/enumeration/docs/rustscan.html">rustscan</a></li><li><a href="/enumeration/docs/shodan.html">shodan</a></li><details id=snmp ontoggle="linkClick(this); return false;" ><summary>Snmp</summary><ul><li><a href="/enumeration/docs/snmp/onesixtyone.html">onesixtyone</a></li><li><a href="/enumeration/docs/snmp/snmpcheck.html">snmpcheck</a></li></ul></details><li><a href="/enumeration/docs/websites.html">websites</a></li><li><a href="/enumeration/docs/wfuzz.html">wfuzz</a></li><li><a href="/enumeration/docs/wpscan.html">wpscan</a></li></ul></details><details id=network_scanners ontoggle="linkClick(this); return false;" ><summary>Network_scanners</summary><ul></ul></details><details id=windows ontoggle="linkClick(this); return false;" ><summary>Windows</summary><ul><li><a href="/enumeration/windows/bloodhound.html">bloodhound</a></li><li><a href="/enumeration/windows/event_log.html">event_log</a></li><li><a href="/enumeration/windows/manual_enum.html">manual_enum</a></li><li><a href="/enumeration/windows/powershell.html">powershell</a></li><li><a href="/enumeration/windows/rpcclient.html">rpcclient</a></li><li><a href="/enumeration/windows/sysinternals.html">sysinternals</a></li><li><a href="/enumeration/windows/sysmon.html">sysmon</a></li><li><a href="/enumeration/windows/vss.html">vss</a></li></ul></details></ul></details><details id=exfiltration ontoggle="linkClick(this); return false;" ><summary>Exfiltration</summary><ul><details id=dns ontoggle="linkClick(this); return false;" ><summary>Dns</summary><ul><li><a href="/exfiltration/dns/dns.html">dns</a></li></ul></details><details id=linux ontoggle="linkClick(this); return false;" ><summary>Linux</summary><ul><li><a href="/exfiltration/linux/nc.html">nc</a></li><li><a href="/exfiltration/linux/wget.html">wget</a></li></ul></details><details id=windows ontoggle="linkClick(this); return false;" ><summary>Windows</summary><ul><li><a href="/exfiltration/windows/evil-winrm.html">evil-winrm</a></li><li><a href="/exfiltration/windows/loot.html">loot</a></li><li><a href="/exfiltration/windows/smb_connection.html">smb_connection</a></li></ul></details></ul></details><details id=exploit ontoggle="linkClick(this); return false;" ><summary>Exploit</summary><ul><details id=CPUs ontoggle="linkClick(this); return false;" ><summary>CPUs</summary><ul><li><a href="/exploit/CPUs
|
||
|
</ul>
|
||
|
</div>
|
||
|
<div class="column column-2">
|
||
|
<span class="body">
|
||
|
<style>pre { line-height: 125%; }
|
||
|
td.linenos .normal { color: #37474F; background-color: #263238; padding-left: 5px; padding-right: 5px; }
|
||
|
span.linenos { color: #37474F; background-color: #263238; padding-left: 5px; padding-right: 5px; }
|
||
|
td.linenos .special { color: #607A86; background-color: #263238; padding-left: 5px; padding-right: 5px; }
|
||
|
span.linenos.special { color: #607A86; background-color: #263238; padding-left: 5px; padding-right: 5px; }
|
||
|
.codehilite .hll { background-color: #2C3B41 }
|
||
|
.codehilite .c { color: #546E7A; font-style: italic } /* Comment */
|
||
|
.codehilite .err { color: #FF5370 } /* Error */
|
||
|
.codehilite .esc { color: #89DDFF } /* Escape */
|
||
|
.codehilite .g { color: #EEFFFF } /* Generic */
|
||
|
.codehilite .k { color: #BB80B3 } /* Keyword */
|
||
|
.codehilite .l { color: #C3E88D } /* Literal */
|
||
|
.codehilite .n { color: #EEFFFF } /* Name */
|
||
|
.codehilite .o { color: #89DDFF } /* Operator */
|
||
|
.codehilite .p { color: #89DDFF } /* Punctuation */
|
||
|
.codehilite .ch { color: #546E7A; font-style: italic } /* Comment.Hashbang */
|
||
|
.codehilite .cm { color: #546E7A; font-style: italic } /* Comment.Multiline */
|
||
|
.codehilite .cp { color: #546E7A; font-style: italic } /* Comment.Preproc */
|
||
|
.codehilite .cpf { color: #546E7A; font-style: italic } /* Comment.PreprocFile */
|
||
|
.codehilite .c1 { color: #546E7A; font-style: italic } /* Comment.Single */
|
||
|
.codehilite .cs { color: #546E7A; font-style: italic } /* Comment.Special */
|
||
|
.codehilite .gd { color: #FF5370 } /* Generic.Deleted */
|
||
|
.codehilite .ge { color: #89DDFF } /* Generic.Emph */
|
||
|
.codehilite .gr { color: #FF5370 } /* Generic.Error */
|
||
|
.codehilite .gh { color: #C3E88D } /* Generic.Heading */
|
||
|
.codehilite .gi { color: #C3E88D } /* Generic.Inserted */
|
||
|
.codehilite .go { color: #546E7A } /* Generic.Output */
|
||
|
.codehilite .gp { color: #FFCB6B } /* Generic.Prompt */
|
||
|
.codehilite .gs { color: #FF5370 } /* Generic.Strong */
|
||
|
.codehilite .gu { color: #89DDFF } /* Generic.Subheading */
|
||
|
.codehilite .gt { color: #FF5370 } /* Generic.Traceback */
|
||
|
.codehilite .kc { color: #89DDFF } /* Keyword.Constant */
|
||
|
.codehilite .kd { color: #BB80B3 } /* Keyword.Declaration */
|
||
|
.codehilite .kn { color: #89DDFF; font-style: italic } /* Keyword.Namespace */
|
||
|
.codehilite .kp { color: #89DDFF } /* Keyword.Pseudo */
|
||
|
.codehilite .kr { color: #BB80B3 } /* Keyword.Reserved */
|
||
|
.codehilite .kt { color: #BB80B3 } /* Keyword.Type */
|
||
|
.codehilite .ld { color: #C3E88D } /* Literal.Date */
|
||
|
.codehilite .m { color: #F78C6C } /* Literal.Number */
|
||
|
.codehilite .s { color: #C3E88D } /* Literal.String */
|
||
|
.codehilite .na { color: #BB80B3 } /* Name.Attribute */
|
||
|
.codehilite .nb { color: #82AAFF } /* Name.Builtin */
|
||
|
.codehilite .nc { color: #FFCB6B } /* Name.Class */
|
||
|
.codehilite .no { color: #EEFFFF } /* Name.Constant */
|
||
|
.codehilite .nd { color: #82AAFF } /* Name.Decorator */
|
||
|
.codehilite .ni { color: #89DDFF } /* Name.Entity */
|
||
|
.codehilite .ne { color: #FFCB6B } /* Name.Exception */
|
||
|
.codehilite .nf { color: #82AAFF } /* Name.Function */
|
||
|
.codehilite .nl { color: #82AAFF } /* Name.Label */
|
||
|
.codehilite .nn { color: #FFCB6B } /* Name.Namespace */
|
||
|
.codehilite .nx { color: #EEFFFF } /* Name.Other */
|
||
|
.codehilite .py { color: #FFCB6B } /* Name.Property */
|
||
|
.codehilite .nt { color: #FF5370 } /* Name.Tag */
|
||
|
.codehilite .nv { color: #89DDFF } /* Name.Variable */
|
||
|
.codehilite .ow { color: #89DDFF; font-style: italic } /* Operator.Word */
|
||
|
.codehilite .w { color: #EEFFFF } /* Text.Whitespace */
|
||
|
.codehilite .mb { color: #F78C6C } /* Literal.Number.Bin */
|
||
|
.codehilite .mf { color: #F78C6C } /* Literal.Number.Float */
|
||
|
.codehilite .mh { color: #F78C6C } /* Literal.Number.Hex */
|
||
|
.codehilite .mi { color: #F78C6C } /* Literal.Number.Integer */
|
||
|
.codehilite .mo { color: #F78C6C } /* Literal.Number.Oct */
|
||
|
.codehilite .sa { color: #BB80B3 } /* Literal.String.Affix */
|
||
|
.codehilite .sb { color: #C3E88D } /* Literal.String.Backtick */
|
||
|
.codehilite .sc { color: #C3E88D } /* Literal.String.Char */
|
||
|
.codehilite .dl { color: #EEFFFF } /* Literal.String.Delimiter */
|
||
|
.codehilite .sd { color: #546E7A; font-style: italic } /* Literal.String.Doc */
|
||
|
.codehilite .s2 { color: #C3E88D } /* Literal.String.Double */
|
||
|
.codehilite .se { color: #EEFFFF } /* Literal.String.Escape */
|
||
|
.codehilite .sh { color: #C3E88D } /* Literal.String.Heredoc */
|
||
|
.codehilite .si { color: #89DDFF } /* Literal.String.Interpol */
|
||
|
.codehilite .sx { color: #C3E88D } /* Literal.String.Other */
|
||
|
.codehilite .sr { color: #89DDFF } /* Literal.String.Regex */
|
||
|
.codehilite .s1 { color: #C3E88D } /* Literal.String.Single */
|
||
|
.codehilite .ss { color: #89DDFF } /* Literal.String.Symbol */
|
||
|
.codehilite .bp { color: #89DDFF } /* Name.Builtin.Pseudo */
|
||
|
.codehilite .fm { color: #82AAFF } /* Name.Function.Magic */
|
||
|
.codehilite .vc { color: #89DDFF } /* Name.Variable.Class */
|
||
|
.codehilite .vg { color: #89DDFF } /* Name.Variable.Global */
|
||
|
.codehilite .vi { color: #89DDFF } /* Name.Variable.Instance */
|
||
|
.codehilite .vm { color: #82AAFF } /* Name.Variable.Magic */
|
||
|
.codehilite .il { color: #F78C6C } /* Literal.Number.Integer.Long */</style>
|
||
|
<div class="column column-3">
|
||
|
<ul>
|
||
|
<li><a href="#windows-registry">Windows Registry</a><ul>
|
||
|
<li><a href="#regedit-keys">Regedit Keys</a></li>
|
||
|
<li><a href="#paths">Paths</a><ul>
|
||
|
<li><a href="#transaction-logs">Transaction Logs</a></li>
|
||
|
<li><a href="#backups">Backups</a></li>
|
||
|
</ul>
|
||
|
</li>
|
||
|
<li><a href="#data-acquisition">Data Acquisition</a></li>
|
||
|
<li><a href="#system-information">System Information</a><ul>
|
||
|
<li><a href="#control-sets">Control Sets</a></li>
|
||
|
</ul>
|
||
|
</li>
|
||
|
<li><a href="#autostart-programs">Autostart Programs</a></li>
|
||
|
<li><a href="#recent-files">Recent Files</a></li>
|
||
|
<li><a href="#shellbags">ShellBags</a></li>
|
||
|
<li><a href="#last-opensavedvisited-dialog-mrus">Last Open/Saved/Visited Dialog MRUs</a></li>
|
||
|
<li><a href="#explorer-addresssearch-bars">Explorer Address/Search Bars</a></li>
|
||
|
<li><a href="#user-assist">User Assist</a></li>
|
||
|
<li><a href="#shim-cache">Shim Cache</a><ul>
|
||
|
<li><a href="#amcache">AmCache</a></li>
|
||
|
</ul>
|
||
|
</li>
|
||
|
<li><a href="#background-activity-monitordesktop-activity-moderator-bamdam">Background Activity Monitor/Desktop Activity Moderator BAM/DAM</a></li>
|
||
|
<li><a href="#devices">Devices</a></li>
|
||
|
</ul>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<h1 id="windows-registry">Windows Registry</h1>
|
||
|
<h2 id="regedit-keys">Regedit Keys</h2>
|
||
|
<ul>
|
||
|
<li>HKEY_CURRENT_USER (HKCU), inside HKU</li>
|
||
|
<li>HKEY_USERS (HKU)</li>
|
||
|
<li>HKEY_LOCAL_MACHINE (HKLM)</li>
|
||
|
<li>HKEY_CLASSES_ROOT (HKCR), stored in HKLM and HKU<ul>
|
||
|
<li><code>HKEY_CURREN_USER\Software\Classes</code> for settings of interactive user</li>
|
||
|
<li><code>HKEY_LOCAL_MACHINE\Software\Classes</code> to change default settings</li>
|
||
|
</ul>
|
||
|
</li>
|
||
|
<li>HKEY_CURRENT_CONFIG</li>
|
||
|
</ul>
|
||
|
<h2 id="paths">Paths</h2>
|
||
|
<ul>
|
||
|
<li>
|
||
|
<p><code>C:\Windows\System32\Config</code></p>
|
||
|
<ul>
|
||
|
<li>Default -> <code>HKEY_USERS\DEFAULT</code></li>
|
||
|
<li>SAM -> <code>HKEY_LOCAL_MACHINE\SAM</code></li>
|
||
|
<li>SECURITY -> <code>HKEY_LOCAL_MACHINE\Security</code></li>
|
||
|
<li>SOFTWARE -> <code>HKEY_LOCAL_MACHINE\Software</code></li>
|
||
|
<li>SYSTEM -> <code>HKEY_LOCAL_MACHINE\System</code></li>
|
||
|
</ul>
|
||
|
</li>
|
||
|
<li>
|
||
|
<p><code>C:\Users\<username>\</code></p>
|
||
|
<ul>
|
||
|
<li>NTUSER.DAT -> <code>HKEY_CURRENT_USER</code> , hidden file</li>
|
||
|
</ul>
|
||
|
</li>
|
||
|
<li>
|
||
|
<p><code>C:\Users\<username>\AppData\Local\Microsoft\Windows</code></p>
|
||
|
<ul>
|
||
|
<li>USRCLASS.DAT -> <code>HKEY_CURRENT_USER\Sofware\CLASSES</code>, hidden file</li>
|
||
|
</ul>
|
||
|
</li>
|
||
|
<li>
|
||
|
<p><code>C:\Windows\AppCompat\Programs\Amcache.hve</code></p>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<h3 id="transaction-logs">Transaction Logs</h3>
|
||
|
<ul>
|
||
|
<li>Transaction <code><name of registry hive>.LOG</code> of the registry hive</li>
|
||
|
<li>Saved inside the same directory which is <code>C:\Windows\System32\Config</code>, as the hive which was altered.</li>
|
||
|
</ul>
|
||
|
<h3 id="backups">Backups</h3>
|
||
|
<ul>
|
||
|
<li>Saved every ten days</li>
|
||
|
<li>Look out for recently deleted or modified keys</li>
|
||
|
<li><code>C:\Windows\System32\Config\RegBack</code></li>
|
||
|
</ul>
|
||
|
<h2 id="data-acquisition">Data Acquisition</h2>
|
||
|
<ul>
|
||
|
<li>Tools<ul>
|
||
|
<li><a href="https://www.autopsy.com/">Autopsy</a></li>
|
||
|
<li><a href="https://www.exterro.com/ftk-imager">FTK Imager</a>, does not copy <code>Amcache.hve</code></li>
|
||
|
<li><a href="https://www.kroll.com/en/services/cyber-risk/incident-response-litigation-support/kroll-artifact-parser-extractor-kape">KAPE</a>, preserves directory tree</li>
|
||
|
<li><code>Registry Viewer</code></li>
|
||
|
<li><code>Zimmerman's Registry Explorer</code>, uses transaction logs as well<ul>
|
||
|
<li><code>AppCompatCache Parser</code></li>
|
||
|
</ul>
|
||
|
</li>
|
||
|
<li><code>RegRipper</code>, cli and gui</li>
|
||
|
</ul>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<h2 id="system-information">System Information</h2>
|
||
|
<ul>
|
||
|
<li>OS Version -> <code>SOFTWARE\Microsoft\Windows NT\CurrentVersion</code></li>
|
||
|
<li>Computer Name -> <code>SYSTEM\CurrentControlSet\Control\ComputerName\ComputerName</code></li>
|
||
|
<li>Time Zone <code>SYSTEM\CurrentControlSet\Control\TimeZoneInformation</code></li>
|
||
|
<li>Network Interfaces -> <code>SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces</code></li>
|
||
|
<li>Past connected networks -> <code>SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\Signatures\Unmanaged</code> and <code>SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\Signatures\Managed</code></li>
|
||
|
<li>Services -> <code>SYSTEM\CurrentControlSet\Services</code><ul>
|
||
|
<li>Service will start at boot with <code>start</code> key value <code>0x02</code></li>
|
||
|
</ul>
|
||
|
</li>
|
||
|
<li>Users, SAM -> <code>SAM\Domains\Account\Users</code></li>
|
||
|
</ul>
|
||
|
<h3 id="control-sets">Control Sets</h3>
|
||
|
<ul>
|
||
|
<li><code>ControlSet001</code> -> last boot</li>
|
||
|
<li><code>ControlSet002</code> -> last known good</li>
|
||
|
<li>
|
||
|
<p><code>HKLM\SYSTEM\CurrentControlSet</code> -> live </p>
|
||
|
</li>
|
||
|
<li>
|
||
|
<p>Can be found under:</p>
|
||
|
<ul>
|
||
|
<li><code>SYSTEM\Select\Current</code> shows the used control set</li>
|
||
|
<li><code>SYSTEM\Select\LastKnownGood</code></li>
|
||
|
</ul>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<h2 id="autostart-programs">Autostart Programs</h2>
|
||
|
<ul>
|
||
|
<li><code>NTUSER.DAT\Software\Microsoft\Windows\CurrentVersion\Run</code></li>
|
||
|
<li><code>NTUSER.DAT\Software\Microsoft\Windows\CurrentVersion\RunOnce</code></li>
|
||
|
<li><code>SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce</code></li>
|
||
|
<li><code>SOFTWARE\Microsoft\Windows\CurrentVersion\policies\Explorer\Run</code></li>
|
||
|
<li><code>SOFTWARE\Microsoft\Windows\CurrentVersion\Run</code></li>
|
||
|
</ul>
|
||
|
<h2 id="recent-files">Recent Files</h2>
|
||
|
<ul>
|
||
|
<li><code>NTUSER.DAT\Software\Microsoft\Windows\CurrentVersion\Explorer\RecentDocs</code>, e.g. xml, pdf, jpg</li>
|
||
|
<li>Office files -> <code>NTUSER.DAT\Software\Microsoft\Office\VERSION</code>, <code>NTUSER.DAT\Software\Microsoft\Office\15.0\Word</code></li>
|
||
|
<li>Office 365 -> <code>NTUSER.DAT\Software\Microsoft\Office\VERSION\UserMRU\LiveID_####\FileMRU</code></li>
|
||
|
</ul>
|
||
|
<h2 id="shellbags">ShellBags</h2>
|
||
|
<ul>
|
||
|
<li><code>USRCLASS.DAT\Local Settings\Software\Microsoft\Windows\Shell\Bags</code></li>
|
||
|
<li><code>USRCLASS.DAT\Local Settings\Software\Microsoft\Windows\Shell\BagMRU</code></li>
|
||
|
<li><code>NTUSER.DAT\Software\Microsoft\Windows\Shell\BagMRU</code></li>
|
||
|
<li><code>NTUSER.DAT\Software\Microsoft\Windows\Shell\Bags</code></li>
|
||
|
</ul>
|
||
|
<h2 id="last-opensavedvisited-dialog-mrus">Last Open/Saved/Visited Dialog MRUs</h2>
|
||
|
<ul>
|
||
|
<li><code>NTUSER.DAT\Software\Microsoft\Windows\CurrentVersion\Explorer\ComDlg32\OpenSavePIDlMRU</code></li>
|
||
|
<li><code>NTUSER.DAT\Software\Microsoft\Windows\CurrentVersion\Explorer\ComDlg32\LastVisitedPidlMRU</code></li>
|
||
|
</ul>
|
||
|
<h2 id="explorer-addresssearch-bars">Explorer Address/Search Bars</h2>
|
||
|
<ul>
|
||
|
<li><code>NTUSER.DAT\Software\Microsoft\Windows\CurrentVersion\Explorer\TypedPaths</code></li>
|
||
|
<li><code>NTUSER.DAT\Software\Microsoft\Windows\CurrentVersion\Explorer\WordWheelQuery</code></li>
|
||
|
</ul>
|
||
|
<h2 id="user-assist">User Assist</h2>
|
||
|
<ul>
|
||
|
<li>GUI applications launched by the user</li>
|
||
|
<li><code>NTUSER.DAT\Software\Microsoft\Windows\Currentversion\Explorer\UserAssist\{GUID}\Count</code></li>
|
||
|
</ul>
|
||
|
<h2 id="shim-cache">Shim Cache</h2>
|
||
|
<ul>
|
||
|
<li>Application Compatibility, AppCompatCache</li>
|
||
|
<li><code>SYSTEM\CurrentControlSet\Control\Session Manager\AppCompatCache</code></li>
|
||
|
<li>Use <code>AppCompatCacheParser.exe --csv <path to save output> -f <path to SYSTEM hive for data parsing> -c <control set to parse></code></li>
|
||
|
</ul>
|
||
|
<h3 id="amcache">AmCache</h3>
|
||
|
<ul>
|
||
|
<li>Information about recently run applications on the system</li>
|
||
|
<li><code>C:\Windows\appcompat\Programs\Amcache.hve</code></li>
|
||
|
<li>Last executed app -> <code>Amcache.hve\Root\File\{Volume GUID}\</code></li>
|
||
|
<li>Saves SHA1 of the last executed app</li>
|
||
|
</ul>
|
||
|
<h2 id="background-activity-monitordesktop-activity-moderator-bamdam">Background Activity Monitor/Desktop Activity Moderator BAM/DAM</h2>
|
||
|
<ul>
|
||
|
<li>Saves full path of executed apps</li>
|
||
|
<li><code>SYSTEM\CurrentControlSet\Services\bam\UserSettings\{SID}</code></li>
|
||
|
<li><code>SYSTEM\CurrentControlSet\Services\dam\UserSettings\{SID}</code></li>
|
||
|
</ul>
|
||
|
<h2 id="devices">Devices</h2>
|
||
|
<ul>
|
||
|
<li>Identification<ul>
|
||
|
<li>USB -> <code>SYSTEM\CurrentControlSet\Enum\USBTOR</code>, <code>SYSTEM\CurrentControlSet\Enum\USB</code></li>
|
||
|
</ul>
|
||
|
</li>
|
||
|
<li>Device name -> <code>SOFTWARE\Microsoft\Windows Portable Devices\Devices</code></li>
|
||
|
<li>First time connected -> <code>SYSTEM\CurrentControlSet\Enum\USBSTOR\Ven_Prod_Version\USBSerial#\Properties\{83da6326-97a6-4088-9453-a19231573b29}\0064</code></li>
|
||
|
<li>Last time connected -> <code>SYSTEM\CurrentControlSet\Enum\USBSTOR\Ven_Prod_Version\USBSerial#\Properties\{83da6326-97a6-4088-9453-a19231573b29}\0066</code></li>
|
||
|
<li>Last removal time -> <code>SYSTEM\CurrentControlSet\Enum\USBSTOR\Ven_Prod_Version\USBSerial#\Properties\{83da6326-97a6-4088-9453-a19231573b29}\0067</code></li>
|
||
|
</ul>
|
||
|
</span>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div id="footer">
|
||
|
|
||
|
<p></p>
|
||
|
<center>
|
||
|
© Stefan Friese
|
||
|
</center>
|
||
|
|
||
|
</div>
|
||
|
|
||
|
<script>
|
||
|
function linkClick(obj) {
|
||
|
if (obj.open) {
|
||
|
console.log('open');
|
||
|
if (sessionStorage.getItem(obj.id) && !(sessionStorage.getItem(obj.id) === "open")) {
|
||
|
sessionStorage.removeItem(obj.id);
|
||
|
}
|
||
|
sessionStorage.setItem(obj.id,"open");
|
||
|
console.log(obj.id);
|
||
|
|
||
|
} else {
|
||
|
console.log('closed');
|
||
|
sessionStorage.removeItem(obj.id);
|
||
|
|
||
|
}
|
||
|
// if (obj.open) {
|
||
|
// console.log('open');
|
||
|
// if (sessionStorage.getItem("opened") && !(sessionStorage.getItem("opened") === obj.id)) {
|
||
|
// sessionStorage.removeItem("opened");
|
||
|
// }
|
||
|
// sessionStorage.setItem("opened", obj.id);
|
||
|
// console.log(obj);
|
||
|
|
||
|
// } else {
|
||
|
// console.log('closed');
|
||
|
// sessionStorage.removeItem("opened");
|
||
|
//
|
||
|
// }
|
||
|
}
|
||
|
|
||
|
//if ( sessionStorage.getItem("opened")) {
|
||
|
// var item = sessionStorage.getItem("opened")
|
||
|
// document.getElementById(item)['open'] = 'open';
|
||
|
//}
|
||
|
let _keys = Object.keys(sessionStorage);
|
||
|
if (_keys) {
|
||
|
for ( let i = 0; i < _keys.length; i++ ) {
|
||
|
document.getElementById(_keys[i])['open'] = 'open';
|
||
|
}
|
||
|
}
|
||
|
|
||
|
|
||
|
|
||
|
// const detailsElement = document.querySelector('.details-sidebar');
|
||
|
// detailsElement.addEventListener('toggle', event => {
|
||
|
// if (event.target.open) {
|
||
|
// console.log('open');
|
||
|
// if (sessionStorage.getItem("opened") && !(sessionStorage.getItem("opened") === detailsElement.id)) {
|
||
|
// sessionStorage.removeItem("opened");
|
||
|
// }
|
||
|
// sessionStorage.setItem("opened", detailsElement.id);
|
||
|
// console.log(detailsElement);
|
||
|
//
|
||
|
// } else {
|
||
|
// console.log('closed');
|
||
|
// sessionStorage.removeItem("opened");
|
||
|
//
|
||
|
// }
|
||
|
// });
|
||
|
//
|
||
|
// async function fetchIndexJSON() {
|
||
|
// const response = await fetch('/index.json');
|
||
|
// const index = await response.json();
|
||
|
// return index;
|
||
|
// }
|
||
|
// // Extract the `q` query parameter
|
||
|
//var queryStringRegex = /[\?&]q=([^&]+)/g;
|
||
|
//var matches = queryStringRegex.exec(window.location.search);
|
||
|
//if(matches && matches[1]) {
|
||
|
// var value = decodeURIComponent(matches[1].replace(/\+/g, '%20'));
|
||
|
//
|
||
|
//
|
||
|
// // fetchIndexJSON()
|
||
|
// // .then(index => { console.log(index['index']);});
|
||
|
// // Load the posts to search
|
||
|
// fetch('/index').then(function(posts) {
|
||
|
// // Remember to include Fuse.js before this script.
|
||
|
//
|
||
|
// var fuse = new Fuse(posts, {
|
||
|
// keys: ['title', 'tags', 'content'] // What we're searching
|
||
|
// });
|
||
|
//
|
||
|
// // Run the search
|
||
|
// var results = fuse.search(value);
|
||
|
// //console.log(results);
|
||
|
//
|
||
|
// // Generate markup for the posts, implement SearchResults however you want.
|
||
|
// // var $results = SearchResults(results);
|
||
|
//
|
||
|
// // Add the element to the empty <div> from before.
|
||
|
//// $('#searchResults').append($results);
|
||
|
// });
|
||
|
//}
|
||
|
</script>
|
||
|
|
||
|
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/mathjax@2/MathJax.js"></script>
|
||
|
<script src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script>
|
||
|
</script>
|
||
|
<script type="text/x-mathjax-config">
|
||
|
MathJax.Hub.Config({
|
||
|
config: ["MMLorHTML.js"],
|
||
|
jax: ["input/TeX", "output/HTML-CSS", "output/NativeMML"],
|
||
|
extensions: ["MathMenu.js", "MathZoom.js"]
|
||
|
});
|
||
|
</script>
|
||
|
</body>
|
||
|
</html>
|